/* ============================================================
   COLLECTIONS PAGE — Marquee, Navbar, Vertical Slider, Footer
   Also shared by category + product pages for marquee/nav styles.
   ============================================================ */

/* ── Marquee ── */
.top-marquee {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background-color: #2e2e2e;
    border-bottom: 1px solid #4d4d4d;
    z-index: 200;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.4s ease;
}

body.scrolled-down .top-marquee {
    transform: translateY(-100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.marquee-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: 'Cabin', sans-serif;
    font-size: clamp(10px, calc(10px + (12 - 10) * ((100vw - 375px) / (1400 - 375))), 12px);
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0 clamp(80px, calc(50px + 5vw), 120px);
    -webkit-font-smoothing: antialiased;
}

.marquee-item a {
    color: #fff;
    text-decoration: none;
}


/* ── Navbar ── */
.collections-nav {
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    height: 90px;
    background: #fff;
    z-index: 100;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    gap: 30px;
    transition: top 0.4s ease;
}

body.scrolled-down .collections-nav {
    top: 0;
}

.nav-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #333;
    font-weight: 600;
}

.region-text {
    text-transform: uppercase;
}

.nav-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-icon-link {
    position: relative;
}

.cart-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    display: none;
    pointer-events: none;
}

.cart-dot.visible {
    display: block;
}

/* ── Add-to-cart popup ─────────────────────────────────────────── */
#cart-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9001;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 18px 20px 16px;
    min-width: 270px;
    max-width: 320px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

#cart-popup.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cart-popup__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cart-popup__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cart-popup__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
}

.cart-popup__title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.cart-popup__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: #999;
    line-height: 1;
    flex-shrink: 0;
    font-size: 18px;
}

.cart-popup__close:hover {
    color: #1a1a1a;
}

.cart-popup__cta {
    display: block;
    text-align: center;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 0;
    transition: background 0.2s ease;
}

.cart-popup__cta:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 480px) {
    #cart-popup {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
}

/* ── Wishlist dot ───────────────────────────────────────────────── */
.wishlist-icon-link {
    position: relative;
}

.wishlist-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    display: none;
    pointer-events: none;
}

.wishlist-dot.visible {
    display: block;
}

/* ── Add-to-wishlist popup ─────────────────────────────────────── */
#wishlist-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9002;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 18px 20px 16px;
    min-width: 270px;
    max-width: 320px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
}

#wishlist-popup.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wishlist-popup__icon {
    flex-shrink: 0;
    margin-right: 4px;
}

@keyframes wishlist-heart-beat {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.35); }
    60%  { transform: scale(0.9); }
    80%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#wishlist-popup.open .wishlist-popup__icon svg {
    animation: wishlist-heart-beat 0.55s ease 0.1s both;
}

@media (max-width: 480px) {
    #wishlist-popup {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
}

.nav-icon-link:hover {
    color: #555;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #000;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #000;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-link:hover {
    color: #555;
}

.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    margin-top: 1px;
    margin-left: 2px;
}

.dropdown-arrow svg {
    display: block;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-arrow svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    flex-direction: column;
    z-index: 1000;
    border-top: 2px solid #000;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
    display: block;
}

.dropdown-menu a:hover {
    background: #f9f9f9;
    color: #000;
    padding-left: 25px;
}

/* ── Collections Page Wrapper ── */
.collections-wrapper {
    position: fixed;
    top: 142px;      /* below marquee(52) + navbar(90) */
    left: 0;
    width: 100%;
    height: calc(100vh - 142px);
    overflow: hidden;
    transition: top 0.4s ease, height 0.4s ease; /* matches marquee/navbar collapse timing */
}

/* When marquee hides, navbar slides to top:0 — wrapper follows */
body.scrolled-down .collections-wrapper {
    top: 90px;
    height: calc(100vh - 90px);
}

/* ── Vertical Slider ── */
.main-slider {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slider-section {
    width: 100%;
    height: calc(100vh - 142px);
    position: relative;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* ── Hero Section (#section-1) ── */
#section-1 {
    background-image: url('../images/hero-backdrop.webp');
    background-color: #000;
    padding-bottom: 0 !important;
}

#section-1 .section-link {
    padding-bottom: 0 !important;
    align-items: stretch;
}

#section-1 .section-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-layer {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-model {
    position: absolute;
    bottom: 0;
    left: 10%;
    height: auto;
    max-height: 95%;
    width: auto;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.hero-text-graphic {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) translateX(100px);
    max-width: 75%;
    height: auto;
    opacity: 0;
    animation: slideInRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes slideInRightMobile {
    from { opacity: 0; transform: translateY(-50%) translateX(100px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0) scale(1.8); }
}

/* ── Per-section Background Images (slug-based so visibility toggling never shifts indices) ── */
.slider-section[data-collection="stitched-apparel"]          { background-image: url('../images/stitched-apparel.webp'); }
.slider-section[data-collection="unstitched-fabric"]         { background-image: url('../images/unstitched-fabric.webp'); }
.slider-section[data-collection="co-ord-sets"]               { background-image: url('../images/co-ord-sets.webp'); }
.slider-section[data-collection="celebrity-inspired-styles"] { background-image: url('../images/celebrity-inspired.webp'); }
.slider-section[data-collection="luxury-collection"]         { background-image: url('../images/luxury-collection.webp'); }
.slider-section[data-collection="wedding-formals"]           { background-image: url('../images/wedding-formals.webp'); }
.slider-section[data-collection="tops"]                      { background-image: url('../images/tops.webp'); }
.slider-section[data-collection="kurta"]                     { background-image: url('../images/kurta.webp'); }
.slider-section[data-collection="kaftan"]                    { background-image: url('../images/kaftan.webp'); }
.slider-section[data-collection="gown"]                      { background-image: url('../images/gown.webp'); }
.slider-section[data-collection="baby-girls-collection"]     { background-image: url('../images/baby-girls-collection.webp'); }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* ── Section Text Content ── */
.section-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.section-title {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(40px, 7vw, 80px);
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1s cubic-bezier(0.645, 0.045, 0.355, 1),
                transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-delay: 0.3s;
    will-change: transform, opacity;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 2vw, 22px);
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1s cubic-bezier(0.645, 0.045, 0.355, 1),
                transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-delay: 0.5s;
    will-change: transform, opacity;
}

.slider-section.active .section-title,
.slider-section.active .section-subtitle {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.section-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
    position: relative;
    z-index: 20;
}

/* ── Nav Dots ── */
.nav-dots {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* ── Footer Section ── */
/* height is controlled by JS (same as all slides) — we just override flex alignment
   and add internal scroll so the footer content isn't clipped */
.footer-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    background-color: #f4f4f4 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    color: #000;
}

.footer-visuals-row {
    display: flex;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.footer-visual-left,
.footer-visual-right {
    flex: 1;
    overflow: hidden;
}

.footer-visual-left img,
.footer-visual-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    color: #333;
    text-align: left;
}

.footer-column {
    flex: 1;
    min-width: 160px;
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #555;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
    letter-spacing: 0.3px;
}

.footer-column ul li a:hover {
    color: #000;
}

.connect-column .email-link,
.connect-column .phone-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

.connect-column .promo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #666;
    margin: 16px 0 10px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding: 8px 0;
    outline: none;
    color: #333;
}

.newsletter-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #333;
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    color: #000;
    transform: translateY(-2px);
}

/* ── Country Selector Modal ── */
.country-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.country-modal.open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    border-radius: 4px;
}

.modal-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.modal-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
}

.modal-content .sub-text {
    font-size: 12px;
    color: #888;
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 8px;
}

.custom-select-wrapper select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    outline: none;
    background: #fff;
    cursor: pointer;
    margin-bottom: 24px;
}

#shop-now-btn {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

#shop-now-btn:hover {
    background: #333;
}

/* ── Responsive ── */
/* ── Footer Copyright Bar ── */
.footer-copyright {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 18px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto; /* pushes copyright to bottom when content is short */
}

.footer-copyright a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright a:hover { color: #fff; }

.footer-credit {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-credit img {
    height: 18px;
    width: auto;
    opacity: 0.7;
    vertical-align: middle;
}

@media (max-width: 1024px) {
    .collections-wrapper {
        width: 100%;
    }

    .nav-dots {
        right: 6px;
    }
}

@media (max-width: 768px) {
    .collections-nav {
        padding: 0 16px;
        gap: 12px;
        height: 70px;
    }

    /* Dark gradient scrim at bottom of each slide so text is always legible */
    .slider-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, transparent 100%);
        z-index: 5;
        pointer-events: none;
    }

    body.scrolled-down .collections-nav {
        top: 0;
    }

    .collections-wrapper {
        top: 110px;
        height: calc(100vh - 110px);
        width: 100%; /* already correct on mobile */
    }

    .slider-section {
        height: calc(100vh - 110px);
    }

    .nav-dots {
        display: none;
    }

    .nav-links {
        display: none;
    }

    /* ── Footer: remove dark scrim that covers light footer background ── */
    .footer-section::after {
        display: none !important;
    }

    /* ── Footer visuals: hide decorative images on mobile to save space ── */
    .footer-visuals-row {
        display: none;
    }

    /* ── Footer container: compact 2-column grid ── */
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 14px;
        padding: 20px 16px 16px;
    }

    .footer-column {
        min-width: 0;
    }

    .footer-column h4 {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .footer-column ul li {
        margin-bottom: 5px;
    }

    .footer-column ul li a {
        font-size: 10px;
        letter-spacing: 0.2px;
    }

    /* ── Connect column: full width, compact layout ── */
    .connect-column {
        grid-column: 1 / -1;
    }

    .connect-column .email-link,
    .connect-column .phone-link {
        font-size: 11px;
        margin-bottom: 4px;
    }

    /* Hide promo text on mobile — social icons + email are enough ── */
    .connect-column .promo-text {
        display: none;
    }

    .newsletter-form {
        margin-bottom: 12px;
    }

    .social-icons {
        gap: 14px;
        margin-top: 2px;
    }

    /* ── Footer accordion ── */
    .accordion-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        user-select: none;
        padding-bottom: 10px;
        border-bottom: 1px solid #d0d0d0;
    }

    .accordion-arrow {
        flex-shrink: 0;
        color: #555;
        transition: transform 0.3s ease;
    }

    .accordion-heading.accordion-open .accordion-arrow {
        transform: rotate(180deg);
    }

    /* List collapses via max-height transition */
    .accordion-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s ease;
        margin-top: 0;
    }

    .accordion-list.accordion-open {
        max-height: 600px;
        margin-top: 10px;
    }

    /* ── Copyright: stack on small screen ── */
    .footer-copyright {
        padding: 12px 16px;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
        font-size: 10px;
    }

    /* ── Navbar: prevent horizontal overflow on small screens ── */
    .region-selector { display: none; }
    .nav-icons { gap: 14px; }
    .nav-center img { height: 55px; }

    /* ── Navbar layout: logo centered, icons right ── */
    .nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-right {
        justify-content: flex-end;
    }

    /* ── Move search beside hamburger on mobile ── */
    #search-btn {
        position: absolute;
        left: 54px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* ── Hero section: model left, text right — no overlap on mobile ── */
    .hero-model {
        left: -60%;
        max-height: 88%;
    }

    .hero-text-graphic {
        right: -10%;
        max-width: 70%;
        animation-name: slideInRightMobile;
        transform-origin: right center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: clamp(28px, 10vw, 48px);
    }

    .section-subtitle {
        font-size: 16px;
        font-weight: 500;
        padding: 0 20px;
        letter-spacing: 0.3px;
        text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 3px 20px rgba(0,0,0,0.85);
    }
}

/* ============================================================
   JUMP PILL — mobile-only floating section navigator
   ============================================================ */
.jump-pill    { display: none; }
.jump-menu    { display: none; }
.jump-backdrop { display: none; }

@media (max-width: 768px) {
    /* ── Pill button ── */
    .jump-pill {
        display: flex;
        align-items: center;
        gap: 7px;
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 160;
        background: rgba(0, 0, 0, 0.78);
        border: 1px solid rgba(255, 255, 255, 0.22);
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 10px 20px;
        border-radius: 30px;
        cursor: pointer;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        white-space: nowrap;
        transition: background 0.2s ease, transform 0.25s ease, opacity 0.25s ease;
    }

    .jump-pill.open {
        background: rgba(0, 0, 0, 0.92);
    }

    .jump-pill.jump-pill-hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(10px);
    }

    .jump-pill:active {
        transform: translateX(-50%) scale(0.95);
    }

    .jump-pill-icon {
        flex-shrink: 0;
    }

    /* ── Backdrop ── */
    .jump-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 158;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    .jump-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* ── Menu panel ── */
    .jump-menu {
        display: block;
        position: fixed;
        bottom: 72px;
        left: 50%;
        transform: translateX(-50%) translateY(14px);
        z-index: 159;
        background: rgba(10, 10, 10, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        min-width: 210px;
        max-width: 290px;
        max-height: 58vh;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .jump-menu.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .jump-menu-list {
        overflow-y: auto;
        max-height: 58vh;
        padding: 8px 0;
    }

    /* ── Menu items ── */
    .jump-menu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 13px 20px;
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.5);
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        cursor: pointer;
        text-align: left;
        transition: color 0.15s ease;
    }

    .jump-menu-item:active {
        color: #fff;
    }

    .jump-menu-item.current {
        color: #fff;
    }

    .jump-item-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.25);
        flex-shrink: 0;
        transition: background 0.15s ease;
    }

    .jump-menu-item.current .jump-item-dot {
        background: #fff;
    }

    .jump-item-label {
        flex: 1;
    }
}
