.oc {
    width: 400px;
    margin: 0 auto;
    position: relative;
}
.oc .oc-head {
    padding: 15px;
    background: #333;
    color: #fff;
    font-size: 20px;
}
.mfpnew-close-btn-in .mfpnew-close {
    opacity: 1;
    color: #fff;
    top: 13px;
    right: 15px;
    border-radius: 50%;
    font-size: 16px;
}
.oc-body {
    padding: 30px;
    background: #fff;
}
.oc-footer {
    padding: 15px;
    background: #f3f3f3;
    color: #333;
}
.oc-main-image, .oc-thumbs {
    display: inline-block;
    vertical-align: top;
}
.oc-main-image {
    margin-right: 5px;
}
.oc-thumbs {
    margin: 0 0 5px 5px;
    float: right;
}
.oc-images img {
    background: #fff;
}

.oc-images img:hover, .oc-images img.active {
    border-color: #000;
    cursor:pointer;
}
.oc-images .oc-main-image img:hover {
    border-color: #ddd;
    cursor: auto;
}
.oc-popup-name {
    width: 50%;
}
.oc-pname {
    color: #000;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 18px;
}
.oc-price {
    width: 30%;
    text-align: right;
}
.oc-price, .oc-special {
    font-size: 14px;
    line-height: 26px;
    text-align: right;
    font-weight: bold;
}
.oc input {
    border: 0;
    border-radius: 0;
    background: #f7f7f7;
    box-shadow: none;
    margin: 0;
    font-size: 12px;
    display: block;
}
.oc-special span {
    font-size:14px; 
}
.oc-price-wrap {
    margin: 10px 0 5px 0;
    display: table;
    width: 100%;
}
.oc .oc-price-wrap > div {
    display: table-cell;
}
.oc-price-wrap label {
    display: block;
    line-height: 16px;
    font-weight: normal;
    font-size: 12px;
}
.left, .right {
    line-height: 26px;
}
.oc-discounts {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
    line-height: 14px;
}
.oc-qty {
    min-width: 40px;
    text-align: center;
    width: 25%;
    vertical-align: top;
}
.oc-qty button,
.oc-qty input {
    float: left;
}
.oc-total {
    font-size: 18px;
    line-height: 26px;
    text-align: left;
    padding: 3px 10px;
    border-radius: 4px;
}
.oc-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: 2px 12px;
    font-size: 14px;
    line-height: 26px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.oc-form-group {
    padding: 5px 0;
}
.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}
.oc .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    text-shadow: none;
}
.oc .btn:hover {
    text-decoration: none;
}
.oc .btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
.oc .btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    font-weight: bold;
    width: 40%;
}
.oc .btn-success:hover {
    background-color: #449d44;
    border-color: #398439;
}
.oc .btn-success:active {
    background-color: #449d44;
    border-color: #398439;
}
.oc .btn-success:focus {
    color: #fff;
    background-color: #449d44;
    border-color: #255625;
}
.oc .btn-block {
    display: block;
    width: 100%;
}
.oc-show-descr {
    font-size: 12px;
    display: inline-block;
    border-bottom: 1px dashed #000;
    color: #000;
    cursor: pointer;
    line-height: 12px;
    vertical-align: top;
    text-decoration: none !important;
}
.oc-show-descr:hover {
   color: #000;
   border: none;
   text-decoration: none !important;
}
.oc-comment .oc-control {
    height: 54px;
}
.control-label {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
}
.oc-special {
    text-decoration: line-through;
}
.oc-discounts {
    font-size: 12px;
}
.oc-options-title {
    font-size: 16px;
    margin-top: 10px;
}
.oc-text-right {
    text-align: right;
}
table.oc-option {
    width: 100%;
}
table.oc-option td {
    line-height: 25px;
    height: 25px;
    vertical-align: middle;
}
table.oc-option td input {
    vertical-align: middle;
    margin: 0;
}
.oc-option {
    margin-bottom: 10px;
}
table.oc-option td label {
    margin: 0;
}
.oc-option .input-td {
    width: 20px;
}
.oc-option-title {
    font-weight: bold;
    margin-bottom: 0;
}
.oc-description {
    display: none;
}
.oc-description img {
    max-width: 100% !important;
}
.oc-options {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
.oc .btn-danger {
    font-weight: bold;
}

div.oc-required .control-label:before {
    content: '* ';
    color: #F00;
    font-weight: bold;
}
.has-error .oc-control {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.has-error .oc-control:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;
}
.oc-error {
    color: #a94442;
}
.oc-stock {
    display: inline;
    padding: .2em .6em .3em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: #d9534f;
}
.oc-footer p {
    line-height: 13px;
    text-align: center;
}
.oc-footer p input {
    margin: 0;
    vertical-align: middle;
}
.oc-footer p a {
    text-decoration: underline;
}
.oc-footer p a:hover {
    text-decoration: none;
}
.btn-oc-wrap {
    position: relative;
    border-top: 1px solid #ddd;
    background-color: #eee;
    overflow: auto;
}
.btn-oc-wrap button.btn-oc {
    display: block !important;
    text-align: center!important;
    width: 100% !important;
    border: none;
    background-color: #eee;
    line-height: 38px;
    font-weight: bold;
    text-transform: uppercase;
    color: #888;
}
.btn-oc-wrap button.btn-oc:hover {
    color: #444;
    background-color: #ddd;
    text-decoration: none;
    cursor: pointer;
}
.oc-product-btn {
    margin-bottom: 5px;
}
@media (max-width: 400px) {
    .oc {
        width: 320px;
    }
    .oc-thumbs {
        float: none;
        margin-left: 0;
    }
    .oc-thumbs br {
        display: none;
    }
    .oc-thumbs img {
        margin-right: 5px;
    }
}
@media (max-width: 320px) {
    .oc {
        width: 300px;
    }
}

button#decrease_quantity, button#increase_quantity {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: #fff;
    border: 0;
    font-size: 9px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

button#increase_quantity {
    border-radius: 50%;
}

button#decrease_quantity {
    border-radius: 50%;
}

button#decrease_quantity:hover, button#increase_quantity:hover {
    background: #F4F4F4;
    border-color: #C0C0C0;
}

input#spiner_quantity {
    border: 0;
    background: #fff;
    width: 40px;
    display: inline-block;
    height: 19px;
    font-size: 12px;
    color: #444;
    text-align: center;
}



/* Темно-сіра — для "Купити в 1 клік" */
.btn-oneclick-disabled,
.btn-oneclick-disabled:disabled {
    background-color: #7a7a7a !important; /* темніша */
    border-color: #7a7a7a !important;
    color: #fff !important;
    opacity: 0.85 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

.btn-oneclick-disabled:hover,
.btn-oneclick-disabled:disabled:hover {
    cursor: not-allowed !important;
}


