﻿/* ============================================================
   SECTION 04 β€” PRODUCT CAROUSEL
   ============================================================ */

.exo-s04 {
    position: relative;
    overflow: hidden;
    padding: 108px 62px 118px;
    background:
        radial-gradient(circle at 12% 16%, rgba(178,204,11,.09), transparent 26%),
        radial-gradient(circle at 88% 64%, rgba(178,204,11,.07), transparent 28%),
        linear-gradient(180deg, #020303, #060707);
    border-bottom: 1px solid rgba(178,204,11,.14);
}

.exo-s04::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,.022) 0,
        rgba(255,255,255,.022) 1px,
        transparent 1px,
        transparent 122px
    );
    pointer-events: none;
    opacity: .72;
}

.exo-s04-inner {
    position: relative;
    z-index: 2;
    width: min(1480px, 100%);
    margin: 0 auto;
}

/* --- Header --- */
.exo-s04-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 48px;
}

.exo-s04-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 800;
}

.exo-s04-kicker::before,
.exo-s04-kicker::after {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(178,204,11,.38);
}

.exo-s04-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(28px, 2.8vw, 48px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.5px;
    color: #fff;
}

.exo-s04-title span {
    display: inline;
    color: var(--gold);
}

.exo-s04-lead {
    margin: 0;
    max-width: 620px;
    color: #888;
    font-size: 15px;
    line-height: 1.78;
    font-weight: 300;
}

/* --- Carousel Shell --- */
.exo-s04-shell {
    position: relative;
    border: 1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
        rgba(7,8,8,.74);
    box-shadow: 0 30px 90px rgba(0,0,0,.24);
    padding: 28px;
    overflow: hidden;
}

.exo-s04-shell::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(178,204,11,.55), transparent);
}

.exo-s04-viewport {
    overflow: hidden;
    width: 100%;
}

.exo-s04-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.exo-s04-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
}

/* --- Product Card --- */
.exo-s04-card {
    position: relative;
    display: grid;
    grid-template-columns: 176px 1fr;
    min-height: 208px;
    background: #090a0a;
    border: 1px solid rgba(255,255,255,.075);
    overflow: hidden;
    transition: .25s ease;
    text-decoration: none;
    color: inherit;
}

.exo-s04-card:hover {
    transform: translateY(-3px);
    border-color: rgba(178,204,11,.34);
    background: #0c0d0d;
}

.exo-s04-img-wrap {
    position: relative;
    min-height: 208px;
    overflow: hidden;
    background: #111;
}

.exo-s04-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.78) contrast(1.05) brightness(.86);
    transition: .35s ease;
}

.exo-s04-card:hover .exo-s04-img-wrap img {
    transform: scale(1.06);
    filter: saturate(.9) contrast(1.08) brightness(.94);
}

.exo-s04-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,3,3,.02), rgba(2,3,3,.38));
}

.exo-s04-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    padding: 6px 10px;
    background: #c0392b;
    border: none;
    color: #fff;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
}

.exo-s04-copy {
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.exo-s04-copy h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
}

.exo-s04-copy p {
    margin: 12px 0 0;
    color: #a7a7a7;
    font-size: 13px;
    line-height: 1.58;
    font-weight: 300;
}

.exo-s04-bottom-row {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.exo-s04-price {
    color: var(--gold);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .5px;
}

.exo-s04-price ins {
    text-decoration: none;
}

.exo-s04-price del {
    color: #555;
    font-size: 13px;
    font-weight: 400;
    margin-right: 4px;
}

.exo-s04-link,
.exo-s04-link:hover,
.exo-s04-link:visited {
    margin-top: 0;
    padding-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold) !important;
    font-size: 10px;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
}

.exo-s04-link::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
    transition: .25s ease;
}

.exo-s04-card:hover .exo-s04-link::after {
    width: 50px;
}

/* --- Controls --- */
.exo-s04-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-top: 26px;
}

.exo-s04-ctrl-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.exo-s04-nav {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(178,204,11,.32);
    background: transparent;
    color: var(--gold);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .25s ease;
}

.exo-s04-nav:hover {
    background: var(--gold);
    color: #050606;
}

.exo-s04-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.exo-s04-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.exo-s04-dot {
    width: 34px;
    height: 2px;
    border: 0;
    background: rgba(255,255,255,.22);
    cursor: pointer;
    padding: 0;
    transition: .25s ease;
}

.exo-s04-dot.is-active {
    background: var(--gold);
    width: 52px;
}

.exo-s04-count {
    color: #777;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.exo-s04-view-all {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 900;
    transition: .25s ease;
    text-decoration: none;
}

.exo-s04-view-all:hover {
    background: var(--gold);
    color: #050606;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Laptop β€” 2 ΟƒΟ„Ξ®Ξ»ΞµΟ‚ */
@media (max-width: 1320px) {
    .exo-s04-slide {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    .exo-s04-card {
        grid-template-columns: 160px 1fr;
    }
}

/* β”€β”€ Tablet & Mobile: native horizontal scroll ΞΌΞµ snap β”€β”€β”€β”€β”€β”€β”€ */
@media (max-width: 980px) {
    .exo-s04 {
        padding: 64px 0 72px;
    }
    .exo-s04-inner {
        width: 100%;
    }
    .exo-s04-head {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
        margin-bottom: 36px;
        padding: 0 24px;
    }
    .exo-s04-shell {
        padding: 16px 0 20px;
        border-left: none;
        border-right: none;
    }
    /* Ξ‘Ο€ΞµΞ½ΞµΟΞ³ΞΏΟ€ΞΏΞΉΞΏΟΞΌΞµ JS transform */
    .exo-s04-viewport {
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .exo-s04-viewport::-webkit-scrollbar {
        display: none;
    }
    .exo-s04-track {
        transform: none !important;
        transition: none !important;
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        width: max-content;
        padding: 0 24px;
    }
    /* Flatten slides β€” ΞΏΞΉ ΞΊΞ¬ΟΟ„ΞµΟ‚ Ξ³Ξ―Ξ½ΞΏΞ½Ο„Ξ±ΞΉ direct flex children */
    .exo-s04-slide {
        display: contents;
    }
    /* ΞΞ¬ΟΟ„Ξ±: 2 ΞΏΟΞ±Ο„Ξ­Ο‚ ΟƒΞµ tablet */
    .exo-s04-card {
        min-width: calc(50vw - 38px);
        width: calc(50vw - 38px);
        min-height: 200px;
        grid-template-columns: 140px 1fr;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .exo-s04-img-wrap {
        min-height: 200px;
    }
    /* ΞΟΟΞ²ΞΏΟ…ΞΌΞµ JS controls, ΞΊΟΞ±Ο„Ξ¬ΞΌΞµ ΞΌΟΞ½ΞΏ Ο„ΞΏ CTA */
    .exo-s04-ctrl-left {
        display: none;
    }
    .exo-s04-controls {
        justify-content: center;
        padding: 0 24px;
        margin-top: 20px;
    }
    .exo-s04-view-all {
        width: 100%;
        max-width: 360px;
    }
}

/* Mobile β€” 1 ΞΊΞ¬ΟΟ„Ξ± ΞΏΟΞ±Ο„Ξ®, ΞΊΞ¬ΞΈΞµΟ„Ξ· (ΞµΞΉΞΊΟΞ½Ξ± Ο€Ξ¬Ξ½Ο‰) */
@media (max-width: 640px) {
    .exo-s04 {
        padding: 56px 0 64px;
    }
    .exo-s04-head {
        padding: 0 20px;
    }
    .exo-s04-title {
        font-size: 36px;
    }
    .exo-s04-lead {
        font-size: 14px;
    }
    .exo-s04-track {
        gap: 12px;
        padding: 0 20px;
    }
    .exo-s04-card {
        min-width: calc(100vw - 56px);
        width: calc(100vw - 56px);
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .exo-s04-img-wrap {
        height: 210px;
        min-height: 210px;
    }
    .exo-s04-copy {
        padding: 18px 16px;
    }
    .exo-s04-controls {
        padding: 0 20px;
    }
    .exo-s04-view-all {
        max-width: 100%;
    }
}

