.oc {
    width: 400px;
    margin: 0 auto;
    position: relative;
}
.oc-head {
    padding: 15px;
    background: #eee;
    color: #000;
    font-size: 18px;
    border-radius: 8px 8px 0px 0px;
    -moz-border-radius: 8px 8px 0px 0px;
    -webkit-border-radius: 8px 8px 0px 0px;
    border: 0px solid #000000;
}
.oc-body {
    padding: 15px;
    background: #fff;
}
.oc-footer {
    padding: 15px;
    background: #eee;
    color: #000;
    border-radius: 0px 0px 8px 8px;
    -moz-border-radius: 0px 0px 8px 8px;
    -webkit-border-radius: 0px 0px 8px 8px;
    border: 0px solid #000000;
}
.oc-main-image, .oc-thumbs {
    display: inline-block;
    vertical-align: top;
}
.oc-main-image {
    margin-right: 5px;
    height: 250px;
    width: 250px;
}

.oc-main-image img {
  margin-right: 5px;
  height: 100%;
  width: 100%;
}

.oc-thumbs {
    margin: 0 0 5px 5px;
    float: right;
}
.oc-thumbs img {
  margin: 0 0 5px 5px;
  float: right;
  height: 75px;
  width: 75px;
}
.oc-images img {
    margin: 5px 0 5px;
    padding: 4px;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    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: 100%;
}
.oc-pname {
    color: #000;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 20px;
}
.oc-price {
    position: absolute;
    width: 100%;
    text-align: right;
    bottom: 10px;
}
.oc-price, .oc-special {
    font-size: 18px;
    line-height: 26px;
    text-align: right;
}
.oc-special span {
    font-size:14px; 
}
.oc-price-wrap {
    margin: 10px 0 5px 0;
    display: table;
    width: 100%;
    position: relative;
}
/* .oc .oc-price-wrap > div {
    display: table-cell;
} */
.oc-price-wrap label {
    display: block;
    line-height: 16px;
    font-weight: normal;
    font-size: 12px;
}
.oc .left, .oc .right {
    line-height: 26px;
}
.oc-discounts {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
    line-height: 14px;
}
.oc-qty {
    display: flex;
    height: 30px;
    text-align: center;
    width: max-content;
    vertical-align: top;
}
.oc-total {
    font-size: 20px;
    line-height: 26px;
    text-align: left;
    padding: 3px 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin-bottom: 16px;
}
.oc-total span {
  font-weight: 600;
}
.oc-control {
    display: block;
    width: 100%;
    height: 30px;
    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-top: 10px;
}
.oc .clearfix:before, .oc .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: #EA2C27 !important;
    border: none;
    font-weight: bold;
    width: 100%;
    height: 40px;
    font-size: 17px;
    line-height: 21px;
    text-transform: uppercase;
}
.oc .btn-success:hover,
.oc .btn-success:active,
.oc .btn-success:focus {
    background-color: #ED4642 !important;
}
/* .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: 16px;
    display: inline-block;
    border-bottom: 1px dashed #000;
    color: #000;
    cursor: pointer;
    line-height: 16px;
    vertical-align: top;
    text-decoration: none !important;
    margin-bottom: 14px;
    transition: all 0.3s ease 0s;
}
.oc-show-descr:hover {
   color: #000;
   border-bottom: 1px solid #000;;
   text-decoration: none !important;
}
.oc-comment .oc-control {
    height: 54px;
}
.oc .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;
}

.oc-required .control-label:before {
    content: '* ';
    color: #F00;
    font-weight: bold;
}
.oc .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);
}
.oc .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-top: 5px;
    margin-bottom: 5px;
}
@media (max-width: 400px) {
    .oc {
        width: 320px;
    }
    .oc-thumbs {
        float: none;
        margin-left: 0;
        margin-top: 10px;
    }
    .oc-thumbs br {
        display: none;
    }
    .oc-thumbs img {
        margin-right: 5px;
    }

    .oc-images {
      display: flex;
      flex-direction: column;
      align-items: center
    }
}
@media (max-width: 320px) {
    .oc {
        width: 300px;
    }
}

.oc button#decrease_quantity,
.oc button#increase_quantity {
    text-decoration: none;
    font-size: 14px;
    line-height: 14px;
    color: #444;
    display: block;
    /* height: 18px; */
    font-family: Roboto-Regular, Arial, Tahoma;
    padding: 0px 0px;
    width: 40px;
    margin: 0 auto;
    -webkit-transition: border-color .20s;
    -moz-transition: border-color .20s;
    -o-transition: border-color .20s;
    transition: border-color .20s;
    cursor: pointer;
    background: #F3F3F3;
    border: 1px solid #D9D9D9;
    transition: color 0.3s ease 0s;
}

.oc button#decrease_quantity:hover,
.oc button#increase_quantity:hover,
.oc button#decrease_quantity:active,
.oc button#increase_quantity:active {
  color: #EA2C27;
}

/* .oc button#increase_quantity {
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

.oc button#decrease_quantity {
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
} */

.oc button#decrease_quantity:hover, .oc button#increase_quantity:hover {
    background: #F4F4F4;
    border-color: #C0C0C0;
}

.oc input#spiner_quantity {
    border: 1px solid #D9D9D9;
    background: #fff;
    min-width: 40px;
    max-width: 60px;
    display: block;
    height: 100%;
    /* margin: 3px auto; */
    text-align: center;
    clear: both;
    font-family: Roboto-Regular, Arial, Tahoma;
    font-size: 12px;
    color: #444;
    border-radius: 0px;
    padding: 2px;
}

.oc .mfpnew-close {
  top: 15px;
  right: 15px;
}