/* ============================================================
   inline-checkout/template-9 — Polaroid Album
   Translated from public/inline-checkout-styles/tpl-9.css onto
   template-2's actual Blade DOM.

   Aesthetic: sand-cream canvas + tilted white polaroid frames
   (each .ic-card = one polaroid) with soft drop shadows +
   alternating rotations + dashed photo borders + hand-written
   Caveat cursive captions/labels + coral accent + teal sub-accent
   + square corners + underline-only inputs.

   Scope: ONLY inline-checkout's own classes.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&display=swap');

/* ============================================================
   SHELL — sand album, vertical stack of polaroid frames
   ============================================================ */
.ic {
    --t9-bg:          #F5EBE0;
    --t9-paper:       #FFFFFF;
    --t9-ink:         #3A2E26;
    --t9-muted:       #8A7969;
    --t9-coral:       #C75D4C;
    --t9-coral-rgb:   199, 93, 76;
    --t9-coral-dark:  #A6432F;
    --t9-teal:        #3A6B5C;
    --t9-rule:        #EFE5D6;
    --t9-dashed:      #E8DACA;
    --t9-soft-bg:     #FBF6EF;
    --t9-shadow: 0 8px 22px rgba(75, 50, 40, 0.12), 0 2px 6px rgba(75, 50, 40, 0.08);
    --t9-shadow-hover: 0 12px 30px rgba(75, 50, 40, 0.18), 0 4px 10px rgba(75, 50, 40, 0.10);

    --bs-primary:       var(--t9-coral);
    --bs-primary-rgb:   var(--t9-coral-rgb);
    --bs-secondary:     var(--t9-teal);
    --bs-body-color:    var(--t9-ink);
    --bs-border-color:  var(--t9-rule);

    --t9-cursive: 'Caveat', 'Patrick Hand', 'Brush Script MT', cursive;
    --t9-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    max-width: 640px;
    margin: 32px auto;
    padding: 32px 24px;
    background: var(--t9-bg);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--t9-ink);
    font-family: var(--t9-sans);
    scroll-margin-top: 80px;
    position: relative;
}

/* ============================================================
   HEAD — special polaroid (centered, bigger cursive caption)
   ============================================================ */
.ic .ic-head {
    background: var(--t9-paper);
    padding: 24px 18px 32px;
    margin: 0 0 22px;
    border: 0;
    border-radius: 0;
    box-shadow: var(--t9-shadow);
    text-align: center;
    transform: rotate(-0.6deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ic .ic-head:hover {
    transform: rotate(0deg);
    box-shadow: var(--t9-shadow-hover);
}
.ic .ic-head::after { display: none; }
.ic .ic-head-eyebrow {
    display: inline-block;
    font-family: var(--t9-sans);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--t9-coral);
    background: transparent;
    padding: 0;
    margin: 0 0 6px;
    font-weight: 700;
    font-style: normal;
}
.ic .ic-head-title {
    font-family: var(--t9-cursive);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--t9-ink);
    letter-spacing: 0.01em;
    text-transform: none;
    margin: 0 0 4px;
    line-height: 1;
}
.ic .ic-head-sub {
    font-family: var(--t9-sans);
    font-size: 0.85rem;
    color: var(--t9-muted);
    margin: 8px 0 0;
    font-weight: 400;
    letter-spacing: 0;
    font-style: normal;
}

/* ============================================================
   ALERT
   ============================================================ */
.ic .ic-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    padding: 10px 14px;
    background: rgba(var(--t9-coral-rgb), 0.08);
    border: 0;
    border-left: 3px solid var(--t9-coral);
    border-radius: 0;
    color: var(--t9-coral-dark);
    font-family: var(--t9-sans);
    font-size: 0.86rem;
    font-weight: 600;
}
.ic .ic-alert svg { flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   FORM LAYOUT — kill Bootstrap row, vertical polaroid stack
   ============================================================ */
.ic .row.g-4 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.ic .row.g-4 > [class*="col-"] {
    padding: 0;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ============================================================
   CARDS (.ic-card) — each is a polaroid frame with shadow + tilt
   ============================================================ */
.ic .ic-card {
    position: relative;
    padding: 14px 14px 18px;
    background: var(--t9-paper);
    border: 0;
    border-radius: 0;
    margin: 0;
    box-shadow: var(--t9-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* Alternating tilts across cards in the form */
.ic .ic-card:nth-of-type(1) { transform: rotate(-1.5deg); }
.ic .ic-card:nth-of-type(2) { transform: rotate(1deg); }
.ic .ic-card:nth-of-type(3) { transform: rotate(-0.8deg); }
.ic .ic-card:nth-of-type(4) { transform: rotate(1.2deg); }
.ic .ic-card:nth-of-type(5) { transform: rotate(-1deg); }
.ic .ic-card:nth-of-type(6) { transform: rotate(0.6deg); }
.ic .ic-card:nth-of-type(7) { transform: rotate(-1.3deg); }
.ic .ic-card:hover {
    transform: rotate(0deg);
    box-shadow: var(--t9-shadow-hover);
    z-index: 2;
}

.ic .ic-card-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0 4px;
    border: 0;
}
.ic .ic-card-num {
    width: auto;
    height: auto;
    flex-shrink: 0;
    background: transparent;
    color: var(--t9-muted);
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 0.65rem;
    font-weight: 400;
    padding: 0;
    border: 0;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ic .ic-card-num::before { content: "№ "; }
.ic .ic-card-title {
    font-family: var(--t9-cursive);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--t9-ink);
    margin: 0;
    letter-spacing: 0.01em;
    text-transform: none;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    flex: 1 1 auto;
    line-height: 1;
}
.ic .ic-bundle-chip {
    margin-left: auto;
    font-family: var(--t9-cursive);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--t9-teal);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
}

/* ============================================================
   VARIATION ROWS — soft-cream rows with coral accent on active
   ============================================================ */
.ic .ic-variation-row,
.ic .ic-summary-row {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px;
    background: var(--t9-soft-bg);
    border: 1px solid var(--t9-rule);
    border-radius: 0;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
    margin: 0 0 6px;
}
.ic .ic-summary-row { margin: 0; }
.ic .ic-variation-row.active,
.ic .ic-summary-row.active {
    background: rgba(var(--t9-coral-rgb), 0.06);
    border-color: var(--t9-coral);
}
.ic .ic-variation-row:hover { border-color: var(--t9-coral); }
.ic .ic-variation-row.is-disabled { opacity: 0.45; cursor: not-allowed; }

.ic .ic-single-axis-rows { display: flex; flex-direction: column; gap: 0; }

.ic .ic-variation-thumb,
.ic .add-to-products-image {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid var(--t9-rule);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ic .ic-variation-thumb img,
.ic .add-to-products-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ic .ic-variation-info,
.ic .add-to-products-infor { min-width: 0; }

.ic .ic-variation-name,
.ic .products-title {
    font-family: var(--t9-sans);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--t9-ink);
    margin: 0 0 3px;
    line-height: 1.2;
    letter-spacing: 0;
}
.ic .ic-variation-combo-title {
    display: inline-block;
    margin-left: 4px;
    font-family: var(--t9-cursive);
    font-size: 0.95rem;
    color: var(--t9-teal);
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0;
}

/* Prices — coral-dark current, muted strike-through old, teal cursive discount */
.ic .ic-variation-prices,
.ic .products-navs {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 4px;
}
.ic .products-current-price,
.ic .ic-price-new {
    font-family: var(--t9-sans);
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--t9-coral-dark);
    letter-spacing: 0;
}
.ic .products-old-price,
.ic .ic-price-old {
    font-family: var(--t9-sans);
    font-size: 0.74rem;
    color: var(--t9-muted);
    text-decoration: line-through;
    font-weight: 400;
}
.ic .products-discount-amount,
.ic .ic-price-discount {
    display: inline-block;
    font-family: var(--t9-cursive);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--t9-teal);
    background: transparent;
    padding: 0;
    border-radius: 0;
    letter-spacing: 0;
    font-style: normal;
}
.ic .products-save-amount,
.ic .ic-price-save {
    display: block;
    font-family: var(--t9-cursive);
    font-size: 1rem;
    color: var(--t9-teal);
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: 0;
    font-style: normal;
}

/* Qty stepper — flat photo-album style */
.ic .products-quantity-table,
.ic .ic-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--t9-rule);
    border-radius: 0;
    overflow: hidden;
    margin-top: 6px;
}
.ic .ic-qty-btn,
.ic .procuts-less,
.ic .procuts-up {
    width: 26px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--t9-ink);
    font-family: var(--t9-sans);
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}
.ic .ic-qty-btn:hover,
.ic .procuts-less:hover,
.ic .procuts-up:hover { background: var(--t9-soft-bg); }
.ic .quantities,
.ic .ic-qty-input {
    width: 30px;
    height: 24px;
    text-align: center;
    background: transparent;
    color: var(--t9-ink);
    border: 0;
    border-left: 1px solid var(--t9-rule);
    border-right: 1px solid var(--t9-rule);
    font-family: var(--t9-sans);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0;
    -moz-appearance: textfield;
}
.ic .quantities::-webkit-inner-spin-button,
.ic .ic-qty-input::-webkit-inner-spin-button,
.ic .quantities::-webkit-outer-spin-button,
.ic .ic-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Active row check icon — square hairline + coral fill */
.ic .ic-variation-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: transparent;
    border: 1.5px solid var(--t9-coral);
    border-radius: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.ic .ic-variation-row.active .ic-variation-check,
.ic .ic-summary-row.active .ic-variation-check {
    background: var(--t9-coral);
    color: #ffffff;
}

/* Hide native radio */
.ic .single-selection { position: absolute; opacity: 0; pointer-events: none; }

/* Picker wrapper (multi/bundle) */
.ic .ic-picker { margin-top: 10px; }

/* ============================================================
   FIELDS — underline-only inputs, cursive labels in teal
   ============================================================ */
.ic .ic-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ic .ic-field { display: flex; flex-direction: column; }
.ic .ic-label {
    font-family: var(--t9-cursive);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--t9-teal);
    letter-spacing: 0.01em;
    text-transform: none;
    margin-bottom: 2px;
    font-style: normal;
}
.ic .ic-required {
    color: var(--t9-coral);
    font-weight: 800;
    margin-left: 2px;
    font-family: var(--t9-cursive);
}
.ic .ic-optional {
    color: var(--t9-muted);
    font-weight: 500;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 4px;
    font-size: 0.92rem;
    font-family: var(--t9-cursive);
}

.ic input.ic-input,
.ic .ic-input {
    border: 0;
    border-bottom: 1.5px solid var(--t9-rule);
    background: transparent;
    border-radius: 0;
    padding: 6px 0;
    font-family: var(--t9-sans);
    font-size: 0.92rem;
    color: var(--t9-ink);
    width: 100%;
    box-sizing: border-box;
    transition: border-bottom-color 0.15s ease;
    box-shadow: none;
    line-height: 1.4;
    font-weight: 500;
}
.ic textarea.ic-input {
    border: 1px solid var(--t9-rule);
    background: transparent;
    border-radius: 0;
    padding: 8px 10px;
    font-family: var(--t9-sans);
    font-size: 0.92rem;
    color: var(--t9-ink);
    width: 100%;
    min-height: 60px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
    box-shadow: none;
    line-height: 1.4;
    font-weight: 500;
}
.ic input.ic-input:focus,
.ic textarea.ic-input:focus,
.ic .ic-input:focus {
    border-bottom-color: var(--t9-coral);
    border-color: var(--t9-coral);
    outline: none;
    box-shadow: none;
    background: transparent;
}
.ic .ic-input::placeholder {
    color: var(--t9-muted);
    opacity: 0.7;
    font-style: italic;
    font-family: var(--t9-sans);
}
.ic .invalid-feedback.ic-error {
    font-family: var(--t9-cursive);
    font-size: 1rem;
    color: var(--t9-coral);
    margin-top: 4px;
    font-style: normal;
    letter-spacing: 0;
}

/* ============================================================
   SHIPPING & PAYMENT — soft-cream rows with coral active
   ============================================================ */
.ic .ic-shipping,
.ic .ic-payment {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ic .ic-shipping-option,
.ic .ic-payment-option {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    background: var(--t9-soft-bg);
    border: 1px solid var(--t9-rule);
    border-radius: 0;
    cursor: pointer;
    margin: 0;
    font-family: var(--t9-sans);
    font-size: 0.85rem;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.ic .ic-shipping-option:hover,
.ic .ic-payment-option:hover { border-color: var(--t9-coral); }
.ic .ic-shipping-option:has(input:checked),
.ic .ic-payment-option:has(input:checked) {
    border-color: var(--t9-coral);
    background: rgba(var(--t9-coral-rgb), 0.06);
}
.ic .ic-shipping-option input,
.ic .ic-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.ic .ic-shipping-radio,
.ic .ic-payment-radio {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--t9-coral);
    background: transparent;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}
.ic .ic-shipping-option:has(input:checked) .ic-shipping-radio::after,
.ic .ic-payment-option:has(input:checked) .ic-payment-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--t9-coral);
    border-radius: 50%;
}
.ic .ic-shipping-title,
.ic .ic-payment-option .ic-payment-title {
    color: var(--t9-ink);
    font-weight: 700;
    letter-spacing: 0;
    font-family: var(--t9-sans);
}
.ic .ic-payment-option .ic-payment-sub {
    grid-column: 2 / -1;
    font-family: var(--t9-cursive);
    font-size: 0.95rem;
    color: var(--t9-muted);
    font-weight: 500;
    font-style: normal;
}
.ic .ic-payment-option .ic-payment-logo {
    height: 22px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.7;
}
.ic .ic-shipping-option .ic-shipping-charge,
.ic .ic-shipping-option .shipping-cost-amount {
    color: var(--t9-coral-dark);
    font-weight: 800;
    font-family: var(--t9-sans);
}

/* Payment details panel — teal accent strip + cursive italic */
.ic .ic-payment-details,
.ic .payment_box {
    padding: 6px 10px;
    background: var(--t9-soft-bg);
    border: 0;
    border-left: 3px solid var(--t9-teal);
    border-radius: 0;
    margin: 2px 0 0;
    font-family: var(--t9-cursive);
    font-size: 1rem;
    color: var(--t9-muted);
}
.ic .ic-payment-details .ic-wallet-meta,
.ic .payment_box .ic-wallet-meta { font-family: var(--t9-sans); margin-bottom: 8px; }
.ic .ic-payment-details .ic-wallet-meta .small,
.ic .payment_box .ic-wallet-meta .small {
    font-family: var(--t9-sans);
    font-size: 0.78rem;
    color: var(--t9-ink);
    line-height: 1.5;
    font-weight: 500;
}
.ic .ic-payment-details .ic-wallet-meta strong,
.ic .payment_box .ic-wallet-meta strong { color: var(--t9-teal); font-weight: 800; }
.ic .ic-payment-details .ic-input-label,
.ic .payment_box .ic-input-label {
    display: block;
    font-family: var(--t9-cursive);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--t9-teal);
    letter-spacing: 0;
    text-transform: none;
    margin: 8px 0 2px;
}
.ic .ic-payment-details .text-danger,
.ic .payment_box .text-danger { color: var(--t9-coral); }

/* ============================================================
   COUPON — teal block-button apply
   ============================================================ */
.ic .ic-coupon {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ic .ic-coupon-field {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}
.ic .ic-coupon-field input.ic-input,
.ic .ic-coupon-field input {
    flex: 1 1 auto;
    min-width: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-style: normal;
    font-family: var(--t9-sans);
}
.ic .ic-coupon-apply,
.ic [data-action="apply-coupon"] {
    flex-shrink: 0;
    background: var(--t9-teal);
    color: #ffffff;
    border: 0;
    border-radius: 0;
    padding: 8px 16px;
    font-family: var(--t9-sans);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s ease;
}
.ic .ic-coupon-apply:hover,
.ic [data-action="apply-coupon"]:hover { background: var(--t9-ink); }
.ic .ic-coupon-status,
.ic .ic-coupon-message {
    margin: 0;
    font-family: var(--t9-cursive);
    font-size: 1rem;
    color: var(--t9-muted);
    font-weight: 500;
    letter-spacing: 0;
}
.ic .ic-coupon-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    background: var(--t9-teal);
    color: #ffffff;
    border-radius: 0;
    font-family: var(--t9-cursive);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0;
}
.ic .ic-coupon-remove {
    margin-left: 6px;
    background: transparent;
    border: 0;
    color: var(--t9-muted);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
}
.ic .ic-coupon-remove:hover { color: var(--t9-coral); }

/* ============================================================
   TOTALS — flat soft-cream panel
   ============================================================ */
.ic .ic-summary { margin: 0; }
.ic .products-amount-wrapper,
.ic .ic-totals {
    margin: 0 0 12px;
    padding: 12px 14px;
    background: var(--t9-soft-bg);
    border: 1px solid var(--t9-rule);
    border-radius: 0;
}
.ic .products-amount-raw,
.ic .ic-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 3px 0;
    font-family: var(--t9-sans);
    font-size: 0.86rem;
    color: var(--t9-muted);
    font-weight: 600;
}
.ic .products-amount-raw .ttle,
.ic .ic-total-label {
    color: var(--t9-muted);
    font-weight: 600;
    letter-spacing: 0;
}
.ic .products-amount-raw .amount,
.ic .ic-total-value {
    color: var(--t9-ink);
    font-weight: 700;
    text-align: right;
}
.ic .products-amount-raw .amount .products-current-price,
.ic .products-amount-raw .amount .ic-total-new {
    font-size: 0.86rem;
    color: var(--t9-ink);
    font-weight: 700;
}
.ic .products-amount-raw .amount .products-old-price,
.ic .products-amount-raw .amount .ic-total-old {
    font-size: 0.76rem;
    margin-right: 6px;
    color: var(--t9-muted);
}

.ic .products-total-amount,
.ic .ic-total-grand {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--t9-rule);
    font-family: var(--t9-sans);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--t9-ink);
}
.ic .products-total-amount .ttle,
.ic .ic-total-grand .ic-total-label {
    color: var(--t9-ink);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    font-size: 1.1rem;
}
.ic .products-total-amount .amount .products-current-price,
.ic .products-total-amount .amount .ic-total-new,
.ic .ic-total-grand .ic-total-value {
    color: var(--t9-coral-dark);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.ic .ic-discount-code-chip:not(:empty) {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    background: var(--t9-teal);
    color: #ffffff;
    border-radius: 0;
    font-family: var(--t9-cursive);
    font-size: 0.95rem;
    letter-spacing: 0;
    font-weight: 700;
}

/* ============================================================
   SUBMIT BUTTON — flat coral block, dark on hover
   ============================================================ */
.ic .checkout-btn,
.ic .ic-submit {
    display: inline-flex;
    width: 100%;
    margin-top: 0;
    padding: 14px;
    background: var(--t9-coral);
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: var(--t9-sans);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: none;
    transition: background 0.2s ease;
    text-align: center;
}
.ic .checkout-btn:hover,
.ic .ic-submit:hover { background: var(--t9-coral-dark); }
.ic .checkout-btn svg,
.ic .ic-submit svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}
.ic .checkout-btn-text { line-height: 1.2; }
.ic .checkout-btn-value {
    font-weight: 800;
    color: inherit;
}

/* ============================================================
   TRUST BADGES — cursive center
   ============================================================ */
.ic .ic-trust {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-family: var(--t9-cursive);
    font-size: 1rem;
    color: var(--t9-muted);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}
.ic .ic-trust span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ic .ic-trust svg {
    width: 14px;
    height: 14px;
    color: var(--t9-teal);
}

/* ============================================================
   COUPON OVERSHOOT — hide grand-total strike-through
   ============================================================ */
.products-total-amount .amount .products-old-price,
.products-total-amount .amount .ic-total-old,
.ic-total-grand .amount .products-old-price,
.ic-total-grand .amount .ic-total-old { display: none !important; }

/* ============================================================
   MOBILE — flatten polaroid tilts (distinct from desktop)
   ============================================================ */
@media (max-width: 767.98px) {
    .ic {
        padding: 20px 14px;
        margin: 16px auto;
    }
    /* Mobile-distinct: kill all the tilts */
    .ic .ic-head { transform: rotate(0deg); padding: 20px 14px 24px; }
    .ic .ic-card:nth-of-type(n) { transform: rotate(0deg); }
    .ic .ic-head:hover { transform: rotate(0deg); }
    .ic .ic-card:hover { transform: rotate(0deg); }

    .ic .ic-head-title { font-size: 2.1rem; }
    .ic .ic-head-sub { font-size: 0.82rem; }

    .ic .ic-card { padding: 12px 12px 16px; }
    .ic .ic-card-title { font-size: 1.3rem; }

    /* Mobile-distinct: variation row 2-col + check on own row */
    .ic .ic-variation-row,
    .ic .ic-summary-row {
        grid-template-columns: 48px 1fr;
        gap: 10px;
        padding: 8px;
    }
    .ic .ic-variation-thumb,
    .ic .add-to-products-image { width: 48px; height: 48px; }
    .ic .ic-variation-check {
        grid-column: 2;
        justify-self: end;
        margin-top: -6px;
    }
    .ic .ic-variation-name,
    .ic .products-title { font-size: 0.86rem; }

    /* Mobile-distinct: coupon stacks */
    .ic .ic-coupon-field { flex-direction: column; gap: 8px; align-items: stretch; }
    .ic .ic-coupon-apply,
    .ic [data-action="apply-coupon"] { width: 100%; padding: 10px; }

    /* Mobile-distinct: submit smaller letter-spacing */
    .ic .checkout-btn,
    .ic .ic-submit {
        padding: 12px 14px;
        font-size: 0.78rem;
        letter-spacing: 0.1em;
    }

    .ic .ic-label { font-size: 1rem; }

    .ic .products-amount-wrapper,
    .ic .ic-totals { padding: 10px 12px; }
    .ic .products-total-amount,
    .ic .ic-total-grand { font-size: 1rem; }
    .ic .products-total-amount .amount .products-current-price,
    .ic .products-total-amount .amount .ic-total-new,
    .ic .ic-total-grand .ic-total-value { font-size: 1rem; }
}
