/* =========================================
   PREMIUM HERO BANNER STYLES
========================================= */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--black);
}

/* --- PURE CSS SLIDER TRACK --- */
.hero-bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    animation: premiumCrossfade 24s infinite ease-in-out;
}

.hero-slide video,
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Staggered animation delays for 4 distinct background states */
.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-slide:nth-child(4) {
    animation-delay: 18s;
}

@keyframes premiumCrossfade {

    0%,
    4% {
        opacity: 0;
        transform: scale(1.05);
    }

    8%,
    25% {
        opacity: 1;
        transform: scale(1);
        /* Smooth subtle pull-back zoom effect */
    }

    29%,
    100% {
        opacity: 0;
        transform: scale(0.98);
    }
}

/* --- SOPHISTICATED OVERLAY & VIGNETTE --- */
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Soft split-radial darkening pattern ensures center video details pop while stabilizing white text readability */
    background: radial-gradient(circle, rgba(21, 11, 63, 0.1) 0%, rgba(11, 5, 36, 0.5) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

/* --- ALIGNED HERO CONTENT CONTAINER --- */
.hero-content-container {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    padding: 0 var(--space-md);
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Entrance Animations on initial page load */
.hero-tagline,
.hero-title,
.hero-description,
.hero-action-row {
    opacity: 0;
    transform: translateY(20px);
    animation: heroElementFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tagline {
    font-family: var(--font-secondary);
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.95);
    animation-delay: 0.2s;
}

/* Massive display headline inspired by NURFIA design */
.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(60px, 11vw, 160px);
    font-weight: var(--fw-bold);
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    color: var(--white);
    mix-blend-mode: overlay;
    /* Softly blends with moving video behind it */
    animation-delay: 0.4s;
}

/* Fallback fix if mix-blend-mode becomes unreadable over complex clips */
@supports (mix-blend-mode: overlay) {
    .hero-title {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

.hero-description {
    font-family: var(--font-secondary);
    font-size: var(--fs-sm);
    line-height: var(--lh-md);
    font-weight: var(--fw-light);
    max-width: 580px;
    margin: 0 auto var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    animation-delay: 0.6s;
}

.hero-action-row {
    animation-delay: 0.8s;
}

/* Premium Minimalist Button Layout */
.hero-primary-btn {
    font-family: var(--font-secondary);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 2px;
    color: var(--black);
    background-color: var(--white);
    text-decoration: none;
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--white);
    transition: var(--transition);
    display: inline-block;
}

.hero-primary-btn:hover {
    background-color: transparent;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* --- SCREENSHOT LAYOUT DECORATIONS (ARROWS & DOTS) --- */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.hero-nav-arrow:hover {
    color: var(--white);
}

.arrow-left {
    left: var(--space-md);
}

.arrow-right {
    right: var(--space-md);
}

.hero-dots-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: var(--space-sm);
}

.hero-dots-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

/* Simulated loop highlight via pure synchronized CSS */
.hero-dots-indicator .dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Global Keyframe Entrance */
@keyframes heroElementFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- BANNER RESPONSIVE SCALING --- */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: var(--fs-xs);
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: var(--fs-xs);
        max-width: 90%;
    }

    .hero-nav-arrow {
        display: none;
        /* Hide edge arrows on mobile devices for modern interface cleaner look */
    }

    .hero-dots-indicator {
        bottom: calc(var(--space-lg) + 50px);
        /* Push up above the mobile app bar space */
    }
}

/* =========================================
   PRODUCT SLIDER STYLING ENGINE
========================================= */
:root {
    --ps-bg: #ffffff;
    --ps-text-main: #111111;
    --ps-text-muted: #888888;
    --ps-text-light: #cccccc;
    --ps-star-color: #eab308;
    --ps-image-bg: #f4f4f4;
}

.product-section {
    background-color: var(--ps-bg);
    padding: 80px 0;
    font-family: var(--font-secondary, sans-serif);
    color: var(--ps-text-main);
    overflow: hidden;
    /* Prevents fractional layout page bleeds */
}

.product-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.section-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0;
}

.section-nav {
    display: flex;
    gap: 25px;
}

.section-nav a {
    text-decoration: none;
    color: var(--ps-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.section-nav a:hover,
.section-nav a.active {
    color: var(--ps-text-main);
}

/* Horizontal Track Config for 10-Element Architecture */
.product-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide for Firefox */
    -ms-overflow-style: none;
    /* Hide for IE/Edge */
    padding-bottom: 25px;
}

.product-slider::-webkit-scrollbar {
    display: none;
    /* Hide for Chrome/Safari */
}

/* Flexible Matrix - Keeps layout perfectly responsive */
.product-card {
    flex: 0 0 calc(25% - 18px);
    /* Locks exactly 4 cards into view on ultra wide desktop display */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ps-text-main);
}

.product-image-wrapper {
    border-radius: 10px;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Editorial fashion sizing proportionality */
    background-color: var(--ps-image-bg);
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* Floating Metrics Discount Tags */
.badge {
    border-radius: 10px;
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffffff;
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 8px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Text Meta Properties block */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Prevents uneven text warping on layout blocks */
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 15px;
    font-weight: 600;
}

.price-old {
    font-size: 14px;
    color: var(--ps-text-light);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    color: var(--ps-star-color);
    font-size: 13px;
    letter-spacing: 1px;
}

.rating-score {
    font-size: 12px;
    font-weight: 600;
    margin-left: 2px;
}

.rating-count {
    font-size: 12px;
    color: var(--ps-text-muted);
}

/* =========================================
   RESPONSIVE MATRIX MEDIA QUERIES
========================================= */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(33.333% - 16px);
        /* 3 Columns Visible */
    }
}

@media (max-width: 900px) {
    .product-container {
        padding: 0 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .product-card {
        flex: 0 0 calc(50% - 12px);
        /* 2 Columns Visible */
    }
}

@media (max-width: 600px) {
    .product-slider {
        gap: 16px;
    }

    .product-card {
        flex: 0 0 82%;
        /* Displays 1 full card + a visual edge hint of product 2 to indicate horizontal swipe */
    }

    .product-image-wrapper {
        aspect-ratio: 4 / 5;
    }
}

/* Update your existing .product-slider block to include the cursor properties */
.product-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 25px;

    /* Add these two lines */
    cursor: grab;
}

/* Add this new block to change the cursor when clicking */
.product-slider:active {
    cursor: grabbing;
}

/* =========================================
   SLIDER ARROWS
========================================= */
.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-arrow {
    position: absolute;
    top: 40%;
    /* Slightly above center to align with images, not text */
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.9;
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-arrow {
    left: -25px;
    /* Pulls it slightly outside the content box */
}

.next-arrow {
    right: -25px;
}

/* Hide arrows on mobile since touch-swiping is native and arrows clutter small screens */
@media (max-width: 900px) {
    .slider-arrow {
        display: none;
    }
}

/* =========================================
   PREMIUM CATEGORY SECTION ENGINE
========================================= */
.category-section {
    background-color: #ffffff;
    padding: 60px 0;
    /* font-family: var(--font-secondary, sans-serif); */
    overflow: hidden;
}

.category-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Styling */
.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-header .section-title {
    font-size: clamp(32px, 4vw, 42px);
    font-family: var(--font-primary, serif);
    font-weight: 600;
    color: #111111;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.category-header .section-subtitle {
    font-size: 16px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   BENTO-BOX GRID LAYOUT
========================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 340px;
    gap: 24px;
}

.category-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.category-card.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.category-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    background-color: #f4f4f4;
    isolation: isolate;
    /* Hardware acceleration for smooth scaling */
    -webkit-transform: translateZ(0);
}

/* =========================================
   IMAGE & PREMIUM OVERLAYS
========================================= */
.category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smoothed luxury gradient */
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0) 100%);
    opacity: 0.7;
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* =========================================
   TEXT CONTENT & HOVER DYNAMICS
========================================= */
.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Base position pushed down slightly */
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

.category-link {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    /* Hidden by default for clean look */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-link .arrow {
    transition: transform 0.3s ease;
}

/* HOVER TRIGGERS */
.category-card:hover .category-image img {
    transform: scale(1.08);
    /* Slow, deep zoom */
}

.category-card:hover .category-overlay {
    opacity: 0.9;
}

.category-card:hover .category-content {
    transform: translateY(0);
    /* Slides whole block up */
}

.category-card:hover .category-link {
    opacity: 1;
    /* Fades in the CTA */
    transform: translateY(0);
}

.category-card:hover .category-link .arrow {
    transform: translateX(6px);
}

/* =========================================
   SCROLL REVEAL (Updated to default visible)
========================================= */
.reveal-on-scroll {
    opacity: 1;
    /* Changed from 0 to 1 so it is always visible */
    transform: translateY(0);
    /* Removed the 40px drop */
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE MATRIX
========================================= */
@media (max-width: 1024px) {
    .category-container {
        padding: 0 20px;
    }

    .category-grid {
        gap: 16px;
        grid-auto-rows: 300px;
    }

    .category-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .category-section {
        padding: 80px 0;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }

    .category-card.large,
    .category-card.wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* On mobile, we show the link by default since hover doesn't exist */
    .category-content {
        transform: translateY(0);
    }

    .category-link {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
    }

    .category-card.large,
    .category-card.wide {
        grid-column: span 1;
    }

    .category-content {
        padding: 25px;
    }
}

/* =========================================
   MINIMAL PREMIUM LOGO MARQUEE
========================================= */
:root {
    --ml-bg: #ffffff;
    --ml-text: #111111;
    --ml-text-muted: #888888;
    --ml-gap: 80px;
    --ml-speed: 30s;
}

.minimal-logo-section {
    background-color: var(--ml-bg);
    padding: 80px 0;
    overflow: hidden;
    font-family: var(--font-primary, system-ui, sans-serif);
}

.minimal-logo-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.minimal-logo-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ml-text-muted);
    margin-bottom: 50px;
}

/* =========================================
   THE WRAPPER (Fading Edges)
========================================= */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Creates the smooth fade-out on the left and right edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* =========================================
   THE TRACK (Infinite Loop)
========================================= */
.marquee-track {
    display: flex;
    align-items: center;
    gap: var(--ml-gap);
    width: max-content;
    animation: scrollMinimal var(--ml-speed) linear infinite;
    padding: 10px 0;
    /* Prevents hover scale from getting cut off */
}

/* Pause the animation gently on hover */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* =========================================
   THE ITEMS & HOVER EFFECTS
========================================= */
.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--ml-text-muted);
    letter-spacing: -0.5px;
    white-space: nowrap;
    cursor: pointer;

    /* Smooth transition for the hover effects */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* If you are using actual images instead of text: */
.marquee-item img {
    height: 35px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* 
  THE MAGIC: 
  1. When hovering the track, dim ALL items slightly.
  2. The specific item being hovered gets brightened and scaled.
*/
.marquee-track:hover .marquee-item {
    opacity: 0.3;
}

.marquee-track .marquee-item:hover {
    opacity: 1;
    color: var(--ml-text);
    transform: scale(1.08);
}

.marquee-track .marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   KEYFRAMES
========================================= */
@keyframes scrollMinimal {
    0% {
        transform: translateX(0);
    }

    /* Shifts exactly half the width + half the gap for a flawless loop */
    100% {
        transform: translateX(calc(-50% - (var(--ml-gap) / 2)));
    }
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 768px) {
    :root {
        --ml-gap: 50px;
        /* Reduce gap on mobile */
    }

    .minimal-logo-section {
        padding: 60px 0;
    }

    .marquee-item {
        font-size: 20px;
    }

    .marquee-item img {
        height: 28px;
    }

    .marquee-wrapper {
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }
}

/* =========================================
   PREMIUM PRODUCT GRID VARIABLES
========================================= */
:root {
    --pg-bg: #ffffff;
    --pg-text-main: #111111;
    --pg-text-muted: #666666;
    --pg-border: #eeeeee;
    --pg-sale: #d94032;
    /* Elegant red for sales */
    --pg-font: var(--font-primary, system-ui, sans-serif);
}

/* =========================================
   GRID LAYOUT & HEADER
========================================= */
.premium-products-section {
    background-color: var(--pg-bg);
    padding: 60px 0;
    font-family: var(--pg-font);
}

.products-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--pg-border);
    padding-bottom: 20px;
}

.products-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--pg-text-main);
    margin: 0;
    letter-spacing: -0.5px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--pg-text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.view-all-link:hover {
    opacity: 0.6;
}

.view-all-link .arrow {
    transition: transform 0.3s ease;
}

.view-all-link:hover .arrow {
    transform: translateX(4px);
}

/* The 4-Column Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* =========================================
   PRODUCT CARD IMAGE & EFFECTS
========================================= */
.product-card {
    display: flex;
    flex-direction: column;
    group: product;
    /* Modern CSS nesting utility hook conceptually */
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Forces premium fashion proportions */
    background-color: #f7f7f7;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-link img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

/* =========================================
   BADGES & BUTTONS
========================================= */
.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 10px;
    background-color: var(--pg-text-main);
    color: #fff;
}

.badge.sale {
    background-color: var(--pg-sale);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: var(--pg-text-main);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.wishlist-btn svg {
    width: 18px;
    height: 18px;
    transition: fill 0.3s ease;
}

.wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.wishlist-btn:hover svg {
    fill: var(--pg-text-main);
}

/* Quick Add Bar */
.quick-add-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.btn-quick-add {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--pg-text-main);
    border: none;
    padding: 12px 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-quick-add:hover {
    background: var(--pg-text-main);
    color: #ffffff;
}

/* Hover Triggers for UI elements */
.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover .quick-add-bar {
    transform: translateY(0);
}

/* =========================================
   PRODUCT INFO TYPOGRAPHY
========================================= */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-name {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.product-name a {
    color: var(--pg-text-main);
    text-decoration: none;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    color: var(--pg-text-main);
}

.current-price.sale-text {
    color: var(--pg-sale);
}

.old-price {
    color: var(--pg-text-muted);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 13px;
}

/* Color Swatches */
.product-colors {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.swatch:hover {
    transform: scale(1.2);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 in a row for tablets */
    }
}

@media (max-width: 768px) {
    .products-container {
        padding: 0 20px;
    }

    .premium-products-section {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 in a row for mobile */
        gap: 15px;
    }

    /* On mobile, keep wishlist visible and remove Quick Add hover since there is no hover on touch */
    .wishlist-btn {
        opacity: 1;
        transform: none;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .quick-add-bar {
        display: none;
    }

    .product-name {
        font-size: 14px;
    }
}

/* =========================================
   PREMIUM FEATURES VARIABLES & THEMING
========================================= */
:root {
    /* Change these for Light/Dark mode integration */
    --bf-bg: #ffffff;
    --bf-text-main: #111111;
    --bf-text-muted: #777777;
    --bf-border: #eaeaea;
    --bf-font: var(--font-primary, system-ui, sans-serif);
}

/* =========================================
   LAYOUT & CONTAINER
========================================= */
.brand-features-section {
    background-color: var(--bf-bg);
    padding: 80px 0;
    border-top: 1px solid var(--bf-border);
    border-bottom: 1px solid var(--bf-border);
    font-family: var(--bf-font);
}

.features-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* =========================================
   FEATURE CARDS
========================================= */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--bf-text-main);
    opacity: 0.7;
    /* Soften the icon slightly by default */
    transition: all 0.4s ease;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bf-text-main);
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--bf-text-muted);
    margin: 0;
    max-width: 280px;
    /* Keeps text from getting too wide on large screens */
}

/* =========================================
   ELEGANT HOVER EFFECTS
========================================= */
.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover .feature-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 60px;
    }
}

@media (max-width: 600px) {
    .brand-features-section {
        padding: 60px 0;
    }

    .features-container {
        padding: 0 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }
}

/* =========================================
   PREMIUM PROMO SECTION VARIABLES
========================================= */
:root {
    --ps-bg: #ffffff;
    --ps-text: #111111;
    --ps-text-muted: #777777;

    --ps-card-bg: #f9f9f9;
    --ps-card-border: #f0f0f0;

    --ps-banner-bg: #111111;
    --ps-banner-text: #ffffff;

    --ps-font: var(--font-primary, system-ui, sans-serif);
    --ps-gap: 20px;
}

/* =========================================
   LAYOUT STRUCTURE
========================================= */
.featured-promo-section {
    background-color: var(--ps-bg);
    padding: 80px 0;
    font-family: var(--ps-font);
    overflow: hidden;
}

.featured-promo-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Left side slightly larger */
    gap: 40px;
    align-items: stretch;
}

/* =========================================
   LEFT SIDE: SLIDER AREA
========================================= */
.promo-slider-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    /* Soft gradient masks on edges so items don't cut off harshly */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 10px;
}

.promo-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ps-text);
    margin: 0;
    letter-spacing: -0.5px;
}

.promo-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ps-text);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Track Settings */
.slider-track-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: var(--ps-gap);
    width: max-content;
    padding: 5px;
    /* Prevent box-shadow cutoff */
}

/* Auto-Scroll Animations */
.slide-left {
    animation: slideLeft 25s linear infinite;
}

.slide-right {
    animation: slideRight 25s linear infinite;
}

/* THE MAGIC: Pause on Hover */
.slider-track:hover {
    animation-play-state: paused;
}

/* =========================================
   PRODUCT CARDS
========================================= */
.promo-card {
    width: 260px;
    /* Fixed width for consistent sliding */
    background: var(--ps-bg);
    border: 1px solid var(--ps-card-border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.promo-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--ps-card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.promo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-card-img img {
    transform: scale(1.05);
}

.promo-card-info h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ps-text);
    margin: 0 0 12px 0;
}

.promo-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 600;
    color: var(--ps-text);
}

.add-btn {
    background: var(--ps-card-bg);
    border: none;
    padding: 6px 12px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-btn:hover {
    background: var(--ps-text);
    color: var(--ps-bg);
}

/* =========================================
   RIGHT SIDE: PROMO BANNER
========================================= */
.promo-banner-area {
    background-color: var(--ps-banner-bg);
    border-radius: 16px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Optional: Add a subtle background image blending */
    background-image: url('https://www.roysapparels.com/public/assets/img/home/what-we-deliver.png');
    background-size: cover;
    background-position: center;
}

/* Dark overlay to ensure text is readable */
.promo-banner-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.4));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
}

.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: var(--ps-banner-text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.banner-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--ps-banner-text);
    line-height: 1.1;
    margin: 0 0 16px 0;
}

.banner-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0 0 32px 0;
}

.banner-btn {
    display: inline-block;
    background: var(--ps-banner-text);
    color: var(--ps-banner-bg);
    text-decoration: none;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.banner-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* =========================================
   KEYFRAMES FOR SLIDERS
========================================= */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    /* Shifts half the width + half the gap to loop seamlessly */
    100% {
        transform: translateX(calc(-50% - (var(--ps-gap) / 2)));
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(calc(-50% - (var(--ps-gap) / 2)));
    }

    100% {
        transform: translateX(0);
    }
}

/* =========================================
   RESPONSIVE SCALING
========================================= */
@media (max-width: 1024px) {
    .featured-promo-container {
        grid-template-columns: 1fr;
        /* Stacks the banner and slider */
    }

    .promo-banner-area {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .featured-promo-section {
        padding: 40px 0;
    }

    .featured-promo-container {
        padding: 0 20px;
    }

    .promo-card {
        width: 220px;
    }

    .promo-banner-area {
        padding: 40px 24px;
    }

    .banner-title {
        font-size: 28px;
    }
}

:root {
    --ed-bg: #ffffff;
    --ed-text: #111111;
    --ed-text-muted: #555555;
    --ed-border: #eeeeee;

    /* Font pairings for the magazine feel */
    --ed-font-sans: var(--font-primary, system-ui, sans-serif);
    --ed-font-serif: "Playfair Display", "Didot", "Georgia", serif;
}

.editorial-split-section {
    background-color: var(--ed-bg);
    font-family: var(--ed-font-sans);
    border-top: 1px solid var(--ed-border);
}

.editorial-container {
    display: flex;
    min-height: 80vh;
    /* Ensures it takes up a beautiful amount of screen real estate */
    margin: auto;
    max-width: 1600px;
}

/* Image Side */
.editorial-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.editorial-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Side */
.editorial-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    /* Generous whitespace */
}

.editorial-content {
    max-width: 500px;
    /* Keeps line lengths readable */
}

.editorial-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ed-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.editorial-title {
    font-family: var(--ed-font-serif);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 400;
    /* Serif fonts often look more premium with lighter weights */
    line-height: 1.15;
    color: var(--ed-text);
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

.editorial-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ed-text-muted);
    margin: 0 0 20px 0;
}

.editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ed-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid var(--ed-text);
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.editorial-link:hover {
    opacity: 0.6;
}

.editorial-link .arrow {
    transition: transform 0.3s ease;
}

.editorial-link:hover .arrow {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 900px) {
    .editorial-container {
        flex-direction: column;
        min-height: auto;
    }

    .editorial-image-wrapper {
        min-height: 50vh;
        /* Give image fixed height on mobile */
    }

    .editorial-content-wrapper {
        padding: 80px 24px;
    }
}