/* =====================================================
   MODERN FOOTER & CHAT WIDGET — Mesoqu Store
   Modernization styles — appended to store.css
   ===================================================== */

/* ─── COOKIE CONSENT BUTTON FONT SIZE ─────────────── */
.cc-modal-foot .btn,
.cc-actions .btn {
    font-size: 11px !important;
    letter-spacing: 0.4px;
    padding-top: 9px;
    padding-bottom: 9px;
}

/* =====================================================
   MODERN CHECKOUT PAGE
   ===================================================== */

/* ─── PAGE SHELL ──────────────────────────────────── */
.co-page {
    background: #f5f4f2;
    min-height: 100vh;
    padding: 32px 0 80px;
}

.co-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── HEADING + STEPS ─────────────────────────────── */
.co-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.co-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: rgba(0,0,0,0.45);
    text-decoration: none;
    transition: color .2s;
}

.co-back:hover { color: #1a1a2e; }

.co-back .material-symbols-outlined { font-size: 17px; }

.co-heading h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a1a2e;
    flex: 1;
}

.co-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
}

.co-step {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(0,0,0,0.3);
}

.co-step.is-active { color: #1a1a2e; }

.co-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.co-step.is-active .co-step-num {
    background: var(--gold, #c9a96e);
    color: #fff;
}

.co-step-divider {
    width: 28px;
    height: 1px;
    background: rgba(0,0,0,0.15);
}

/* ─── TWO-COLUMN LAYOUT ───────────────────────────── */
.co-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* ─── CARDS ───────────────────────────────────────── */
.co-card,
.co-summary-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 24px;
    margin-bottom: 20px;
}

.co-summary-card { margin-bottom: 0; }

.co-form-col > *:last-child { margin-bottom: 0; }

.co-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.co-card-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.co-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(201,169,110,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold, #c9a96e);
    flex-shrink: 0;
}

.co-card-icon .material-symbols-outlined { font-size: 19px; }

/* ─── SAVED ADDRESSES ─────────────────────────────── */
.co-addr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.co-addr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    background: #fafafa;
}

.co-addr-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.co-addr-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s, background .2s;
}

.co-addr-check .material-symbols-outlined { font-size: 13px; color: #fff; }

.co-addr-card.is-selected {
    border-color: var(--gold, #c9a96e);
    background: rgba(201,169,110,0.06);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

.co-addr-card.is-selected .co-addr-check {
    opacity: 1;
    background: var(--gold, #c9a96e);
}

.co-addr-card:hover:not(.is-selected) {
    border-color: rgba(201,169,110,0.4);
    background: #fff;
}

.co-addr-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--gold, #c9a96e);
    margin-bottom: 2px;
}

.co-addr-body strong {
    font-size: 13.5px;
    color: #1a1a2e;
    display: block;
    margin-bottom: 4px;
}

.co-addr-body p {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    line-height: 1.5;
}

.co-addr-new {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-style: dashed;
    color: rgba(0,0,0,0.4);
    font-size: 13px;
    font-weight: 600;
}

.co-addr-plus {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.co-addr-plus .material-symbols-outlined { font-size: 18px; }

.co-manage-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold, #c9a96e);
    text-decoration: none;
    margin-top: 4px;
    transition: opacity .2s;
}

.co-manage-link:hover { opacity: .75; }
.co-manage-link .material-symbols-outlined { font-size: 14px; }

/* ─── FORM FIELDS ─────────────────────────────────── */
.co-fields { display: flex; flex-direction: column; gap: 14px; }

.co-row { display: grid; gap: 14px; }
.co-row-2 { grid-template-columns: 1fr 1fr; }
.co-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.co-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.co-field > span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.co-input {
    padding: 11px 14px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fafafa;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    width: 100%;
    font-family: inherit;
}

.co-input:focus {
    border-color: var(--gold, #c9a96e);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.co-input::placeholder { color: rgba(0,0,0,0.25); }

/* Pincode with inline check button */
.co-pin-wrap {
    position: relative;
    display: flex;
}

.co-pin-wrap .co-input { padding-right: 44px; }

.co-pin-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(201,169,110,0.12);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold, #c9a96e);
    cursor: pointer;
    transition: background .2s;
}

.co-pin-btn:hover { background: rgba(201,169,110,0.25); }
.co-pin-btn .material-symbols-outlined { font-size: 17px; }

.co-pin-result {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

.co-pin-result.is-ok  { color: #16a34a; }
.co-pin-result.is-err { color: #dc2626; }

/* ─── PAYMENT CARDS ───────────────────────────────── */
.co-pay-list { display: flex; flex-direction: column; gap: 10px; }

.co-pay-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
    background: #fafafa;
}

.co-pay-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}

.co-pay-card.is-selected {
    border-color: var(--gold, #c9a96e);
    background: rgba(201,169,110,0.06);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.co-pay-card.is-disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.co-pay-card:hover:not(.is-selected):not(.is-disabled) {
    border-color: rgba(201,169,110,0.4);
    background: #fff;
}

.co-pay-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a1a2e;
}

.co-pay-icon .material-symbols-outlined { font-size: 21px; }

.co-pay-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.co-pay-info strong { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.co-pay-info small  { font-size: 12px; color: rgba(0,0,0,0.45); }

.co-pay-check { margin-left: auto; color: var(--gold, #c9a96e); opacity: 0; transition: opacity .2s; }
.co-pay-card.is-selected .co-pay-check { opacity: 1; }
.co-pay-check .material-symbols-outlined { font-size: 20px; }

.co-pay-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(0,0,0,0.07);
    color: rgba(0,0,0,0.4);
}

/* ─── ORDER SUMMARY ───────────────────────────────── */
.co-summary-col { position: sticky; top: 20px; }

.co-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}

.co-items-list::-webkit-scrollbar { width: 4px; }
.co-items-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 4px; }

.co-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.co-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.06);
}

.co-item-thumb-blank {
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.2);
}

.co-item-thumb-blank .material-symbols-outlined { font-size: 20px; }

.co-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.co-item-name { font-size: 13px; font-weight: 600; color: #1a1a2e; line-height: 1.4; }
.co-item-qty  { font-size: 12px; color: rgba(0,0,0,0.4); }
.co-item-price { font-size: 13.5px; font-weight: 700; color: #1a1a2e; white-space: nowrap; }

/* ─── COUPON ──────────────────────────────────────── */
.co-coupon-wrap {
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

.co-coupon-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fafafa;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: border-color .2s;
}

.co-coupon-field:focus-within {
    border-color: var(--gold, #c9a96e);
}

.co-coupon-field .material-symbols-outlined { font-size: 17px; color: rgba(0,0,0,0.3); }

.co-coupon-field input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: #1a1a2e;
    font-family: inherit;
}

.co-coupon-field input::placeholder { color: rgba(0,0,0,0.3); }

.co-coupon-field button {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gold, #c9a96e);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s;
}

.co-coupon-field button:hover { opacity: .7; }

.co-coupon-msg {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    padding: 0 2px;
}

.co-coupon-msg.is-ok  { color: #16a34a; }
.co-coupon-msg.is-err { color: #dc2626; }

/* ─── TOTALS ──────────────────────────────────────── */
.co-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid rgba(0,0,0,0.07);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    margin-bottom: 20px;
}

.co-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: rgba(0,0,0,0.55);
}

.co-total-row span:first-child { display: flex; align-items: center; gap: 6px; }
.co-total-row .material-symbols-outlined { font-size: 15px; color: var(--gold, #c9a96e); }

.co-total-discount { color: #16a34a; font-weight: 600; }
.co-total-discount span { color: #16a34a !important; }

.co-free { color: #16a34a; font-weight: 700; }

.co-total-grand {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a2e;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.07);
    margin-top: 2px;
}

/* ─── PLACE ORDER BUTTON ──────────────────────────── */
.co-place-btn {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 8px 24px rgba(26,26,46,0.3);
    margin-bottom: 12px;
    font-family: inherit;
}

.co-place-btn:hover {
    opacity: .92;
    box-shadow: 0 12px 32px rgba(26,26,46,0.4);
}

.co-place-btn:active { transform: scale(.98); }

.co-place-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.co-place-btn .material-symbols-outlined { font-size: 18px; }

/* Spin animation for loading state */
@keyframes spin { to { transform: rotate(360deg); } }

.co-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(0,0,0,0.35);
    font-weight: 500;
}

.co-secure-note .material-symbols-outlined { font-size: 14px; color: #16a34a; }

/* ─── TRUST STRIP ─────────────────────────────────── */
.co-trust {
    display: flex;
    justify-content: space-around;
    padding: 14px 0 0;
    gap: 8px;
    flex-wrap: wrap;
}

.co-trust span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(0,0,0,0.4);
}

.co-trust .material-symbols-outlined { font-size: 15px; color: var(--gold, #c9a96e); }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    .co-layout {
        grid-template-columns: 1fr;
    }
    .co-summary-col {
        position: static;
        order: -1;
    }
    .co-steps { display: none; }
}

@media (max-width: 600px) {
    .co-page { padding: 20px 0 60px; }
    .co-row-2, .co-row-3 { grid-template-columns: 1fr; }
    .co-addr-grid { grid-template-columns: 1fr; }
    .co-heading h1 { font-size: 22px; }
}



/* ─── CSS CUSTOM PROPERTIES (local overrides) ─────── */
:root {
    --ft-dark:      #0d0d0f;
    --ft-surface:   #141418;
    --ft-surface2:  #1c1c22;
    --ft-border:    rgba(255,255,255,0.07);
    --ft-text:      rgba(255,255,255,0.55);
    --ft-text-hi:   rgba(255,255,255,0.9);
    --ft-accent:    var(--gold, #c9a96e);
    --ft-accent-soft: rgba(201,169,110,0.15);
    --ft-radius:    14px;
    --ft-shadow:    0 32px 80px rgba(0,0,0,0.4);
}

/* ─── FOOTER NEWSLETTER STRIP ─────────────────────── */
.footer-newsletter-strip {
    background: linear-gradient(135deg, var(--ft-surface) 0%, #1a1520 100%);
    border-bottom: 1px solid var(--ft-border);
    padding: 28px 0;
}

.footer-nl-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nl-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--ft-text-hi);
}

.footer-nl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ft-accent-soft);
    border: 1px solid rgba(201,169,110,0.25);
    color: var(--ft-accent);
    flex-shrink: 0;
}

.footer-nl-icon .material-symbols-outlined {
    font-size: 22px;
}

.footer-nl-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--ft-text-hi);
    margin-bottom: 2px;
}

.footer-nl-text span {
    font-size: 13px;
    color: var(--ft-text);
}

.footer-nl-form {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--ft-border);
    background: var(--ft-surface2);
    flex-shrink: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    transition: border-color .2s, box-shadow .2s;
}

.footer-nl-form:focus-within {
    border-color: rgba(201,169,110,0.4);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1), 0 4px 24px rgba(0,0,0,0.3);
}

.footer-nl-form input {
    flex: 1;
    min-width: 220px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ft-text-hi);
    font-size: 14px;
}

.footer-nl-form input::placeholder {
    color: rgba(255,255,255,0.35);
}

.footer-nl-form button {
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--ft-accent), #b8924a);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
}

.footer-nl-form button:hover {
    opacity: .88;
}

.footer-nl-form button:active {
    transform: scale(.97);
}

/* ─── FOOTER MAIN BODY ────────────────────────────── */
.footer {
    background: var(--ft-dark);
    color: var(--ft-text);
    font-size: 14px;
}

.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--ft-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* ─── BRAND COLUMN ────────────────────────────────── */
.footer-brand-col {
    padding-right: 20px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: .9;
}

.footer-tag {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ft-text);
    margin-bottom: 24px;
    max-width: 280px;
}

/* Social Pills — glowing gold ring, brand colour + glow on hover */
.ft-follow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ft-accent);
}
.ft-follow::after {
    content: '';
    flex: 0 0 56px;
    height: 1px;
    background: linear-gradient(90deg, var(--ft-accent), transparent);
}

.ft-socials {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 0;
}

.footer-brand-col .ft-socials .ft-social-pill {
    --b: var(--ft-accent);
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02) 62%),
        #17131c;
    color: var(--ft-accent);
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .05);
    transition: transform .3s cubic-bezier(.2, .9, .25, 1.25), box-shadow .3s, color .3s;
}

/* slowly turning gold ring */
.ft-social-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 1.6px;
    background: conic-gradient(var(--ft-accent), rgba(255, 255, 255, .06) 25%, var(--ft-accent) 50%, rgba(255, 255, 255, .06) 75%, var(--ft-accent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: ftRing 7s linear infinite;
    z-index: 2;
    pointer-events: none;
}
@keyframes ftRing { to { transform: rotate(360deg); } }

/* brand-coloured fill that blooms on hover */
.ft-social-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .3s, transform .35s cubic-bezier(.2, .9, .25, 1.25);
    z-index: -1;
}

.footer-brand-col .ft-socials .ft-social-pill svg {
    display: block;
    width: 22px;
    height: 22px;
    flex: none;
    transition: transform .3s cubic-bezier(.2, .9, .25, 1.4);
}

.ft-social-pill[aria-label="Instagram"] { --b: #ee2a7b; }
.ft-social-pill[aria-label="Facebook"] { --b: #1877f2; }
.ft-social-pill[aria-label="YouTube"] { --b: #ff2d2d; }
.ft-social-pill[aria-label^="X"] { --b: #e9e9e9; }
.ft-social-pill[aria-label="WhatsApp"] { --b: #25d366; }

.ft-social-pill[aria-label="Instagram"]::before { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.ft-social-pill[aria-label="Facebook"]::before { background: #1877f2; }
.ft-social-pill[aria-label="YouTube"]::before { background: #ff0000; }
.ft-social-pill[aria-label^="X"]::before { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.ft-social-pill[aria-label="WhatsApp"]::before { background: #25d366; }

.footer-brand-col .ft-socials .ft-social-pill:hover,
.footer-brand-col .ft-socials .ft-social-pill:focus-visible {
    transform: translateY(-7px) scale(1.1);
    color: #fff;
    box-shadow: 0 18px 30px -10px var(--b), 0 0 0 5px color-mix(in srgb, var(--b) 22%, transparent);
}
.ft-social-pill:hover::before,
.ft-social-pill:focus-visible::before { opacity: 1; transform: scale(1); }
.ft-social-pill:hover svg,
.ft-social-pill:focus-visible svg { transform: scale(1.12) rotate(-6deg); }
.ft-social-pill:hover::after,
.ft-social-pill:focus-visible::after { opacity: 0; }

.footer-brand-col .ft-socials .ft-social-pill:active { transform: translateY(-3px) scale(.97); }

@media (prefers-reduced-motion: reduce) {
    .ft-social-pill::after { animation: none; }
}

/* ─── LINK COLUMNS ────────────────────────────────── */
.footer-links-col h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ft-text-hi);
    margin-bottom: 20px;
}

.footer-col-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ft-accent);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(201,169,110,0.5);
}

.footer-links-col a,
.footer-links-col .ft-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ft-text);
    text-decoration: none;
    font-size: 13.5px;
    padding: 5px 0;
    transition: color .2s, transform .15s;
    line-height: 1.5;
}

.footer-links-col a:hover {
    color: var(--ft-text-hi);
    transform: translateX(3px);
}

.ft-contact {
    cursor: default;
}

a.ft-contact:hover {
    color: var(--ft-accent) !important;
}

.ft-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--ft-surface2);
    flex-shrink: 0;
    margin-top: 1px;
}

.ft-contact-icon .material-symbols-outlined {
    font-size: 15px;
    color: var(--ft-accent);
}

.ft-contact-text {
    flex: 1;
}

.ft-address {
    cursor: default;
}

/* ─── TRUST BADGES ────────────────────────────────── */
.footer-trust {
    background: var(--ft-surface);
    border-bottom: 1px solid var(--ft-border);
    padding: 20px 0;
}

.ft-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ft-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ft-text);
    white-space: nowrap;
    transition: color .2s;
}

.ft-trust-item:hover {
    color: var(--ft-text-hi);
}

.ft-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ft-accent-soft);
    border: 1px solid rgba(201,169,110,0.2);
    transition: background .2s, transform .2s;
}

.ft-trust-item:hover .ft-trust-icon {
    background: rgba(201,169,110,0.25);
    transform: scale(1.05);
}

.ft-trust-icon .material-symbols-outlined {
    font-size: 16px;
    color: var(--ft-accent);
}

/* ─── FOOTER BOTTOM BAR ───────────────────────────── */
.footer-bottom {
    background: var(--ft-dark);
    border-top: 1px solid var(--ft-border);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12.5px;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-links a,
.ft-cookie-link {
    font-size: 12.5px;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color .2s;
    cursor: pointer;
}

.footer-bottom-links a:hover,
.ft-cookie-link:hover {
    color: var(--ft-accent);
}

/* ─── RESPONSIVE FOOTER ───────────────────────────── */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
        padding-right: 0;
    }
    .footer-nl-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-nl-form {
        width: 100%;
    }
    .footer-nl-form input {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ft-trust-row {
        gap: 12px;
        justify-content: flex-start;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-main {
        padding: 40px 0 28px;
    }
}


/* =====================================================
   MODERN CHAT / SUPPORT WIDGET
   ===================================================== */

/* ─── LAUNCHER BUTTON ─────────────────────────────── */
.support {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9900;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.support-launcher {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ft-accent, #c9a96e), #b8924a);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(201,169,110,0.45), 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
    outline: none;
}

.support-launcher:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(201,169,110,0.55), 0 4px 12px rgba(0,0,0,0.3);
}

.support-launcher:active {
    transform: scale(.95);
}

/* Pulse ring animation */
.support-launcher-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(201,169,110,0.35);
    animation: support-ring 2.5s cubic-bezier(.4,0,.6,1) infinite;
    pointer-events: none;
}

@keyframes support-ring {
    0%   { transform: scale(.85); opacity: .8; }
    50%  { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(.85); opacity: .8; }
}

.support-launcher svg {
    width: 22px;
    height: 22px;
    color: #fff;
    transition: opacity .2s, transform .2s;
    position: absolute;
}

.ico-chat  { opacity: 1;  transform: scale(1)   rotate(0deg); }
.ico-close { opacity: 0;  transform: scale(.5)  rotate(-90deg); }

.support.is-open .ico-chat  { opacity: 0; transform: scale(.5) rotate(90deg); }
.support.is-open .ico-close { opacity: 1; transform: scale(1) rotate(0deg);   }

/* Unread dot */
.support-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    border: 2.5px solid #fff;
    animation: support-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes support-dot-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}

/* ─── CHAT PANEL ──────────────────────────────────── */
.support-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-height: 560px;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 24px 80px rgba(0,0,0,0.18),
        0 4px 16px rgba(0,0,0,0.08),
        0 0 0 1px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s;
    transform: scale(.88);
    opacity: 0;
    pointer-events: none;
}

.support-panel:not([hidden]) {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

/* ─── PANEL HEADER ────────────────────────────────── */
.support-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a1520 0%, #0d0d0f 100%);
    flex-shrink: 0;
}

.support-head-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(201,169,110,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ft-accent, #c9a96e);
    flex-shrink: 0;
}

.support-head-avatar .material-symbols-outlined {
    font-size: 22px;
}

.support-head-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #1a1520;
}

.support-head-info {
    flex: 1;
}

.support-head-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2px;
}

.support-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.45);
}

.support-online-pulse {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: support-ring 2s ease-in-out infinite;
    flex-shrink: 0;
}

.support-head-actions {
    display: flex;
    gap: 4px;
}

.support-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.support-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* ─── MESSAGES BODY ───────────────────────────────── */
.support-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100px;
    scroll-behavior: smooth;
    background: #f8f7f6;
}

.support-body::-webkit-scrollbar {
    width: 4px;
}

.support-body::-webkit-scrollbar-track {
    background: transparent;
}

.support-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 4px;
}

/* Message bubbles injected by JS should use these base styles */
.support-msg {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    animation: msg-pop .2s cubic-bezier(.34,1.56,.64,1);
}

@keyframes msg-pop {
    from { transform: translateY(8px) scale(.95); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

.support-msg.is-me {
    flex-direction: row-reverse;
}

.support-msg-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word;
}

.support-msg.is-me .support-msg-bubble {
    background: linear-gradient(135deg, var(--ft-accent, #c9a96e), #b8924a);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.support-msg:not(.is-me) .support-msg-bubble {
    background: #fff;
    color: #1a1a2e;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.support-msg-time {
    font-size: 10.5px;
    color: rgba(0,0,0,0.35);
    text-align: right;
    padding: 2px 4px 0;
}

/* ─── QUICK REPLIES ───────────────────────────────── */
.support-quick {
    padding: 12px 16px 8px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.support-quick-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(0,0,0,0.35);
    margin-bottom: 8px;
}

.support-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.support-quick-pills button,
.support-quick button {
    padding: 7px 12px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    background: #f4f3f1;
    color: #1a1a2e;
    font-size: 12.5px;
    cursor: pointer;
    transition: background .18s, border-color .18s, transform .15s, color .18s;
    white-space: nowrap;
}

.support-quick-pills button:hover,
.support-quick button:hover {
    background: var(--ft-accent-soft, rgba(201,169,110,0.15));
    border-color: rgba(201,169,110,0.4);
    color: #8b6914;
    transform: translateY(-1px);
}

/* ─── GUEST FORM ──────────────────────────────────── */
.support-form {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8f7f6;
    border-top: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    max-height: 280px;
    overflow-y: auto;
}

.support-form-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.support-form-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 6px 12px;
    transition: border-color .2s, box-shadow .2s;
}

.support-form-field:focus-within {
    border-color: var(--ft-accent, #c9a96e);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.support-form-field .material-symbols-outlined {
    font-size: 17px;
    color: rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.support-form-field input,
.support-form-field textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: #1a1a2e;
    font-family: inherit;
    resize: none;
    line-height: 1.5;
}

.support-form-field textarea {
    min-height: 50px;
}

.support-form-field--textarea {
    align-items: flex-start;
    padding-top: 12px;
}

.support-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, var(--ft-accent, #c9a96e), #b8924a);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    margin-top: 4px;
}

.support-form-submit:hover {
    opacity: .88;
}

.support-form-submit:active {
    transform: scale(.97);
}

.support-form-submit .material-symbols-outlined {
    font-size: 18px;
}

/* ─── COMPOSER ────────────────────────────────────── */
.support-composer {
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
}

.support-composer-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f3f1;
    border-radius: 50px;
    padding: 6px 6px 6px 16px;
    border: 1.5px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}

.support-composer-inner:focus-within {
    border-color: rgba(201,169,110,0.4);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
    background: #fff;
}

.support-composer-inner input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: #1a1a2e;
    font-family: inherit;
}

.support-composer-inner input::placeholder {
    color: rgba(0,0,0,0.35);
}

.support-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ft-accent, #c9a96e), #b8924a);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .2s, opacity .2s;
}

.support-send-btn:hover {
    transform: scale(1.08);
}

.support-send-btn:active {
    transform: scale(.92);
    opacity: .85;
}

/* ─── OPEN STATE ──────────────────────────────────── */
.support.is-open .support-launcher-ring {
    animation: none;
}

/* ─── MOBILE ──────────────────────────────────────── */
@media (max-width: 480px) {
    .support {
        bottom: 16px;
        right: 16px;
    }

    .support-panel {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 68px;
        max-height: 75vh;
    }
}

/* ─── JS-INJECTED CHAT MESSAGE CLASSES ────────────── */
/* store.js uses: .support-msg.support-bot / .support-user + .support-bubble + .support-time */

.support-bot,
.support-user {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    animation: msg-pop .22s cubic-bezier(.34,1.56,.64,1);
}

.support-user {
    flex-direction: row-reverse;
}

.support-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word;
}

.support-bot .support-bubble {
    background: #fff;
    color: #1a1a2e;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.support-user .support-bubble {
    background: linear-gradient(135deg, var(--ft-accent, #c9a96e), #b8924a);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.support-time {
    font-size: 10.5px;
    color: rgba(0,0,0,0.32);
    margin-top: 3px;
    display: block;
    padding: 0 4px;
}

.support-user .support-time {
    text-align: right;
}

/* ─── GUEST CHECKOUT AUTH MODAL ───────────────────── */
.co-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 15, 20, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: co-fade-in .3s ease;
}

@keyframes co-fade-in { from { opacity: 0; } to { opacity: 1; } }

.co-auth-card {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: co-slide-up .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes co-slide-up { from { transform: translateY(24px) scale(0.96); } to { transform: translateY(0) scale(1); } }

.co-auth-header {
    background: linear-gradient(135deg, #1a1520 0%, #0d0d0f 100%);
    padding: 24px 32px 20px;
    text-align: center;
}

.co-auth-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 8px;
}

.co-auth-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.co-auth-header p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.45);
}

/* Tabs */
.co-auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: #fafafa;
}

.co-auth-tab-btn {
    flex: 1;
    padding: 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(0,0,0,0.4);
    background: none;
    border: none;
    cursor: pointer;
    transition: color .2s, background .2s;
    text-align: center;
    border-bottom: 2px solid transparent;
}

.co-auth-tab-btn:hover {
    color: rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.02);
}

.co-auth-tab-btn.is-active {
    color: var(--gold, #c9a96e);
    border-bottom-color: var(--gold, #c9a96e);
    background: #fff;
}

.co-auth-body {
    padding: 28px 32px 32px;
    overflow-y: auto;
    max-height: 70vh;
}

.co-auth-body::-webkit-scrollbar {
    width: 4px;
}
.co-auth-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

.co-auth-pane {
    animation: co-pane-fade .2s ease;
}

@keyframes co-pane-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Sub-tabs */
.co-auth-subtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.co-auth-subtab-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
    color: rgba(0,0,0,0.6);
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.co-auth-subtab-btn:hover {
    border-color: rgba(0,0,0,0.25);
    color: rgba(0,0,0,0.9);
}

.co-auth-subtab-btn.is-active {
    background: var(--gold, #c9a96e);
    border-color: var(--gold, #c9a96e);
    color: #fff;
}

/* Wizard Steps row */
.co-auth-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 10px;
}

.co-auth-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.co-auth-step-dot span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0eff4;
    border: 1.5px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(0,0,0,0.4);
    transition: all .2s;
}

.co-auth-step-dot small {
    font-size: 10px;
    font-weight: 600;
    color: rgba(0,0,0,0.35);
}

.co-auth-step-dot.is-active span {
    background: var(--gold, #c9a96e);
    border-color: var(--gold, #c9a96e);
    color: #fff;
}

.co-auth-step-dot.is-active small {
    color: #1a1a2e;
    font-weight: 700;
}

.co-auth-step-dot.is-done span {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.co-auth-step-line {
    flex: 1;
    height: 2px;
    background: rgba(0,0,0,0.1);
    margin-top: -14px;
    position: relative;
    z-index: 1;
}

.co-auth-step-line.filled {
    background: #16a34a;
}

.co-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.co-auth-field label {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.co-auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.co-auth-input-wrap input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid rgba(0,0,0,0.10);
    border-radius: 10px;
    font-size: 14px;
    color: #1a1a2e;
    outline: none;
    transition: all .2s;
    background: #fafafa;
    font-family: inherit;
}

.co-auth-input-wrap input:focus {
    border-color: var(--gold, #c9a96e);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.co-auth-input-icon {
    position: absolute;
    left: 14px;
    font-size: 18px;
    color: rgba(0,0,0,0.3);
    pointer-events: none;
}

.co-auth-pwd-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.co-auth-pwd-toggle:hover { color: #1a1a2e; }

.co-auth-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--gold, #c9a96e) 0%, #b8924a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
    margin-top: 8px;
    font-family: inherit;
}

.co-auth-btn:hover { opacity: .92; }

.co-auth-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
}

.co-auth-alert-err {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

.co-auth-alert-ok {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #15803d;
}

/* the sign-in / register / OTP panes are switched with the `hidden` attribute, which the display rules above would otherwise override */
#checkoutAuthModal [hidden] { display: none !important; }

.co-auth-hint {
    font-size: 11.5px;
    color: rgba(0,0,0,0.4);
    line-height: 1.5;
    margin-top: 4px;
}

/* ─── RATINGS & REVIEWS MODERNIZATION ──────────────── */
.reviews-sec {
    padding-top: 48px;
    padding-bottom: 80px;
}

.rv-toolbar {
    background: #ffffff !important;
    border: 1px solid #f2dce6 !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02) !important;
}

.rv-score {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.rv-score strong {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: var(--ink) !important;
    line-height: 1 !important;
}

.rv-score small {
    font-size: 12.5px !important;
    color: #6f6a70 !important;
}

.stars {
    color: #ffb800 !important;
}

.rv-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 24px !important;
}

.rv-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    background: #ffffff !important;
    border: 1px solid #f2dce6 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.rv-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(224,19,108,0.05) !important;
}

.rv-user-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.rv-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--blush, #fde3ee), #ffe9f3) !important;
    color: var(--gold, #e0136c) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-head) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    box-shadow: inset 0 2px 4px rgba(224,19,108,0.1) !important;
    flex-shrink: 0 !important;
}

.rv-meta {
    flex-grow: 1 !important;
}

.rv-meta strong {
    display: block !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    margin-bottom: 2px !important;
}

.rv-meta-sub {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.rv-badge {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #6f6a70 !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    background: none !important;
}

.rv-badge.is-verified {
    color: #08831a !important;
    background: #e6fced !important;
    padding: 2px 8px !important;
    border-radius: 99px !important;
    border: 1px solid #bceab1 !important;
}

.rv-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-left: 0 !important;
}

.rv-content-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.rv-date {
    font-size: 12px !important;
    color: #6f6a70 !important;
}

.rv-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    margin: 0 !important;
}

.rv-text {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 0 !important;
}

.rv-photo {
    max-width: 140px !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    border: 1px solid var(--line) !important;
    cursor: zoom-in !important;
}

.rv-footer {
    display: flex !important;
    align-items: center !important;
    margin-top: 6px !important;
}

.btn-helpful {
    background: #ffffff !important;
    border: 1px solid #f2dce6 !important;
    color: #6f6a70 !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

.btn-helpful:hover {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    background: var(--cream) !important;
    transform: translateY(-1px) !important;
}

.helpful-count {
    background: var(--blush) !important;
    color: var(--gold) !important;
    border-radius: 50% !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
}

@media (min-width: 561px) {
    .rv-item {
        flex-direction: row !important;
        gap: 32px !important;
    }
    .rv-user-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 150px !important;
        flex-shrink: 0 !important;
        text-align: left !important;
    }
    .rv-avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    .rv-content {
        flex-grow: 1 !important;
        border-left: 1px solid #f2dce6 !important;
        padding-left: 32px !important;
    }
}

/* ─── CATEGORY COMING SOON MODERNIZATION ───────────── */
.category-coming-soon {
    width: 100% !important;
    padding: 64px 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: radial-gradient(circle at center, rgba(253,227,238,0.15) 0%, transparent 70%) !important;
}

.coming-soon-glass {
    max-width: 500px !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid #f2dce6 !important;
    border-radius: 24px !important;
    padding: 48px 32px !important;
    text-align: center !important;
    box-shadow: 0 16px 40px rgba(224,19,108,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
}

.logo-animation-wrap {
    position: relative !important;
    width: 110px !important;
    height: 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    z-index: 1 !important;
}

.cs-logo {
    max-height: 48px !important;
    max-width: 90px !important;
    object-fit: contain !important;
    animation: cs-logo-bounce 3s ease-in-out infinite !important;
}

.cs-logo-text {
    font-family: var(--font-head) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    animation: cs-logo-bounce 3s ease-in-out infinite !important;
    background: linear-gradient(120deg, var(--gold, #e0136c), #a78bfa) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

.cs-pulse-ring {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    border: 2px solid var(--gold, #e0136c) !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
    animation: cs-ripple 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite !important;
}

.cs-pulse-ring.delay-1 {
    animation-delay: 1.5s !important;
}

.coming-soon-glass h2 {
    font-family: var(--font-head) !important;
    font-size: clamp(28px, 4vw, 36px) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
    background: linear-gradient(135deg, var(--ink) 30%, var(--gold) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

.coming-soon-glass p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #6f6a70 !important;
    margin: 0 !important;
    max-width: 360px !important;
}

.btn-shop-all {
    display: inline-block !important;
    background: var(--gold) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 14px 36px !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 8px 20px rgba(224,19,108,0.2) !important;
}

.btn-shop-all:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(224,19,108,0.3) !important;
    filter: brightness(0.95) !important;
}

@keyframes cs-logo-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@keyframes cs-ripple {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.45;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ─── CHECKOUT: delivery estimate, save-address, new-address flash ─── */
.co-eta { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: rgba(201,169,110,0.10); border: 1px solid rgba(201,169,110,0.30); font-size: 13px; font-weight: 600; color: #1a1a2e; }
.co-eta[hidden] { display: none; }
.co-eta .material-symbols-outlined { font-size: 20px; color: var(--gold, #c9a96e); }
.co-eta.is-loading { opacity: .65; }
.co-save-addr { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 13px; color: rgba(0,0,0,.65); cursor: pointer; }
.co-save-addr[hidden] { display: none; }
.co-save-addr input { width: 17px; height: 17px; accent-color: var(--gold, #c9a96e); flex-shrink: 0; }
#coShipCard.is-flash { animation: coFlash 1.2s ease; }
@keyframes coFlash { 0% { box-shadow: 0 0 0 0 rgba(201,169,110,.55); } 60% { box-shadow: 0 0 0 10px rgba(201,169,110,0); } 100% { box-shadow: none; } }
