/* ── HEADER OVERRIDE: transparent, float over hero ── */
.site-header.products-header {
    background-image: none;
    background-color: transparent;
    height: auto;
    position: absolute;
    width: 100%;
    z-index: 1010;
}
.site-header.products-header::after {
    display: none;
}

/* ── HERO ── */
.s2-hero {
    display: flex;
    align-items: center;
    min-height: 90vh;
    background: #f7f4f0;
    position: relative;
    padding-top: 250px;
    padding-bottom: 190px;
    padding-left: max(32px, calc(50% - 520px));
    padding-right: max(32px, calc(50% - 520px));
    gap: 60px;
}

.s2-hero-text {
    flex: 1;
}
.s2-hero-text h1 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 62px;
    line-height: 1.15;
    margin: 0 0 28px;
}
.s2-hero-text p {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.75;
    margin: 0 0 38px;
    max-width: 440px;
}

.s2-btn {
    display: inline-block;
    padding: 12px 26px;
    border: 1px solid #000;
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    color: #000;
    text-decoration: none;
}
.s2-btn:hover { background: #F0956A; color: #fff; border-color: #F0956A; }

/* ── CATEGORY STRIP ── */
.s2-cat-strip {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 32px 80px 48px;
    background: #fff;
    position: relative;
    z-index: 5;
    margin-top: -110px;
}

.s2-cat-card {
    flex: 1;
    max-width: 220px;
    max-height: 220px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.s2-cat-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.s2-cat-card:hover img { transform: scale(1.06); }
.s2-cat-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.88);
    text-align: center;
    padding: 11px 8px;
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #222;
    white-space: nowrap;
    width: 140px;
    border: 1px solid #ddd;
}

/* ── SECTION TITLE ── */
.s2-section-title {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 26px;
    margin: 0 0 10px;
}
.s2-title-line {
    display: block;
    width: 50px;
    height: 1px;
    background: #000;
    margin: 0 auto 38px;
}

/* ── FEATURED PRODUCTS ── */
.s2-featured {
    padding: 58px 80px;
    background: #fff;
}
.s2-feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: start;
}

.s2-feat-card {
    cursor: pointer;
}
.s2-feat-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f4f4f2;
}
.s2-feat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
    display: block;
    transition: transform 0.3s ease;
}
.s2-feat-card:hover .s2-feat-img-wrap img { transform: scale(1.04); }

.s2-card-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.22s;
}
.s2-feat-card:hover .s2-card-actions { opacity: 1; }

.s2-icon-btn {
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.s2-icon-btn:hover { background: #F0956A; border-color: #F0956A; }
.s2-icon-btn svg { width: 13px; height: 13px; stroke: #444; transition: stroke 0.2s; }
.s2-icon-btn:hover svg { stroke: #fff; }

.s2-feat-info {
    padding: 13px 0px;
}
.s2-feat-name {
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    color: black;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.s2-feat-price {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #333;
    margin: 0;
}

/* ── CTA BANNER ── */
.s2-cta-wrap {
    padding: 0 80px;
    margin-bottom: 10px;
}
.s2-cta-banner {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #f0ede8;
    padding: 48px 56px;
}
.s2-cta-text { flex: 1; }
.s2-cta-text h2 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 28px;
    margin: 0 0 6px;
}
.s2-cta-from {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin: 0 0 12px;
    display: block;
}
.s2-cta-text p {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #777;
    line-height: 1.75;
    margin: 0 0 22px;
    max-width: 400px;
}
.s2-btn-dark {
    display: inline-block;
    padding: 10px 22px;
    background: #333;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: background 0.25s;
    text-decoration: none;
}
.s2-btn-dark:hover { background: #F0956A; }
.s2-cta-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.s2-cta-img img {
    max-height: 360px;
    object-fit: contain;
}

/* ── OUR PRODUCTS ── */
.s2-shop {
    padding: 58px 80px;
}
.s2-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.s2-filter-tabs {
    display: flex;
    gap: 22px;
}
.s2-tab-btn {
    background: none;
    border: none;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    cursor: pointer;
    color: #aaa;
    padding: 4px 0;
    transition: color 0.2s;
}
.s2-tab-btn.active,
.s2-tab-btn:hover { color: #000; font-weight: 600; }

.s2-filter-select {
    display: none;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    color: #333;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    outline: none;
}

.s2-filter-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.currency-switcher {
    display: flex;
    align-items: center;
    border: 1px solid black;
    flex-shrink: 0;
    border-radius: 4px;
}

.currency-btn {
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.3px;
    color: black;
    background: none;
    border: none;
    border-right: 1px solid black;
    padding: 6px 9px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.currency-btn:last-child {
    border-right: none;
}

.currency-btn:hover {
    background: #f5ece9;
    color: #000;
}

.currency-btn.active {
    background: #F0956A;
    color: #fff;
    font-weight: 500;
}

.s2-filter-icon-btn {
    border: 1px solid #ccc;
    background: none;
    padding: 7px 18px;
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    cursor: pointer;
    transition: background 0.2s;
    display: none; /* """"""""""" */
}
.s2-filter-icon-btn:hover { background: #f5f5f5; }

.s2-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 38px;
}

.s2-shop-card { cursor: pointer; }
.s2-shop-card.s2-hidden { display: none; }
.s2-shop-card-link { display: block; color: inherit; text-decoration: none; }

.s2-shop-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}
.s2-shop-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
    display: block;
    transition: transform 0.3s ease;
}
.s2-shop-card:hover .s2-shop-img-wrap img { transform: scale(1.05); }

.s2-shop-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.22s;
    background: rgba(255,255,255,0.12);
}
.s2-shop-card:hover .s2-shop-hover { opacity: 1; }

.s2-shop-btn {
    width: 38px;
    height: 38px;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.s2-shop-btn:hover { background: #F0956A; }
.s2-shop-btn svg { width: 14px; height: 14px; stroke: #444; transition: stroke 0.2s; }
.s2-shop-btn:hover svg { stroke: #fff; }

.s2-shop-info { padding: 11px 2px; }
.s2-shop-name {
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    color: black;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.s2-shop-price {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #333;
    margin: 0;
    max-width: 200px;
}
.s2-stars { display: none; }

.s2-load-more {
    text-align: center;
}
.s2-load-btn {
    display: inline-block;
    padding: 12px 26px;
    border: 1px solid #000;
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    color: #000;
    text-decoration: none;
}
.s2-load-btn:hover { background: #F0956A; border-color: #F0956A; color: #fff; }

/* ── DISCOUNT BANNER ── */
.s2-discount {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: #f7f4ef;
    padding: 20px 0px;
    max-width: 1040px;
    margin: 0 auto;
}
.s2-disc-attribution {
    position: absolute;
    left: 16px;
    bottom: 8px;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-style: italic;
    color: #999;
}
.s2-discount-text {
    font-family: Montserrat, sans-serif;
    position: relative;
    padding-right: 60px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.s2-discount-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 150px;
    background: #ccc;
}
.s2-disc-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 150px;
}
.s2-disc-label {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 4px;
    width: 275px;
}
.s2-disc-upto {
    font-size: 20px;
    color: #555;
    font-weight: 600;
}
.s2-disc-right {
    display: flex;
    gap: 6px;
    flex-direction: row;
}
.s2-disc-percent {
    font-size: 88px;
    font-weight: 700;
    color: #d94040;
    line-height: 1;
    margin: 0;
    font-family: Montserrat, sans-serif;
}
.s2-disc-season {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #222;
    margin: 0;
    display: flex;
    align-items: flex-end;
    width: 200px;                  
}
.s2-discount-img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.s2-discount-img {
    position: relative;
    height: 270px;
    width: 240px;
}
.s2-disc-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.s2-disc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d4c8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}
.s2-disc-dot.active {
    background: #F0956A;
    transform: scale(1.25);
}
.s2-disc-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.s2-disc-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.s2-disc-slide img {
    height: 270px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ── PRODUCTS ON SALE ── */
.s2-sale {
    padding: 58px 80px;
    background: #fff;
}

.s2-sale-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 38px;
}

.s2-sale-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.s2-sale-title-block .s2-section-title {
    text-align: left;
    margin: 6px 0 10px;
}

.s2-sale-title-block .s2-title-line {
    margin: 0;
}

.s2-sale-note {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-style: italic;
    color: #999;
    margin: 4px 0 0;
}

.s2-sale-tag {
    display: inline-block;
    background: #d94040;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
}

.s2-sale-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.s2-sale-link {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.s2-sale-card {
    position: relative;
    cursor: pointer;
}

.s2-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #d94040;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 8px;
    letter-spacing: 0.5px;
}

/* Badge intensity scales with discountPct from products.json */
.s2-sale-badge--low {
    background: #8a8f98;
    font-size: 11.5px;
    padding: 4px 9px;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.35);
}

.s2-sale-badge--mid {
    background: #d94040;
    font-size: 11.5px;
    padding: 4px 9px;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.35);
}

.s2-sale-badge--high {
    background: linear-gradient(135deg, #ff8a1e, #d94040);
    font-size: 11.5px;
    padding: 5px 9px;
    box-shadow: 0 2px 8px rgba(217, 64, 64, 0.35);
}

/* Bundle promo badge (e.g. "2+1", "3+2") from products.json's `promo` field */
.s2-sale-badge-promo {
    position: absolute;
    bottom: 90px;
    left: 0px;
    z-index: 2;
    background: #1f2937;
    color: #f4d35e;
    font-family: Montserrat, sans-serif;
    font-size: 20.5px;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 0.5px;
}

.s2-sale-card:hover .s2-feat-img-wrap img { transform: scale(1.04); }

.s2-sale-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.s2-sale-old {
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    color: #aaa;
    text-decoration: line-through;
}

.s2-sale-new {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #d94040;
    font-weight: 600;
}

/* ── LATEST NEWS ── */
.s2-news {
    padding: 58px 80px;
    background: #fff;
}
.s2-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.s2-news-card { cursor: pointer; }
.s2-news-img-wrap {
    position: relative;
    overflow: hidden;
}
.s2-news-img-wrap img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.s2-news-card:hover .s2-news-img-wrap img { transform: scale(1.04); }

.s2-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F0956A;
    color: #fff;
    padding: 6px 10px;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.s2-news-info { padding: 15px 0; }
.s2-news-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 17px;
    margin: 0 0 7px;
}
.s2-news-meta {
    font-family: Montserrat, sans-serif;
    font-size: 10.5px;
    color: #aaa;
    margin: 0 0 11px;
}
.s2-read-more {
    font-family: Montserrat, sans-serif;
    font-size: 10.5px;
    color: #F0956A;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.s2-read-more:hover { text-decoration: underline; }


/* ── SCROLL TOP BTN ── */
#scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 100px;
    width: 60px;
    height: 60px;
    background: #F0956A;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s;
    z-index: 500;
}
#scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
#scroll-top-btn:hover { transform: translateY(-4px); }
#scroll-top-btn svg { width: 25px; height: 25px; }

/* ── NARROW CONTENT (except hero) ── */
.s2-featured,
.s2-cta-wrap,
.s2-shop,
.s2-news,
.s2-discount {
    padding-left: max(32px, calc(50% - 520px));
    padding-right: max(32px, calc(50% - 520px));
}
.s2-sale {
    padding-left: max(32px, calc(50% - 520px));
    padding-right: max(32px, calc(50% - 520px));
}

/* cat strip: use margin so the white box is constrained like the CTA banner */
.s2-cat-strip {
    margin-left: max(32px, calc(50% - 520px));
    margin-right: max(32px, calc(50% - 520px));
    padding-left: 32px;
    padding-right: 32px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1050px) {
    .s2-hero { padding-top: 130px; padding-bottom: 60px; }
}
@media (max-width: 900px) {
    .s2-hero { flex-direction: column; padding-top: 110px; padding-bottom: 150px; text-align: center; gap: 30px; width: 100%; }
    .s2-hero-text p { margin: 0 auto 28px; }
    .s2-hero-img { justify-content: center; }
    .s2-hero-img img { width: 100%; height: 100%; }
    .s2-featured { padding: 38px 10px; } 
    .s2-shop { padding: 38px 5px; }
    .s2-feat-grid, .s2-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .s2-shop-hover { display: none; }
    .s2-shop-name, .s2-shop-price, .s2-feat-name, .s2-feat-price { max-width: 170px; }
    .s2-news-grid { grid-template-columns: repeat(2, 1fr); }
    .s2-cat-strip { flex-wrap: wrap; }
    .s2-cat-card { min-width: 45%; }
    .s2-cta-banner { flex-direction: column; padding: 32px; }
    .s2-sale-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .s2-sale-header { flex-direction: column; gap: 18px; }
    .s2-arrow { display: none; }
    .s2-discount { flex-direction: column; padding: 30px 20px; gap: 20px; }
    .s2-discount-text { padding-right: 0; justify-content: center; }
    .s2-discount-text::after { display: none; }
    .s2-disc-left-col { height: auto; }
    .s2-disc-label { font-size: 22px; width: auto; }
    .s2-disc-upto { font-size: 16px; }
    .s2-disc-percent { font-size: 56px; }
    .s2-disc-season { font-size: 20px; width: auto; }
    .s2-discount-img { width: 180px; height: 200px; }
    .s2-disc-slide img { height: 200px; }
}


@media (max-width: 768px) {
    #scroll-top-btn {
        bottom: 70px;
        right: 40px;
    }
    .s2-filter-tabs { display: none; }
    .s2-filter-select { display: block; }
}

@media (max-width: 480px) {
    .s2-discount-text { flex-direction: column; gap: 4px; }
    .s2-disc-left-col { align-items: center; }
    .s2-disc-label { font-size: 18px; text-align: center; }
    .s2-disc-right { flex-direction: column; align-items: center; gap: 0; }
    .s2-disc-percent { font-size: 80px; }
    .s2-disc-season { font-size: 16px; justify-content: center; }
    .s2-discount-img { width: 150px; height: 170px; }
    .s2-disc-slide img { height: 170px; }
}
