@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600&family=Urbanist:wght@500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: #0A0E19;
}

body {
    background-color: transparent;
    min-height: 100dvh;
    overflow-x: hidden;
    font-family: 'Urbanist', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100lvh;
    z-index: -1;
    background-color: #0A0E19;
    background-image: url('../../assets/images/bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

/* ==========================================
   DESKTOP FLOATING NAVBAR (>= 1024px)
   ========================================== */
@media (min-width: 1024px) {
    body::before {
        background-image: url('../../assets/images/bg-desktop.png');
    }

    .mobile-railing {
        display: none !important;
    }

    .desktop-header-wrapper {
        position: fixed;
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        max-width: 1320px;
        z-index: 1000;
    }

    .desktop-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        padding: 0 20px;
        background: linear-gradient(270deg, rgba(18, 25, 40, 0.4) 0%, rgba(13, 24, 48, 0.4) 100%);
        border: 1px solid rgba(92, 98, 131, 0.39);
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(26.1px);
        -webkit-backdrop-filter: blur(26.1px);
        border-radius: 20px;
    }

    .desktop-logo {
        height: 38px;
        object-fit: contain;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 8px;
        margin: 0 16px;
    }

    .desktop-nav-link {
        color: #A0A5B5;
        font-family: 'Urbanist', sans-serif;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .desktop-nav-link.active,
    .desktop-nav-link:hover {
        background: #FFEABD;
        color: #232C45;
        font-weight: 600;
        box-shadow: inset 0px -3px 3px #BEA68B;
    }

    .desktop-right-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .desktop-search-box {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 280px;
        height: 48px;
        background: #141D31;
        border: 1px solid rgba(92, 98, 131, 0.3);
        border-radius: 15px;
        padding: 0 16px;
    }

    .desktop-search-box img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        opacity: 0.8;
    }

    .desktop-search-box input {
        background: transparent;
        border: none;
        outline: none;
        color: #FFFFFF;
        font-family: 'Urbanist', sans-serif;
        font-size: 13px;
        width: 100%;
    }

    .desktop-search-box input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .desktop-action-btn {
        position: relative !important;
        width: 48px;
        height: 48px;
        background: #232C45;
        box-shadow: inset 0px -4px 4px #37425B;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        text-decoration: none;
        transition: transform 0.15s ease;
    }

    .desktop-action-btn:hover {
        transform: translateY(-2px);
    }

    .desktop-action-btn img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }
}

/* ==========================================
   MOBILE RAILING NAV (< 1024px)
   ========================================== */
@media (max-width: 1023px) {
    .desktop-header-wrapper {
        display: none !important;
    }

    .mobile-railing {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        right: 5px;
        top: calc(10px + env(safe-area-inset-top, 0px));
        height: calc(var(--vvh, 100dvh) - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 20px);
        bottom: auto;
        width: 73px;
        padding: 5px;
        background: linear-gradient(270deg, rgba(18, 25, 40, 0.01) 0%, rgba(13, 24, 48, 0.01) 100%);
        border: 1px solid rgba(92, 98, 131, 0.39);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(26.1px);
        -webkit-backdrop-filter: blur(26.1px);
        border-radius: 20px;
        z-index: 1000;
    }

    .rail-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 61px;
    }

    .rail-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 61px;
        margin-bottom: 120px;
    }

    .rail-item {
        position: relative !important;
        width: 61px;
        height: 61px;
        background: #232C45;
        box-shadow: inset 0px -5px 4px #37425B;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #FDEED9;
        font-family: 'Manrope', sans-serif;
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: 0.05em;
        gap: 3px;
        text-decoration: none;
        border: none;
        cursor: pointer;
    }

    .rail-item.tall {
        height: 61px;
    }

    .rail-item img {
        object-fit: contain;
    }

    .rail-item.active {
        background: #FFEABD;
        box-shadow: inset 0px -5px 4px #BEA68B;
        color: #232C45;
    }
}





/* ==========================================
   MAIN CONTENT WRAPPER & HERO BANNER
   ========================================== */
.main-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px;
}

/* Mobile Layout Padding (Railing space) */
@media (max-width: 1023px) {
    .main-wrapper {
        padding: 10px 85px 16px 8px;
    }
}

/* Desktop Top Margin (Floating Navbar space) */
@media (min-width: 1024px) {
    .main-wrapper {
        padding-top: 100px;
    }
}

/* Mobile Brand Logo Header */
.brand-logo-container {
    margin-bottom: 12px;
}

.brand-logo {
    height: 36px;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .brand-logo-container {
        display: none;
    }
}

/* Hero Banner Container */
.hero-carousel-section {
    width: 100%;
    margin-bottom: 16px;
}

.hero-banner-card {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.hero-banner-card.is-dragging {
    cursor: grabbing;
}

@media (min-width: 768px) {
    .hero-banner-card {
        border-radius: 24px;
    }
}

/* Horizontal Sliding Track */
.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Slide Link Item */
.hero-slide-link {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    border-radius: inherit;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.hero-slide-link picture,
.hero-slide-link img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Pure Banner Image */
.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: inherit;
    user-select: none;
    -webkit-user-drag: none;
}

/* Banner Footer Bar (Promo + Dots) */
.hero-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    gap: 12px;
}

.promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(90deg, #E9D0B3 0%, #C5955D 100%);
    border-radius: 53px;
    color: #0A0E19;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .promo-pill {
        padding: 8px 20px;
        font-size: 14px;
    }
}

.carousel-dots-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-pill {
    height: 10px;
    width: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot-pill.active {
    width: 30px;
    background: #FFFFFF;
}

/* ==========================================
   PRODUCTS SECTION & CARDS (Exact Specs)
   ========================================== */
.products-section {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 30px;
}

/* Section Title Header Bar (Frame 33218) */
.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-title-bar h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: #FFFFFF;
}

.section-title-bar .view-all-link {
    font-family: 'Urbanist', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 17px;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}

.section-title-bar .view-all-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Product Cards Grid: Mobile 2 columns (4 rows), Desktop 4 columns (2 rows) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
}

/* Product Card Base */
.product-card {
    width: 100%;
    background: #141E3A;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.35);
}

/* Product Image Frame */
.product-image-box {
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 150px;
    border-radius: 20px;
    overflow: hidden;
    background: #202B48;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-box img {
    transition: transform 0.25s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Trending Gold Badge on Product Cards (Matches PDP .trending-pill) */
.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(90deg, #E9D0B3 0%, #C5955D 100%);
    color: #0A0E19;
    border-radius: 53px;
    font-family: 'Urbanist', 'Manrope', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 12px rgba(197, 149, 93, 0.25);
    z-index: 2;
    border: none;
}

/* Product Details Box */
.product-details {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

@media (min-width: 1024px) {
    .product-details {
        padding: 14px;
        gap: 8px;
    }
}

/* Title */
.product-name {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px;
}

@media (min-width: 1024px) {
    .product-name {
        font-size: 14px;
        line-height: 18px;
        height: 36px;
    }
}

/* Rating Row */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 14px;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    color: #FFFFFF;
}

.star-badge {
    width: 12px;
    height: 12px;
    background: #F9C71D;
    display: inline-block;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.rating-count {
    color: #FFFFFF;
    opacity: 0.85;
}

/* Bottom Action Row */
.product-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    height: 35px;
}

/* Format: Side-by-Side Horizontal Price */
.price-box-horizontal {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.price-box-horizontal .price-current {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
}

.price-box-horizontal .price-old {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    text-decoration: line-through;
    color: #8E9BB3;
}

/* Circular Add (+) Button */
.add-to-cart-btn {
    width: 35px;
    height: 35px;
    background: #FFFFFF;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.add-to-cart-btn:hover {
    transform: scale(1.08);
    background: #FDEED9;
}

/* ==========================================
   PRODUCTS SECTION & CARDS (Exact Specs)
   ========================================== */
.products-section {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 30px;
}

/* Section Title Header Bar (Frame 33218) */
.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-title-bar h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: #FFFFFF;
}

.section-title-bar .view-all-link {
    font-family: 'Urbanist', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 17px;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}

.section-title-bar .view-all-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Product Cards Grid: Mobile 2 columns (4 rows), Desktop 4 columns (2 rows) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
}

/* Product Card Base */
.product-card {
    width: 100%;
    background: #141E3A;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.35);
}

/* Product Image Frame */
.product-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 150px;
    border-radius: 20px;
    overflow: hidden;
    background: #202B48;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Product Details Box */
.product-details {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

@media (min-width: 1024px) {
    .product-details {
        padding: 14px;
        gap: 8px;
    }
}

/* Title */
.product-name {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px;
}

@media (min-width: 1024px) {
    .product-name {
        font-size: 14px;
        line-height: 18px;
        height: 36px;
    }
}

/* Rating Row */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 14px;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    color: #FFFFFF;
}

.star-badge {
    width: 12px;
    height: 12px;
    background: #F9C71D;
    display: inline-block;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.rating-count {
    color: #FFFFFF;
    opacity: 0.85;
}

/* Bottom Action Row */
.product-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    height: 35px;
}

/* Format: Side-by-Side Horizontal Price */
.price-box-horizontal {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.price-box-horizontal .price-current {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
}

.price-box-horizontal .price-old {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    text-decoration: line-through;
    color: #8E9BB3;
}

/* Circular Add (+) Button */
.add-to-cart-btn {
    width: 35px;
    height: 35px;
    background: #FFFFFF;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.add-to-cart-btn:hover {
    transform: scale(1.08);
    background: #FDEED9;
}

/* ==========================================
   CATEGORY BANNERS GRID (2x2 Mobile, 1 Row Desktop)
   ========================================== */
.categories-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px 0;
    width: 100%;
}

.category-banner-link {
    display: block;
    width: 100%;
    height: 78px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #1A233A;
}

.category-banner-link picture {
    display: block;
    width: 100%;
    height: 100%;
}

.category-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.35);
}

.category-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Tablet & Desktop Layout: 1 Row with 4 Columns */
@media (min-width: 768px) {
    .category-banner-link {
        height: 110px;
        border-radius: 16px;
    }
}

@media (min-width: 1024px) {
    .categories-grid-2x2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin: 24px 0;
    }

    .category-banner-link {
        height: 140px;
        border-radius: 16px;
    }
}

/* ==========================================
   FRESH DROPS / ATTENTION BANNERS SHOWCASE SECTION (Mobile + Desktop)
   ========================================== */
.fresh-drops-section {
    position: relative;
    width: 100%;
    margin: 18px 0;
    padding: 18px 12px 20px;
    border-radius: 24px;
    background-color: #0A0F1D;
    background-image:
        radial-gradient(circle at 50% 12%, rgba(56, 130, 246, 0.22) 0%, transparent 60%),
        url('../../assets/images/freshdrop-background.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        inset 0 0 25px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    box-sizing: border-box;
}

.fresh-drops-section.has-dynamic-bg {
    background-image: none;
}

/* Responsive Dynamic Background Graphic for Attention Banners */
.attention-banner-bg-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.attention-banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.fresh-drops-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    width: 100%;
}

.fresh-drops-title-img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(255, 196, 0, 0.3));
    transition: transform 0.3s ease;
}

.fresh-drops-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.fresh-drop-card {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(18, 25, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.fresh-drop-card:active {
    transform: scale(0.97);
}

.fresh-drop-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.35s ease;
}

@media (min-width: 600px) and (max-width: 1023px) {
    .fresh-drops-section {
        padding: 24px 20px 26px;
    }

    .fresh-drops-title-img {
        max-width: 280px;
    }

    .fresh-drops-grid {
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .fresh-drops-section {
        margin: 28px 0;
        padding: 36px 32px 40px;
        border-radius: 32px;
        box-shadow:
            0 16px 45px rgba(0, 0, 0, 0.4),
            inset 0 0 40px rgba(37, 99, 235, 0.2);
    }

    .fresh-drops-header {
        margin-bottom: 28px;
    }

    .fresh-drops-title-img {
        max-width: 380px;
        filter: drop-shadow(0 6px 20px rgba(255, 196, 0, 0.35));
    }

    .fresh-drops-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .fresh-drop-card {
        border-radius: 20px;
    }

    .fresh-drop-card:hover {
        transform: translateY(-6px);
        box-shadow:
            0 16px 32px rgba(0, 0, 0, 0.45),
            0 0 25px rgba(56, 189, 248, 0.25);
        border-color: rgba(255, 234, 189, 0.4);
    }

    .fresh-drop-card:hover .fresh-drop-img {
        transform: scale(1.04);
    }
}


/* ==========================================
   SEARCH OVERLAY & EXPANDED RAILING (Figma Specs)
   ========================================== */

/* --- SHARED PILL TAGS --- */
.search-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #1B2640;
    border: 1px solid rgba(92, 98, 131, 0.3);
    border-radius: 20px;
    color: #FDEED9;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-pill-tag:hover {
    background: #FFEABD;
    color: #232C45;
}

.search-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.search-section-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.search-action-clear,
.search-view-all {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #A0A5B5;
    text-decoration: none;
    cursor: pointer;
}

.search-action-clear:hover,
.search-view-all:hover {
    color: #FFFFFF;
}

.tags-flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

/* ==========================================
   DESKTOP SEARCH MODAL POPUP (>= 1024px)
   ========================================== */
.desktop-search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.desktop-search-modal {
    width: 100%;
    max-width: 960px;
    max-height: calc(100vh - 48px);
    margin: auto;
    background: linear-gradient(180deg, rgba(20, 30, 58, 0.95) 0%, rgba(10, 14, 25, 0.98) 100%);
    border: 1px solid rgba(92, 98, 131, 0.4);
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(26px);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-search-backdrop.active .desktop-search-modal {
    opacity: 1;
    transform: translateX(0);
}

.search-input-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.modal-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    background: #101728;
    border: 1px solid rgba(92, 98, 131, 0.5);
    border-radius: 30px;
    padding: 0 20px;
}

.modal-search-field input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
}

.modal-search-field input::placeholder {
    color: #6C728F;
}

.modal-close-btn {
    width: 44px;
    height: 44px;
    background: #1B2640;
    border: 1px solid rgba(92, 98, 131, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 18px;
    transition: background 0.2s, transform 0.15s ease;
}

.modal-close-btn:hover {
    background: #232C45;
    color: #FFEABD;
}

.modal-trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1023px) {
    .desktop-search-backdrop {
        display: none !important;
    }
}

/* ==========================================
   HYPE SEARCH ENGINE — RESULTS & STATES
   ========================================== */

/* Spin animation for loading state */
@keyframes hypeSearchSpin {
    to { transform: rotate(360deg); }
}

/* Results container inside search modal / mobile drawer */
.hype-search-results-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 40px;
}

.desktop-search-modal .hype-search-results-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.desktop-search-modal .hype-search-results-container::-webkit-scrollbar {
    width: 6px;
}

.desktop-search-modal .hype-search-results-container::-webkit-scrollbar-track {
    background: transparent;
}

.desktop-search-modal .hype-search-results-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
}

.hype-popular-pill {
    padding: 8px 16px;
    border-radius: 9999px;
}

/* Per-section wrapper */
.hype-search-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Results summary bar */
.hype-search-results-summary {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #8898B8;
    padding: 2px 0 4px;
}

/* Matching categories bar */
.hype-matching-categories-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hype-matching-cat-label {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #A0A5B5;
    white-space: nowrap;
}

.hype-matching-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hype-matching-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: rgba(232, 197, 142, 0.12);
    border: 1px solid rgba(232, 197, 142, 0.35);
    border-radius: 20px;
    color: #FFEABD;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.hype-matching-cat-pill:hover {
    background: rgba(232, 197, 142, 0.22);
    border-color: rgba(232, 197, 142, 0.6);
    color: #FFEABD;
    text-decoration: none;
}

/* No-match banner */
.hype-no-match-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 8px;
    gap: 6px;
    text-align: center;
}

.hype-no-match-icon {
    margin-bottom: 4px;
    opacity: 0.6;
}

.hype-no-match-text {
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    color: #FFFFFF;
    margin: 0;
}

.hype-no-match-sub {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #8898B8;
    margin: 0;
}

/* Search product card inside results grids */
.hype-search-product-card .product-name a {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hype-search-product-card .price-current {
    font-size: 13px;
}

.hype-search-product-card .price-old {
    font-size: 11px;
}

/* ==========================================
   DESKTOP PROFILE DRAWER OVERLAY (>= 1024px)
   ========================================== */
.desktop-profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.3s ease;
}

.desktop-profile-overlay.active,
.desktop-profile-overlay.open {
    opacity: 1;
    pointer-events: auto !important;
    z-index: 9998 !important;
}

.desktop-profile-drawer {
    position: fixed;
    top: 16px;
    right: max(20px, calc((100vw - 1320px) / 2 + 10px));
    width: 380px;
    max-height: calc(100vh - 32px);
    background: linear-gradient(180deg, rgba(18, 25, 40, 0.96) 0%, rgba(13, 24, 48, 0.98) 100%);
    border: 1px solid rgba(92, 98, 131, 0.39);
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(26.1px);
    -webkit-backdrop-filter: blur(26.1px);
    border-radius: 20px;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(45px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2001;
}

.desktop-profile-overlay.active .desktop-profile-drawer {
    opacity: 1;
    transform: translateX(0);
}

.profile-content-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    width: 100%;
}

.profile-greeting-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.profile-greeting-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    color: #FFFFFF;
}

.profile-close-btn {
    width: 44px;
    height: 44px;
    background: #232C45;
    box-shadow: inset 0px -4px 4px #37425B;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.profile-close-btn svg {
    pointer-events: none;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.profile-close-btn:hover {
    background: #2d3856;
    color: #FFEABD;
}

.profile-close-btn:hover svg {
    transform: scale(1.1);
}

.profile-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #A0A5B5;
    margin-bottom: 8px;
}

.profile-edit-link {
    color: #FDEED9;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #FDEED9;
}

.profile-info-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    flex-shrink: 0;
}

.profile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(35, 44, 69, 0.6);
    border: 1px solid rgba(92, 98, 131, 0.25);
    border-radius: 14px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.profile-menu-item:hover {
    background: #232C45;
    border-color: rgba(255, 234, 189, 0.4);
}

.profile-menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-menu-left svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.profile-menu-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #94A3B8;
    opacity: 0.75;
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.profile-menu-arrow svg {
    pointer-events: none;
    stroke: currentColor;
}

.profile-menu-item:hover .profile-menu-arrow {
    color: #FFEABD;
    opacity: 1;
    transform: translateX(3px);
}

.profile-action-btn-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    background: rgba(35, 44, 69, 0.4);
    border: 1px solid rgba(92, 98, 131, 0.2);
    border-radius: 14px;
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.profile-action-btn-item:hover {
    background: #232C45;
}

/* ==========================================
   HIDE "CHANGE TO LEFT-HANDED MODE" ON DESKTOP VIEWPORTS (>= 1024px)
   ========================================== */
@media (min-width: 1024px) {
    .profile-handed-mode-btn,
    .desktop-profile-drawer .profile-handed-mode-btn,
    .desktop-profile-overlay .profile-handed-mode-btn,
    .profile-main-card .profile-handed-mode-btn,
    button[data-action="left-handed"],
    button[data-action="toggle-handedness"],
    #toggleHandednessBtn,
    #mobileHandedModeBtn,
    .desktop-profile-drawer .profile-action-btn-item:has(svg polyline[points="17 1 21 5 17 9"]) {
        display: none !important;
    }
}

.profile-info-item svg,
.profile-menu-left svg,
.profile-action-btn-item svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
    stroke: currentColor;
}

@media (max-width: 1023px) {

    .desktop-profile-overlay,
    .desktop-profile-drawer {
        display: none !important;
    }
}

/* ==========================================
   MOBILE EXPANDING RAILING (< 1024px)
   Image 2 specs: Clean 73px fixed railing layout
   Expands for Search (search-expanded) OR Profile (profile-expanded)
   ========================================== */
@media (max-width: 1023px) {

    /* Dimmed Backdrop */
    .mobile-railing-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(4, 7, 15, 0.65);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

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

    /* Railing Container */
    .mobile-railing {
        position: fixed;
        right: 5px;
        top: calc(10px + env(safe-area-inset-top, 0px));
        height: calc(var(--vvh, 100dvh) - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 20px);
        bottom: auto;
        width: 73px;
        box-sizing: border-box;
        padding: 5px;
        background: linear-gradient(270deg, rgba(18, 25, 40, 0.01) 0%, rgba(13, 24, 48, 0.01) 100%);
        border: 1px solid rgba(92, 98, 131, 0.39);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(26.1px);
        -webkit-backdrop-filter: blur(26.1px);
        border-radius: 20px;
        z-index: 1005;
        overflow: hidden;
        transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    /* Expand when search-expanded OR profile-expanded OR cart-expanded OR menu-expanded */
    .mobile-railing.search-expanded,
    .mobile-railing.profile-expanded,
    .mobile-railing.cart-expanded,
    .mobile-railing.menu-expanded {
        width: calc(100vw - 10px);
        max-width: 430px;
        background: linear-gradient(270deg, rgba(14, 21, 38, 0.98) 0%, rgba(10, 14, 25, 0.98) 100%) !important;
        box-shadow: -5px 0px 30px rgba(0, 0, 0, 0.6) !important;
    }

    /* Inner Layout: Pins Buttons to Right */
    .railing-inner-layout {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: stretch;
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Content inside railing - fixed width prevents squishing/cramping during side-fade */
    .railing-search-content,
    .railing-profile-content,
    .railing-cart-content,
    .railing-menu-content {
        display: none !important;
        width: calc(100vw - 78px);
        max-width: 352px;
        min-width: calc(100vw - 78px);
        flex-shrink: 0;
        height: 100%;
        flex-direction: column;
        gap: 14px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 12px;
        padding-left: 6px;
        opacity: 0;
        transform: translateX(35px);
        pointer-events: none;
        box-sizing: border-box;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    }

    .railing-search-content::-webkit-scrollbar,
    .railing-profile-content::-webkit-scrollbar,
    .railing-cart-content::-webkit-scrollbar,
    .railing-menu-content::-webkit-scrollbar {
        width: 5px;
    }

    .railing-search-content::-webkit-scrollbar-track,
    .railing-profile-content::-webkit-scrollbar-track,
    .railing-cart-content::-webkit-scrollbar-track,
    .railing-menu-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .railing-search-content::-webkit-scrollbar-thumb,
    .railing-profile-content::-webkit-scrollbar-thumb,
    .railing-cart-content::-webkit-scrollbar-thumb,
    .railing-menu-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
        border-radius: 6px;
    }

    @media (min-width: 430px) {

        .railing-search-content,
        .railing-profile-content,
        .railing-cart-content,
        .railing-menu-content {
            width: 352px !important;
            min-width: 352px !important;
        }
    }

    /* Only show search when search-expanded - Buttery Smooth Side Fade */
    .mobile-railing.search-expanded .railing-search-content {
        display: flex !important;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        animation: railingSideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Only show profile when profile-expanded - Buttery Smooth Side Fade */
    .mobile-railing.profile-expanded .railing-profile-content {
        display: flex !important;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        animation: railingSideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Only show cart when cart-expanded - Buttery Smooth Side Fade */
    .mobile-railing.cart-expanded .railing-cart-content {
        display: flex !important;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        animation: railingSideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Only show menu when menu-expanded - Buttery Smooth Side Fade */
    .mobile-railing.menu-expanded .railing-menu-content {
        display: flex !important;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        animation: railingSideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Smooth Side Fade Out when closing (strictly for the active drawer only!) */
    .mobile-railing.search-expanded.drawer-closing .railing-search-content {
        display: flex !important;
        pointer-events: none;
        animation: railingSideFadeOut 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .mobile-railing.profile-expanded.drawer-closing .railing-profile-content {
        display: flex !important;
        pointer-events: none;
        animation: railingSideFadeOut 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .mobile-railing.cart-expanded.drawer-closing .railing-cart-content {
        display: flex !important;
        pointer-events: none;
        animation: railingSideFadeOut 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .mobile-railing.menu-expanded.drawer-closing .railing-menu-content {
        display: flex !important;
        pointer-events: none;
        animation: railingSideFadeOut 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    @keyframes railingSideFadeIn {
        from {
            opacity: 0;
            transform: translateX(35px);
        }

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

    @keyframes railingSideFadeOut {
        from {
            opacity: 1;
            transform: translateX(0);
        }

        to {
            opacity: 0;
            transform: translateX(35px);
        }
    }

    /* Right Column: Exactly like Image 2 */
    .railing-buttons-col {
        flex: 0 0 61px !important;
        width: 61px !important;
        min-width: 61px !important;
        max-width: 61px !important;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        z-index: 2;
        margin: 0 !important;
        margin-left: auto !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .rail-top,
    .rail-main {
        width: 61px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .rail-main {
        margin-bottom: clamp(15px, 5vh, 45px) !important;
    }

    .rail-item {
        position: relative !important;
        width: 61px !important;
        height: 61px !important;
        box-sizing: border-box;
        background: #232C45;
        box-shadow: inset 0px -5px 4px #37425B;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #FDEED9;
        font-family: 'Manrope', sans-serif;
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: 0.05em;
        gap: 3px;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
        flex-shrink: 0 !important;
    }

    .rail-item img,
    .rail-item svg {
        display: block !important;
        object-fit: contain;
        flex-shrink: 0 !important;
    }

    /* Active Highlight State */
    .rail-item.active {
        background: #FFEABD !important;
        box-shadow: inset 0px -5px 4px #BEA68B !important;
        color: #232C45 !important;
    }

    .rail-item.active img {
        filter: brightness(0) saturate(100%) invert(14%) sepia(21%) saturate(1478%) hue-rotate(184deg) brightness(96%) contrast(88%);
    }

    .rail-item.active svg path,
    .rail-item.active svg circle,
    .rail-item.active svg line,
    .rail-item.active svg rect,
    .rail-item.active svg polygon {
        stroke: #232C45 !important;
    }

    /* Mobile Categories / Menu Drawer Styling */
    .menu-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 4px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .menu-drawer-title-row {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .menu-drawer-badge {
        font-size: 11px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: #BEA68B;
        font-weight: 600;
        font-family: 'Urbanist', sans-serif;
    }

    .menu-drawer-title {
        font-size: 22px;
        font-weight: 700;
        color: #FFFFFF;
        font-family: 'Urbanist', sans-serif;
        letter-spacing: 0.02em;
        margin: 0;
    }

    .mobile-menu-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 4px 0;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 16px;
        background: rgba(22, 31, 52, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        color: #FDEED9;
        text-decoration: none;
        font-family: 'Urbanist', sans-serif;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.08em;
        transition: all 0.2s ease;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .mobile-menu-item:hover,
    .mobile-menu-item:active {
        background: rgba(43, 56, 88, 0.85);
        border-color: rgba(255, 234, 189, 0.4);
        color: #FFFFFF;
        transform: translateX(2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    }

    .mobile-menu-item-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .menu-item-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #BEA68B;
        box-shadow: 0 0 8px rgba(190, 166, 139, 0.6);
        flex-shrink: 0;
    }

    .mobile-menu-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        line-height: 1;
        color: #A0A5B5;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .mobile-menu-arrow svg {
        pointer-events: none;
        stroke: currentColor;
    }

    .mobile-menu-item:hover .mobile-menu-arrow,
    .mobile-menu-item:active .mobile-menu-arrow {
        color: #FFEABD;
        transform: translateX(2px);
    }

    .mobile-menu-footer {
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-menu-all-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: linear-gradient(135deg, rgba(255, 234, 189, 0.15) 0%, rgba(190, 166, 139, 0.08) 100%);
        border: 1px solid rgba(255, 234, 189, 0.3);
        border-radius: 14px;
        color: #FFEABD;
        text-decoration: none;
        font-family: 'Urbanist', sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        transition: all 0.2s ease;
    }

    .mobile-menu-all-link:hover,
    .mobile-menu-all-link:active {
        background: #FFEABD;
        color: #121928;
        border-color: #FFEABD;
        box-shadow: 0 4px 20px rgba(255, 234, 189, 0.3);
    }

    /* Mobile Search Bar Inside Railing */
    .mobile-search-input-box {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 48px;
        background: #141D31;
        border: 1px solid rgba(92, 98, 131, 0.4);
        border-radius: 24px;
        padding: 0 16px;
    }

    .mobile-search-input-box input {
        background: transparent;
        border: none;
        outline: none;
        color: #FFFFFF;
        font-family: 'Urbanist', sans-serif;
        font-size: 13px;
        width: 100%;
    }

    .mobile-search-cards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mobile-search-cards-grid .product-card {
        width: 100%;
        max-width: 100%;
    }

    .mobile-search-cards-grid .product-image-box {
        aspect-ratio: 1 / 1;
        min-height: 120px;
    }

    /* ==========================================
       MOBILE LEFT-HANDED MODE (< 1024px)
       ========================================== */
    .left-handed-mode .mobile-railing {
        left: 5px !important;
        right: auto !important;
    }

    .left-handed-mode .mobile-railing.search-expanded,
    .left-handed-mode .mobile-railing.profile-expanded,
    .left-handed-mode .mobile-railing.cart-expanded,
    .left-handed-mode .mobile-railing.menu-expanded {
        box-shadow: 5px 0px 30px rgba(0, 0, 0, 0.6) !important;
    }

    .left-handed-mode .railing-inner-layout {
        flex-direction: row !important;
        justify-content: flex-start !important;
    }

    .left-handed-mode .railing-buttons-col {
        order: -1 !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .left-handed-mode .railing-search-content,
    .left-handed-mode .railing-profile-content,
    .left-handed-mode .railing-cart-content,
    .left-handed-mode .railing-menu-content {
        order: 1 !important;
        padding-left: 12px !important;
        padding-right: 6px !important;
    }

    .left-handed-mode .mobile-railing.search-expanded .railing-search-content,
    .left-handed-mode .mobile-railing.profile-expanded .railing-profile-content,
    .left-handed-mode .mobile-railing.cart-expanded .railing-cart-content,
    .left-handed-mode .mobile-railing.menu-expanded .railing-menu-content {
        animation: railingSideFadeInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .left-handed-mode .mobile-railing.search-expanded.drawer-closing .railing-search-content,
    .left-handed-mode .mobile-railing.profile-expanded.drawer-closing .railing-profile-content,
    .left-handed-mode .mobile-railing.cart-expanded.drawer-closing .railing-cart-content,
    .left-handed-mode .mobile-railing.menu-expanded.drawer-closing .railing-menu-content {
        animation: railingSideFadeOutLeft 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .left-handed-mode .main-wrapper {
        padding: 10px 8px 16px 85px !important;
    }
}

@keyframes railingSideFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes railingSideFadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-35px);
    }
}

/* ==========================================
   DESKTOP CART DRAWER OVERLAY (>= 1024px)
   Matches Desktop Profile Drawer floating card on the right
   ========================================== */
.desktop-cart-overlay,
#desktopCartBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.3s ease;
}

.desktop-cart-overlay.active,
.desktop-cart-overlay.open,
#desktopCartBackdrop.active,
#desktopCartBackdrop.open {
    opacity: 1;
    pointer-events: auto !important;
    z-index: 9998 !important;
}

/* Ensure #desktopCartBtn and profile triggers are always above backdrops and clickable */
#desktopCartBtn,
.desktop-action-btn#desktopCartBtn,
#desktopProfileBtn,
#railProfileBtn,
.desktop-action-btn#desktopProfileBtn {
    position: relative;
    z-index: 10002 !important;
    pointer-events: auto !important;
    cursor: pointer;
}

#desktopProfileBtn *,
#railProfileBtn * {
    pointer-events: none !important;
}

/* Closed state of drawers & modals: must NOT intercept pointer-events */
.desktop-cart-overlay:not(.active):not(.open),
#desktopCartOverlay:not(.active):not(.open),
#desktopCartDropdown:not(.active):not(.open),
#desktopCartDropdown,
.desktop-cart-modal,
.desktop-cart-drawer {
    pointer-events: none !important;
    opacity: 0;
}

.desktop-cart-drawer {
    position: fixed;
    top: 16px;
    right: max(20px, calc((100vw - 1320px) / 2 + 10px));
    width: 420px;
    height: min(680px, calc(100vh - 32px));
    max-height: calc(100vh - 32px);
    background: rgba(12, 19, 36, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(45px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    box-sizing: border-box;
}

/* Active / Open state: enables pointer-events and opacity */
.desktop-cart-overlay.active .desktop-cart-drawer,
.desktop-cart-overlay.open .desktop-cart-drawer,
#desktopCartDropdown.active,
#desktopCartDropdown.open,
.desktop-cart-modal.active,
.desktop-cart-modal.open,
.desktop-cart-drawer.active,
.desktop-cart-drawer.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto !important;
    z-index: 9999 !important;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.cart-drawer-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cart-drawer-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.cart-drawer-count {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #A0A5B5;
}

.cart-delete-all {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #FF5252;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cart-delete-all:hover {
    opacity: 0.7;
}

.cart-drawer-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    margin-right: -4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.cart-drawer-items-list::-webkit-scrollbar {
    width: 5px;
}
.cart-drawer-items-list::-webkit-scrollbar-track {
    background: transparent;
}
.cart-drawer-items-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 6px;
}
.cart-drawer-items-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.cart-drawer-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(35, 44, 69, 0.6);
    border: 1px solid rgba(92, 98, 131, 0.25);
    border-radius: 14px;
    transition: border-color 0.2s, background 0.2s;
}

.cart-drawer-item:hover {
    border-color: rgba(255, 234, 189, 0.35);
    background: #232C45;
}

.cart-drawer-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-drawer-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-drawer-item-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-drawer-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer-price {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

.cart-drawer-old-price {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
}

.cart-item-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #1B9E2F;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cart-drawer-meta {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    color: #A0A5B5;
}

.cart-drawer-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.cart-qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-qty-value {
    width: 24px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 28px;
}

.cart-icon-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #9E9E9E;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-icon-btn:hover {
    color: #FFFFFF;
}

.cart-icon-btn.delete-btn:hover {
    color: #FF5252;
}

/* Bulletproof Cart Drawer Action Buttons & Non-Blocking SVG Icons */
.cart-qty-btn,
.cart-mobile-qty-btn,
.cart-icon-btn,
[data-cart-action] {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.cart-qty-btn svg,
.cart-mobile-qty-btn svg,
.cart-icon-btn svg,
[data-cart-action] svg,
.cart-icon-btn svg *,
[data-cart-action] svg * {
    pointer-events: none !important;
}

/* Order Summary */
.cart-drawer-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #232942;
    border-radius: 16px;
    padding: 16px;
    flex-shrink: 0;
}

.cart-summary-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.04em;
}

.cart-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.cart-summary-row.discount .cart-summary-val {
    color: #FF5252;
}

.cart-summary-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    margin: 2px 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #E9D0B3;
    letter-spacing: 0.04em;
}

.cart-promo-row {
    display: flex;
    gap: 8px;
}

.cart-promo-input {
    flex: 1;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0 12px;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    outline: none;
}

.cart-promo-input::placeholder {
    color: #6C728F;
}

.cart-promo-btn {
    height: 36px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cart-promo-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cart-summary-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    color: #A0A5B5;
}

.cart-summary-info svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    opacity: 0.6;
}

.cart-summary-info strong {
    color: #FFFFFF;
    display: block;
    font-size: 13px;
}

.cart-checkout-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(180deg, #F1D9B8 0%, #A88452 100%);
    border: none;
    border-radius: 13px;
    font-family: 'Urbanist', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.cart-checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(168, 132, 82, 0.4);
}

/* Cart Count Badges on Header and Railing Icons */
.cart-count-badge {
    position: absolute;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    background: #2563EB;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 19px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #080D1A;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 25;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.6);
}
.desktop-cart-badge {
    top: -4px;
    right: -4px;
}
.rail-cart-badge {
    top: 3px;
    right: 5px;
}

/* Cart Empty State */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 16px;
    margin: auto 0;
    color: #94A3B8;
}
.cart-empty-state svg {
    margin-bottom: 12px;
    opacity: 0.7;
}
.cart-empty-state h4 {
    font-family: 'Urbanist', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px 0;
}
.cart-empty-state p {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #94A3B8;
    margin: 0 0 16px 0;
    max-width: 240px;
    line-height: 1.4;
}
.cart-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    background: rgba(255, 234, 189, 0.12);
    border: 1px solid rgba(255, 234, 189, 0.35);
    border-radius: 10px;
    color: #FFEABD;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.cart-explore-btn:hover {
    background: #FFEABD;
    color: #080D1A;
}

/* Floating Toast Notification */
.hype-cart-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(255, 234, 189, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 30px;
    padding: 10px 20px;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hype-cart-toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

@media (max-width: 1023px) {

    .desktop-cart-overlay,
    .desktop-cart-drawer {
        display: none !important;
    }
}

/* ==========================================
   MOBILE CART CONTENT INSIDE RAILING
   ========================================== */
@media (max-width: 1023px) {
    .cart-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: 'Urbanist', sans-serif;
    }

    .cart-mobile-header .cart-modal-title {
        font-size: 18px;
    }

    .cart-mobile-header .cart-items-count {
        font-size: 18px;
        font-weight: 700;
        color: #FFFFFF;
    }

    .cart-mobile-items {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .cart-mobile-item {
        display: flex;
        gap: 12px;
        padding: 12px;
        background: #232942;
        border-radius: 15px;
    }

    .cart-mobile-item-img {
        width: 90px;
        height: 90px;
        border-radius: 12px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .cart-mobile-item-details {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 5px;
    }

    .cart-mobile-item-name {
        font-family: 'Urbanist', sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: #FFFFFF;
        line-height: 16px;
    }

    .cart-mobile-price-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cart-mobile-price {
        font-family: 'Inter', sans-serif;
        font-size: 17px;
        font-weight: 600;
        color: #FFFFFF;
    }

    .cart-mobile-price-old {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: line-through;
    }

    .cart-mobile-bottom-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-mobile-qty {
        display: inline-flex;
        align-items: center;
        background: #FFF6E9;
        border-radius: 37px;
        overflow: hidden;
    }

    .cart-mobile-qty-btn {
        width: 28px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #000000;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

    .cart-mobile-qty-val {
        width: 20px;
        text-align: center;
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        font-weight: 600;
        color: #000000;
    }

    .cart-mobile-actions {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .cart-mobile-actions .cart-icon-btn {
        width: 24px;
        height: 24px;
    }

    .cart-mobile-summary {
        background: #232942;
        border-radius: 17px;
        padding: 14px 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cart-mobile-checkout {
        width: 100%;
        height: 52px;
        background: linear-gradient(180deg, #F1D9B8 0%, #A88452 100%);
        border: none;
        border-radius: 13px;
        font-family: 'Urbanist', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #000000;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

/* Product Card Links & Interactive Hover */
.product-image-box {
    cursor: pointer;
    text-decoration: none;
    display: flex;
}

.product-card:hover .product-image-box img {
    transform: scale(1.04);
}

.product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.product-name a:hover {
    color: #FFEABD;
}


/* ==========================================
   CHECKOUT POPUP & SLEEK INSET SCROLLBAR
   ========================================== */

/* Custom Sleek Thin Scrollbar - Strictly INSIDE the container */
.checkout-modal-body::-webkit-scrollbar,
.pdp-items-scroll-box::-webkit-scrollbar {
    width: 5px;
}

.checkout-modal-body::-webkit-scrollbar-track,
.pdp-items-scroll-box::-webkit-scrollbar-track {
    background: rgba(16, 23, 40, 0.4);
    border-radius: 10px;
    margin: 8px 0;
    /* Keeps track/thumb away from top and bottom edges */
}

.checkout-modal-body::-webkit-scrollbar-thumb,
.pdp-items-scroll-box::-webkit-scrollbar-thumb {
    background: #FFEABD;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(255, 234, 189, 0.4);
}

.checkout-modal-body,
.pdp-items-scroll-box {
    scrollbar-width: thin;
    scrollbar-color: #FFEABD rgba(16, 23, 40, 0.4);
}

/* Modal Overlay Backdrop - Shifted slightly up from vertical center */
.checkout-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
    padding-top: clamp(14px, 3vh, 28px);
    padding-bottom: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow: hidden;
    /* No outer/backdrop scrollbars */
    box-sizing: border-box;
}

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

/* Main Popup Box */
.checkout-modal-card {
    width: 100%;
    max-width: 440px;
    /* Mobile width */
    max-height: 88vh;
    background: linear-gradient(180deg, rgba(20, 30, 58, 0.96) 0%, rgba(10, 14, 25, 0.98) 100%);
    border: 1px solid rgba(92, 98, 131, 0.39);
    box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border-radius: 24px;
    padding: 0;
    /* Padding managed cleanly by header and body */
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    /* CRITICAL: Strictly clips everything inside 24px rounded corners */
    transform: scale(0.95);
    transition: transform 0.3s ease, max-width 0.3s ease;
    box-sizing: border-box;
    position: relative;
}

.checkout-modal-backdrop.active .checkout-modal-card {
    transform: scale(1);
}

/* Top Card Header (Title & Stepper - Never scrolls) */
.checkout-card-header {
    flex-shrink: 0;
    padding: 20px 20px 8px 20px;
    position: relative;
    z-index: 10;
}

/* Header & Close Button */
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
}

.checkout-close-btn {
    width: 38px;
    height: 38px;
    background: rgba(35, 44, 69, 0.8);
    border: 1px solid rgba(92, 98, 131, 0.3);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-close-btn:hover {
    background: #232C45;
}

/* Stepper Progress Bar */
.checkout-stepper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
    margin: 6px 0 12px;
}

.stepper-line {
    position: absolute;
    top: 14px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: rgba(92, 98, 131, 0.3);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #141D31;
    border: 1px solid rgba(92, 98, 131, 0.5);
    color: #A0A5B5;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.step-item.active .step-circle {
    background: #FFEABD;
    color: #0A0E19;
    border-color: #FFEABD;
    box-shadow: 0 0 10px rgba(255, 234, 189, 0.4);
}

.step-label {
    font-family: 'Urbanist', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #A0A5B5;
    text-align: center;
}

.step-item.active .step-label {
    color: #FFFFFF;
    font-weight: 600;
}

/* Scrollable Body Container (Starts BELOW header, so scrollbar never hits top curve) */
.checkout-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    /* CRITICAL: Enables proper flex shrinking and scrolling */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 16px 16px 20px;
    margin-right: 4px;
    /* Keeps scrollbar 4px inside the card's right wall */
}

/* Section Headings inside Popup */
.checkout-section-head {
    margin-bottom: 10px;
}

.checkout-section-head h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.checkout-section-head p {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    color: #A0A5B5;
}

/* Product Item Cards List */
.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(27, 38, 64, 0.6);
    border: 1px solid rgba(92, 98, 131, 0.25);
    border-radius: 16px;
    padding: 10px 12px;
}

.checkout-prod-img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    background: #141E3A;
    flex-shrink: 0;
}

.checkout-prod-info {
    flex: 1;
    min-width: 0;
}

.checkout-prod-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.checkout-prod-specs {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    color: #A0A5B5;
}

.checkout-prod-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.checkout-prod-price {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Quantity Control pill */
.quantity-pill-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 23, 40, 0.8);
    border: 1px solid rgba(92, 98, 131, 0.3);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    color: #FFFFFF;
}

.quantity-pill-btn button {
    background: transparent;
    border: none;
    color: #A0A5B5;
    cursor: pointer;
    font-size: 13px;
    padding: 0 2px;
}

.quantity-pill-btn button:hover {
    color: #FFEABD;
}

/* Add More Products Button Under Product Items List */
.checkout-add-more-btn {
    width: 100%;
    height: 42px;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(27, 38, 64, 0.45);
    border: 1px dashed rgba(255, 234, 189, 0.45);
    border-radius: 14px;
    color: #FFEABD;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.checkout-add-more-btn:hover {
    background: rgba(255, 234, 189, 0.12);
    border-color: #FFEABD;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.checkout-add-more-btn:active {
    transform: translateY(0);
}

.checkout-add-more-btn svg {
    stroke: currentColor;
    transition: transform 0.25s ease;
}

.checkout-add-more-btn:hover svg {
    transform: rotate(90deg);
}

/* Price Details Box */
.price-summary-box {
    background: rgba(20, 29, 49, 0.5);
    border: 1px solid rgba(92, 98, 131, 0.2);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.price-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #A0A5B5;
}

.price-row-item.discount-green {
    color: #2ED573;
}

.price-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

.price-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Promo Code Box */
.promo-code-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background: rgba(27, 38, 64, 0.5);
    border: 1px solid rgba(92, 98, 131, 0.25);
    border-radius: 14px;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.promo-code-btn:hover {
    background: rgba(35, 48, 80, 0.6);
}

/* Trust Badges Row */
.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 0;
    text-align: center;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-badge-item img,
.trust-badge-item svg {
    width: 18px;
    height: 18px;
}

.trust-badge-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #FFFFFF;
}

.trust-badge-desc {
    font-family: 'Urbanist', sans-serif;
    font-size: 9px;
    color: #A0A5B5;
}

/* Column spacing for price details on mobile */
.checkout-price-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

/* Floating Action Footer (Fixed Floating at Bottom with Frosted Glass Blur, No Shadow, Generous Bottom Margin) */
.checkout-floating-footer {
    position: sticky;
    bottom: 0;
    margin: 12px -16px 0 -20px;
    padding: 12px 20px 22px 20px;
    /* 22px bottom space lifted up from the edge */
    background: linear-gradient(180deg, rgba(14, 21, 38, 0.05) 0%, rgba(12, 18, 33, 0.85) 30%, rgba(10, 14, 25, 0.98) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    z-index: 20;
    box-sizing: border-box;
}

/* Continue Primary CTA Button - No Shadow, Pure Theme Colors */
.checkout-continue-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(180deg, #F1D9B8 0%, #A88452 100%);
    border: none;
    border-radius: 14px;
    color: #0A0E19;
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: none !important;
    /* Zero shadow */
    transition: transform 0.2s, opacity 0.2s;
}

.checkout-continue-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* ==========================================
   CHECKOUT STEP 2 - SHIPPING DETAILS STYLES
   ========================================== */

/* Step View Transitions */
.checkout-step-view {
    width: 100%;
}

/* Back Step Button */
.checkout-back-step-btn {
    background: rgba(35, 44, 69, 0.6);
    border: 1px solid rgba(92, 98, 131, 0.3);
    border-radius: 10px;
    padding: 4px 12px;
    color: #FFEABD;
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.checkout-back-step-btn:hover {
    background: #232C45;
    color: #FFFFFF;
    border-color: #FFEABD;
}

/* Form Input Styling */
.shipping-form-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .input-group-row {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #A0A5B5;
}

.form-label span.req {
    color: #FF5A5A;
}

.form-input {
    width: 100%;
    height: 42px;
    background: rgba(16, 23, 40, 0.7);
    border: 1px solid rgba(92, 98, 131, 0.35);
    border-radius: 12px;
    padding: 0 14px;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #FFEABD;
}

/* Phone Field with Flag Picker */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(16, 23, 40, 0.7);
    border: 1px solid rgba(92, 98, 131, 0.35);
    border-radius: 12px;
    height: 42px;
    padding: 0 10px;
    gap: 8px;
    box-sizing: border-box;
}

.flag-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #FFFFFF;
    cursor: pointer;
    padding-right: 6px;
    border-right: 1px solid rgba(92, 98, 131, 0.3);
    white-space: nowrap;
}

.flag-icon {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    width: 100%;
}

/* Custom Select Dropdown */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #A0A5B5;
    font-size: 12px;
}

/* Stepper Checkmark Circle for Completed Step 1 */
.step-circle.completed,
.step-item.completed .step-circle {
    background: #FFEABD;
    color: #0A0E19;
    border-color: #FFEABD;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 234, 189, 0.4);
}

.step-item.completed .step-label {
    color: #FFEABD;
    font-weight: 600;
}

/* Summary Card Compact Mode inside Step 2 */
.summary-compact-card {
    background: rgba(20, 29, 49, 0.5);
    border: 1px solid rgba(92, 98, 131, 0.25);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compact-items-scroll-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 175px;
    overflow-y: auto;
    padding-right: 4px;
}

.compact-items-scroll-box::-webkit-scrollbar {
    width: 4px;
}

.compact-items-scroll-box::-webkit-scrollbar-track {
    background: rgba(16, 23, 40, 0.3);
    border-radius: 10px;
}

.compact-items-scroll-box::-webkit-scrollbar-thumb {
    background: #FFEABD;
    border-radius: 10px;
}

.compact-items-scroll-box {
    scrollbar-width: thin;
    scrollbar-color: #FFEABD rgba(16, 23, 40, 0.3);
}

.summary-compact-item,
.compact-item-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.compact-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compact-item-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: #141E3A;
    flex-shrink: 0;
}

.compact-item-details {
    display: flex;
    flex-direction: column;
}

.compact-item-name {
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
}

.compact-item-sub {
    font-size: 10px;
    color: #A0A5B5;
}

.compact-item-price {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: right;
}

.compact-item-qty {
    font-size: 10px;
    color: #A0A5B5;
    text-align: right;
}

/* ==========================================
   DESKTOP BADA POPUP GRID LAYOUT (>= 1024px)
   ========================================== */
@media (min-width: 1024px) {
    .checkout-modal-backdrop {
        padding-top: clamp(24px, 4.5vh, 48px);
    }

    .checkout-modal-card {
        max-width: 860px;
        /* Bada desktop modal width */
        max-height: 88vh;
        padding: 0;
    }

    .checkout-card-header {
        padding: 26px 28px 10px 28px;
    }

    .checkout-modal-body {
        padding: 4px 20px 26px 28px;
        margin-right: 6px;
    }

    .checkout-price-col {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: 100%;
    }

    .desktop-checkout-grid {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 24px;
        align-items: stretch;
    }

    .pdp-items-scroll-box {
        max-height: 380px;
        overflow-y: auto;
        padding-right: 8px;
    }

    .checkout-floating-footer {
        position: static;
        margin: auto 0 0 0;
        /* Aligns CTA buttons to exact same bottom position on desktop */
        padding: 6px 0 0 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
    }
}

/* ============================================================================
   HYPE CUSTOM GLASSMORPHIC SELECT DROPDOWNS & CONFIRM/ALERT MODALS
   ============================================================================ */

/* Hide native select when enhanced */
.custom-select-native-hidden {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Elevate parent card when dropdown is open to prevent stacking context clipping */
.admin-card.has-open-dropdown,
.homepage-section-card.has-open-dropdown,
.attention-banner-card.has-open-dropdown,
.card.has-open-dropdown {
    z-index: 999 !important;
    position: relative !important;
}

/* Custom Select Container */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}

.custom-select-wrapper.open,
.custom-select-wrapper.is-open {
    z-index: 9999 !important;
    position: relative !important;
}

/* Custom Select Trigger Button */
.custom-select-trigger {
    width: 100%;
    min-height: 42px;
    background: rgba(18, 27, 48, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 9px 14px;
    color: #F8FAFC;
    font-size: 13.5px;
    font-weight: 500;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-align: left;
}

.custom-select-trigger:hover {
    background: rgba(26, 38, 66, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background: rgba(15, 23, 42, 0.95);
}

.custom-select-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.custom-select-chevron {
    flex-shrink: 0;
    color: #94A3B8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-select-wrapper.open .custom-select-chevron {
    transform: rotate(180deg);
    color: #60A5FA;
}

/* Dropdown Menu */
.custom-select-dropdown,
.custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 100%;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.15);
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    z-index: 10000 !important;
    display: none;
    padding: 6px;
    box-sizing: border-box;
    animation: customSelectFadeIn 0.15s ease-out;
}

@keyframes customSelectFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-select-wrapper.open .custom-select-dropdown,
.custom-select-wrapper.is-open .custom-select-dropdown,
.custom-select-wrapper.open .custom-select-menu,
.custom-select-wrapper.is-open .custom-select-menu {
    display: block;
}

/* Dropdown Option */
.custom-select-option {
    padding: 9px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    color: #CBD5E1;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.custom-select-option:hover {
    background: rgba(59, 130, 246, 0.16);
    color: #FFFFFF;
}

.custom-select-option.selected {
    background: rgba(37, 99, 235, 0.28);
    color: #60A5FA;
    font-weight: 600;
}

.custom-select-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.custom-select-check {
    display: none;
    color: #60A5FA;
    flex-shrink: 0;
}

.custom-select-option.selected .custom-select-check {
    display: block;
}

/* ============================================================================
   GLASSMORPHIC CONFIRMATION & ALERT MODALS
   ============================================================================ */
.hype-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

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

.hype-modal-dialog {
    width: 100%;
    max-width: 440px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(37, 99, 235, 0.2);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.hype-modal-dialog.active {
    transform: scale(1) translateY(0);
}

.hype-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hype-modal-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hype-modal-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hype-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.hype-modal-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #F8FAFC;
    margin: 0 0 6px 0;
}

.hype-modal-message {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
}

.hype-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.hype-btn-modal-cancel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hype-btn-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.hype-btn-modal-confirm {
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    color: #FFFFFF;
}

.hype-btn-modal-confirm.danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.hype-btn-modal-confirm.danger:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.hype-btn-modal-confirm.primary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.hype-btn-modal-confirm.primary:hover {
    background: linear-gradient(135deg, #1D4ED8, #1E40AF);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

/* ==========================================================================
   Custom Searchable State / UT Dropdown
   ========================================================================== */
.custom-state-dropdown-wrapper {
  position: relative;
  width: 100%;
}

.custom-state-dropdown-wrapper.open {
  z-index: 9999 !important;
}

.custom-state-trigger {
  width: 100%;
  height: 44px;
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
}

.custom-state-trigger:focus,
.custom-state-dropdown-wrapper.open .custom-state-trigger {
  border-color: var(--gold, #FFEABD);
  box-shadow: 0 0 0 3px rgba(255, 234, 189, 0.15);
}

.state-selected-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #64748B;
}

.state-selected-text.selected {
  color: #FFFFFF;
  font-weight: 600;
}

.state-dropdown-arrow {
  color: #94A3B8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.custom-state-dropdown-wrapper.open .state-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--gold, #FFEABD);
}

.custom-state-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(12, 19, 36, 0.98);
  border: 1px solid rgba(92, 98, 131, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 20px rgba(37, 99, 235, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 12px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 9999 !important;
  max-height: 280px;
}

.custom-state-menu.open {
  display: flex;
}

.state-search-container {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.98);
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.state-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 13, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0 10px;
  height: 36px;
}

.state-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 13px;
  font-family: inherit;
}

.state-search-input::placeholder {
  color: #64748B;
}

.state-options-list {
  overflow-y: auto;
  max-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 4px;
}

.state-option-item {
  padding: 9px 12px;
  font-size: 13px;
  color: #CBD5E1;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.state-option-item:hover,
.state-option-item.highlighted {
  background: rgba(255, 234, 189, 0.12);
  color: #FFEABD;
}

.state-option-item.selected {
  background: rgba(37, 99, 235, 0.25);
  color: #FFFFFF;
  font-weight: 700;
}

.state-option-empty {
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
  color: #94A3B8;
}



/* ==========================================================================
   SIGNATURE HYPE RESPONSIVE FOOTER (Desktop & Mobile)
   Transparent Ambient Backdrop, Tapered Diamond/Lens Dividers, Single Component
   ========================================================================== */

.hype-footer {
  position: relative;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #F8FAFC;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 48px;
  z-index: 10;
}

.hype-footer::before,
.hype-footer::after {
  display: none !important;
}

/* ==========================================================================
   TAPERED DIAMOND / LENS DIVIDERS (Horizontal, Vertical & Mobile Flanks)
   Center-swelling gradient lines fading seamlessly to transparent points
   ========================================================================== */

.tapered-line-horizontal {
  width: 100%;
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(232, 197, 142, 0.45) 0%, rgba(255, 255, 255, 0.2) 45%, transparent 85%);
  clip-path: polygon(0% 50%, 50% 0%, 100% 50%, 50% 100%);
  margin: 0 auto;
}

.footer-top-line {
  margin-bottom: 0;
}

.footer-bottom-line {
  margin-top: 24px;
  margin-bottom: 24px;
}

.tapered-line-vertical {
  width: 2px;
  height: auto;
  min-height: 140px;
  background: radial-gradient(ellipse at center, rgba(232, 197, 142, 0.42) 0%, rgba(255, 255, 255, 0.18) 50%, transparent 88%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  margin: 0 16px;
  flex-shrink: 0;
  align-self: stretch;
}

.tapered-flank-line {
  width: 48px;
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(232, 197, 142, 0.6) 0%, rgba(255, 255, 255, 0.25) 45%, transparent 85%);
  clip-path: polygon(0% 50%, 50% 0%, 100% 50%, 50% 100%);
  flex-shrink: 0;
}

.hype-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 40px 32px;
  position: relative;
  z-index: 1;
}

/* 5-Zone Desktop Flex Layout (>= 1024px) */
.hype-footer-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 32px;
}

.footer-col-brand {
  flex: 2.4;
  min-width: 340px;
  max-width: 400px;
  padding-right: 28px;
  box-sizing: border-box;
}

.desktop-footer-links-col {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  box-sizing: border-box;
}

.desktop-social-col {
  flex: 1.3;
  min-width: 200px;
  padding-left: 16px;
  box-sizing: border-box;
}

/* Brand & Tagline */
.footer-brand-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-link {
  display: inline-block;
  text-decoration: none;
}

.footer-brand-logo,
.hype-footer .footer-brand-logo {
  height: 76px !important;
  width: auto !important;
  max-width: 280px !important;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  margin-left: -21px !important;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #CBD5E1;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 22px;
}

.footer-accent-line {
  display: none !important;
}

/* Newsletter Block */
.footer-newsletter-box {
  width: 100%;
}

.footer-newsletter-title {
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.footer-newsletter-sub {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 380px;
}

.footer-newsletter-form,
form.hype-footer-newsletter {
  position: relative;
  max-width: 440px;
  width: 100%;
}

.footer-pill-input-box {
  display: flex;
  align-items: center;
  background: rgba(11, 17, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 4px 4px 4px 14px;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
  width: 100%;
}

.footer-pill-input-box:focus-within {
  border-color: rgba(232, 197, 142, 0.6);
  box-shadow: 0 0 16px rgba(232, 197, 142, 0.22);
  background: rgba(15, 23, 42, 0.95);
}

.footer-input-icon {
  width: 18px;
  height: 18px;
  color: #94A3B8;
  margin-right: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #F8FAFC;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 10px 10px 8px;
  text-overflow: ellipsis;
}

.footer-newsletter-input::placeholder {
  color: #64748B;
}

.footer-subscribe-btn {
  background: #E8C58E;
  color: #0B1120;
  border: none;
  border-radius: 9999px;
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(232, 197, 142, 0.25);
}

.footer-subscribe-btn:hover {
  background: #F3D9AF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 197, 142, 0.4);
}

.footer-subscribe-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.footer-newsletter-msg {
  font-size: 12px;
  margin-top: 8px;
  padding-left: 14px;
  display: none;
  line-height: 1.4;
}

.footer-newsletter-msg.success {
  display: block;
  color: #4ADE80;
}

.footer-newsletter-msg.error {
  display: block;
  color: #F87171;
}

/* Nav Column Headers & Links */
.footer-col-header {
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #E8C58E;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94A3B8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.18s ease;
  display: inline-block;
  line-height: 1.4;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Social Column (FOLLOW THE HYPE - Desktop) */
.footer-social-header {
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #F8FAFC;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap !important;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 197, 142, 0.5);
  color: #E8C58E;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
}

/* Bottom Legal & Agency Credit Bar (No Payment Icons, Tapered Separation) */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.footer-copyright {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-credit-box {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #94A3B8;
  text-transform: uppercase;
}

.footer-credit-link {
  color: #E8C58E;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.2s ease;
}

.footer-credit-link:hover {
  color: #F3D9AF;
  text-shadow: 0 0 10px rgba(232, 197, 142, 0.45);
}

/* ==========================================================================
   MOBILE RESPONSIVE LAYOUT (< 1024px)
   ========================================================================== */

@media (max-width: 1023px) {
  .hype-footer {
    margin-top: 36px;
    border-radius: 0;
  }

  .hype-footer-inner {
    padding: 32px 16px 24px;
  }

  .hype-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
  }

  .footer-col-brand {
    padding-right: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Desktop-only columns and dividers hidden on mobile */
  .desktop-divider,
  .desktop-footer-links-col,
  .desktop-social-col {
    display: none !important;
  }

  /* Mobile Centered Brand Box */
  .footer-brand-box {
    text-align: center;
    align-items: center;
  }

  .footer-brand-logo,
  .hype-footer .footer-brand-logo {
    height: 82px !important;
    width: auto !important;
    max-width: 290px !important;
    object-fit: contain;
    margin: 0 auto !important;
    display: block;
    image-rendering: -webkit-optimize-contrast;
  }

  .footer-tagline {
    margin-top: 12px;
    margin-bottom: 22px !important;
  }

  .footer-accent-line {
    display: none !important;
  }

  /* Mobile Newsletter Box */
  .footer-newsletter-box {
    text-align: left;
  }

  .footer-newsletter-title {
    font-size: 20px;
  }

  .footer-newsletter-form,
  form.hype-footer-newsletter {
    max-width: 100%;
  }

  /* Mobile 3-Column Links Row (SHOP, HELP, ABOUT) with Tapered Dividers */
  .mobile-links-row {
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    padding: 20px 0;
    margin: 0;
  }

  .mobile-links-col {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .mobile-links-col:first-child {
    padding-left: 0;
  }

  .mobile-links-col:last-child {
    padding-right: 0;
  }

  .mobile-links-divider {
    min-height: 120px;
    margin: 0 6px;
  }

  .mobile-links-col .footer-col-header {
    font-size: 11.5px;
    margin-bottom: 12px;
  }

  .mobile-links-col .footer-links-list {
    gap: 9px;
  }

  .mobile-links-col .footer-link {
    font-size: 12px;
  }

  /* Mobile Centered Social Section with Tapered Flanks */
  .footer-mobile-social-section {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 16px 0;
  }

  .social-header-flanked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .social-header-flanked span {
    font-family: 'Urbanist', -apple-system, sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #F8FAFC;
    text-transform: uppercase;
  }

  .footer-mobile-social-section .footer-social-row {
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap !important;
  }

  /* Mobile Bottom Bar */
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 6px;
  }

  .footer-copyright {
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .footer-credit-box {
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }
}

/* Mobile Railing Clearance Overrides (Right-Handed & Left-Handed Modes) */
@media (max-width: 1023px) {
  body:not(.left-handed-mode) .hype-footer.standalone-footer {
    margin-right: 85px !important;
    margin-left: 0 !important;
    width: calc(100% - 85px) !important;
  }

  .left-handed-mode .hype-footer.standalone-footer {
    margin-left: 85px !important;
    margin-right: 0 !important;
    width: calc(100% - 85px) !important;
  }
}

/* Desktop Hide Mobile-Only Blocks */
@media (min-width: 1024px) {
  .mobile-links-row,
  .footer-mobile-social-section {
    display: none !important;
  }
}

/* ==========================================================================
   FOOTER INFORMATIONAL MODALS (Contact Us, FAQs, Shipping, Size Guide, Legal)
   Dark-Glassmorphic Editorial Architecture
   ========================================================================== */

.footer-info-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(5, 9, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.footer-info-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.footer-info-modal-card {
  background: rgba(11, 18, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.footer-info-modal-backdrop.active .footer-info-modal-card {
  transform: translateY(0) scale(1);
}

.footer-info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-info-modal-title {
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0;
}

.footer-info-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.footer-info-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.footer-info-modal-body {
  padding: 24px;
  overflow-y: auto;
  color: #CBD5E1;
  font-size: 13.5px;
  line-height: 1.65;
}

/* Contact Us Inquiry Form inside Modal */
.inquiry-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.inquiry-form-label {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inquiry-form-input,
.inquiry-form-textarea {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #F8FAFC;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease;
}

.inquiry-form-input:focus,
.inquiry-form-textarea:focus {
  border-color: rgba(232, 197, 142, 0.6);
  background: rgba(20, 30, 55, 0.95);
}

.inquiry-form-textarea {
  min-height: 90px;
  resize: vertical;
}

.inquiry-submit-btn {
  background: #E8C58E;
  color: #0B1120;
  border: none;
  border-radius: 8px;
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.inquiry-submit-btn:hover {
  background: #F3D9AF;
}

.inquiry-form-msg {
  font-size: 12px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  display: none;
}
.inquiry-form-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.inquiry-form-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   SKELETON SHIMMER LOADERS & PROGRESSIVE PAGINATION
   ========================================================================== */
@keyframes hypeShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hype-skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

.hype-skeleton-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(90deg, #141418 25%, #1e1e26 50%, #141418 75%);
  background-size: 200% 100%;
  animation: hypeShimmer 1.4s infinite linear;
}

.hype-skeleton-line {
  height: 12px;
  margin: 0 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #141418 25%, #1e1e26 50%, #141418 75%);
  background-size: 200% 100%;
  animation: hypeShimmer 1.4s infinite linear;
}

.hype-skeleton-line.short {
  width: 45%;
  height: 10px;
}

.hype-card-fade-in {
  animation: hypeCardFadeIn 0.28s ease-out forwards;
}

@keyframes hypeCardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hype-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 0 12px;
  width: 100%;
}

.hype-load-more-btn {
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hype-load-more-btn:hover:not(:disabled) {
  background: #ffffff;
  color: #0a0a0c;
}

.hype-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   PDP SKELETON SHIMMER LOADING STATE
   ========================================================================== */
.product-page-wrapper.pdp-loading {
  position: relative;
  pointer-events: none;
}

.product-page-wrapper.pdp-loading .pdp-main-image-box,
.product-page-wrapper.pdp-loading .thumb-img,
.product-page-wrapper.pdp-loading .pdp-title,
.product-page-wrapper.pdp-loading .price-main,
.product-page-wrapper.pdp-loading .pdp-description-box {
  background: linear-gradient(90deg, #121726 25%, #1a2138 50%, #121726 75%) !important;
  background-size: 200% 100% !important;
  animation: hypeShimmer 1.4s infinite linear !important;
  border-radius: 8px;
  color: transparent !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.product-page-wrapper.pdp-loading .pdp-main-image-box {
  aspect-ratio: 1 / 1;
  min-height: 340px;
}

.product-page-wrapper.pdp-loading .pdp-main-image-box img,
.product-page-wrapper.pdp-loading .thumb-img,
.product-page-wrapper.pdp-loading .zoom-btn {
  opacity: 0 !important;
  visibility: hidden !important;
}

.product-page-wrapper.pdp-loading .pdp-title {
  height: 38px;
  width: 75%;
  max-width: 380px;
  margin-bottom: 12px;
}

.product-page-wrapper.pdp-loading .price-main {
  display: inline-block;
  height: 32px;
  width: 140px;
}

.product-page-wrapper.pdp-loading .pdp-description-box {
  height: 60px;
  width: 100%;
}

.product-page-wrapper.pdp-loading .price-strike,
.product-page-wrapper.pdp-loading .price-save-tag,
.product-page-wrapper.pdp-loading .pdp-desktop-badge,
.product-page-wrapper.pdp-loading .pdp-mobile-bar .trending-pill,
.product-page-wrapper.pdp-loading .pdp-meta-row {
  visibility: hidden !important;
}

/* ==========================================================================
   PDP MOBILE RAILING CLEAN ANCHOR ABOVE BOTTOM STICKY ACTION BAR
   ========================================================================== */
@media (max-width: 1023px) {
  body.pdp-page .mobile-railing {
    height: calc(var(--vvh, 100dvh) - 94px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 94px);
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  body.pdp-page .mobile-railing .rail-top,
  body.pdp-page .mobile-railing .rail-main {
    gap: 6px;
  }

  body.pdp-page .mobile-railing .rail-item {
    gap: 2px;
  }

  body.pdp-page .mobile-railing .rail-item span {
    font-size: 10px;
  }

  @media (max-height: 740px) {
    body.pdp-page .mobile-railing {
      height: calc(var(--vvh, 100dvh) - 86px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
      max-height: calc(100dvh - 86px);
      bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
    body.pdp-page .mobile-railing .rail-top,
    body.pdp-page .mobile-railing .rail-main {
      gap: 4px;
    }
    body.pdp-page .mobile-railing .rail-item img,
    body.pdp-page .mobile-railing .rail-item svg {
      transform: scale(0.88);
    }
    body.pdp-page .mobile-railing .rail-item span {
      font-size: 9px;
    }
  }

  .mobile-sticky-buy-bar,
  .pdp-sticky-bar,
  .mobile-buy-bar {
    z-index: 1002;
  }
}
