/* ==============================================================================
   RinooFashion Ultra-Minimal Premium Store Design System
   Warm Ivory (#F5F1E9), Deep Black (#171717), Soft Beige (#DED5C8), Pure White (#FFFFFF)
   Precise Sans-Serif Typography, Restrained Editorial Accents, Generous Whitespace
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Ultra-Minimal Premium Store Palette */
    --color-ivory: #F5F1E9;            /* Warm Ivory Canvas */
    --color-black: #171717;            /* Deep Black Primary */
    --color-beige: #DED5C8;            /* Soft Beige Border / Divider */
    --color-white: #FFFFFF;            /* Pure White Surface */
    --color-gray-dark: #262626;        /* Subtle Off-Black */
    --color-gray-body: #525252;        /* Body Paragraph Gray */
    --color-gray-muted: #737373;       /* Secondary Muted Gray */
    --color-gray-border: #E5E0D8;      /* Hairline Divider */
    --color-ivory-light: #FAF8F5;      /* Whispering Ivory */

    /* Core Design System Aliases */
    --primary: var(--color-black);
    --primary-dark: #0A0A0A;
    --primary-deep: #000000;
    --primary-light: rgba(23, 23, 23, 0.04);
    --primary-glow: transparent;
    --primary-gradient: none;

    --accent: var(--color-black);
    --accent-hover: #333333;
    --accent-light: rgba(23, 23, 23, 0.04);
    --accent-glow: transparent;
    --accent-gradient: none;

    --dark: var(--color-black);
    --dark-muted: var(--color-gray-dark);
    --gray-light: var(--color-ivory);
    --gray-border: var(--color-beige);
    --text-main: var(--color-black);
    --text-muted: var(--color-gray-muted);
    --white: var(--color-white);
    --danger: #b91c1c;
    --success: #15803d;
    --warning: #b45309;
    --info: #0369a1;

    --primary-color: var(--color-black);
    --secondary-color: var(--color-beige);
    --border-color: var(--color-beige);
    --font-heading: var(--font-sans);
    --font-body: var(--font-sans);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;

    /* Restrained Flat Surface Tokens (Zero Fuzzy Shadows) */
    --glass-bg: #FFFFFF;
    --glass-bg-heavy: #FFFFFF;
    --glass-bg-warm: var(--color-ivory);
    --glass-bg-dark: var(--color-black);
    --glass-border: var(--color-beige);
    --glass-border-light: var(--color-gray-border);
    --glass-border-gold: var(--color-beige);
    --glass-blur: none;
    --glass-blur-heavy: none;
    --glass-blur-light: none;
    --glass-shadow: none;
    --glass-card-shadow: none;
    --shadow-card: none;

    /* Radii - Crisp Geometric Precision */
    --radius-none: 0px;
    --radius-xs: 2px;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 4px;
    --radius-pill: 2px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.04);
    --transition: all 0.2s ease;
}

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

html {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .section-title {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-black);
    letter-spacing: -0.01em;
}

.editorial-serif, .hero-title, .campaign-title {
    font-family: var(--font-serif);
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

/* Container - Responsive Full-Width Desktop Layout with Balanced Margins */
.container {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 3rem);
    box-sizing: border-box;
}

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

/* Top Announcement Ribbon - Disabled Completely */
.top-bar,
.top-announcement-bar {
    display: none !important;
}

/* Compact Ultra-Minimal Header */
.main-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-beige);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none;
    transition: var(--transition);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 2rem;
    min-height: 60px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    line-height: 1;
}
.brand-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 0;
    flex-shrink: 0;
}
.brand-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}
.brand-logo-text span,
.brand-logo > span {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--color-gray-muted);
    margin-top: 3px;
    text-transform: uppercase;
}

/* Header Search - Clean Geometric Input */
.header-search {
    flex: 1;
    max-width: 540px;
    position: relative;
    display: flex;
}
.header-search input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-beige);
    border-right: none;
    border-radius: 0;
    outline: none;
    background: #FFFFFF;
    color: var(--color-black);
    font-size: 0.84rem;
    transition: var(--transition);
}
.header-search input:focus {
    border-color: var(--color-black);
}
.header-search button {
    background: var(--color-black);
    color: #FFFFFF;
    border: 1px solid var(--color-black);
    padding: 0 1.25rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: var(--transition);
}
.header-search button:hover {
    background: #262626;
    border-color: #262626;
}

/* Header Action Icons & Bag */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.header-action-btn {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-black);
    cursor: pointer;
    position: relative;
    padding: 0.4rem 0.5rem;
    background: transparent;
    border: none;
    transition: var(--transition);
}
.header-action-btn:hover {
    color: #525252;
}
.header-action-btn svg {
    color: var(--color-black);
    stroke-width: 1.5;
}
.badge-count {
    background: var(--color-black);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Refined Minimalist Navigation Bar */
.nav-bar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-beige);
    position: relative;
    z-index: 1000;
    width: 100%;
}
.nav-bar .container {
    padding: 0 3.5rem;
    display: flex;
    justify-content: safe center;
    align-items: center;
}
.nav-list {
    display: flex;
    align-items: center;
    justify-content: safe center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 2rem;
    padding: 0.7rem 0;
    margin: 0 auto;
    list-style: none;
}
.nav-item {
    position: relative;
    list-style: none;
    flex-shrink: 0;
}
.nav-link {
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-black);
    white-space: nowrap;
    transition: var(--transition);
    padding: 0.35rem 0.2rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-black);
}
.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -0.7rem;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--color-black);
}
.dropdown-indicator {
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    opacity: 0.6;
}
.nav-item:hover .dropdown-indicator,
.nav-item.open .dropdown-indicator {
    transform: rotate(180deg);
    opacity: 1;
}

/* Minimalist Subcategories Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: max-content;
    min-width: 260px;
    background: #FFFFFF;
    border: 1px solid var(--color-beige);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
    box-sizing: border-box;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-item:last-child .nav-dropdown {
    left: auto;
    right: 0;
}

/* Tablet & compact desktop boundary safety: right-align dropdowns on subsequent items */
@media (min-width: 769px) and (max-width: 1080px) {
    .nav-item:nth-child(n+3) .nav-dropdown {
        left: auto;
        right: 0;
    }
}

.nav-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(232, 227, 217, 0.8);
    box-sizing: border-box;
    width: 100%;
}

.nav-dropdown-title {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 1;
}

.nav-dropdown-all {
    font-size: 0.76rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    transition: var(--transition);
}

.nav-dropdown-all:hover {
    color: var(--primary);
    text-decoration: underline;
}

.nav-dropdown-list {
    display: flex;
    flex-direction: column;
    padding: 8px 10px 12px;
    gap: 3px;
    margin: 0;
    list-style: none;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.nav-dropdown-bullet {
    color: var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, color 0.18s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 16px;
    font-weight: 600;
}

.nav-dropdown-item:hover .nav-dropdown-bullet,
.nav-dropdown-item.active .nav-dropdown-bullet {
    transform: scale(1.25);
    color: var(--primary);
}

/* Secondary Sub-Categories Quick Navigation Strip (Hidden per request) */
.subcategories-strip {
    display: none !important;
}
.subcategories-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
}
.subcat-strip-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.25rem;
}
.subcat-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--dark-muted);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.subcat-pill:hover, .subcat-pill.active {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* Category Card Subcategories Mini-Preview Tags */
.category-subcat-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
}
.category-subcat-tag {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--dark-muted);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(232, 227, 217, 0.7);
    text-decoration: none;
    transition: var(--transition);
}
.category-subcat-tag:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #ffffff;
}

/* Dedicated Homepage Sub-Categories Showcase Section */
.subcategories-section {
    padding: 2.5rem 0 1rem;
}
.subcat-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}
.subcat-group-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.subcat-group-card:hover {
    background: var(--glass-bg-heavy);
    border-color: var(--glass-border-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--primary-glow);
}
.subcat-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}
.subcat-group-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}
.subcat-group-count {
    font-size: 0.72rem;
    color: var(--dark-muted);
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}
.subcat-group-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.85rem;
}
.subcat-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}
.subcat-chip {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-pill);
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.subcat-chip:hover {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--primary-glow);
}
.subcat-group-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(226, 232, 240, 0.8);
}
.subcat-explore-link {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}
.subcat-explore-link:hover {
    color: var(--primary-dark);
    gap: 0.55rem;
}

/* Catalog Page Subcategory Filter Pills */
.catalog-subcat-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}
.catalog-subcat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-muted);
    margin-right: 0.5rem;
}
.catalog-subcat-pill {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--gray-border);
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
}
.catalog-subcat-pill:hover, .catalog-subcat-pill.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* ==============================================================================
   Ultra-Minimal Apparel Hero Campaign Banner
   ============================================================================== */
.hero-section {
    padding: 1.5rem 0 2rem;
}
.hero-banner {
    position: relative;
    border-radius: 0;
    padding: 4.5rem 4rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid var(--color-beige);
    min-height: 540px;
    background: var(--color-ivory);
}

/* Background Image Layer */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

/* Clean Minimal Vignette Overlay */
.hero-glass-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg, 
        rgba(245, 241, 233, 0.95) 0%, 
        rgba(245, 241, 233, 0.82) 42%, 
        rgba(245, 241, 233, 0.25) 75%, 
        rgba(245, 241, 233, 0.05) 100%
    );
}

.hero-banner::before {
    display: none;
}

/* Hero Content Card — Pure Whitespace & High Readability */
.hero-content {
    max-width: 480px;
    z-index: 3;
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.hero-brand-badge {
    display: inline-block;
    padding: 0;
    margin-bottom: 1.25rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-brand-badge-sub {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gray-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    color: var(--color-black);
    letter-spacing: -0.02em;
    text-shadow: none;
}

.hero-desc {
    font-size: 0.92rem;
    color: var(--color-gray-body);
    margin-bottom: 2rem;
    line-height: 1.65;
    font-weight: 400;
    max-width: 420px;
    text-shadow: none;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

/* Understated Minimalist CTA Buttons */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: #FFFFFF;
    padding: 0.85rem 1.85rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid var(--color-black);
    box-shadow: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}
.hero-btn:hover {
    background: #262626;
    border-color: #262626;
    color: #FFFFFF;
    transform: none;
    box-shadow: none;
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 0.85rem 1.75rem;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}
.hero-btn-ghost:hover {
    background: var(--color-ivory);
    color: var(--color-black);
    border-color: var(--color-black);
    transform: none;
}

/* Category Kickers & Section Headers */
.category-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.35rem;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-border);
}
.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.view-all-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.view-all-link:hover {
    color: var(--accent);
    transform: translateX(3px);
}

/* Modern Editorial Fashion Category Tiles (Zara / COS Style) */
.fashion-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 3.5rem;
}
@media (max-width: 1200px) {
    .fashion-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .fashion-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}
.fashion-category-tile {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--color-ivory);
    border: 1px solid var(--color-beige);
    display: block;
    text-decoration: none;
    box-shadow: none;
}
.fashion-category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}
.fashion-category-tile:hover img {
    transform: scale(1.03);
}
.fashion-category-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(23, 23, 23, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1rem;
    color: #ffffff;
    transition: background 0.3s ease;
}
.fashion-category-tile:hover .fashion-category-tile-overlay {
    background: linear-gradient(180deg, transparent 45%, rgba(23, 23, 23, 0.85) 100%);
}
.fashion-category-tile-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    letter-spacing: 0.04em;
    color: #ffffff;
}
.fashion-category-tile-sub {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E5E0D8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Editorial Minimal Fashion Campaign Lookbook Section */
.editorial-campaign-section {
    position: relative;
    width: 100%;
    min-height: 440px;
    margin: 4.5rem 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--color-ivory);
    border: 1px solid var(--color-beige);
    display: flex;
    align-items: center;
}
.editorial-campaign-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1509631179647-0177331693ae?w=1600&q=85');
    background-size: cover;
    background-position: center;
    filter: brightness(0.68);
}
.editorial-campaign-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 4rem 3.5rem;
    color: #ffffff;
}
.editorial-campaign-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E5E0D8;
    margin-bottom: 0.75rem;
}
.editorial-campaign-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.editorial-campaign-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}
.editorial-campaign-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: var(--color-black);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.85rem 1.85rem;
    border-radius: 0;
    border: 1px solid #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}
.editorial-campaign-btn:hover {
    background: var(--color-ivory);
    color: var(--color-black);
    border-color: var(--color-ivory);
}
@media (max-width: 768px) {
    .editorial-campaign-section { min-height: 340px; margin: 3rem 0; }
    .editorial-campaign-content { padding: 2.5rem 1.5rem; }
    .editorial-campaign-title { font-size: 1.7rem; }
}

/* Category Cards Grid - Artisanal Circular & Arch Tiles */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}
.category-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    padding: 1.75rem 1rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.category-img {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f2eb;
    border: 2px solid var(--accent);
    padding: 3px;
    transition: transform 0.4s ease;
}
.category-card:hover .category-img {
    transform: scale(1.08);
}
.category-card h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

/* Product Cards Grid - Modern 3:4 Tall Fashion Portrait */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
    margin-bottom: 3.5rem;
}
@media (min-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.25rem 1.75rem;
    }
}
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 1.15rem;
    }
}
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.65rem;
        margin-bottom: 2.5rem;
    }
}

.product-card {
    background: #ffffff;
    border-radius: 4px;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
}

.product-badges-corner {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-fashion-badge {
    background: #111111;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}
.product-fashion-badge.badge-sale {
    background: #b91c1c;
}

.product-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111111;
    transition: all 0.2s ease;
    z-index: 6;
}
.product-wishlist-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
}
.product-wishlist-btn.active {
    color: #dc2626;
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f7f6f4;
    overflow: hidden;
    position: relative;
    display: block;
    padding: 0 !important;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: top center !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.product-card:hover .product-img-primary {
    transform: scale(1.04);
}
.product-img-secondary {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.product-card:hover .product-img-secondary {
    opacity: 1;
}

.product-info {
    padding: 0.85rem 0.25rem 0.25rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.product-brand-tag, .product-category-tag {
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #888888;
    font-weight: 500;
}
.product-title {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 6px;
    line-height: 1.35;
    letter-spacing: 0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-title a {
    color: #111111;
}
.product-title a:hover {
    color: #767676;
}

.product-variants-preview {
    margin-bottom: 6px;
}
.product-card-sizes {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.size-pill-mini {
    font-size: 9.5px;
    padding: 1px 5px;
    background: #f5f4f0;
    border: 1px solid #e5e2dc;
    border-radius: 2px;
    color: #333333;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 10px;
}
.current-price {
    font-size: 14.5px;
    font-weight: 700;
    color: #111111;
}
.original-price {
    font-size: 12px;
    color: #999999;
    text-decoration: line-through;
}

.product-card-actions {
    display: flex;
    gap: 6px;
}
.add-to-cart-btn {
    width: 100%;
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #111111 !important;
    padding: 0.65rem 0.75rem !important;
    border-radius: 2px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}
.add-to-cart-btn:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}
.add-to-cart-btn.added {
    background: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
}
.quick-view-card-btn {
    display: none;
}

/* -------------------------------------------------------------
 * Product Skeleton Shimmer Placeholders (Instant Perceived Speed)
 * ------------------------------------------------------------- */
@keyframes rinooSkeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-box {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: rinooSkeletonShimmer 1.5s infinite ease-in-out;
    border-radius: var(--radius-sm, 6px);
}

.product-card.skeleton-card {
    pointer-events: none;
    border-color: rgba(226, 232, 240, 0.7);
    box-shadow: none;
    background: #ffffff;
}

.product-card.skeleton-card .skeleton-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #f8fafc 25%, #edeef2 50%, #f8fafc 75%);
    background-size: 200% 100%;
    animation: rinooSkeletonShimmer 1.5s infinite ease-in-out;
}

.product-card.skeleton-card .skeleton-line {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: rinooSkeletonShimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

/* Promotional Campaign Banner - Ultra-Minimal Warm Ivory */
.deal-banner {
    background: var(--color-ivory);
    border-radius: 0;
    border: 1px solid var(--color-beige);
    padding: 3rem 2.5rem;
    color: var(--color-black);
    margin: 3.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: none;
}
.deal-timer {
    display: flex;
    gap: 1rem;
}
.timer-block {
    background: #ffffff;
    border: 1px solid var(--color-beige);
    padding: 0.85rem 1.25rem;
    border-radius: 2px;
    text-align: center;
    min-width: 70px;
}
.timer-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-black);
    font-family: var(--font-sans);
}
.timer-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gray-muted);
}



/* Cart Drawer ("Shopping Cart") - High Priority Z-Index Overlay */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100001 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: #ffffff;
    border-left: 1px solid var(--glass-border-gold);
    z-index: 100002 !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.cart-drawer.open {
    right: 0;
}
.drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    flex-shrink: 0;
}
.drawer-header h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}
.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.close-drawer-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}
.drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.5rem;
    min-height: 0;
}
.drawer-item {
    display: flex;
    gap: 1.15rem;
    padding-bottom: 1.15rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid rgba(232, 227, 217, 0.6);
    align-items: center;
}
.drawer-item-img {
    width: 64px;
    height: 85px;
    border-radius: 2px;
    object-fit: cover;
    object-position: top center;
    background: var(--color-ivory);
    border: 1px solid var(--color-beige);
    padding: 0;
}
.drawer-item-details {
    flex: 1;
}
.drawer-item-title {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}
.drawer-item-price {
    font-weight: 700;
    color: var(--color-black);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}
.drawer-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.drawer-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-beige);
    background: #ffffff;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-black);
    transition: var(--transition);
}
.drawer-qty-btn:hover {
    background: var(--color-ivory);
    border-color: var(--color-black);
    color: var(--color-black);
}
.drawer-footer {
    padding: 1.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 15px)) 1.5rem;
    border-top: 1px solid var(--color-beige);
    background: #ffffff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
    z-index: 10;
}
.drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-black);
}
.drawer-subtotal span:last-child {
    font-size: 1.35rem;
    color: var(--color-black);
    font-weight: 700;
}
.checkout-action-btn {
    width: 100%;
    background: var(--color-black) !important;
    color: #ffffff !important;
    padding: 0.9rem 1.25rem !important;
    min-height: 48px !important;
    border: 1px solid var(--color-black) !important;
    border-radius: 2px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.checkout-action-btn:hover {
    background: #262626 !important;
    border-color: #262626 !important;
    transform: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

/* Hide fixed sticky bar and bottom nav when cart drawer is active */
body.cart-drawer-open .mobile-sticky-buy-bar,
body.cart-drawer-open .mobile-bottom-nav,
body.cart-drawer-open .theme-switch-widget {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Toast Notifications - Translucent Glassmorphic */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast {
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-gold);
    color: var(--white);
    padding: 0.9rem 1.35rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }

@keyframes slideInToast {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==============================================================================
   Ultra-Minimal Clean Fashion Footer
   Warm Ivory (#F5F1E9) Canvas, Deep Black (#171717) Typography, Soft Beige (#DED5C8) Dividers
   ============================================================================== */
.main-footer {
    background: var(--color-ivory);
    color: var(--color-black);
    padding: 4.5rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid var(--color-beige);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    flex-shrink: 0;
}

.footer-col h4 {
    font-family: var(--font-sans);
    color: var(--color-black);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 1px;
    background: var(--color-beige);
}
.footer-links li {
    margin-bottom: 0.65rem;
}
.footer-links a {
    color: var(--color-gray-muted);
    font-size: 0.85rem;
    font-weight: 400;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--color-black);
    transform: none;
    text-decoration: underline;
}
.footer-dev-row {
    border-top: 1px solid var(--color-beige);
    padding: 1.5rem 0 1rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--color-gray-muted);
}
.footer-dev-row a {
    color: var(--color-black);
    font-weight: 600;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid var(--color-beige);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--color-gray-muted);
}
.payment-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.payment-badge {
    background: #FFFFFF;
    border: 1px solid var(--color-beige);
    padding: 0.25rem 0.65rem;
    border-radius: 0;
    font-weight: 600;
    color: var(--color-black);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

/* Forms & Inputs - Translucent Frosted Glass */
.form-group {
    margin-bottom: 1.35rem;
}
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    color: var(--dark);
    letter-spacing: 0.3px;
}
.form-control {
    width: 100%;
    padding: 0.8rem 1.15rem;
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--text-main);
    font-size: 0.95rem;
}
.form-control:focus {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* ==============================================================================
   Mobile-First Components: Bottom Nav, Mobile Drawer, Mobile Search & Sticky Buy
   ============================================================================== */

/* Tap feedback */
button, a, .btn, .nav-link, .mobile-nav-item, .category-card, .product-card {
    -webkit-tap-highlight-color: var(--primary-light);
}

/* Mobile Hamburger Menu Button - Frosted Glass */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    font-size: 1.35rem;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}
.mobile-menu-btn:active {
    background: #ffffff;
    border-color: var(--primary);
    transform: scale(0.96);
}

/* Full-width Mobile Search Bar Row - Translucent Frosted Glass */
.mobile-search-row {
    display: none;
    background: var(--glass-bg-heavy);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}
.mobile-search-form {
    display: flex;
    width: 100%;
}
.mobile-search-form input {
    flex: 1;
    padding: 0.65rem 1.15rem;
    border: 1.5px solid var(--glass-border);
    border-right: none;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    outline: none;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-main);
}
.mobile-search-form input:focus {
    border-color: var(--accent);
    background: #ffffff;
}
.mobile-search-form button {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 0 1.35rem;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    cursor: pointer;
    font-weight: 700;
}

/* Mobile Slide-Out Drawer (Off-Canvas Menu) - Frosted Glass Luxury */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -330px;
    width: 85%;
    max-width: 330px;
    height: 100%;
    background: var(--glass-bg-warm);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border-right: 1px solid var(--glass-border-gold);
    z-index: 1051;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}
.mobile-drawer.open {
    transform: translateX(330px);
}
.mobile-drawer-header {
    padding: 1.5rem 1.25rem;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent);
}
.mobile-drawer-brand {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.mobile-drawer-brand .brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.mobile-drawer-brand span {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 2px;
    color: var(--accent);
    display: block;
    margin-top: 2px;
}
.mobile-drawer-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: var(--transition);
}
.mobile-drawer-close:hover {
    color: var(--accent);
}
.mobile-drawer-user {
    background: #0b1329;
    padding: 1rem 1.25rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.mobile-drawer-user a {
    color: var(--accent);
    font-weight: 600;
}
.mobile-drawer-body {
    flex: 1;
    padding: 1rem 0;
}
.mobile-drawer-section-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0.85rem 1.35rem 0.45rem;
}
.mobile-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.35rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.mobile-drawer-link:active, .mobile-drawer-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
}
.mobile-drawer-footer {
    padding: 1.25rem 1.35rem;
    border-top: 1px solid var(--gray-border);
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Mobile Sticky Bottom Navigation Bar - Floating Frosted Glass */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border-gold);
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    user-select: none;
}
.mobile-nav-item.active {
    color: var(--primary);
    font-weight: 700;
}
.mobile-nav-icon {
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 2px;
}
.mobile-badge {
    position: absolute;
    top: 4px;
    right: 50%;
    transform: translateX(16px);
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Sticky Mobile Buy Bar for Product Detail Page - Ultra-Minimal */
.mobile-sticky-buy-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--color-beige);
    padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 998;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.mobile-sticky-price {
    display: flex;
    flex-direction: column;
}
.mobile-sticky-price-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.1;
    font-family: var(--font-sans);
}
.mobile-sticky-price-label {
    font-size: 0.68rem;
    color: var(--color-gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.mobile-sticky-btn {
    flex: 1;
    max-width: 200px;
    padding: 0.75rem 1.25rem;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 0;
    background: var(--color-black) !important;
    color: #ffffff !important;
    border: 1px solid var(--color-black) !important;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.mobile-sticky-btn:hover {
    background: #262626 !important;
    border-color: #262626 !important;
    color: #ffffff !important;
    transform: none;
}
.mobile-sticky-btn:active {
    transform: scale(0.98);
}
.mobile-sticky-btn.added {
    background: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
}

/* Stepper Quantity Buttons Touch-Enlarged */
.drawer-qty-btn {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
}

/* ==============================================================================
   Comprehensive Responsive Media Queries
   ============================================================================== */

@media (max-width: 1150px) {
    .nav-bar .container {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
        padding: 0 0.85rem;
    }
    .nav-bar .container::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .nav-list {
        justify-content: flex-start;
        gap: 0.45rem;
    }
}

@media (max-width: 992px) {
    .header-search { display: none; }
    .hero-banner { 
        padding: 3.5rem 1.5rem; 
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-btn-group {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }
    .hero-title { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    /* Apply bottom padding to avoid bottom nav clipping */
    body {
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Main product page wrapper - ensures Add to Cart renders fully visible above bottom nav & footer */
    .shop-layout,
    .products-grid {
        padding-bottom: 100px !important;
    }

    /* Product Detail Page - sticky bar safe padding exclusively on mobile */
    body.product-detail-page,
    .product-page-wrapper,
    .detail-layout,
    .product-detail-wrapper {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Container Spacing */
    .container {
        padding: 0 1rem;
    }

    /* Main Header Row - Single Row Alignment without collision */
    .header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0.65rem 0;
        width: 100%;
    }
    .brand-logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .brand-logo-img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    .brand-logo-text {
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: 0.8px;
    }
    .brand-logo-text span,
    .brand-logo > span {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
        margin-top: 2px;
    }

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    .header-action-btn span:nth-child(2),
    .header-btn-text,
    .trust-banner-ssl span:nth-child(2) {
        display: none !important; /* Hide verbose text labels on mobile, keep clean action icon & badge */
    }
    .header-action-btn {
        padding: 0.45rem;
        font-size: 1.15rem;
    }

    /* Show Mobile Search Bar Row */
    .mobile-search-row {
        display: block;
    }

    /* Show Mobile Bottom Navigation */
    .mobile-bottom-nav {
        display: flex;
    }

    /* Category Navigation Bar - Horizontal Swipeable Pills */
    .nav-bar {
        border-bottom: 1px solid var(--gray-border);
        background: var(--glass-bg-warm);
    }
    .nav-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.6rem;
        padding: 0.6rem 0.5rem;
        justify-content: flex-start;
    }
    .nav-list::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .nav-dropdown {
        display: none !important; /* Hide hover dropdowns on touch screens in favor of drawer */
    }
    .nav-bar .dropdown-indicator {
        display: none !important; /* Touch category pills act as instant filter buttons */
    }
    .nav-link {
        font-size: 0.75rem;
        letter-spacing: 1.2px;
        padding: 0.35rem 0.85rem;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-pill);
        white-space: nowrap;
    }
    .nav-link.active {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }
    .nav-link.active::after {
        display: none;
    }

    /* Subcategories strip on mobile */
    .subcategories-strip {
        padding: 0.45rem 0.5rem;
    }
    .subcategories-strip-inner {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        gap: 0.4rem;
        padding: 0.2rem 0.25rem;
    }
    .subcategories-strip-inner::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .subcat-pill {
        font-size: 0.72rem;
        padding: 0.25rem 0.65rem;
    }

    /* Hero Banner Mobile */
    .hero-section {
        padding: 0.75rem 0 1.5rem;
    }
    .hero-banner {
        padding: 3rem 1.25rem 2.5rem;
        border-radius: 0;
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        min-height: auto;
        box-shadow: none;
        border: 1px solid var(--color-beige);
        background: var(--color-ivory);
    }
    .hero-glass-overlay {
        background: linear-gradient(
            180deg, 
            rgba(245, 241, 233, 0.95) 0%, 
            rgba(245, 241, 233, 0.88) 55%, 
            rgba(245, 241, 233, 0.35) 100%
        );
    }
    .hero-content {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-brand-badge {
        margin-bottom: 0.85rem;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.15;
        margin-bottom: 0.85rem;
        color: var(--color-black);
        text-shadow: none;
    }
    .hero-desc {
        font-size: 0.86rem;
        margin-bottom: 1.5rem;
        line-height: 1.55;
        color: var(--color-gray-body);
        text-shadow: none;
    }
    .hero-btn-group {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
        width: 100%;
    }
    .hero-btn, .hero-btn-ghost {
        width: 100%;
        max-width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.76rem;
        text-align: center;
        border-radius: 0;
    }

    /* Products Grid 2 Columns on Mobile - Modern 3:4 Fashion Portrait */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.65rem;
        margin-bottom: 2.5rem;
    }
    .product-card {
        background: #ffffff;
        border-radius: 4px;
        display: flex;
        flex-direction: column;
        border: none;
        overflow: hidden;
    }
    .product-img-wrapper {
        width: 100%;
        aspect-ratio: 3 / 4 !important;
        background: #f7f6f4;
        position: relative;
        overflow: hidden;
        display: block;
        padding: 0 !important;
    }
    .product-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        object-position: top center !important;
    }
    .product-info {
        padding: 0.65rem 0.2rem 0.2rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .product-category {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        font-weight: 700;
        color: var(--accent-hover);
        text-transform: uppercase;
        margin-bottom: 0.25rem;
    }
    .product-title {
        font-size: 0.86rem;
        line-height: 1.3;
        height: 2.6em;
        margin-bottom: 0.4rem;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-price-row {
        margin-top: auto;
        margin-bottom: 0.65rem;
        gap: 0.35rem;
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
    }
    .current-price {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--primary);
    }
    .original-price {
        font-size: 0.78rem;
        color: var(--text-muted);
        text-decoration: line-through;
    }
    .discount-badge {
        font-size: 0.68rem;
        padding: 2px 5px;
    }
    .add-to-cart-btn {
        width: 100%;
        height: 38px;
        min-height: 38px;
        padding: 0 0.5rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        font-weight: 700;
        border-radius: var(--radius-pill);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        white-space: nowrap;
        background: linear-gradient(90deg, #FF9800 0%, #FF5A00 100%);
        color: #ffffff;
        box-shadow: 0 3px 12px rgba(255, 90, 0, 0.35);
        border: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition: transform 0.15s ease, background 0.25s ease;
    }
    .add-to-cart-btn:active {
        transform: scale(0.96);
    }

    /* Product Detail Page Dedicated Mobile Optimizations */
    body.product-detail-page .mobile-bottom-nav {
        display: none !important;
    }
    body.product-detail-page {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .product-page-wrapper,
    .detail-layout {
        grid-template-columns: 1fr !important;
        padding: 1rem 0.85rem !important;
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
        gap: 1.5rem !important;
        margin: 0.5rem 0 1.5rem !important;
        border-radius: var(--radius-md) !important;
    }
    .main-image-frame {
        aspect-ratio: 1 / 1 !important;
        max-height: 400px !important;
    }
    .detail-actions-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    .qty-wrapper {
        width: 110px !important;
        min-width: 110px !important;
        height: 48px !important;
        justify-content: space-between !important;
    }
    .qty-btn {
        width: 36px !important;
        height: 48px !important;
    }
    .detail-add-bag-btn {
        flex: 1 !important;
        width: auto !important;
        height: 48px !important;
        font-size: 0.88rem !important;
        letter-spacing: 1px !important;
        background: linear-gradient(90deg, #FF9800 0%, #FF5A00 100%) !important;
        box-shadow: 0 4px 14px rgba(255, 90, 0, 0.35) !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        padding: 0 0.75rem !important;
    }

    /* Slide-Up Mobile Filter Bottom Sheet */
    .filter-drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 10001;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .filter-drawer-overlay.open {
        display: block;
        opacity: 1;
    }
    .filter-sidebar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        background: #ffffff !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 10002 !important;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2) !important;
        display: block !important;
        margin-bottom: 0 !important;
    }
    .filter-sidebar.open {
        transform: translateY(0) !important;
    }
    .filter-sheet-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--gray-border);
    }
    .filter-sheet-title {
        font-family: var(--font-serif);
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-main);
    }
    .filter-sheet-close {
        background: var(--gray-light);
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--text-main);
    }
    .mobile-filter-btn {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        background: #ffffff;
        border: 1.5px solid var(--primary);
        color: var(--primary);
        border-radius: var(--radius-pill);
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.75px;
        box-shadow: 0 2px 8px var(--primary-glow);
        cursor: pointer;
        margin: 1rem 0;
    }

    /* Cart Page Mobile Card Transformations */
    .cart-table thead {
        display: none;
    }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }
    .cart-table tr {
        position: relative;
        background: #ffffff;
        border: 1px solid var(--gray-border);
        border-radius: var(--radius-md);
        padding: 1.15rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    }
    .cart-table td {
        padding: 0.35rem 0;
        border-bottom: none;
    }
    .cart-table td:first-child {
        padding-bottom: 0.75rem;
        border-bottom: 1px dashed var(--gray-border);
        margin-bottom: 0.65rem;
        padding-right: 3.5rem;
    }
    .cart-table td:last-child {
        position: absolute;
        top: 1.15rem;
        right: 1.15rem;
        width: auto;
    }
    .cart-table td:last-child button {
        padding: 0.35rem 0.65rem;
        font-size: 0.78rem;
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        border-radius: var(--radius-pill);
    }

    /* Sticky Mobile Buy Bar Enhancement */
    .mobile-sticky-buy-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--gray-border);
        box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.12);
        z-index: 10005;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .mobile-sticky-btn {
        background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
        color: #ffffff;
        font-weight: 700;
        letter-spacing: 0.8px;
        padding: 0.8rem 1.25rem;
        border-radius: var(--radius-pill);
        box-shadow: 0 4px 14px rgba(234, 88, 12, 0.38);
        font-size: 0.85rem;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        white-space: nowrap;
        transition: all 0.25s ease;
    }
    .mobile-sticky-btn:active {
        transform: scale(0.97);
    }
    .mobile-sticky-btn.added {
        background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
        box-shadow: 0 4px 14px rgba(5, 150, 105, 0.45) !important;
    }

    /* Form Controls Font-Size to Prevent iOS Safari Auto-Zoom */
    input, select, textarea, .form-control {
        font-size: 16px !important;
    }

    /* Toast Container Float Above Mobile Bottom Nav */
    .toast-container {
        bottom: 76px;
        left: 16px;
        right: 16px;
    }
    .toast {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    /* Footer Mobile Adjustments */
    .main-footer {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.55rem;
    }
    .hero-trust-panel {
        display: none;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
    }
    .product-info {
        padding: 0.65rem 0.5rem 0.65rem;
    }
    .product-title {
        font-size: 0.82rem;
        height: 2.5em;
        margin-bottom: 0.35rem;
    }
    .current-price {
        font-size: 0.98rem;
    }
    .add-to-cart-btn {
        height: 38px;
        min-height: 38px;
        padding: 0 0.35rem;
        font-size: 0.70rem;
        letter-spacing: 0.3px;
        gap: 0.25rem;
        white-space: nowrap;
    }
    .product-img-wrapper {
        aspect-ratio: 1 / 1;
        height: auto;
    }
    .cart-drawer {
        max-width: 100%;
        width: 100%;
        right: -100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        bottom: 0;
    }
    .cart-drawer.open {
        right: 0;
    }
    .cart-drawer .drawer-footer {
        padding: 1.15rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 15px)) 1.25rem !important;
        background: #ffffff !important;
    }
    .cart-drawer .checkout-action-btn {
        font-size: 0.88rem !important;
        padding: 0.95rem 1rem !important;
        letter-spacing: 1px !important;
    }

}

@media (max-width: 360px) {
    .add-to-cart-btn {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        padding: 0.5rem 0.3rem;
    }
}

/* Theme switcher disabled for pure luxury monochrome branding */
.theme-switch-widget {
    display: none !important;
}
.theme-switch-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}
.theme-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    position: relative;
    padding: 0;
}
.theme-dot:hover {
    transform: scale(1.2);
}
.theme-dot.active {
    transform: scale(1.25);
    box-shadow: 0 0 0 2px var(--primary), 0 3px 8px rgba(0, 0, 0, 0.2);
}
.theme-dot[data-theme-name="emerald"] { background: linear-gradient(135deg, #059669 0%, #f59e0b 100%); }
.theme-dot[data-theme-name="sapphire"] { background: linear-gradient(135deg, #2563eb 0%, #ff6b35 100%); }
.theme-dot[data-theme-name="ruby"] { background: linear-gradient(135deg, #e11d48 0%, #f59e0b 100%); }
.theme-dot[data-theme-name="amethyst"] { background: linear-gradient(135deg, #7c3aed 0%, #f59e0b 100%); }

/* Completely hide floating theme switcher on mobile devices */
@media (max-width: 768px), (max-device-width: 768px) {
    .theme-switch-widget {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Desktop reset for product detail page to ensure normal padding without gaps */
@media (min-width: 769px) {
    body.product-detail-page {
        padding-bottom: 0 !important;
    }
}

/* User Account Order History & Data Table Responsive Wrapper */
.user-orders-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* ==============================================================================
   RinooFashion Specialized Clothing & Apparel UI Components
   ============================================================================== */

/* Fashion Badges */
.badge-fashion {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
    z-index: 5;
    background: #18181b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.badge-fashion.badge-sale {
    background: #dc2626;
    color: #fff;
}
.badge-fashion.badge-bestseller {
    background: #c5a880;
    color: #18181b;
}
.badge-fashion.badge-trending {
    background: #18181b;
    color: #c5a880;
    border: 1px solid #c5a880;
}

/* Dual Image Hover Transition */
.fashion-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f4efeb;
}
.fashion-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.fashion-image-container .img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}
.product-card:hover .fashion-image-container img.img-primary {
    opacity: 0;
    transform: scale(1.04);
}
.product-card:hover .fashion-image-container .img-secondary {
    opacity: 1;
    transform: scale(1.04);
}
.product-card:hover .fashion-image-container img:only-child {
    opacity: 1;
    transform: scale(1.04);
}

/* Available Sizes & Swatches on Product Card */
.card-fashion-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #71717a;
}
.card-size-pills {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.card-size-pill {
    padding: 2px 6px;
    background: #f4efeb;
    border: 1px solid #e8e2d9;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #27272a;
}
.card-swatch-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}
.card-swatch-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    display: inline-block;
}

/* Product Detail Variant Selectors */
.fashion-selector-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 8px;
}
.fashion-size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.fashion-size-btn {
    min-width: 48px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e8e2d9;
    background: #ffffff;
    color: #18181b;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.fashion-size-btn:hover {
    border-color: #18181b;
}
.fashion-size-btn.active {
    background: #18181b;
    color: #ffffff;
    border-color: #18181b;
}
.fashion-size-btn.disabled {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
    background: #f4f4f5;
    border-color: #e4e4e7;
}

/* ==============================================================================
   Refined Accessible Color Swatch Selector Component (Ultra-Minimal Premium)
   ============================================================================== */
.fashion-variant-group {
    margin-bottom: 1.5rem;
}
.fashion-variant-header {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.fashion-variant-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray-dark, #52525b);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.active-color-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-black, #171717);
    margin-left: 0.25rem;
}
.fashion-color-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.fashion-swatch-btn {
    position: relative;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: transparent;
    padding: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fashion-swatch-btn:focus-visible {
    outline: 2px solid #171717;
    outline-offset: 3px;
}
.fashion-swatch-btn .swatch-color-disc {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: block;
    box-sizing: border-box;
    pointer-events: none;
}
/* Unselected hover */
.fashion-swatch-btn:hover:not(.selected) {
    transform: scale(1.08);
}
.fashion-swatch-btn:hover:not(.selected) .swatch-color-disc {
    border-color: rgba(0, 0, 0, 0.35);
}
/* Unmistakable Selection Indicator: Dark outer ring + white gap + disc */
.fashion-swatch-btn.selected {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #171717;
}
.fashion-swatch-btn.selected .swatch-color-disc {
    border-color: transparent;
}

/* Complimentary Free Shipping Note */
.product-free-shipping-note {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: #4b5563;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    background: #faf8f5;
    border: 1px solid #e8e2d9;
    border-radius: 2px;
    line-height: 1.45;
}
.product-free-shipping-note svg {
    flex-shrink: 0;
    color: #171717;
}
.product-free-shipping-note strong {
    color: #171717;
    font-weight: 600;
}

/* Fabric & Care Accordion */
.fashion-details-tabs {
    margin-top: 30px;
    border-top: 1px solid #e8e2d9;
}
.fashion-tab-item {
    border-bottom: 1px solid #e8e2d9;
}
.fashion-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #18181b;
}
.fashion-tab-content {
    display: none;
    padding-bottom: 16px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #4b5563;
}
.fashion-tab-item.open .fashion-tab-content {
    display: block;
}



/* Discreet Footer Developer Row */
.footer-dev-row {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-beige);
    text-align: center;
}
.footer-dev-text {
    font-size: 0.82rem;
    color: var(--color-gray-muted);
    margin: 0;
}
.footer-dev-text a {
    color: var(--color-black);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}
.footer-dev-text a:hover {
    color: var(--color-gray-dark);
}

/* Mobile Sticky Buy Bar for Product Detail */
.mobile-sticky-buy-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    border-top: 1px solid #eae7e1 !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px)) !important;
    display: none;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.85rem !important;
}
.mobile-sticky-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.mobile-sticky-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f7f6f4;
}
.mobile-sticky-price {
    display: flex;
    flex-direction: column;
}
.mobile-sticky-price-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.1;
}
.mobile-sticky-price-label {
    font-size: 0.65rem;
    color: #767676;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.mobile-sticky-btn {
    flex: 1;
    max-width: 175px;
    height: 44px;
    background: #111111 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.2s ease;
}

