/* =============================================
   CHECKOUT V2 STYLES
   Owleys.com - Refactored & Optimized
   ============================================= */

/* Import Cabin font for checkout elements */
@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap');

/* =============================================
   1. BASE STYLES
   ============================================= */
body {
    background: #F6F6F6;
}
#form_delivery {
    font-family: 'Gilroy', sans-serif;
    background: #F6F6F6;
}

.smarty-autocomplete-dropdown {
    font-family: 'Gilroy', sans-serif;
}

/* =============================================
   2. HEADER STYLES
   ============================================= */
#form_delivery .onepage_checkout,
#form_delivery .opc_header,
#form_delivery .onepage_bread {
    background: transparent;
}

#form_delivery .opc_header {
    padding: 48px 8px 0 0;
    border-bottom: none;
    box-shadow: none;
}

#form_delivery .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
}

#form_delivery .opc-back {
    display: flex;
    align-items: center;
    opacity: .82;
    transition: opacity .19s;
    border-radius: 7px;
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#form_delivery .opc-back:focus,
#form_delivery .opc-back:hover {
    opacity: 1;
    background: #ececec;
}

#form_delivery .opc-title {
    font-weight: 800;
    font-size: 32px;
    margin: 0;
    letter-spacing: -.02em;
    color: #171717;
    flex: 1 1 auto;
    text-align: right;
}

#form_delivery .opc-trust-line {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0 0 8px;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

/* Trust Badges - Clean, aligned, trustworthy */
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
    min-height: 88px; /* match tallest (payments) card */
    height: 100%;
    flex: 1 1 0;
    border: none;
    background: #ffffff;
}

.trust-badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
}

.trust-badge-icon {
    color: #008541;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-block;
}

.trust-badge-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.trust-badge-payments .trust-badge-icon {
    width: 18px;
    height: 18px;
    background-color: #008541;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg clip-path='url(%23clip0_54_161)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.66669 9.1665H18.3334V12.5547C18.3334 13.2934 18.3334 13.9299 18.2649 14.4397C18.1914 14.9859 18.0259 15.5096 17.6011 15.9343C17.1764 16.359 16.6528 16.5246 16.1065 16.5981C15.5968 16.6666 14.9603 16.6666 14.2215 16.6665H5.77847C5.03975 16.6666 4.40325 16.6666 3.89353 16.5981C3.34727 16.5246 2.82365 16.359 2.39893 15.9343C1.97421 15.5096 1.80859 14.9859 1.73515 14.4397C1.66661 13.9299 1.66665 13.2934 1.66669 12.5547V9.1665ZM4.16669 11.6665C4.16669 11.2063 4.53979 10.8332 5.00002 10.8332H6.66669C7.12692 10.8332 7.50002 11.2063 7.50002 11.6665C7.50002 12.1268 7.12692 12.4998 6.66669 12.4998H5.00002C4.53979 12.4998 4.16669 12.1268 4.16669 11.6665ZM8.33336 11.6665C8.33336 11.2063 8.70644 10.8332 9.16669 10.8332H10.8334C11.2936 10.8332 11.6667 11.2063 11.6667 11.6665C11.6667 12.1268 11.2936 12.4998 10.8334 12.4998H9.16669C8.70644 12.4998 8.33336 12.1268 8.33336 11.6665Z' fill='%23008541'/%3E%3Cpath d='M18.3334 7.50017V7.44531C18.3334 6.70657 18.3334 6.07006 18.2649 5.56034C18.1914 5.01408 18.0259 4.49046 17.6011 4.06574C17.1764 3.64101 16.6528 3.4754 16.1065 3.40196C15.5968 3.33342 14.9603 3.33346 14.2215 3.3335H5.77851C5.03976 3.33346 4.40326 3.33342 3.89354 3.40196C3.34727 3.4754 2.82365 3.64102 2.39893 4.06573C1.97421 4.49046 1.80859 5.01408 1.73515 5.56034C1.66661 6.07006 1.66665 6.70658 1.66669 7.44533V7.50016L18.3334 7.50017Z' fill='%23008541'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_54_161'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg clip-path='url(%23clip0_54_161)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.66669 9.1665H18.3334V12.5547C18.3334 13.2934 18.3334 13.9299 18.2649 14.4397C18.1914 14.9859 18.0259 15.5096 17.6011 15.9343C17.1764 16.359 16.6528 16.5246 16.1065 16.5981C15.5968 16.6666 14.9603 16.6666 14.2215 16.6665H5.77847C5.03975 16.6666 4.40325 16.6666 3.89353 16.5981C3.34727 16.5246 2.82365 16.359 2.39893 15.9343C1.97421 15.5096 1.80859 14.9859 1.73515 14.4397C1.66661 13.9299 1.66665 13.2934 1.66669 12.5547V9.1665ZM4.16669 11.6665C4.16669 11.2063 4.53979 10.8332 5.00002 10.8332H6.66669C7.12692 10.8332 7.50002 11.2063 7.50002 11.6665C7.50002 12.1268 7.12692 12.4998 6.66669 12.4998H5.00002C4.53979 12.4998 4.16669 12.1268 4.16669 11.6665ZM8.33336 11.6665C8.33336 11.2063 8.70644 10.8332 9.16669 10.8332H10.8334C11.2936 10.8332 11.6667 11.2063 11.6667 11.6665C11.6667 12.1268 11.2936 12.4998 10.8334 12.4998H9.16669C8.70644 12.4998 8.33336 12.1268 8.33336 11.6665Z' fill='%23008541'/%3E%3Cpath d='M18.3334 7.50017V7.44531C18.3334 6.70657 18.3334 6.07006 18.2649 5.56034C18.1914 5.01408 18.0259 4.49046 17.6011 4.06574C17.1764 3.64101 16.6528 3.4754 16.1065 3.40196C15.5968 3.33342 14.9603 3.33346 14.2215 3.3335H5.77851C5.03976 3.33346 4.40326 3.33342 3.89354 3.40196C3.34727 3.4754 2.82365 3.64102 2.39893 4.06573C1.97421 4.49046 1.80859 5.01408 1.73515 5.56034C1.66661 6.07006 1.66665 6.70658 1.66669 7.44533V7.50016L18.3334 7.50017Z' fill='%23008541'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_54_161'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    display: block;
}

.trust-badge-label {
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    white-space: normal;
    line-height: 1.3;
    text-align: left;
    letter-spacing: -0.01em;
}

.trust-badge-text {
    font-size: 11px;
    font-weight: 400;
    color: #4B5563;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
}

.powered-by-stripe .stripe-logo {
    height: 14px;
    width: auto;
    vertical-align: middle;
    margin-left: 2px;
}

@media (max-width: 767px) {
    .powered-by-stripe .stripe-logo {
        height: 12px;
    }
}

.trust-badge-payments .trust-badge-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
}

.trust-badge-payments .trust-badge-icons svg {
    height: 14px;
    width: auto;
    border-radius: 4px;
    flex-shrink: 0;
}

#form_delivery .logo {
    min-width: 90px;
    max-width: 130px;
    display: flex;
    align-items: center;
}

#form_delivery .wrap-img img {
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
}

#form_delivery .logo .wrap-img img {
    height: 40px;
}

/* Breadcrumbs */
#form_delivery .opc-breadcrumbs {
    padding: 8px 32px 0 32px;
    font-size: 12px;
    color: #FF8338;
    font-weight: 500;
}

#form_delivery .opc-breadcrumbs a {
    color: #FF8338;
    text-decoration: none;
}

#form_delivery .opc-breadcrumbs a:hover {
    text-decoration: underline;
}

#form_delivery .opc-breadcrumbs .pr-breadcrumbs .current {
    color: #4F4F4F;
}

/* Reserved line */
#form_delivery .opc-reserved {
    padding: 8px 16px 0 32px;
    font-size: 1rem;
    color: #232323;
    font-weight: 400;
}

#form_delivery .opc-reserved .hurry-plate {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #171717;
    font-weight: 400;
    font-size: inherit;
    opacity: 1;
    text-align: left;
}

#form_delivery .opc-timer {
    font-weight: 700;
    margin-left: 5px;
    color: #FF8338;
}

/* Steps indicator */
#form_delivery .opc-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 32px;
    gap: 0;
    margin: 0 auto;
}

#form_delivery .opc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
    position: relative;
    z-index: 2;
    color: #bababa;
    font-weight: 400;
    font-size: 14px;
}

#form_delivery .opc-step-num {
    color: #FF8338;
    border: 2px solid #FF8338;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    box-shadow:
        0 2px 7px rgba(255,129,74,.09),
        0 0 8px 2px rgba(255,129,74,0.15);
    margin-bottom: 16px;
    transition: border .22s, background .22s, color .22s;
    transform: rotate(45deg);
}

#form_delivery .opc-step-num i {
    transform: rotate(-45deg);
    display: block;
    text-align: center;
    font-style: normal;
}

#form_delivery .opc-step.active .opc-step-num {
    background: #FF8338;
    color: #fff;
}

#form_delivery .opc-step.active .opc-step-text {
    color: #171717;
    font-weight: 500;
    line-height: 20px;
}

#form_delivery .opc-step.done .opc-step-num {
    opacity: .54;
}

/* Step connector line */
#form_delivery .opc-step-line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 184px;
    margin: -4px -40px 0;
    z-index: 1;
}

#form_delivery .opc-step-line svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 184px;
}

/* =============================================
   3. MAIN LAYOUT CARDS
   ============================================= */
#form_delivery .order {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
    padding: 24px;
    margin: 48px 8px 32px 24px;
}

#form_delivery .inner-order {
    padding-left: 0;
    padding-top: 0;
}

#form_delivery .express-checkout,
#form_delivery .checkout-upsells,
#form_delivery .trust-box,
#form_delivery .trust-box-mobile,
#form_delivery .inner-step {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
    padding: 24px;
    margin: 32px 8px;
}

#form_delivery .checkout-title {
    color: #171717;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 16px;
}

/* =============================================
   4. EXPRESS CHECKOUT
   ============================================= */
.checkout-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    position: relative;
}

.checkout-divider::before {
    content: '';
    position: absolute;
    left: 32px;
    right: 32px;
    top: 50%;
    height: 1px;
    background: #e0e0e0;
    z-index: 0;
}

.checkout-divider-text {
    position: relative;
    background: #F6F6F6;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    z-index: 1;
    white-space: nowrap;
}
#form_delivery .express-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #373737;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    outline: none;
    padding: 0 24px;
    position: relative;
}

#form_delivery .express-checkout-btn:focus {
    outline: 2px solid #ff8338;
    outline-offset: 1px;
    box-shadow: 0 0 0 2px #ff8338;
}

#form_delivery .express-checkout-label {
    font-weight: 800;
    letter-spacing: .01em;
    color: #fff;
}

#form_delivery .express-checkout-svg {
    display: inline-flex;
    align-items: center;
    margin: 0 7px;
    height: 20px;
}

#form_delivery .express-checkout-svg svg {
    display: block;
    height: 20px;
    width: auto;
}

#form_delivery #payment-request-button {
    margin: 0 0 16px;
    height: 40px;
    border-radius: 8px;
    outline: none;
    transition:
        outline 0.22s cubic-bezier(.68,-0.55,.27,1.55),
        outline-offset 0.22s cubic-bezier(.68,-0.55,.27,1.55),
        box-shadow 0.22s cubic-bezier(.68,-0.55,.27,1.55);
}

#form_delivery #payment-request-button:hover,
#form_delivery #payment-request-button:focus {
    outline: 2px solid #ff8338;
    outline-offset: 1px;
    box-shadow: 0 0 0 2px #ff8338;
}

/* =============================================
   5. FORM FIELDS
   ============================================= */
#form_delivery .field {
    border-radius: 8px;
    margin: 0;
}

#form_delivery .checkout-main .field input {
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 24px 0 0;
}

#form_delivery .checkout-main .field label {
    height: 1rem;
    padding: 2px 8px 0;
    margin: -2px 0 0;
}

#form_delivery .checkout-main .step-1 .row {
    margin: 0 -8px;
}

#form_delivery .checkout-main .step-1 .row .field {
    margin: 8px;
}

#form_delivery .checkout-main .bootstrap-select.btn-group .btn .caret {
    color: #FF8338;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px dashed;
}

/* =============================================
   6. DISCOUNT CODE
   ============================================= */
#form_delivery .link-login.get_discount_field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

#form_delivery .link-login.get_discount_field h2 {
    margin: 0;
    padding: 0;
    display: block;
}

#form_delivery .discount-toggle-icon {
    display: flex;
    align-items: center;
    height: 1em;
    transition: transform .18s cubic-bezier(.7,.1,.3,1);
    transform: rotate(180deg);
}

#form_delivery .discount-toggle-icon svg path {
    fill: #171717;
}

#form_delivery .link-login.get_discount_field:has(+ .box-discount:not(.discount_disabled)) .discount-toggle-icon {
    transform: rotate(0deg);
}

#form_delivery .checkout-main .order .box-discount {
    display: flex;
    max-height: 120px;
    opacity: 1;
    pointer-events: auto;
    margin: 24px 0 0;
    overflow: hidden;
    transition: 
        max-height .34s cubic-bezier(.7,0,.18,1),
        opacity .22s cubic-bezier(.68,.01,.51,1),
        margin .24s;
}

#form_delivery .checkout-main .order .box-discount.discount_disabled {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

#form_delivery .box-discount .field {
    position: relative;
}

#form_delivery .discount-success-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

#form_delivery .discount-apply {
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    border: none;
    background: #e9e9e9;
    color: #444;
    padding: 7px 18px;
    margin: 0 0 0 16px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

#form_delivery .discount-apply:hover {
    background: #ff8338;
    color: #fff;
}

/* =============================================
   7. SHIPPING & RADIO BUTTONS
   ============================================= */
#form_delivery .box-radio .check {
    border: 1px solid #ff8338;
    left: 0;
}

#form_delivery .box-radio .check:before {
    height: 8px;
    width: 8px;
}

#form_delivery .box-radio input[type=radio]:checked~.check:before {
    background: #ff8338;
}

#form_delivery .checkout-main .box-shipping-order label {
    padding: 10px 0;
}

#form_delivery .box-shipping-order .shipping-info {
    padding: 0 10px 0 24px;
}

#form_delivery .shipping-title {
    font-weight: 400;
    color: #171717;
}

#form_delivery .checkout-main .step-2 {
    border-top: none;
    border-bottom: none;
}

/* =============================================
   8. ORDER SUMMARY
   ============================================= */
#form_delivery .checkout-main .summary .checkout-title {
    margin: 0;
}

/* Handling Fee Info Icon with Tooltip */
.handling-fee-info {
    display: inline-block;
    margin-left: 4px;
    cursor: help;
    color: #999;
    transition: color 0.2s ease;
    position: relative;
    vertical-align: middle;
    line-height: 0;
}

.handling-fee-info:hover {
    color: #666;
}

.handling-fee-info svg {
    display: block;
    vertical-align: middle;
}

.handling-fee-info .tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #2c2c2c;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
    max-width: 280px;
    min-width: 200px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.handling-fee-info .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2c2c2c;
}

.handling-fee-info.active .tooltip-content {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Summary rows - lighter color for intermediate values */
#form_delivery .checkout-main .summary .row {
    color: #666;
}

#form_delivery .checkout-main .summary .row .pull-left,
#form_delivery .checkout-main .summary .row .pull-right {
    color: #666;
    font-weight: 400;
}

/* Shipping - green only when FREE, regular color otherwise */
#form_delivery .checkout-main .summary .js-shipping_total {
    color: #666; /* Default: same as other rows */
    font-weight: 400;
}

/* Green color only for free shipping - class added via JS */
#form_delivery .checkout-main .summary .js-shipping_total.is-free {
    color: #008541 !important;
    font-weight: 500;
}

/* Discount row - label gray, amount orange */
#form_delivery .checkout-main .summary .js-box-save .row,
#form_delivery .checkout-main .summary .js-box-save .row .pull-left,
#form_delivery .checkout-main .summary .discount-row,
#form_delivery .checkout-main .summary .discount-row .pull-left {
    color: #666;
    font-weight: 400;
}

/* Discount amount - green to highlight savings */
#form_delivery .checkout-main .summary .js-box-save .row .pull-right,
#form_delivery .checkout-main .summary .discount-row .pull-right {
    color: #008541 !important;
    font-weight: 500;
}

/* Total row - bold black (most important) */
#form_delivery .checkout-main .summary .total {
    border-top: 1px solid #E0E0E0;
    padding: 16px 0 0;
    color: #171717;
}

#form_delivery .checkout-main .summary .total .pull-left,
#form_delivery .checkout-main .summary .total .pull-right {
    color: #171717;
    font-weight: 700;
}

#form_delivery .checkout-main .summary .total .pull-right.price {
    font-size: 18px;
}

/* Spacing between summary and payment section */
#form_delivery .checkout-main .steps.step-3 {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E0E0E0;
}

#form_delivery .checkout-main .summary.summary-hidden {
    overflow: inherit;
    height: auto;
}

#form_delivery .js-box-save {
    color: #FF8338;
    font-weight: 600;
}

#form_delivery .cart-items-count {
    color: #171717;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin: -16px 0 24px;
}

/* =============================================
   9. CONSENT CHECKBOXES
   ============================================= */
/* Marketing checkbox - softer green */
#form_delivery #subscription_checkbox_1:checked + .custom-svg-checkbox .circle-bg {
    fill: #6bb86f;
    stroke: none;
}

#form_delivery #subscription_checkbox_1:not(:checked) + .custom-svg-checkbox .circle-bg {
    fill: transparent;
    stroke: #6bb86f;
    stroke-width: 1.5;
}

/* Privacy checkbox - neutral gray */
#form_delivery #subscription_checkbox_2:checked + .custom-svg-checkbox .circle-bg {
    fill: #999;
    stroke: none;
}

#form_delivery #subscription_checkbox_2:not(:checked) + .custom-svg-checkbox .circle-bg {
    fill: transparent;
    stroke: #999;
    stroke-width: 1.5;
}

/* SMS Legal Text */
.sms-legal-text {
    font-size: 10px;
    color: #aaa;
    margin: 16px 0 0;
    line-height: 1.4;
    text-align: center;
    padding: 0 16px;
}
#form_delivery .conditions1 {
    margin: 24px 0;
    font-size: 12px;
}

.conditions1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#form_delivery .box-check-svg {
    position: relative;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 8px;
    user-select: none;
    font-size: 14px;
    margin: 0;
}

#form_delivery .box-check-svg input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0;
    z-index: 2;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

#form_delivery .custom-svg-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    transition: opacity 0.18s;
}

.custom-svg-checkbox .circle-bg {
    transition: fill 0.18s, stroke 0.18s;
}

.custom-svg-checkbox .checkmark {
    transition: opacity 0.18s;
}

.box-check-svg input[type="checkbox"]:checked + .custom-svg-checkbox .circle-bg {
    fill: #008541;
    stroke: none;
}

.box-check-svg input[type="checkbox"]:checked + .custom-svg-checkbox .checkmark {
    display: inline;
    opacity: 1;
}

.box-check-svg input[type="checkbox"]:not(:checked) + .custom-svg-checkbox .circle-bg {
    fill: transparent;
    stroke: #008541;
    stroke-width: 1.5;
}

.box-check-svg input[type="checkbox"]:not(:checked) + .custom-svg-checkbox .checkmark {
    display: none;
    opacity: 0;
}

.custom-svg-checkbox,
.box-check-svg input[type="checkbox"]:focus + .custom-svg-checkbox {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* =============================================
   10. PAYMENT METHODS
   ============================================= */
.payment-cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.payment-cards-row.few-cards {
    justify-content: center;
}

#form_delivery .payment-cards-row .payment-item {
    flex: 0 1 calc(33.333% - 8px);
    min-width: calc(33.333% - 8px);
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 0;
}

#form_delivery .checkout-main .payment-item .payment-item-radio {
    border-top: none;
    padding: 0;
}

#form_delivery .checkout-main .payment-box {
    border: none;
    margin: 0 0 24px;
}

#form_delivery .stripe-gate .row {
    margin: 0 0 8px;
    gap: 8px;
}

#form_delivery .payment-cards-row .box-radio .payment-title {
    font-weight: 500;
    font-size: 12px;
    font-style: normal;
    color: #171717;
    transition: color 0.16s;
}

#form_delivery .payment-cards-row .box-radio input[type="radio"]:checked ~ .payment-title {
    color: #FF8338;
}

#form_delivery .checkout-main .payment-fields {
    background: #fff;
    display: block;
    padding: 0;
}

.payment-cards-row .payment-item-radio {
    width: 100%;
}

.payment-cards-row .box-radio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 72px;
    min-height: 72px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ADADAD;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    gap: 4px;
    box-sizing: border-box;
}

.payment-cards-row .payment-method-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.payment-cards-row .box-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.payment-cards-row .box-radio .check {
    display: none;
}

#form_delivery .payment-box .check+img {
    height: 100% !important;
}

.payment-cards-row .box-radio:has(input[type="radio"]:checked) {
    border-color: #ff9443 !important;
    box-shadow: 0 0 0 2px #fff2e5;
}

#form_delivery .stripe-gate .stripe-text-bottom {
    text-align: left;
    font-family: 'Gilroy', sans-serif;
    font-style: normal;
    font-weight: 300;
    color: #171717;
    margin: 16px 0;
}

/* BNPL */
.bnpl-redirect {
    margin: 8px 0 0;
}

.bnpl-terms-link {
    color: #FF8338;
}

/* =============================================
   11. CHECKOUT BUTTON
   ============================================= */
#form_delivery .checkout-main .move-box {
    margin: 32px 0;
}

#form_delivery .checkout-main .move-box .btn-checkout {
    border-radius: 8px;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
    max-width: 100%;
    transition: box-shadow 0.3s cubic-bezier(.44,.11,.49,.99),
                outline 0.3s cubic-bezier(.68,-0.55,.27,1.55),
                outline-offset 0.3s cubic-bezier(.68,-0.55,.27,1.55);
    line-height: normal;
    box-sizing: border-box;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout-separator {
    opacity: 0.6;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}

.btn-checkout-total {
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.js-btn_complete_order:has(.onepage-wrap-btn-pay:hover) .btn-checkout {
    box-shadow:
        0 0 0 0 rgba(255,131,56,0.12),
        0 4px 32px 0 rgba(255,131,56,0.23),
        0 1.5px 12px 0 rgba(255,131,56,0.15);
    outline: 1px solid #ff8338;
    outline-offset: 1px;
}

#form_delivery .swipe-icon {
    margin-left: 8px;
    display: inline-flex;
    vertical-align: middle;
    animation: cart-arrow-smooth 2.4s cubic-bezier(.45,1.45,.38,1) infinite;
}

@keyframes cart-arrow-smooth {
    0%, 88%, 100% { transform: translateX(0); }
    12% { transform: translateX(13px); }
    26% { transform: translateX(0); }
}

/* =============================================
   12. TRUST BOX (legacy)
   ============================================= */
#form_delivery .trust-box .checkout-title {
    color: #FF8338;
}

#form_delivery .trust-box p {
    color: #171717;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
}

#form_delivery .why_buy_box {
    margin: 56px 0 40px;
    border: none;
}

#form_delivery .why_buy_text {
    align-content: center;
}

/* =============================================
   13. FOOTER
   ============================================= */
#form_delivery .footer,
#form_delivery .checkout-main .order .footer,
#form_delivery .inner-order .footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    border-top: none;
    padding: 0;
    margin-top: 16px;
    text-align: center;
    height: auto;
    width: 100%;
    background: transparent;
}

#form_delivery .checkout-main .order .footer a,
#form_delivery .inner-order .footer a {
    color: #171717;
    font-size: 13px;
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.2s;
}

#form_delivery .checkout-main .order .footer a:hover,
#form_delivery .inner-order .footer a:hover {
    color: #FF814A;
}

/* =============================================
   14. CHECKOUT UPSELLS
   ============================================= */
#form_delivery .checkout-upsells {
    font-family: 'Gilroy', sans-serif;
}

#form_delivery .checkout-upsells .checkout-title {
    margin: 0 0 8px;
    font-family: 'Gilroy', sans-serif;
}

.checkout-upsell-subtitle {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #171717;
    flex-wrap: wrap;
    font-family: 'Gilroy', sans-serif;
}

.checkout-upsell-timer {
    background: #373737;
    color: #fff;
    border-radius: 16px;
    padding: 4px 8px;
    font-family: 'Cabin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: block;
    transition: background 0.2s, color 0.2s;
    line-height: 1.1;
    text-align: center;
    user-select: none;
}

@keyframes owleys-blink-bg {
    0%, 100% {
        background: #373737;
        box-shadow: 0 0 0 0 #ff4a4a00, 0 0 12px 2px #ff4a4a66;
    }
    50% {
        background: #ff4a4a;
        box-shadow: 0 0 12px 2px #ff4a4a99, 0 0 18px 8px #ff4a4a33;
    }
}

.checkout-upsell-timer.blinking {
    animation: owleys-blink-bg 1.1s ease-in-out infinite;
    color: #fff !important;
}

.checkout-upsell-products {
    display: flex;
    gap: 12px;
    margin: 16px 0 0;
    overflow-x: hidden;
}

.checkout-upsell-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 0;
    min-width: 120px;
    font-family: 'Cabin', sans-serif;
}

.checkout-upsell-link {
    display: block;
    text-decoration: none;
}

.checkout-upsell-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 8px;
}

.checkout-upsell-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.checkout-upsell-item:hover .checkout-upsell-thumb img {
    transform: scale(1.03);
}

.checkout-upsell-badge {
    background: #FF8338;
    color: #fff;
    padding: 3px 8px;
    pointer-events: none;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    position: absolute;
    bottom: 6px;
    left: 6px;
    line-height: normal;
    white-space: nowrap;
    font-family: 'Gilroy', sans-serif;
}

.checkout-upsell-title {
    font-weight: 500;
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    line-height: 1.3;
    font-family: 'Gilroy', sans-serif;
}

.checkout-upsell-price {
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-family: 'Gilroy', sans-serif;
}

.checkout-upsell-price-current {
    color: #008541;
}

.checkout-upsell-price:not(:has(.checkout-upsell-price-old)) .checkout-upsell-price-current {
    color: #333;
}

.checkout-upsell-price-old {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

.checkout-upsell-add {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    width: 100%;
    padding: 8px 10px;
    background: #fff;
    color: #ff8338;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid #ff8338;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-family: 'Cabin', sans-serif;
}

.checkout-upsell-add::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.925 5.371a1 1 0 1 0-1.858-.742L6.317 9h-1.2c-1.076 0-1.614 0-1.913.346-.3.346-.222.878-.067 1.942l.271 1.864c.475 3.265.902 4.898 2.03 5.873s2.778.975 6.08.975h.96c3.302 0 4.953 0 6.08-.975 1.128-.975 1.559-2.608 2.034-5.873l.271-1.864c.155-1.064.233-1.596-.067-1.942S19.96 9 18.883 9h-1.205l-1.75-4.371a1 1 0 0 0-1.857.742L15.523 9h-7.05zM10.997 14v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 2 0M14 13a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.925 5.371a1 1 0 1 0-1.858-.742L6.317 9h-1.2c-1.076 0-1.614 0-1.913.346-.3.346-.222.878-.067 1.942l.271 1.864c.475 3.265.902 4.898 2.03 5.873s2.778.975 6.08.975h.96c3.302 0 4.953 0 6.08-.975 1.128-.975 1.559-2.608 2.034-5.873l.271-1.864c.155-1.064.233-1.596-.067-1.942S19.96 9 18.883 9h-1.205l-1.75-4.371a1 1 0 0 0-1.857.742L15.523 9h-7.05zM10.997 14v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 2 0M14 13a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    margin-right: 6px;
    flex-shrink: 0;
}

.checkout-upsell-add:hover {
    background: #ff8338;
    color: #fff;
    border-color: #ff8338;
}

.checkout-upsell-add:disabled,
.checkout-upsell-add[disabled] {
    background: #f5f5f5 !important;
    color: #999 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
}

.checkout-upsell-add:disabled::before,
.checkout-upsell-add[disabled]::before {
    opacity: 0.5;
}

/* =============================================
   15. CHECKOUT GUARANTEES (Bottom Trust Block)
   ============================================= */
.checkout-guarantees {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.guarantee-item svg {
    color: #008541;
    flex-shrink: 0;
    margin-top: 2px;
}

.guarantee-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.guarantee-content strong {
    font-size: 14px;
    font-weight: 600;
    color: #171717;
    line-height: 1.3;
}

.guarantee-content span {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}

.guarantee-content a {
    color: #FF814A;
    text-decoration: none;
    transition: color 0.18s ease;
}

.guarantee-content a:hover {
    color: #e06830;
    text-decoration: underline;
}

/* =============================================
   16. ORDER ITEMS
   ============================================= */
#form_delivery .checkout-main .order-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    font-family: 'Cabin', sans-serif;
}

#form_delivery .checkout-main .order-item:first-child {
    padding-top: 8px;
}

#form_delivery .checkout-main .order-item:last-child {
    border-bottom: none;
    padding-bottom: 8px;
}

#form_delivery .checkout-main .order-item > .flex-1 {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex: 1;
    min-width: 0;
}

/* Thumbnail */
#form_delivery .checkout-main .order-item .order-thumb {
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    margin-right: 12px;
}

#form_delivery .checkout-main .order-item .order-thumb .wrap-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#form_delivery .checkout-main .order-item .order-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#form_delivery .checkout-main .order-item .order-thumb-link:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#form_delivery .checkout-main .order-item .order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: opacity 0.2s ease;
}

/* Quantity badge */
#form_delivery .checkout-main .order-item .order-quantity {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    background: #FF8338;
    color: #fff;
    font-family: 'Cabin', sans-serif;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 131, 56, 0.35);
    z-index: 2;
    line-height: 1;
    box-sizing: border-box;
    border: 2px solid #fff;
}

/* Remove link */
#form_delivery .checkout-main .order-item .order-item-remove {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

#form_delivery .checkout-main .order-item .order-item-remove:hover {
    color: #e53935;
}

/* Title */
#form_delivery .checkout-main .order-item .order-title {
    flex: 1;
    min-width: 0;
    margin-left: 0;
    padding: 0;
}

#form_delivery .checkout-main .order-item .order-title h3 {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Variations */
#form_delivery .checkout-main .order-item .order-variations {
    font-size: 12px;
    color: #666;
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 6px;
    line-height: 1.3;
}

/* Price */
#form_delivery .checkout-main .order-item .price {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding-top: 2px;
    margin: 0;
    color: #171717;
    font-weight: 600;
}

/* Unit price - shown only when quantity > 1 */
#form_delivery .checkout-main .order-item .price .order-unit-price {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    font-family: 'Cabin', sans-serif;
    letter-spacing: 0;
}

#form_delivery .checkout-main .order-item .price .order-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

#form_delivery .checkout-main .order-item .price.has-discount .order-price-current {
    color: #008541;
}

/* FREE price - green color for gift items */
#form_delivery .checkout-main .order-item .price .order-price-free {
    color: #008541 !important;
    font-weight: 600;
}

#form_delivery .checkout-main .order-item .price .order-price-old {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

/* =============================================
   17. ORDER ITEMS COUNT
   ============================================= */
.order-items-count {
    font-weight: 400;
    font-size: 14px;
    color: #666;
}

/* =============================================
   18. HIDE STRIPE TEXT BOTTOM
   ============================================= */
#form_delivery .stripe-text-bottom {
    display: none !important;
}

/* =============================================
   19. ESTIMATED DELIVERY DATE
   ============================================= */

/* Override parent theme shipping labels */
#form_delivery .checkout-main .box-shipping-cart label,
#form_delivery .checkout-main .box-shipping-order label {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: none;
    gap: 0;
    position: relative;
    padding-left: 28px;
}

#form_delivery .checkout-main .box-shipping-cart label:last-child,
#form_delivery .checkout-main .box-shipping-order label:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Radio check - positioned left */
#form_delivery .checkout-main .box-shipping-cart label .check,
#form_delivery .checkout-main .box-shipping-order label .check {
    position: absolute;
    left: 0;
    top: 12px;
    margin: 0;
}

/* Override parent theme shipping-info padding */
#form_delivery .checkout-main .box-shipping-cart .shipping-info,
#form_delivery .checkout-main .box-shipping-order .shipping-info {
    flex: 1;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Shipping title */
#form_delivery .checkout-main .box-shipping-cart .shipping-title,
#form_delivery .checkout-main .box-shipping-order .shipping-title {
    font-weight: 500;
    color: #171717;
}

/* Shipping price - align right */
#form_delivery .checkout-main .box-shipping-cart .shipping-price,
#form_delivery .checkout-main .box-shipping-order .shipping-price {
    margin-left: auto;
    padding: 0;
    flex-shrink: 0;
    font-weight: 500;
    color: #171717;
}

.shipping-estimated-delivery {
    display: block;
    font-size: 12px;
    color: #008541;
    font-weight: 500;
    margin-top: 4px;
    padding-left: 0;
}

.shipping-estimated-delivery::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 4px;
    vertical-align: -2px;
    background-color: #008541;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* =============================================
   20. PARENT THEME OVERRIDES
   ============================================= */
.onepage_checkout .mobile-summary + h2,
#form_delivery .onepage_checkout .mobile-summary + h2 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #171717 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

#form_delivery .checkout-main .box-shipping-cart,
#form_delivery .checkout-main .box-shipping-order,
.onepage_checkout .checkout-main .box-shipping-cart,
.onepage_checkout .checkout-main .box-shipping-order {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

#form_delivery .checkout-main .summary,
.onepage_checkout .checkout-main .summary {
    border-top: none !important;
    border-bottom: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: #4F4F4F;
}

/* =============================================
   21. RESPONSIVE - TABLET (max 1023px)
   ============================================= */
@media (max-width: 1023px) {
    #form_delivery .trust-box,
    #form_delivery .why_buy_box,
    #form_delivery .checkout-main .order .footer {
        display: block;
    }

    .checkout-upsell-products {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        padding: 0 0 24px;
    }

    #form_delivery .checkout-main .order-item .order-thumb .wrap-img {
        height: auto;
    }
}

/* =============================================
   22. RESPONSIVE - MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Header */
    #form_delivery .opc_header {
        padding: 0;
    }

    #form_delivery .header-inner {
        flex-direction: row;
        gap: 0;
        padding: 16px 0 0;
    }

    #form_delivery .opc-title {
        font-size: 22px;
    }

    #form_delivery .opc-trust-line {
        padding: 10px 0 0;
        gap: 6px;
        justify-content: space-between;
        overflow: visible;
        flex-wrap: nowrap;
    }

    /* Trust badges mobile */
    .trust-badge {
        padding: 8px 10px;
        gap: 6px;
        flex: 1 1 0;
        min-height: 72px;
        min-width: 0;
        border-radius: 8px;
        height: 100%;
    }

    .trust-badge-label {
        font-size: 10px;
        font-weight: 500;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .trust-badge-text {
        font-size: 10px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .trust-badge-payments .trust-badge-icons {
        gap: 4px;
        flex-wrap: wrap;
    }

    .trust-badge-payments .trust-badge-icons svg {
        height: 12px;
        width: auto;
    }

    #form_delivery .logo .wrap-img {
        align-items: normal;
        padding: 0;
    }

    #form_delivery .opc-breadcrumbs {
        padding: 0px 24px;
        font-size: 14px;
    }

    #form_delivery .opc-reserved {
        padding: 16px 0 0;
        font-size: 1rem;
    }

    #form_delivery .opc-reserved .hurry-plate {
        text-align: center;
    }

    /* Steps */
    #form_delivery .opc-steps {
        padding: 16px 8px 0;
    }

    #form_delivery .opc-step-num {
        width: 24px;
        height: 24px;
        font-size: .97rem;
    }

    #form_delivery .opc-step {
        min-width: 56px;
        font-size: .92rem;
    }

    #form_delivery .opc-step-line {
        width: 160px;
        margin: 0 -24px;
    }

    /* Cards */
    #form_delivery .express-checkout,
    #form_delivery .checkout-upsells,
    #form_delivery .trust-box,
    #form_delivery .trust-box-mobile,
    #form_delivery .inner-step {
        padding: 16px;
        margin: 24px 0;
    }

    #form_delivery .order {
        padding: 16px;
        margin: 24px 0;
    }

    /* Express checkout */
    #form_delivery .express-checkout-title {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    #form_delivery .express-checkout-grid {
        gap: 12px 8px;
    }

    #form_delivery .express-checkout-btn {
        font-size: 0.97rem;
        height: 44px;
        padding: 0 12px;
    }

    /* Checkout divider mobile */
    .checkout-divider {
        padding: 12px 16px;
    }

    .checkout-divider::before {
        left: 16px;
        right: 16px;
    }

    .checkout-divider-text {
        font-size: 11px;
        padding: 0 8px;
    }

    /* Trust box */
    #form_delivery .trust-box {
        display: none;
    }

    #form_delivery .trust-box h3 {
        padding: 0 33% 0 0;
    }

    /* Guarantees block - mobile */
    .checkout-guarantees {
        padding: 16px;
        margin: 16px 0;
        gap: 14px;
    }

    .guarantee-item {
        gap: 10px;
    }

    .guarantee-item svg {
        width: 16px;
        height: 16px;
    }

    .guarantee-content strong {
        font-size: 13px;
    }

    .guarantee-content span {
        font-size: 12px;
    }

    /* Discount */
    #form_delivery .checkout-main .order .box-discount {
        border-top: none;
        padding: 0;
    }

    /* Trust card */
    .checkout-trust-card {
        margin-top: 16px;
        margin-bottom: 16px;
        padding: 16px;
    }

    .trust-card-header span {
        font-size: 14px;
    }

    .trust-feature {
        font-size: 12px;
    }

    /* Footer */
    #form_delivery .footer,
    #form_delivery .checkout-main .order .footer,
    #form_delivery .inner-order .footer {
        margin-top: 12px;
    }

    /* Order items */
    #form_delivery .checkout-main .order-item {
        padding: 12px 0;
        gap: 12px;
    }

    #form_delivery .checkout-main .order-item > .flex-1 {
        gap: 0;
    }

    #form_delivery .checkout-main .order-item .order-thumb {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    #form_delivery .checkout-main .order-item .order-thumb .wrap-img,
    #form_delivery .checkout-main .order-item .order-thumb img,
    #form_delivery .checkout-main .order-item .order-thumb-link {
        border-radius: 8px;
    }

    #form_delivery .checkout-main .order-item .order-quantity {
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        padding: 0 !important;
        font-size: 10px;
        border-radius: 50% !important;
        top: -4px;
        right: -4px;
        border-width: 1.5px;
    }

    #form_delivery .checkout-main .order-item .order-title {
        flex: 1 1 0;
        min-width: 0;
        max-width: calc(100% - 70px);
    }

    #form_delivery .checkout-main .order-item .order-title h3 {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }

    #form_delivery .checkout-main .order-item .order-variations {
        font-size: 11px;
        padding: 3px 8px;
        word-break: break-word;
        max-width: 100%;
    }

    #form_delivery .checkout-main .order-item .price {
        flex-shrink: 1;
        min-width: 60px;
    }

    #form_delivery .checkout-main .order-item .price .order-unit-price {
        font-size: 11px;
    }

    #form_delivery .checkout-main .order-item .price .order-price-current {
        font-size: 14px;
    }

    #form_delivery .checkout-main .order-item .price .order-price-old {
        font-size: 11px;
    }

    #form_delivery .checkout-main .order-item .order-item-remove {
        font-size: 11px;
    }
}

/* =============================================
   23. RESPONSIVE - PAYMENT CARDS
   ============================================= */
@media (max-width: 900px) {
    .payment-cards-row .payment-item {
        flex: 0 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .payment-cards-row .payment-item {
        flex: 1 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    #form_delivery .checkout-main .step-1 .row.no_zip .field {
        margin-bottom: 5px;
    }
}
