/* =============================================
   COLLECTIONS — FULL STYLES
   ============================================= */

html, body {
    width: auto !important;
    overflow-x: hidden !important;
}

/* ────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────── */
.collection-featured-image-container {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 560px;
    width: 100%;
}

/* Dual gradient overlay */
.collection-featured-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,  rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.15) 55%, transparent 100%),
        linear-gradient(to top,    rgba(0,0,0,0.45) 0%, transparent 45%);
    z-index: 2;
    pointer-events: none;
}

/* ── Hero image ─────────────────────────────
   Default: fully visible, no animation.
   .js-ready gates the Ken Burns effect so
   cached images never get stuck invisible.
   ──────────────────────────────────────────── */
.collection-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

.js-ready .collection-featured-image {
    transform: scale(1.06);
    transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-ready .collection-featured-image-container.loaded .collection-featured-image {
    transform: scale(1);
}

/* ── Hero title ─────────────────────────────
   All positioning kept here. Opacity/transform
   only animated under .js-ready.
   ──────────────────────────────────────────── */
.image-title {
    position: absolute;
    bottom: 180px;
    left: 80px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    z-index: 10;
    margin: 0;
    max-width: 58%;
    /* visible by default */
    opacity: 1;
    transform: none;
}

.js-ready .image-title {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.9s 0.25s ease, transform 0.9s 0.25s ease;
}

.js-ready .collection-featured-image-container.loaded .image-title {
    opacity: 1;
    transform: translateY(0);
}

/* ── Taxonomy pill ──────────────────────────
   Same pattern: positioned always,
   animated only under .js-ready.
   ──────────────────────────────────────────── */
.taxonomy-list {
    position: absolute;
    bottom: 136px;
    left: 80px;
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    margin: 0;
    padding: 5px 14px;
    list-style: none;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    gap: 12px;
    /* visible by default */
    opacity: 1;
    transform: none;
}

.taxonomy-list a {
    color: inherit;
    text-decoration: none;
}

.js-ready .taxonomy-list {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.9s 0.45s ease, transform 0.9s 0.45s ease;
}

.js-ready .collection-featured-image-container.loaded .taxonomy-list {
    opacity: 1;
    transform: translateY(0);
}

/* ── Scroll indicator ───────────────────────── */
.scroll-down-message {
    position: absolute;
    bottom: 44px;
    left: 84px;
    color: rgba(255,255,255,0.65);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: scrollBob 2.2s ease-in-out infinite;
}

.scroll-down-message::before {
    content: '';
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.45);
    animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(7px); }
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.45; height: 36px; }
    50%       { opacity: 1;    height: 48px; }
}

/* ────────────────────────────────────────────
   DESCRIPTION
   ──────────────────────────────────────────── */
.description-wrapper {
    background-color: #efe9e1;
}

.description-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 90px 40px 64px;
}

.description-content {
    margin-top: 20px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2c2c2c;
}

/* ────────────────────────────────────────────
   SPECS TABLE
   ──────────────────────────────────────────── */
/* ── Collection Details Table ─────────────────────────────────────── */

.collection-details-table-container {
    padding: 2rem 0;
    font-family: 'Jost', sans-serif;
}

.collection-details-table-container h2 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #322D29;
    margin: 0 0 1.5rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #72383D;
    display: flex;
    align-items: center;
    gap: 10px;
}

.collection-details-table-container h2::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 1px;
    background: #72383D;
    flex-shrink: 0;
    margin-bottom: 1px;
}

.collection-details-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.collection-details-table tr {
    border-bottom: 0.5px solid rgba(114, 56, 61, 0.2);
    transition: background 0.18s ease;
}

.collection-details-table tr:last-child {
    border-bottom: none;
}

.collection-details-table tr:hover {
    background: rgba(114, 56, 61, 0.05);
}

.collection-details-table th {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #72383D;
    padding: 1rem 1rem 1rem 0;
    vertical-align: top;
    white-space: nowrap;
    width: 150px;
}

.collection-details-table td {
    font-size: 0.88rem;
    font-weight: 300;
    color: #322D29;
    line-height: 1.7;
    padding: 1rem 0 1rem 1.5rem;
    vertical-align: top;
    border-left: 0.5px solid rgba(114, 56, 61, 0.2);
}

.collection-details-table .cdt-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(114, 56, 61, 0.08);
    color: #72383D;
    border: 0.5px solid rgba(114, 56, 61, 0.3);
    padding: 3px 9px;
    border-radius: 20px;
    margin: 2px 2px 0 0;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .collection-details-table th {
        width: 110px;
        font-size: 0.62rem;
    }

    .collection-details-table td {
        font-size: 0.83rem;
        padding-left: 1rem;
    }
}

/* ────────────────────────────────────────────
   CONTENT WRAPPER
   ──────────────────────────────────────────── */
.collection-content-wrapper {
    background: #fff;
}

.collection-content-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 64px 40px 80px;
    box-sizing: border-box;
}

/* ────────────────────────────────────────────
   GALLERY HEADING
   ──────────────────────────────────────────── */
.single-gallery-heading {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 400;
    margin: 5rem 40px 0.4rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.single-gallery-heading-des {
    display: block;
    width: 100%;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: #444;
}

.single-gallery-text {
    font-size: 0.92rem;
    color: #777;
    margin: 0.5rem 40px 2rem;
}

/* ────────────────────────────────────────────
   SLIDER
   ──────────────────────────────────────────── */
.gsap-slider-container {
    position: relative;
    width: 100%;
    margin: 2rem 0 4rem;
    padding-bottom: 2px;
}

.slider-ui-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px;
    border-bottom: 1px solid #ececec;
}

.slider-counter {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: #999;
    font-variant-numeric: tabular-nums;
}

.slider-btn-group {
    display: flex;
    gap: 8px;
}

.prev,
.next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d4d4d4;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    line-height: 1;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease,
                color 0.2s ease, transform 0.15s ease;
}

.prev:hover,
.next:hover {
    background: #111;
    border-color: #111;
    color: #fff;
    transform: scale(1.06);
}

.prev:active,
.next:active {
    transform: scale(0.95);
}

.gsap-slider {
    overflow: hidden;
    width: 100%;
}

.slides {
    display: flex;
    will-change: transform;
    cursor: grab;
}

.slides:active {
    cursor: grabbing;
}

.slide {
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.slide a {
    display: block;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide:hover img {
    transform: scale(1.025);
}

.image-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 12px;
    gap: 12px;
    padding: 0 2px;
}

.image-alt-text {
    flex: 1;
}

.image-alt-col {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 3px;
    line-height: 1.4;
}

.image-alt-des {
    font-size: 0.82rem;
    color: #777;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ebebeb;
}

.slider-progress-fill {
    height: 100%;
    background: #111;
    width: 0%;
}

/* ────────────────────────────────────────────
   IMAGE GRID
   ──────────────────────────────────────────── */
.collection-grid {
    columns: 2;
    column-gap: 6px;
    margin-top: 2rem;
}

.collection-grid-item {
    break-inside: avoid;
    margin-bottom: 6px;
}

.collection-grid-image {
    overflow: hidden;
}

.collection-grid-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.5s ease;
}

.collection-grid-image img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* ────────────────────────────────────────────
   COLLECTION NAV
   ──────────────────────────────────────────── */
.collection-navigation-wrapper {
    display: flex;
    gap: 20px;
    margin: 72px 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.collection-navigation-item {
    flex: 0 1 48%;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.collection-navigation-item--next {
    text-align: right;
    margin-left: auto;
}

.collection-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background: #f2efe9;
}

.collection-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-navigation-item:hover .collection-image-container img {
    transform: scale(1.04);
}

.collection-title {
    padding: 10px 0 4px;
}

.collection-title h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-nav-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 4px;
    display: block;
    white-space: nowrap;
}

/* ────────────────────────────────────────────
   SPACING UTILITIES
   ──────────────────────────────────────────── */
.space {
    margin: 5rem 0 1rem;
}

.smaller-space {
    margin: 2rem 0;
}

/* ────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .description-container,
    .collection-content-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .single-gallery-heading,
    .single-gallery-text {
        margin-left: 32px;
        margin-right: 32px;
    }
}

@media (max-width: 768px) {
    .collection-featured-image-container {
        min-height: 480px;
    }

    .image-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
        bottom: 110px;
        left: 20px;
        max-width: 88%;
    }

    .taxonomy-list {
        bottom: 80px;
        left: 20px;
    }

    .scroll-down-message {
        left: 20px;
        bottom: 32px;
    }

    .description-container,
    .collection-content-container {
        padding: 44px 20px;
    }

    .single-gallery-heading,
    .single-gallery-text {
        margin-left: 20px;
        margin-right: 20px;
    }

    .collection-grid {
        columns: 1;
    }

    .collection-navigation-wrapper {
        flex-direction: column;
    }

    .collection-navigation-item {
        flex: 1 1 100%;
    }

    .collection-navigation-item--next {
        text-align: left;
        margin-left: 0;
    }

    .prev,
    .next {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .collection-featured-image-container {
        height: 78vh;
        min-height: 400px;
    }

    .image-title {
        bottom: 96px;
        left: 16px;
    }

    .taxonomy-list {
        bottom: 68px;
        left: 16px;
    }

    .scroll-down-message {
        left: 16px;
    }

    .description-container {
        padding: 36px 16px 48px;
    }

    .collection-content-container {
        padding: 28px 16px 60px;
    }

    .single-gallery-heading {
        font-size: 1.15rem;
        margin-top: 2.5rem;
        margin-left: 16px;
    }

    .single-gallery-text {
        margin-left: 16px;
    }

    .gsap-slider-container {
        margin: 1rem 0 2.5rem;
    }
}