/* ────────────────────────────────────────────────────────────────
   Supply Solution — Homepage hero + trust strip
   Standalone CSS (no LESS dependency yet). Edit + cache:flush to
   iterate; we'll fold into the theme's LESS pipeline later if the
   design proves stable.
   ──────────────────────────────────────────────────────────────── */

.ss-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1e3a8a 100%);
    color: #fff;
    padding: 56px 24px 64px;
    position: relative;
    overflow: hidden;
}

.ss-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(26, 188, 156, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.ss-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── LEFT COLUMN ───────────────────────────────────────────────── */

.ss-hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1abc9c;
    margin-bottom: 18px;
}

.ss-hero-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #fff;
}

.ss-hero-subhead {
    font-size: 16px;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0 0 28px;
    max-width: 560px;
}

/* ── SEARCH ────────────────────────────────────────────────────── */

.ss-hero-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(26, 188, 156, 0.25);
    max-width: 620px;
    margin-bottom: 18px;
    transition: box-shadow 0.18s ease;
}

.ss-hero-search:focus-within {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30), 0 0 0 2px #1abc9c;
}

.ss-hero-search-icon {
    color: #64748b;
    flex-shrink: 0;
    margin-right: 10px;
}

.ss-hero-search input {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 15px;
    color: #1e293b;
    padding: 12px 8px;
    background: transparent;
    font-family: inherit;
}

.ss-hero-search input::placeholder {
    color: #94a3b8;
}

.ss-hero-search button {
    background: #1abc9c;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
}

.ss-hero-search button:hover {
    background: #16a085;
}

/* ── CHIPS ─────────────────────────────────────────────────────── */

.ss-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.ss-hero-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ss-hero-chip:hover {
    background: rgba(26, 188, 156, 0.18);
    border-color: rgba(26, 188, 156, 0.45);
    color: #fff;
}

/* ── CTAS ──────────────────────────────────────────────────────── */

.ss-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ss-hero-cta-primary,
.ss-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
    font-family: inherit;
}

.ss-hero-cta-primary {
    background: #1abc9c;
    color: #fff;
    border: 2px solid #1abc9c;
}

.ss-hero-cta-primary:hover {
    background: #16a085;
    border-color: #16a085;
    transform: translateY(-1px);
}

.ss-hero-cta-secondary {
    background: transparent;
    color: #e2e8f0;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.ss-hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff;
}

/* ── RIGHT COLUMN — FEATURED PRODUCT ───────────────────────────── */

.ss-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-hero-feature {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}

.ss-hero-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 56px rgba(0, 0, 0, 0.4);
}

.ss-hero-feature-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.ss-hero-feature-image {
    background: #f1f5f9;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-hero-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.ss-hero-feature-body {
    padding: 18px 20px 22px;
}

.ss-hero-feature-sku {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}

.ss-hero-feature-name {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.ss-hero-feature-price {
    font-family: 'JetBrains Mono', monospace;
    color: #16a085;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}

.ss-hero-feature-cta {
    display: inline-block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── TRUST STRIP ───────────────────────────────────────────────── */

.ss-trust-strip {
    background: #0b1220;
    color: #cbd5e1;
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ss-trust-strip ul {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    align-items: center;
}

.ss-trust-strip li {
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ss-trust-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(26, 188, 156, 0.18);
    color: #1abc9c;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12px;
}

/* ── RESPONSIVE ────────────────────────────────────────────────── */

@media (max-width: 980px) {
    .ss-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ss-hero-right {
        order: -1;
    }
    .ss-hero-feature {
        max-width: 280px;
    }
}

@media (max-width: 560px) {
    .ss-hero {
        padding: 36px 16px 44px;
    }
    .ss-hero-search button {
        padding: 11px 14px;
    }
    .ss-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .ss-hero-cta-primary,
    .ss-hero-cta-secondary {
        justify-content: center;
    }
    .ss-trust-strip ul {
        gap: 14px;
    }
    .ss-trust-strip li {
        font-size: 12px;
    }
}

/* ── HERO CAROUSEL — stacks slides; one visible via .is-active ──── */

.ss-hero-carousel {
    position: relative;
    width: 100%;
    max-width: 380px;
    min-height: 500px;
}

.ss-hero-carousel-track {
    position: relative;
    width: 100%;
    height: 500px;
}

.ss-hero-feature {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.ss-hero-feature.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ss-hero-dots {
    position: absolute;
    left: 0; right: 0;
    bottom: -28px;
    display: flex;
    gap: 7px;
    justify-content: center;
}

.ss-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.25);
    padding: 0;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.ss-hero-dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.ss-hero-dot.is-active {
    background: #1abc9c;
    transform: scale(1.25);
}


/* ── HERO CAROUSEL CARD — trust meta + button-style CTA ────────── */

.ss-hero-feature-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 11px;
}

.ss-hero-feature-stock {
    color: #1abc9c;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ss-hero-feature-ships {
    color: #64748b;
    font-weight: 500;
}

.ss-hero-feature-cta {
    display: inline-block;
    background: #1e293b;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.16s ease;
}

.ss-hero-feature:hover .ss-hero-feature-cta {
    background: #1abc9c;
}


/* ── DEALS / FEATURED PICKS SECTION ────────────────────────────── */

.ss-deals {
    background: #f8fafc;
    padding: 56px 24px;
    border-top: 1px solid #e2e8f0;
}

.ss-deals-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.ss-deals-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.ss-deals-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.ss-deals-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.ss-deals-badge-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ss-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.ss-deal-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ss-deal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
    border-color: rgba(26, 188, 156, 0.45);
}

.ss-deal-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 6px;
    z-index: 2;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
}

.ss-deal-image {
    aspect-ratio: 1 / 1;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ss-deal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ss-deal-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ss-deal-sku {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.04em;
}

.ss-deal-name {
    font-size: 13px;
    line-height: 1.35;
    color: #1e293b;
    font-weight: 600;
    flex: 1;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ss-deal-prices {
    margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.ss-deal-price {
    font-size: 17px;
    font-weight: 800;
    color: #16a085;
}

.ss-deal-regular {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.ss-deal-special {
    font-size: 17px;
    font-weight: 800;
    color: #dc2626;
}

@media (max-width: 600px) {
    .ss-deals {
        padding: 40px 16px;
    }
    .ss-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ── DAILY-DEAL COUNTDOWN — compact override ────────────────────
   The widget embeds its own <style> in the page body which loads
   AFTER the head <link> to home.css, so we use slightly higher
   specificity (`body` prefix) to win the cascade without !important.
   ──────────────────────────────────────────────────────────────── */

body .rwc-dd__countdown {
    padding: 8px 12px;
    border-radius: 8px;
}

body .rwc-dd__countdown-label {
    font-size: 9px;
    margin-bottom: 4px;
    letter-spacing: 0.35px;
}

body .rwc-dd__countdown-timer {
    gap: 4px;
}

body .rwc-dd__unit {
    min-width: 30px;
}

body .rwc-dd__num {
    font-size: 14px;
    line-height: 1;
}

body .rwc-dd__lbl {
    font-size: 8px;
    margin-top: 1px;
    letter-spacing: 0.4px;
}

body .rwc-dd__sep {
    font-size: 12px;
    margin-bottom: 8px;
}

/* ── DEAL CARD NAME — clamp to 2 lines so cards stay aligned ───── */

body .rwc-dd__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
    max-height: calc(1.35em * 2);
}

/* Body column — ensure even vertical rhythm; button pinned to bottom */
body .rwc-dd__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

body .rwc-dd__btn {
    margin-top: auto;
}


/* ── SHOP BY CATEGORY — tile grid ──────────────────────────────── */

.ss-cats {
    background: #fff;
    padding: 64px 24px 72px;
    border-top: 1px solid #e2e8f0;
}

.ss-cats-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.ss-cats-head {
    margin-bottom: 32px;
    text-align: center;
}

.ss-cats-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.ss-cats-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.ss-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ss-cat-tile {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, border-color 0.18s ease,
                box-shadow 0.18s ease, background 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-height: 178px;
    justify-content: center;
}

.ss-cat-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 188, 156, 0.45);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
    background: linear-gradient(180deg, #fff 0%, #f8fffd 100%);
}

.ss-cat-tile-art {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(26, 188, 156, 0.10);
    color: #1abc9c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease;
}

.ss-cat-tile:hover .ss-cat-tile-art {
    background: #1abc9c;
    color: #fff;
}

.ss-cat-tile-art img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.ss-cat-tile-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ss-cat-tile-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.ss-cat-tile-count {
    font-size: 11px;
    color: #94a3b8;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

@media (max-width: 980px) {
    .ss-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .ss-cats {
        padding: 44px 16px 52px;
    }
    .ss-cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ss-cat-tile {
        padding: 22px 14px;
        min-height: 158px;
    }
    .ss-cat-tile-art {
        width: 60px;
        height: 60px;
    }
}
