/**
 * Single product template styles (enqueued on product pages only).
 */

/* ── Custom Properties ───────────────────────────────────────────────────── */
:root {
    --ink:        var(--ast-global-color-0) /*#103948*/;
    --ink-mute:   var(--ast-global-color-0) /*#5A5A6A*/;
    --ink-light:  #9696A8;
    --surface:    var(--ast-global-color-4) /* #FAFAFA */;
    --card:       #FFFFFF;
    --line:       var(--ast-global-color-2) /*#EBEBF0*/;
    --accent:     var(--ast-global-color-2) /**#FF4B2B*/;
    --accent-2:   #FF8751;
    --success:    #10B981;
    --warning:    #F59E0B;
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --trans:      .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset / Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout Wrapper ──────────────────────────────────────────────────────── */
.spx-wrap { max-width: 1340px; margin: 0 auto; padding: 0 0px; }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.spx-breadcrumb { padding: 1px 0; }
.spx-breadcrumb nav { display: flex; align-items: center; gap: 0px; font-size: 12px; color: var(--ink-mute); flex-wrap: wrap; }
.spx-breadcrumb nav a { color: var(--ink-mute); transition: color var(--trans); }
.spx-breadcrumb nav a:hover { color: var(--accent); }
.spx-breadcrumb nav span.sep::before { content: '/'; margin: 0 2px; opacity: .4; }
.spx-breadcrumb nav span.current { color: var(--ink); font-weight: 500; }

/* ── Product Grid ────────────────────────────────────────────────────────── */
.spx-product { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 20px 0 80px; align-items: start; }
@media (max-width: 900px) { .spx-product { grid-template-columns: 1fr; gap: 32px; display:block;} }

/* ── Image Gallery ───────────────────────────────────────────────────────── */
.spx-gallery { position: sticky; top: 96px; }
@media (max-width: 768px) {
    .spx-gallery,
    .spx-gallery * {
        position: static !important;
        top: unset !important;
        transform: none !important;
    }

    /* Re-apply relative only to main image container
       so badge and arrows still position correctly */
    .spx-gallery__main {
        position: relative !important;
    }

    .spx-gallery__nav {
        position: absolute !important;
    }
}
.spx-gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #F0F0F5; aspect-ratio: 1; cursor: zoom-in; }
.spx-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.spx-gallery__main:hover img { transform: scale(1.06); }
.spx-gallery__badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 100px; z-index: 2; box-shadow: 0 4px 12px rgba(255,75,43,.35); }
@media (max-width: 768px) {
    .spx-gallery__badge {
        width: fit-content !important;
        max-width: fit-content !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        border-radius: 100px !important;
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 3 !important;
        font-size: 12px !important;
        padding: 4px 10px !important;
    }
}
.spx-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 12px; pointer-events: none; z-index: 3; }
.spx-gallery__btn { pointer-events: all; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: background var(--trans), transform var(--trans); }
.spx-gallery__btn:hover { background: #fff; transform: scale(1.1); }
.spx-gallery__btn svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spx-gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.spx-gallery__thumbs::-webkit-scrollbar { height: 3px; } 
.spx-gallery__thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.spx-gallery__thumb { flex: 0 0 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color var(--trans), opacity var(--trans); opacity: .6; }
.spx-gallery__thumb.active, .spx-gallery__thumb:hover { border-color: var(--accent); opacity: 1; }
.spx-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Zoom Overlay */
.spx-zoom { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.85); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.spx-zoom.active { display: flex; }
.spx-zoom__img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-lg); object-fit: contain; cursor: zoom-out; }
.spx-zoom__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: background var(--trans); }
.spx-zoom__close:hover { background: rgba(255,255,255,.3); }

/* ── Product Info Panel ──────────────────────────────────────────────────── */
.spx-info { display: flex; flex-direction: column; gap: 24px; }

/* Brand Tag */
.spx-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); background: rgba(255,75,43,.08); padding: 5px 14px; border-radius: 100px; width: fit-content; }

/* Title */
.spx-title { font-family: var(--font-head); font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; line-height: 1.15; color: var(--ink); }

/* Rating Row */
.spx-rating { display: flex; align-items: center; gap: 12px; }
.spx-stars { display: flex; gap: 2px; }
.spx-stars svg { width: 16px; height: 16px; fill: var(--warning); }
.spx-stars svg.half { fill: url(#halfGrad); }
.spx-stars svg.empty { fill: var(--line); }
.spx-rating__count { font-size: 13px; color: var(--ink-mute); }
.spx-rating__count a { color: var(--accent); font-weight: 500; }
.spx-rating__sold { font-size: 13px; color: var(--ink-mute); padding-left: 12px; border-left: 1px solid var(--line); }

/* Price Block */
.spx-pricing { background: linear-gradient(135deg, #fff8f6 0%, #fff 100%); border: 1px solid rgba(255,75,43,.12); border-radius: var(--radius-md); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.spx-pricing__sale { font-family: var(--font-body); font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1; }
.spx-pricing__sale small { font-size: 22px; vertical-align: super; font-weight: 600; }
.spx-pricing__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.spx-pricing__mrp { font-size: 16px; color: var(--ink-mute); text-decoration: line-through; }
.spx-pricing__discount { background: var(--success); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.spx-pricing__tax { font-size: 12px; color: var(--ink-light); margin-top: 4px; }
.spx-pricing__emi { font-size: 13px; color: var(--ink-mute); }
.spx-pricing__emi strong { color: var(--ink); }

/* Divider */
.spx-divider { height: 1px; background: var(--line); }

/* Variants */
.spx-variants {}
.spx-variants__label { font-size: 13px; font-weight: 600; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.spx-variants__label span { color: var(--ink); font-weight: 700; }
.spx-variant-group { display: flex; flex-wrap: wrap; gap: 8px; }
.spx-variant-btn { min-width: 52px; padding: 8px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--ink-mute); transition: all var(--trans); }
.spx-variant-btn:hover { border-color: var(--accent); color: var(--accent); }
.spx-variant-btn.active { border-color: var(--accent); background: rgba(255,75,43,.06); color: var(--accent); font-weight: 700; }
.spx-variant-btn.color { width: 36px; height: 36px; min-width: 0; padding: 0; border-radius: 50%; border: 3px solid transparent; outline: 2px solid transparent; transition: outline-color var(--trans); }
.spx-variant-btn.color.active, .spx-variant-btn.color:hover { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Quantity + CTA */
/* CTA layout — stacked: Buy Now full width on top, qty+cart+wishlist row below */
.spx-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.spx-cta form {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Buy Now — full width: submit button inside GET form (no crawlable anchor URL). */
.spx-buy-now-form {
    width: 100%;
    margin: 0;
    order: -1;
}
.spx-buy-now-form--sticky {
    width: auto;
    order: 0;
}
button.btn-buy {
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    text-decoration: none;
}

/* Buy Now — full width, prominent, on top */
.btn-buy {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: .03em;
    transition: opacity var(--trans), transform var(--trans), box-shadow var(--trans);
    box-shadow: 0 6px 20px rgba(255,75,43,.35);
}
.btn-buy:hover {
    opacity: .92;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,75,43,.45);
}
.btn-buy svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Qty stepper */
.spx-qty {
    display: flex;
    align-items: center;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.spx-qty button {
    width: 40px;
    height: 48px;
    font-size: 20px;
    color: var(--ink-mute);
    transition: background var(--trans), color var(--trans);
}
.spx-qty button:hover { background: var(--line); color: var(--ink); }
.spx-qty input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

/* Add to Cart — takes remaining width beside qty */
.btn-cart {
    flex: 1;
    height: 48px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: .03em;
    transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-cart:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-cart svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Wishlist */
.btn-wishlist {
    width: 48px;
    height: 48px;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mute);
    transition: all var(--trans);
    flex-shrink: 0;
}
.btn-wishlist:hover,
.btn-wishlist.active { border-color: #e91e63; color: #e91e63; background: rgba(233,30,99,.05); }
.btn-wishlist svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-wishlist.active svg { fill: #e91e63; }

/* Delivery Info */
.spx-delivery { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
@media (max-width: 600px) { .spx-delivery { grid-template-columns: 1fr 1fr; } }
.spx-delivery__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 10px; }
.spx-delivery__icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,75,43,.08); display: flex; align-items: center; justify-content: center; }
.spx-delivery__icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spx-delivery__label { font-size: 12px; font-weight: 600; color: var(--ink); }
.spx-delivery__sub { font-size: 11px; color: var(--ink-mute); }

/* Features */
.spx-features { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.spx-features__head { padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.spx-features__list { display: flex; flex-direction: column; }
.spx-features__item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); transition: background var(--trans); }
.spx-features__item:last-child { border-bottom: none; }
.spx-features__item:hover { background: #fafafa; }
.spx-feat-icon { width: 28px; height: 28px; flex-shrink: 0; background: rgba(16,185,129,.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.spx-feat-icon svg { width: 14px; height: 14px; stroke: var(--success); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spx-features__item strong { font-size: 14px; color: var(--ink); display: block; margin-bottom: 2px; }
.spx-features__item span { font-size: 13px; color: var(--ink-mute); }

/* Trust badges */
.spx-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.spx-trust__badge { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--ink-mute); padding: 6px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 100px; }
.spx-trust__badge svg { width: 14px; height: 14px; stroke: var(--success); fill: none; stroke-width: 2; }

/* ── Below the Fold ──────────────────────────────────────────────────────── */
.spx-lower { padding: 0 0 80px; }
.spx-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 40px; overflow-x: auto; }
.spx-tab { padding: 14px 24px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink-mute); border-bottom: 3px solid transparent; white-space: nowrap; transition: color var(--trans), border-color var(--trans); margin-bottom: -2px; cursor: pointer; }
.spx-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.spx-tab-panel { display: none; }
.spx-tab-panel.active { display: block; }

/* Description */
.spx-desc { max-width: 760px; }
.spx-desc h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.spx-desc p { font-size: 16px; line-height: 1.8; color: var(--ink-mute); margin-bottom: 16px; text-align: justify; }
.spx-desc ul { padding-left: 0; margin-bottom: 16px; }
.spx-desc ul li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-mute); line-height: 1.7; padding: 4px 0; }
.spx-desc ul li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Specs Table */
.spx-specs-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.spx-specs-table caption { font-family: var(--font-head); font-weight: 700; font-size: 20px; text-align: left; padding: 0 0 16px; color: var(--ink); }
.spx-specs-table th, .spx-specs-table td { padding: 14px 20px; font-size: 14px; text-align: left; }
.spx-specs-table th { width: 35%; background: #F5F5F8; color: var(--ink); font-weight: 600; }
.spx-specs-table td { background: #fff; color: var(--ink-mute); border-bottom: 1px solid var(--line); }
.spx-specs-table tr:last-child td { border-bottom: none; }

/* Reviews */
.spx-reviews__summary { display: grid; grid-template-columns: auto 1fr; gap: 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px; }
@media (max-width: 600px) { .spx-reviews__summary { grid-template-columns: 1fr; } }
.spx-reviews__score { text-align: center; }
.spx-reviews__score .big { font-family: var(--font-head); font-size: 72px; font-weight: 800; line-height: 1; color: var(--ink); }
.spx-reviews__score .out { font-size: 14px; color: var(--ink-mute); margin-top: 4px; }
.spx-reviews__bars { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.spx-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.spx-bar-row .lbl { width: 40px; color: var(--ink-mute); }
.spx-bar-row .bar { flex: 1; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.spx-bar-row .fill { height: 100%; background: var(--warning); border-radius: 99px; transition: width .8s ease; }
.spx-bar-row .cnt { width: 32px; text-align: right; color: var(--ink-mute); }
.spx-review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; margin-bottom: 16px; }
.spx-review-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.spx-reviewer { font-weight: 600; font-size: 15px; }
.spx-review-date { font-size: 12px; color: var(--ink-light); }
.spx-verified { font-size: 11px; color: var(--success); font-weight: 600; }
.spx-review-text { font-size: 14px; color: var(--ink-mute); line-height: 1.7; }

/* ── Sticky CTA bar ──────────────────────────────────────────────────────── */
.spx-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); }
.spx-sticky.visible { transform: translateY(0); }
.spx-sticky__inner { max-width: 1340px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.spx-sticky__product { display: flex; align-items: center; gap: 14px; }
.spx-sticky__img { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.spx-sticky__name { font-weight: 600; font-size: 15px; max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spx-sticky__price { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--accent); }
.spx-sticky__actions { display: flex; gap: 10px; align-items: center; }
.spx-sticky__actions .spx-buy-now-form--sticky { flex: none; margin: 0; width: 140px; }
.spx-sticky__actions .btn-cart,
.spx-sticky__actions .btn-buy { min-width: 0; width: 140px; height: 44px; font-size: 14px; flex: none; }

/* ── Related Products ────────────────────────────────────────────────────── */
.spx-related { padding: 60px 0; background: var(--surface); }
.spx-section-title { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin-bottom: 32px; }
.spx-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px)  { .spx-related__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .spx-related__grid { grid-template-columns: 1fr; } }
.spx-rel-card { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; transition: transform var(--trans), box-shadow var(--trans); }
.spx-rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spx-rel-card__img { aspect-ratio: 1; overflow: hidden; background: #F0F0F5; }
.spx-rel-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.spx-rel-card:hover .spx-rel-card__img img { transform: scale(1.06); }
.spx-rel-card__body { padding: 14px 16px; }
.spx-rel-card__name { font-weight: 600; font-size: 14px; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spx-rel-card__price { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--accent); }
.spx-rel-card__mrp { font-size: 12px; color: var(--ink-mute); text-decoration: line-through; }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.spx-info > * { animation: fadeInUp .5s ease both; }
.spx-info > *:nth-child(1) { animation-delay:.05s; }
.spx-info > *:nth-child(2) { animation-delay:.1s; }
.spx-info > *:nth-child(3) { animation-delay:.15s; }
.spx-info > *:nth-child(4) { animation-delay:.2s; }
.spx-info > *:nth-child(5) { animation-delay:.25s; }
.spx-info > *:nth-child(6) { animation-delay:.3s; }
.spx-info > *:nth-child(7) { animation-delay:.35s; }
.spx-info > *:nth-child(8) { animation-delay:.4s; }
.spx-info > *:nth-child(9) { animation-delay:.45s; }

/* ── Coupon Slider Box ─────────────────────────────────────────────────── */
.fk-offer-section{border:1px solid #e8e8e8;border-radius:10px;overflow:hidden;margin:0 0 22px;background:#fff;font-family:var(--font-body);}
.fk-offer-header{padding:11px 16px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink);flex-wrap:wrap;}
.fk-offer-header svg{color:var(--ink);flex-shrink:0;}
.fk-offer-count{background:var(--ast-global-color-4);color:var(--ink);font-size:11px;font-weight:600;padding:2px 8px;border-radius:20px;}
.fk-offer-hint{margin-left:auto;font-size:11px;font-weight:400;color:#9e9e9e;}

.fk-coupon-slider-wrap{position:relative;display:flex;align-items:center;padding:14px 8px;}
.fk-coupon-slider{display:flex;gap:12px;overflow-x:auto;scroll-behavior:smooth;padding:4px 8px 8px;-ms-overflow-style:none;scrollbar-width:none;flex:1;}
.fk-coupon-slider::-webkit-scrollbar{display:none;}

/* Arrow buttons */
.fk-slider-arrow{flex-shrink:0;width:30px;height:30px;border-radius:50%;border:1.5px solid #e0e0e0;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;color:#555;z-index:2;}
.fk-slider-arrow:hover{border-color:#2874f0;color:#2874f0;background:#f0f5ff;}
.fk-slider-arrow:disabled{opacity:.3;cursor:default;pointer-events:none;}

/* Coupon cards */
.fk-coupon-card{flex:0 0 160px;border-radius:8px;padding:14px 14px 12px;position:relative;overflow:hidden;cursor:default;user-select:none;}
.fk-coupon-card::before{content:'';position:absolute;top:-18px;right:-18px;width:60px;height:60px;border-radius:50%;opacity:.12;background:#fff;}

/* Color variants */
.fk-card--blue  {background:linear-gradient(135deg,#e8f0fe,#d0e2ff);border:1px solid #b3c9f7;}
.fk-card--green {background:linear-gradient(135deg,#e6f4ea,var(--ast-global-color-4));border:1px solid var(--ast-global-color-0);}
.fk-card--purple{background:linear-gradient(135deg,#f3e8fd,#e5ccfa);border:1px solid #cca8f0;}

.fk-coupon-card__label{font-size:18px;font-weight:800;color:#1a1a2e;line-height:1.1;margin-bottom:8px;letter-spacing:-.3px;}
.fk-card--green  .fk-coupon-card__label{color:#1b5e20;}
.fk-card--purple .fk-coupon-card__label{color:#4a148c;}

.fk-coupon-card__code{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.7);border:1.5px dashed rgba(0,0,0,.2);border-radius:5px;padding:5px 10px;margin-bottom:8px;}
.fk-coupon-card__code span{font-size:12px;font-weight:700;letter-spacing:1.2px;color:#1a1a2e;flex:1;}
.fk-copy-btn{background:none;border:none;cursor:pointer;padding:2px;color:#555;display:flex;align-items:center;flex-shrink:0;transition:color .15s;}
.fk-copy-btn:hover{color:#2874f0;}
.fk-copy-btn.copied svg{stroke:#388e3c;}

.fk-coupon-card__desc{font-size:10.5px;color:#555;line-height:1.5;}

.fk-offer-footer{padding:9px 16px;background:#fafafa;border-top:1px solid #f0f0f0;font-size:11.5px;color:#888;display:flex;align-items:center;gap:6px;}
.fk-offer-footer svg{color:#f59e0b;flex-shrink:0;}

/* Copied toast */
.fk-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:#323232;color:#fff;font-size:13px;padding:10px 20px;border-radius:6px;z-index:9999;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;white-space:nowrap;}
.fk-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
