html, body {
    overflow-x: hidden;
}

.contacts-form {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 20px -4px rgb(0 0 0 / 15%);
    border: 1px solid rgb(0 0 0 / 5%);
    position: relative;
}

.contacts-load {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: rgb(255 255 255 / 50%);
}

.contacts-eyes {
    display: grid;
    grid: auto-flow dense / 10em 10em auto;
    grid-gap: 15px;
    align-items: flex-start;
}

.contacts-eye-icon {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 10px;
}

.contacts-eye-quantity input[type=number] {
    max-width: 55px;
    -moz-appearance: textfield;
    text-align: center;
    border-radius: 4px !important;
    padding: 10px;
}

.contacts-eye-quantity input::-webkit-outer-spin-button,
.contacts-eye-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

div.contacts-eye-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 15px;
}

.contacts-eye-quantity input, .contacts-eye-quantity span {
    flex: 1;
}

.contacts-eye-quantity-subtract {
    display: flex;
    justify-content: flex-end;
}

.contacts-eye-quantity span {
    background: #0067a4;
    color: #fff;
    max-width: 24px;
    height: 23px;
    display: block;
    text-align: center;
    font-size: 18px;
    border-radius: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

.contacts-eye-quantity-subtract {
    margin-right: 5px;
}

.contacts-eye-quantity-add {
    margin-left: 5px;
}

.contacts-eye-quantity span:hover {
    background: #238530;
}

.contacts-eye-settings > div {
    display: flex;
    align-items: center;
    margin: 0 0 10px;
}

.contacts-eye-settings > div > label, .contacts-eye-settings > div > select {
    flex: 1;
}

.contacts-eye-settings > div > select {
    padding: 10px;
    border-radius: 4px;
}

.contacts-eye-settings {
    height: 0;
    overflow: hidden;
}

button#contacts-submit.disabled {
    background: #cccccc;
    color: #999999;
}

a#contacts-cart {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-weight: bold;
}

.contacts-footer {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contacts-footer button {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
}

.contacts-notice {
    width: 1200px;
    margin: 15px auto 0;
    height: 0;
    overflow: hidden;
}

.contacts-notice-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #238530;
    padding: 10px 15px;
    border-radius: 8px;
}

.contacts-notice-inner > div {
    flex: 1;
    color: #fff;
}

.contacts-notice-button {
    display: flex;
    justify-content: flex-end;
}

.contacts-notice-button a {
    border-radius: 8px !important;
    background: #fff !important;
    color: #0067a4 !important;
}

.contacts-notice-button a:hover {
    background: #0067a4 !important;
    color: #fff !important;
}

.contacts-footer-calculated, .contacts-footer-total {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 5px;
    font-size: 24px;
}
.contacts-footer-total {
    padding-top: 0;
}

.contacts-footer-total-price i {
    font-size: 14px;
    font-style: normal;
}

.contacts-footer-total-price span {
    font-weight: bold;
}

.contacts-footer-calculated {
    display: none;
}

.contact-form-error.active {
    background: red;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin: 0 0 15px;
    font-weight: bold;
    text-align: center;
}

.opc_order_review .product-details {
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

.opc_order_review .product-details dl.variation {
    margin: 10px 15px 0px 10px;
    font-size: 14px;
    line-height: 1.2;
    background: rgb(0 0 0 / 0.1);
    border-radius: 8px;
    padding: 15px;
}

.opc_order_review .product-details dl.variation dt {
    font-weight: bold !important;
}

/**
Media Queries.
**/
@media screen and (max-width: 1100px) {

    .contacts-footer {
        grid-column-start: 1;
        grid-column-end: 3;
    }
    
    .contacts-eyes {
        grid: auto-flow dense / 1fr 1fr;
    }
    
}

@media screen and (max-width: 600px) {

    tr.cart_item.opc_cart_item {
        display: flex !important;
        width: 100%;
        flex-wrap: wrap;
    }
    
    tr.cart_item.opc_cart_item td {
        width: 100%;
    }
    
    tr.cart_item.opc_cart_item td.product-name {
        border-bottom: 0 !important;
    }
    
    table.woocommerce-checkout-review-order-table th.product-total {
        display: none !important;
    }
    
    th.product-name {
        width: 100%;
    }
    
    tr.cart-subtotal,
    tr.woocommerce-shipping-totals.shipping,
    tr.fee,
    tr.order-total {
        display: flex;
        flex-direction: column;
    }
    
}

@media screen and (max-width: 500px) {

    .contacts-footer {
        grid-column-start: 1;
        grid-column-end: 1;
    }
    
    .contacts-eyes {
        grid: auto-flow dense / 1fr;
    }
    
}

@media screen and (max-width: 450px) {

    .opc_order_review .product-quantity {
        display: none;
    }
    
    tr.cart_item.opc_cart_item td {
        text-align: center !important;
    }
    
}