/* ==========================================================================
   FABRIMAN - LUXURY MEN'S APPAREL DESIGN SYSTEM
   Brand Colors: Primary Blue (#00AEF0) | Black (#0F172A) | White (#FFFFFF)
   Brand Font: Bahnschrift (Cross-Platform Variable Webfont)
   ========================================================================== */

@font-face {
    font-family: 'Bahnschrift';
    src: local('Bahnschrift'),
         local('Bahnschrift Regular'),
         url('../fonts/bahnschrift.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #00AEF0;
    --primary-hover: #0095CE;
    --primary-active: #007CAE;
    --primary-light: #EBF8FE;
    --primary-glow: rgba(0, 174, 240, 0.2);

    --dark: #0F172A;
    --dark-surface: #1E293B;
    --dark-card: #141E33;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --bg-canvas: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-alt: #F1F5F9;

    --border-color: #E2E8F0;
    --border-subtle: #EDF2F7;
    --border-dark: #334155;

    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --info: #0284C7;
    --info-light: #E0F2FE;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

    --font-heading: 'Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Screen Reader & Accessible Utility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Responsive Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-inline { display: inline !important; }
    .d-md-inline-flex { display: inline-flex !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-inline-flex { display: inline-flex !important; }
}

/* Base Reset & Box-Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;
}

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

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

button, input, select, textarea, optgroup {
    font: inherit;
    font-family: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.container-narrow {
    max-width: 900px;
}

.container-fluid {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--dark);
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    text-align: center;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.announcement-bar a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Header & Navigation */
.header-main {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 1.5rem;
}

.header-logo img {
    height: 44px;
    width: auto;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #111111;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    position: relative;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.icon-btn:hover {
    background-color: var(--bg-alt);
    color: var(--primary);
}

.cart-count-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #111111;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

@media (max-width: 991px) {
    .nav-desktop { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    user-select: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 174, 240, 0.3);
}

.btn-dark {
    background-color: var(--dark);
    color: #FFFFFF;
}

.btn-dark:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--dark);
    background-color: var(--bg-alt);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

.badge-primary { background: var(--primary-light); color: var(--primary-hover); }
.badge-dark { background: var(--dark); color: #FFFFFF; }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: #B45309; }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: var(--info-light); color: var(--info); }
.badge-light { background: var(--bg-alt); color: var(--text-secondary); }

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    color: var(--danger);
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

/* Product Cards */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1;
}

.product-card-image-wrap {
    position: relative;
    padding-top: 125%; /* 4:5 fashion aspect ratio */
    background: var(--bg-alt);
    overflow: hidden;
}

.product-card-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

/* Badges Overlay */
.product-card-badges {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.product-card-badge {
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    line-height: 1.2;
    text-transform: uppercase;
}

.badge-discount {
    background-color: var(--danger);
    color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.badge-new {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 174, 240, 0.3);
}

.badge-bestseller {
    background-color: var(--dark);
    color: #FCD34D;
    border: 1px solid rgba(252, 211, 77, 0.3);
}

/* Quick Actions Overlay on Card */
.product-card-quick-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.85rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
    z-index: 4;
}

.product-card:hover .product-card-quick-actions {
    transform: translateY(0);
    opacity: 1;
}

.btn-quick-view {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    background: var(--dark);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}
.btn-quick-view:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.product-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.product-card-category {
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    font-weight: 700;
}

.product-card-sku {
    font-size: 0.7rem;
    color: var(--text-light);
    font-family: monospace;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.65em;
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-card-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.product-card-old-price {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* Size Chips Preview on Card */
.product-card-sizes {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.sizes-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sizes-list {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 19px;
    padding: 0 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.product-card-actions {
    margin-top: auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
    .product-card-body { padding: 0.75rem; }
    .product-card-title { font-size: 0.875rem; min-height: 2.5em; }
    .product-card-price { font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .product-card-title { font-size: 0.825rem; }
    .product-card-price { font-size: 0.95rem; }
    .btn-quick-view { display: none; }
}

/* Footer */
.footer-main {
    background-color: var(--dark);
    color: #94A3B8;
    margin-top: auto;
    border-top: 1px solid #1E293B;
}

.footer-top {
    padding: 4.5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-col-title {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Navigation Drawer */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.drawer-content {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -320px;
    width: 300px;
    background: var(--bg-surface);
    z-index: 2001;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-smooth);
}

.drawer-backdrop.active .drawer-content {
    transform: translateX(320px);
}

.drawer-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-body {
    padding: 1.25rem;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.drawer-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

/* Mobile Drawer Search Box */
.drawer-search-wrap {
    margin-bottom: 1.25rem;
}

.drawer-search-form {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.45rem 0.65rem 0.45rem 0.95rem;
    transition: all 0.2s ease;
}

.drawer-search-form:focus-within {
    background: #FFFFFF;
    border-color: #00AEF0;
    box-shadow: 0 0 0 3px rgba(0, 174, 240, 0.12);
}

.drawer-search-input {
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 500;
    color: #0F172A;
    width: 100%;
    outline: none;
    line-height: 1.4;
}

.drawer-search-input::placeholder {
    color: #94A3B8;
    font-size: 0.82rem;
}

.drawer-search-btn {
    border: none;
    background: transparent;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.drawer-search-btn:hover,
.drawer-search-btn:focus {
    color: #00AEF0;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drawer-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    display: block;
    padding: 0.5rem 0;
}

.drawer-links a:hover {
    color: var(--primary);
}

/* Cart Drawer (Slide in from Right) */
.cart-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    background: var(--bg-surface);
    z-index: 2001;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-smooth);
}

.drawer-backdrop.cart-active .cart-drawer {
    transform: translateX(-420px);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 380px;
}

.toast {
    background: var(--dark);
    color: #FFFFFF;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    border-left: 4px solid var(--primary);
    animation: toastSlideIn 0.3s ease;
}

.toast-success { border-left-color: var(--success); }
.toast-danger { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }

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

/* ==========================================================================
   ALERTS COMPONENT
   ========================================================================== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    position: relative;
    border: 1px solid transparent;
}

.alert-icon {
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.alert-content {
    flex-grow: 1;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}
.alert-close:hover { opacity: 1; }

.alert-success {
    background-color: var(--success-light);
    color: #065F46;
    border-color: #A7F3D0;
}
.alert-success .alert-icon { color: var(--success); }

.alert-danger {
    background-color: var(--danger-light);
    color: #991B1B;
    border-color: #FECACA;
}
.alert-danger .alert-icon { color: var(--danger); }

.alert-warning {
    background-color: var(--warning-light);
    color: #92400E;
    border-color: #FDE68A;
}
.alert-warning .alert-icon { color: var(--warning); }

.alert-info {
    background-color: var(--info-light);
    color: #075985;
    border-color: #BAE6FD;
}
.alert-info .alert-icon { color: var(--info); }

/* ==========================================================================
   CATEGORY GRID & CARDS
   ========================================================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
}

.category-card:hover .category-card-icon {
    transform: scale(1.1);
}

.category-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.category-card-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-alt);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
}

@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .category-card { padding: 1.15rem 0.85rem; }
    .category-card-icon { width: 48px; height: 48px; font-size: 1.35rem; margin-bottom: 0.75rem; }
    .category-card-title { font-size: 0.95rem; }
}

/* ==========================================================================
   TRUST / VALUE PROPOSITION BAR
   ========================================================================== */
.trust-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.trust-item-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.3;
}

.trust-item-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (max-width: 576px) {
    .trust-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ==========================================================================
   SHOP ARCHIVE & FILTER SYSTEM
   ========================================================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

.shop-filter-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.filter-chip-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-chip-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.2rem 0;
    transition: color var(--transition-fast);
}

.filter-chip-link:hover, .filter-chip-link.active {
    color: var(--primary);
    font-weight: 600;
}

.filter-chip-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
}

.active-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-light);
    color: var(--primary-hover);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 174, 240, 0.2);
}

.filter-pill-remove {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
}

/* Mobile Filter Drawer / Modal */
.mobile-filter-btn {
    display: none;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-filter-panel.desktop-sidebar {
        display: none;
    }

    .mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-drawer {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: 86%;
        max-width: 320px;
        background: var(--bg-surface);
        z-index: 2501;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.16);
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
    }

    .drawer-backdrop.filter-active {
        opacity: 1;
        visibility: visible;
    }

    .drawer-backdrop.filter-active .filter-drawer {
        transform: translateX(0);
    }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP)
   ========================================================================== */
.pdp-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.pdp-gallery-main {
    aspect-ratio: 4/5;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.pdp-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-thumbs-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.pdp-thumb-btn {
    width: 72px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color var(--transition-fast);
}

.pdp-thumb-btn.active, .pdp-thumb-btn:hover {
    border-color: var(--primary);
}

.pdp-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variation-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.6rem;
}

.variation-chip {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    text-align: center;
    background: var(--bg-surface);
    transition: all var(--transition-fast);
}

.variation-chip:hover {
    border-color: var(--primary);
}

.variation-chip.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.variation-chip-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.variation-chip-stock {
    font-size: 0.725rem;
    color: var(--text-muted);
}

.variation-chip.active .variation-chip-stock {
    color: var(--primary);
}

/* Quantity Stepper */
.quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
}

.qty-btn {
    padding: 0.65rem 1rem;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.1rem;
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: var(--bg-alt);
}

.qty-input {
    width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    outline: none;
}

/* Tabbed details */
.pdp-tabs {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.pdp-tab-nav {
    display: flex;
    gap: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.pdp-tab-btn {
    padding: 0.75rem 0.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.pdp-tab-btn.active {
    color: var(--primary);
}

.pdp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.pdp-tab-pane {
    display: none;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.pdp-tab-pane.active {
    display: block;
}

/* Sizing Chart Table */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.size-table th, .size-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.size-table th {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 992px) {
    .pdp-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   PIXEL-PERFECT REFERENCE DESIGN STYLES
   ========================================================================== */
:root {
    --font-serif: 'Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 1. Top Announcement Bar */
.top-announcement-bar {
    background: #000000;
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.55rem 1rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-nav-arrow {
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 0.5rem;
    line-height: 1;
    transition: color 0.15s;
}
.announcement-nav-arrow:hover {
    color: #FFFFFF;
}

.top-announcement-bar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-announcement-trio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    flex: 1;
}

.top-announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.775rem;
    color: #E5E7EB;
    letter-spacing: 0.01em;
}

.top-announcement-item svg {
    color: #FFFFFF;
    flex-shrink: 0;
}

.top-announcement-locale {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #D1D5DB;
    font-weight: 500;
}

@media (max-width: 768px) {
    .top-announcement-trio .top-announcement-item:not(:first-child) {
        display: none;
    }
    .top-announcement-locale {
        display: none;
    }
}

.header-brand-title,
.header-brand-link {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 1.45rem;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.header-logo-img {
    height: 32px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-brand-link:hover .header-logo-img {
    opacity: 0.88;
}

@media (max-width: 768px) {
    .header-logo-img {
        height: 25px;
        max-width: 170px;
    }
}

.nav-desktop-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    flex-grow: 1;
}

.nav-desktop-center a {
    color: #111111;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.35rem 0;
    position: relative;
    transition: color 0.15s ease;
}

.nav-desktop-center a.active {
    color: #000000;
    font-weight: 600;
    border-bottom: 2px solid #000000;
}

.nav-desktop-center a:hover {
    color: #000000;
}

.header-cart-btn {
    position: relative;
}

/* 3. Hero Section */
.ref-hero-section {
    background: #14171E;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.ref-hero-container {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 3.5rem;
}

.ref-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: 520px;
    padding: 3rem 0;
}

.ref-hero-tag {
    font-size: 0.775rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
    display: block;
}

.ref-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    line-height: 1.08;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.ref-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 2.25rem;
}

.ref-hero-btn {
    background: #FFFFFF;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.85rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ref-hero-btn:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
    color: #000000;
}

.ref-hero-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 3.5rem;
}

.ref-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
}

.ref-hero-dot.active {
    background: #FFFFFF;
    border-color: #FFFFFF;
    width: 10px;
    height: 10px;
}

.ref-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.85rem;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}
.ref-hero-arrow:hover {
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.15);
}
.ref-hero-arrow.prev { left: 0.75rem; }
.ref-hero-arrow.next { right: 0.75rem; }

.ref-hero-img-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ref-hero-img-wrap img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 4px;
}

/* 4. Section Headers */
.ref-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
}

.ref-section-subtitle {
    font-size: 0.775rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #111111;
    display: block;
    margin-bottom: 0.25rem;
}

.ref-section-title {
    font-family: var(--font-serif);
    font-size: 2.15rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.2;
}

.ref-section-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: opacity 0.15s;
}
.ref-section-link:hover {
    opacity: 0.75;
}

/* 5. 5-Column Category Grid */
.ref-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.ref-category-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #1E232F;
}

.ref-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.ref-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.15rem;
    color: #FFFFFF;
}

.ref-category-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #FFFFFF;
    line-height: 1.2;
}

.ref-category-sublink {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* 6. 5-Column Best Sellers Grid */
.ref-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.ref-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.ref-product-img-box {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 4px;
    overflow: hidden;
    background: #F1F5F9;
}

.ref-product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.wishlist-btn {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #111111;
    transition: background 0.2s, transform 0.15s, color 0.15s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.wishlist-btn:hover {
    background: #FFFFFF;
    transform: scale(1.1);
    color: #EF4444;
}

.ref-product-info {
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
}

.ref-product-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.ref-product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0.35rem;
}

.ref-product-stars {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #111111;
}

.ref-product-reviews {
    color: #64748B;
    font-size: 0.8rem;
}

/* 7. Mid Promo Banner ("Built for Everyday Men") */
.ref-promo-banner {
    background: #0B0D11;
    border-radius: 6px;
    overflow: hidden;
    color: #FFFFFF;
    padding: 3.75rem 3.5rem;
    margin: 4.5rem 0 3.5rem;
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 2rem;
    background-image: radial-gradient(circle at right, rgba(30, 41, 59, 0.3) 0%, rgba(11, 13, 17, 0.98) 100%);
}

.ref-promo-tag {
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94A3B8;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.ref-promo-title {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.ref-promo-desc {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 1.85rem;
}

.ref-promo-btn {
    background: #FFFFFF;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.65rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.2s, transform 0.2s;
}
.ref-promo-btn:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
    color: #000000;
}

.ref-woven-label-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ref-woven-label {
    background: #11141A;
    border: 2px dashed rgba(255,255,255,0.22);
    outline: 2px solid rgba(0,0,0,0.8);
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
    padding: 1.75rem 3.5rem;
    transform: rotate(8deg);
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.25em;
    font-size: 1.45rem;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* 8. Trust Badges */
.ref-trust-bar {
    padding: 2.5rem 0 4.5rem;
    background: var(--bg-canvas);
}

.ref-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.ref-trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ref-trust-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    flex-shrink: 0;
}

.ref-trust-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111111;
    line-height: 1.3;
}

.ref-trust-subtitle {
    font-size: 0.8rem;
    color: #64748B;
}

/* 9. Minimal Dark Footer */
.footer-reference {
    background: #11141A;
    color: #94A3B8;
    padding: 4.5rem 0 2rem;
    border-top: 1px solid #1E232F;
}

.footer-ref-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-ref-logo {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #FFFFFF;
    margin-bottom: 0.6rem;
}

.footer-ref-logo-link {
    display: inline-block;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.footer-ref-logo-img {
    height: 30px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.footer-ref-logo-link:hover .footer-ref-logo-img {
    opacity: 0.85;
}

.footer-ref-tagline {
    font-size: 0.875rem;
    color: #64748B;
}

.footer-ref-heading {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-ref-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-ref-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-ref-links a:hover {
    color: #FFFFFF;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social-icons a {
    color: #94A3B8;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons a:hover {
    color: #FFFFFF;
}

.footer-ref-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: #64748B;
}

.footer-ref-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-ref-legal a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-ref-legal a:hover {
    color: #94A3B8;
}

/* Responsive adjustments for reference layout */
@media (max-width: 1100px) {
    .ref-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ref-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-ref-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .ref-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 0;
    }
    .ref-hero-container {
        padding: 0 1.25rem;
    }
    .ref-hero-arrow {
        display: none;
    }
    .nav-desktop-center {
        display: none;
    }
    .ref-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .ref-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .ref-promo-banner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    .ref-promo-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .ref-woven-label-container {
        margin-top: 1.5rem;
    }
    .ref-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .footer-ref-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .ref-trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ==========================================================================
   PRODUCT ARCHIVE / SHOP ALL REFERENCE DESIGN
   ========================================================================== */

/* 1. Dark Top Banner */
.shop-ref-banner {
    background: #11141A;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    min-height: 230px;
}

.shop-ref-banner-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 230px;
}

.shop-ref-banner-content {
    padding: 3rem 0;
    max-width: 580px;
    z-index: 2;
}

.shop-ref-breadcrumbs {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.shop-ref-breadcrumbs a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.shop-ref-breadcrumbs a:hover {
    color: #FFFFFF;
}

.shop-ref-breadcrumbs span {
    color: rgba(255, 255, 255, 0.4);
}

.shop-ref-breadcrumbs .current {
    color: #FFFFFF;
}

.shop-ref-banner-title {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0 0 0.6rem;
}

.shop-ref-banner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

.shop-ref-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48%;
    max-width: 560px;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shop-ref-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.shop-ref-hero-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(to right, #11141A 0%, rgba(17, 20, 26, 0.7) 40%, rgba(17, 20, 26, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 2. Shop Main Layout */
.shop-ref-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 2.75rem 1.5rem 5rem;
}

.shop-ref-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* 3. Left Sidebar Filter Panel */
.shop-ref-sidebar {
    flex: 0 0 240px;
    width: 240px;
    font-family: var(--font-body);
}

.shop-sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.shop-filter-group {
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.shop-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.85rem;
    cursor: pointer;
    user-select: none;
}

.shop-filter-header svg {
    color: #6B7280;
    transition: transform 0.2s ease;
}

.shop-filter-header.collapsed svg {
    transform: rotate(-180deg);
}

.shop-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-filter-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
    user-select: none;
}

.shop-filter-item:hover {
    color: #111111;
}

.shop-filter-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid #D1D5DB;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
    background: #FFFFFF;
}

.shop-filter-checkbox.checked {
    background-color: #111827;
    border-color: #111827;
    color: #FFFFFF;
}

.shop-filter-checkbox svg {
    display: none;
}

.shop-filter-checkbox.checked svg {
    display: block;
}

.shop-color-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.25rem;
}

.shop-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
}

.shop-color-swatch:hover {
    transform: scale(1.18);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.shop-color-swatch.active {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.btn-clear-filters {
    width: 100%;
    background: #11141A;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-clear-filters:hover {
    background: #232733;
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* 4. Products Main Area */
.shop-ref-main {
    flex: 1;
    min-width: 0;
}

.shop-ref-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.shop-toolbar-count {
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 400;
}

.shop-sort-box {
    display: flex;
    align-items: center;
    position: relative;
}

.shop-sort-select {
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 0.45rem 2rem 0.45rem 0.9rem;
    font-size: 0.85rem;
    color: #111827;
    background-color: #FFFFFF;
    cursor: pointer;
    outline: none;
    appearance: none;
    font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23374151' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.shop-sort-select:focus {
    border-color: #111827;
}

/* 5. 4-Column Product Grid */
.shop-ref-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.25rem;
}

.shop-grid-card {
    display: flex;
    flex-direction: column;
}

.shop-card-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #F8FAFC;
    overflow: hidden;
    border-radius: 2px;
}

.shop-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.shop-card-img-box:hover img {
    transform: scale(1.03);
}

.shop-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #11141A;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 2px;
    z-index: 2;
    letter-spacing: 0.02em;
}

.shop-card-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}

.shop-card-wishlist:hover {
    transform: scale(1.15);
}

.shop-card-wishlist .wishlist-active-icon {
    display: none;
}

.shop-card-wishlist.active .wishlist-active-icon {
    display: block;
}

.shop-card-info {
    padding-top: 0.75rem;
}

.shop-card-title {
    font-size: 0.925rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.35rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card-title a {
    color: inherit;
    text-decoration: none;
}

.shop-card-title a:hover {
    text-decoration: underline;
}

.shop-card-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.shop-card-price {
    font-weight: 700;
    color: #111827;
}

.shop-card-old-price {
    font-size: 0.85rem;
    color: #9CA3AF;
    text-decoration: line-through;
    font-weight: 400;
}

.shop-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.shop-card-stars {
    color: #111827;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
}

.shop-card-reviews {
    color: #6B7280;
    font-size: 0.78rem;
}

/* 6. Centered Pagination */
.shop-ref-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3.5rem;
}

.shop-page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.15s;
}

.shop-page-arrow:hover {
    color: #111827;
}

.shop-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s;
}

.shop-page-num:hover {
    background: #F3F4F6;
    color: #111827;
}

.shop-page-num.active {
    background: #111827;
    color: #FFFFFF;
    font-weight: 600;
}

/* 7. Responsive Shop Layout */
@media (max-width: 1200px) {
    .shop-ref-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 1rem;
    }
}

@media (max-width: 991px) {
    .shop-ref-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .shop-ref-sidebar {
        flex: none;
        width: 100%;
    }
    .shop-ref-banner-title {
        font-size: 2.5rem;
    }
    .shop-ref-hero-media {
        width: 40%;
    }
}

@media (max-width: 640px) {
    .shop-ref-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.85rem;
    }
    .shop-ref-hero-media {
        opacity: 0.35;
        width: 60%;
    }
    .shop-ref-banner-content {
        max-width: 100%;
    }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE / PDP REFERENCE DESIGN
   ========================================================================== */

.pdp-ref-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 3rem;
}

/* Breadcrumbs */
.pdp-ref-breadcrumbs {
    font-size: 0.825rem;
    color: #6B7280;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pdp-ref-breadcrumbs a {
    color: #4B5563;
    text-decoration: none;
    transition: color 0.15s;
}

.pdp-ref-breadcrumbs a:hover {
    color: #111111;
}

.pdp-ref-breadcrumbs span {
    color: #9CA3AF;
    font-size: 0.75rem;
}

.pdp-ref-breadcrumbs .current {
    color: #111111;
    font-weight: 500;
}

/* Main Hero Grid */
.pdp-ref-hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 3.5rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Gallery Column */
.pdp-ref-gallery-wrap {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.pdp-ref-thumb-strip {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 56px;
    flex-shrink: 0;
}

.pdp-ref-thumb {
    width: 56px;
    aspect-ratio: 4 / 5;
    border-radius: 2px;
    overflow: hidden;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s, opacity 0.15s;
    background: #F8FAFC;
    padding: 0;
    opacity: 0.75;
}

.pdp-ref-thumb:hover {
    opacity: 1;
}

.pdp-ref-thumb.active {
    border-color: #111111;
    opacity: 1;
}

.pdp-ref-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-ref-main-showcase {
    position: relative;
    flex: 1;
    aspect-ratio: 3 / 3.7;
    background: #F8FAFC;
    border-radius: 2px;
    overflow: hidden;
}

.pdp-ref-main-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.25s ease;
}

.pdp-ref-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    cursor: pointer;
    transition: all 0.15s;
    z-index: 2;
    border: none;
}

.pdp-ref-nav-btn:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.pdp-ref-nav-prev {
    left: 12px;
}

.pdp-ref-nav-next {
    right: 12px;
}

.pdp-ref-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    cursor: pointer;
    transition: all 0.15s;
    z-index: 2;
    border: none;
}

.pdp-ref-zoom-btn:hover {
    background: #FFFFFF;
    transform: scale(1.08);
}

/* Product Info Column */
.pdp-ref-info-wrap {
    font-family: var(--font-body);
}

.pdp-ref-badge-bestseller {
    display: inline-block;
    background: #F5EBE1;
    color: #785A3C;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.pdp-ref-title {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 0.85rem;
    line-height: 1.2;
}

.pdp-ref-price-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.pdp-ref-current-price {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111111;
}

.pdp-ref-old-price {
    font-size: 1.05rem;
    color: #9CA3AF;
    text-decoration: line-through;
    font-weight: 400;
}

.pdp-ref-discount-badge {
    background: #C93B4E;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2.5px 8px;
    border-radius: 12px;
}

.pdp-ref-rating-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.pdp-ref-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #111111;
    line-height: 1;
}

.pdp-ref-stars svg {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pdp-ref-reviews-link {
    color: #6B7280;
    font-size: 0.85rem;
    text-decoration: none;
}

.pdp-ref-desc {
    font-size: 0.925rem;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

/* Options Pickers */
.pdp-ref-option-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.6rem;
    display: block;
}

.pdp-ref-color-swatches {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.pdp-ref-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: all 0.15s;
    position: relative;
    padding: 0;
    background: transparent;
}

.pdp-ref-color-swatch:hover {
    transform: scale(1.15);
}

.pdp-ref-color-swatch.active {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.pdp-ref-size-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.pdp-ref-size-btn {
    min-width: 44px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: 3px;
    border: 1px solid #D1D5DB;
    background: #FFFFFF;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.pdp-ref-size-btn:hover {
    border-color: #111111;
}

.pdp-ref-size-btn.active {
    background: #111111;
    border-color: #111111;
    color: #FFFFFF;
    font-weight: 600;
}

.pdp-ref-size-btn.disabled {
    color: #9CA3AF;
    border-color: #E5E7EB;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Quantity & Buttons */
.pdp-ref-qty-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #D1D5DB;
    border-radius: 3px;
    height: 38px;
    width: 120px;
    margin-bottom: 1.5rem;
}

.pdp-ref-qty-btn {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
    font-size: 1rem;
    user-select: none;
    border: none;
    background: transparent;
}

.pdp-ref-qty-btn:hover {
    background: #F3F4F6;
}

.pdp-ref-qty-val {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    border: none;
    background: transparent;
    outline: none;
}

.btn-pdp-cart {
    width: 100%;
    background: #11141A;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-pdp-cart:hover {
    background: #232733;
    transform: translateY(-1px);
}

.btn-pdp-buy {
    width: 100%;
    background: #FFFFFF;
    color: #111827;
    border: 1px solid #D1D5DB;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 0.65rem;
    transition: all 0.15s;
}

.btn-pdp-buy:hover {
    border-color: #111111;
    background: #F9FAFB;
}

/* Mini Trust Row below buttons */
.pdp-ref-mini-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #E5E7EB;
}

.pdp-mini-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pdp-mini-trust-icon {
    color: #111111;
    flex-shrink: 0;
}

.pdp-mini-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.pdp-mini-trust-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #111111;
}

.pdp-mini-trust-sub {
    font-size: 0.7rem;
    color: #6B7280;
}

/* Middle 4-Feature Highlights Strip */
.pdp-ref-feature-bar {
    width: 100%;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    padding: 2.25rem 0;
    margin-bottom: 3.5rem;
}

.pdp-ref-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pdp-ref-feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.pdp-ref-feature-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    flex-shrink: 0;
}

.pdp-ref-feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.2rem;
}

.pdp-ref-feature-sub {
    font-size: 0.8rem;
    color: #6B7280;
}

/* Tabs & Editorial Details */
.pdp-ref-tabs-section {
    margin-bottom: 4rem;
}

.pdp-ref-tab-nav {
    display: flex;
    gap: 2.5rem;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 2.5rem;
}

.pdp-ref-tab-btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6B7280;
    padding-bottom: 0.85rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.pdp-ref-tab-btn:hover {
    color: #111111;
}

.pdp-ref-tab-btn.active {
    color: #111111;
    border-bottom-color: #111111;
    font-weight: 700;
}

.pdp-tab-pane {
    display: none;
}

.pdp-tab-pane.active {
    display: block;
}

/* Description Tab Grid */
.pdp-desc-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 4rem;
    align-items: start;
}

.pdp-details-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1.25rem;
}

.pdp-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pdp-details-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: #374151;
}

.pdp-check-box {
    width: 15px;
    height: 15px;
    border: 1.5px solid #9CA3AF;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FFFFFF;
}

.pdp-desc-paragraph {
    font-size: 0.925rem;
    color: #4B5563;
    line-height: 1.65;
}

/* Right Editorial Visual Grid */
.pdp-editorial-visual {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
}

.pdp-collar-box {
    flex: 1.35;
    border-radius: 3px;
    overflow: hidden;
    background: #F8FAFC;
}

.pdp-collar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-micro-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: space-between;
}

.pdp-micro-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pdp-micro-img {
    width: 52px;
    height: 44px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F8FAFC;
}

.pdp-micro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-micro-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.pdp-micro-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111111;
}

.pdp-micro-sub {
    font-size: 0.75rem;
    color: #6B7280;
}

/* You May Also Like 5-Column Grid */
.pdp-ref-related {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #E5E7EB;
}

.pdp-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.pdp-related-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #111111;
}

.pdp-related-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    transition: opacity 0.15s;
}

.pdp-related-link:hover {
    opacity: 0.75;
}

.pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.pdp-related-card {
    display: flex;
    flex-direction: column;
}

.pdp-related-img-box {
    position: relative;
    aspect-ratio: 1 / 1.08;
    background: #EAE6DF;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.pdp-related-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pdp-related-img-box:hover img {
    transform: scale(1.04);
}

.pdp-related-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #111111;
    z-index: 2;
    transition: transform 0.15s, color 0.15s;
    padding: 0;
}

.pdp-related-wishlist:hover {
    transform: scale(1.15);
}

.pdp-related-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pdp-related-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.3;
}

.pdp-related-name a {
    color: #111111;
    text-decoration: none;
}

.pdp-related-name a:hover {
    text-decoration: underline;
}

.pdp-related-price {
    font-size: 0.925rem;
    font-weight: 700;
    color: #111111;
}

.pdp-related-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    color: #111111;
}

.pdp-related-stars {
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.pdp-related-count {
    color: #4B5563;
    font-size: 0.775rem;
}

/* Responsive PDP */
@media (max-width: 1100px) {
    .pdp-ref-hero-grid {
        gap: 2rem;
    }
    .pdp-ref-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .pdp-desc-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .pdp-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pdp-ref-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .pdp-ref-gallery-wrap {
        flex-direction: column-reverse;
    }
    .pdp-ref-thumb-strip {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    .pdp-ref-mini-trust {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .pdp-ref-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .pdp-editorial-visual {
        flex-direction: column;
    }
    .pdp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   MANFARE-INSPIRED LUXURY DESIGN SYSTEM FOR FABRIMAN
   Modern, Ultra-Clean Menswear E-Commerce Experience
   ========================================================================== */

:root {
    --mf-bg: #FFFFFF;
    --mf-surface: #F8FAFC;
    --mf-border: #E2E8F0;
    --mf-border-light: #F1F5F9;
    --mf-dark: #0B0F19;
    --mf-navy: #0F172A;
    --mf-blue: #00AEF0;
    --mf-blue-hover: #0096D1;
    --mf-gold: #D97706;
    --mf-gold-light: #FEF3C7;
    --mf-text: #0F172A;
    --mf-text-muted: #64748B;
    --mf-text-light: #94A3B8;
    --mf-radius: 6px;
    --mf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --mf-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --mf-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* 1. Header & Navigation */
.mf-top-announcement {
    background: #0B0F19;
    color: #E2E8F0;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-announcement-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mf-announcement-divider {
    opacity: 0.35;
    font-size: 0.75rem;
}

.mf-top-announcement a {
    color: var(--mf-blue);
    text-decoration: none;
    font-weight: 700;
}

.mf-top-announcement a:hover {
    text-decoration: underline;
}

.mf-header-main {
    background: #FFFFFF;
    border-bottom: 1px solid #ECEFF2;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.25s ease;
}

.mf-header-main > .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

@media (min-width: 992px) {
    .mf-header-main {
        border-bottom: none;
    }
}

.mf-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

.mf-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #0F172A;
    cursor: pointer;
    padding: 0.35rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.mf-mobile-toggle:hover {
    color: var(--mf-blue);
}

/* Search Box on Left */
.mf-search-wrap {
    max-width: 320px;
    width: 100%;
    position: relative;
}

.drawer-search-wrap {
    position: relative;
}

.header-search-bar .container form {
    position: relative;
}

/* Instant Search Auto-Suggest Dropdown */
.mf-search-suggest-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.mf-search-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid #F1F5F9;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.mf-search-suggest-item:last-child {
    border-bottom: none;
}

.mf-search-suggest-item:hover,
.mf-search-suggest-item:focus {
    background: #F8FAFC;
}

.mf-search-suggest-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    background: #F1F5F9;
    flex-shrink: 0;
}

.mf-search-suggest-info {
    flex: 1;
    min-width: 0;
}

.mf-search-suggest-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}

.mf-search-suggest-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
}

.mf-search-suggest-price {
    font-weight: 700;
    color: var(--mf-blue, #00AEF0);
}

.mf-search-suggest-reg {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 0.7rem;
}

.mf-search-suggest-cat {
    color: #64748B;
    font-size: 0.68rem;
    background: #F1F5F9;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

.mf-search-suggest-footer {
    display: block;
    padding: 0.6rem 0.85rem;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mf-blue, #00AEF0);
    text-decoration: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.mf-search-suggest-footer:hover {
    background: #F1F5F9;
}

.mf-search-box {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 0.38rem 0.65rem 0.38rem 1rem;
    transition: all 0.2s ease;
}

.mf-search-box:focus-within {
    background: #FFFFFF;
    border-color: var(--mf-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 240, 0.12);
}

.mf-search-input {
    border: none;
    background: transparent;
    font-size: 0.82rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--mf-text);
    width: 100%;
    outline: none;
}

.mf-search-btn {
    border: none;
    background: transparent;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.4rem;
    transition: color 0.15s ease;
}

.mf-search-btn:hover {
    color: var(--mf-blue);
}

/* Logo Center */
.mf-brand-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mf-brand-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mf-brand-logo {
    height: 34px;
    width: auto;
    max-width: 210px;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.mf-brand-logo:hover {
    opacity: 0.9;
}

/* Actions Right */
.mf-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
}

.mf-mobile-search-trigger {
    display: none !important;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.35rem;
    color: #0F172A;
}

.mf-action-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #0F172A;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    position: relative;
    transition: color 0.15s ease;
    cursor: pointer;
}

.mf-action-item:hover {
    color: var(--mf-blue);
}

.mf-action-label {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.mf-admin-badge-btn {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.mf-icon-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mf-badge-count {
    position: absolute;
    top: -7px;
    right: -9px;
    background: var(--mf-blue);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #FFFFFF;
}

.mf-cart-label {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.mf-cart-label small {
    font-size: 0.68rem;
    color: #64748B;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mf-cart-label span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
}

/* Secondary Category Navigation Strip (Luxury Menswear Style) */
.mf-cat-nav-bar {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03);
    position: relative;
    z-index: 40;
    width: 100%;
}

.mf-cat-nav-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Left & Right Circular Navigation Scroll Buttons */
.mf-cat-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    padding: 0;
}

.mf-cat-nav-arrow.left {
    left: 6px;
}

.mf-cat-nav-arrow.right {
    right: 6px;
}

.mf-cat-nav-arrow.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.mf-cat-nav-arrow:hover {
    background: var(--mf-blue, #00AEF0);
    border-color: var(--mf-blue, #00AEF0);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 174, 240, 0.35);
    transform: translateY(-50%) scale(1.1);
}

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

/* Horizontally Scrollable & Draggable Track */
.mf-cat-nav-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.mf-cat-nav-scroller::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.mf-cat-nav-scroller.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}

.mf-cat-nav-scroller.is-dragging a {
    pointer-events: none;
}

.mf-cat-nav-scroller.is-dragging .mf-subcat-dropdown {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mf-cat-nav-list {
    display: inline-flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0.35rem 2rem;
    gap: 0.35rem;
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    justify-content: safe center;
}

@media (min-width: 1280px) {
    .mf-cat-nav-list {
        gap: 0.45rem;
    }
}

@media (min-width: 1440px) {
    .mf-cat-nav-list {
        gap: 0.7rem;
    }
}

.mf-cat-nav-item {
    position: relative;
    flex-shrink: 0;
}

.mf-cat-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.42rem 0.48rem;
    position: relative;
    transition: color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1.2;
}

@media (min-width: 1440px) {
    .mf-cat-nav-link {
        font-size: 0.76rem;
        padding: 0.48rem 0.65rem;
        gap: 0.35rem;
    }
}

/* Caret icon for categories with subcategories */
.mf-nav-caret {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.12rem;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    color: currentColor;
    opacity: 0.6;
}

.mf-cat-nav-item:hover .mf-nav-caret,
.mf-cat-nav-item.dropdown-open .mf-nav-caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* Luxury Animated Underline Hover Effect */
.mf-cat-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.35rem;
    right: 0.35rem;
    height: 2px;
    background: linear-gradient(90deg, #00AEF0 0%, #0284C7 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.mf-cat-nav-link:hover {
    color: var(--mf-blue, #00AEF0);
}

.mf-cat-nav-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.mf-cat-nav-link:hover .mf-pill-badge {
    transform: translateY(-1px);
}

.mf-cat-nav-link.active {
    color: var(--mf-blue, #00AEF0);
    font-weight: 800;
}

.mf-cat-nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
    height: 2.5px;
    background: var(--mf-blue, #00AEF0);
}

/* Luxury Subcategory Dropdown System */
.mf-subcat-dropdown {
    position: fixed;
    transform: translateX(-50%) translateY(6px);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14), 0 6px 14px -3px rgba(15, 23, 42, 0.06);
    padding: 0.5rem 0.4rem;
    min-width: 220px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 99999;
}

/* Dropdown Hover Bridge */
.mf-subcat-dropdown::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* Dropdown Arrow Tip */
.mf-subcat-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 9px;
    height: 9px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-left: 1px solid #E2E8F0;
    border-radius: 2px 0 0 0;
    z-index: 1;
}

/* Hover reveal */
.mf-cat-nav-item:hover .mf-subcat-dropdown,
.mf-cat-nav-item.dropdown-open .mf-subcat-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mf-subcat-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.65rem 0.45rem 0.65rem;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 0.35rem;
}

.mf-subcat-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
}

.mf-subcat-view-all {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--mf-blue, #00AEF0);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.mf-subcat-view-all:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.mf-subcat-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mf-subcat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.42rem 0.65rem;
    border-radius: 6px;
    font-size: 0.77rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.mf-subcat-item:hover {
    background: #F8FAFC;
    color: var(--mf-blue, #00AEF0);
    padding-left: 0.85rem;
}

.mf-subcat-item.active {
    background: rgba(0, 174, 240, 0.08);
    color: var(--mf-blue, #00AEF0);
    font-weight: 700;
}

.mf-subcat-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #CBD5E1;
    margin-right: 0.5rem;
    transition: background 0.18s ease;
    flex-shrink: 0;
}

.mf-subcat-item:hover .mf-subcat-dot,
.mf-subcat-item.active .mf-subcat-dot {
    background: var(--mf-blue, #00AEF0);
}

.mf-subcat-name {
    flex: 1;
    text-align: left;
}

.mf-subcat-count {
    font-size: 0.68rem;
    color: #94A3B8;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Micro-Pill Badges */
.mf-pill-badge {
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.15rem 0.42rem;
    border-radius: 9999px;
    line-height: 1;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.mf-pill-badge.new {
    background: linear-gradient(135deg, #00AEF0 0%, #0284C7 100%);
    color: #FFFFFF;
}

.mf-pill-badge.hot {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
}

.mf-pill-badge.sale {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
}

.mf-pill-badge.custom {
    background: #64748B;
    color: #FFFFFF;
}

/* Mobile Header & Bottom Nav (<= 991px) */
@media (max-width: 991px) {
    /* 1. Hide Top Announcement Bar on Mobile unless mf-show-mobile is enabled */
    .mf-top-announcement:not(.mf-show-mobile) {
        display: none !important;
    }

    /* 2. Hide Secondary Category Navigation Strip on Mobile */
    .mf-cat-nav-bar {
        display: none !important;
    }

    /* 3. Hide Trust Strip on Mobile */
    .mf-trust-strip {
        display: none !important;
    }

    .mf-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }
    .mf-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #0F172A;
        cursor: pointer;
        padding: 0.4rem;
        margin-left: -0.4rem;
    }
    .mf-search-wrap {
        display: none;
    }
    .mf-mobile-search-trigger {
        display: none !important;
    }
    .mf-brand-center {
        display: flex;
        justify-content: center;
        flex: 1;
    }
    .mf-brand-logo {
        height: 28px;
        max-width: 170px;
    }
    .mf-header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-right: -0.25rem;
    }
    .mf-action-label,
    .mf-cart-label {
        display: none;
    }
    .mf-action-item {
        padding: 0.4rem;
    }
    /* Sticky Mobile App-Like Bottom Navigation Bar */
    .mf-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 56px !important;
        background: #FFFFFF !important;
        border-top: 1px solid #E2E8F0 !important;
        box-shadow: 0 -3px 15px rgba(15, 23, 42, 0.08) !important;
        z-index: 1000 !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 0.25rem !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    }
    .mf-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #64748B;
        font-size: 0.65rem;
        font-weight: 600;
        gap: 2px;
        position: relative;
        flex: 1;
        height: 100%;
        transition: color 0.15s ease;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    .mf-bottom-nav-item svg {
        transition: transform 0.15s ease, stroke 0.15s ease;
    }
    .mf-bottom-nav-item:active svg {
        transform: scale(0.9);
    }
    .mf-bottom-nav-item.active,
    .mf-bottom-nav-item:hover {
        color: var(--mf-blue);
    }
    .mf-bottom-nav-item.active svg {
        stroke: var(--mf-blue);
    }
    .mf-bottom-nav-badge {
        position: absolute;
        top: -6px;
        right: -9px;
        background: var(--mf-blue);
        color: #FFFFFF;
        font-size: 0.58rem;
        font-weight: 700;
        min-width: 15px;
        height: 15px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        border: 2px solid #FFFFFF;
        line-height: 1;
    }
    /* Floating WhatsApp sits above bottom nav */
    .mf-floating-chat {
        bottom: 70px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    }
    body {
        padding-bottom: 58px !important;
    }
}

.mf-hero-editorial-card {
    display: none !important;
}

/* 2. Fabriman Signature Product Card (Recreated from Reference) */
.mf-product-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mf-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
    border-color: #CBD5E1;
}

/* Inset Media Container */
.mf-card-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #F8FAFC;
    flex-shrink: 0;
}

.mf-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mf-card-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mf-product-card:hover .mf-card-media-wrap img {
    transform: scale(1.05);
}

/* Rating Pill on Bottom-Left of Image (0.0 ★ | 0.0) */
.mf-card-rating-pill {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mf-rating-star {
    color: #F59E0B;
    font-size: 0.72rem;
    line-height: 1;
}

.mf-rating-divider {
    color: #CBD5E1;
    font-weight: 400;
    margin: 0 1px;
}

.mf-card-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #0F172A !important;
    color: #FFFFFF !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 2.5px 7px;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.mf-card-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    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;
    color: #64748B;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mf-card-wishlist-btn:hover {
    background: #FFFFFF;
    color: #EF4444;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.2);
}

.mf-card-wishlist-btn.active {
    color: #EF4444;
    background: #FFFFFF;
}

/* Card Body */
.mf-card-body {
    padding: 10px 2px 2px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Product Title */
.mf-card-title {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mf-card-title a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mf-card-title a:hover,
.mf-product-card:hover .mf-card-title a {
    color: #0F172A;
    font-weight: 600;
}

/* Pricing Row */
.mf-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.mf-price-current {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
}

.mf-price-old {
    font-size: 0.78rem;
    font-weight: 400;
    color: #94A3B8;
    text-decoration: line-through;
}

/* "Order Now" Pill Button */
.mf-card-action-wrap {
    margin-top: auto;
}

.mf-order-now-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 50px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-family: var(--font-heading, inherit);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-product-card:hover .mf-order-now-btn {
    background: #0F172A;
    border-color: #0F172A;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
}

.mf-order-now-btn:hover {
    background: #0F172A !important;
    border-color: #0F172A !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}

.mf-order-now-btn:active {
    transform: translateY(0);
}

.mf-add-to-cart-btn.btn-added {
    background: #10B981 !important;
    border-color: #10B981 !important;
    color: #FFFFFF !important;
}


/* 3. Homepage Sections */

/* Hero Banner & Smooth Slideshow */
.mf-hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #F5EBE1;
}

.mf-hero-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mf-hero-slide {
    display: none;
    width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.mf-hero-slide.active {
    display: block;
    opacity: 1;
    animation: heroFadeZoom 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes heroFadeZoom {
    0% {
        opacity: 0.15;
        transform: scale(1.015);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.mf-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: none;
    object-fit: contain;
    object-position: top center;
}

/* Modern Stylish Hero Arrow Buttons */
.mf-hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    color: #0F172A;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    outline: none;
}

.mf-hero-banner:hover .mf-hero-nav-arrow {
    opacity: 0.96;
    pointer-events: auto;
}

.mf-hero-nav-arrow.prev {
    left: 28px;
}

.mf-hero-nav-arrow.next {
    right: 28px;
}

.mf-hero-nav-arrow:hover {
    background: #00AEF0;
    border-color: #00AEF0;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 28px rgba(0, 174, 240, 0.45);
}

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

/* Hero Indicators / Dots */
.mf-hero-indicators {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 25;
}

.mf-hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(15, 23, 42, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    outline: none;
}

.mf-hero-dot:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
}

.mf-hero-dot.active {
    width: 32px;
    border-radius: 9999px;
    background: #00AEF0;
    border-color: #00AEF0;
    box-shadow: 0 3px 10px rgba(0, 174, 240, 0.55);
}

@media (max-width: 992px) {
    .mf-hero-nav-arrow {
        display: none !important;
    }
    .mf-hero-indicators {
        bottom: 12px;
        gap: 6px;
    }
    .mf-hero-dot {
        width: 8px;
        height: 8px;
    }
    .mf-hero-dot.active {
        width: 22px;
    }
}

/* YouTube Video Player Modal */
.mf-video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mf-video-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mf-video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 920px;
    background: #000000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-video-modal-backdrop.active .mf-video-modal-dialog {
    transform: scale(1);
}

.mf-video-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.mf-video-modal-close:hover {
    background: #EF4444;
    border-color: #EF4444;
    transform: scale(1.1);
}

.mf-video-modal-iframe-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.mf-video-modal-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mf-hero-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.mf-hero-editorial-card {
    max-width: 520px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.mf-hero-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mf-blue);
    display: block;
    margin-bottom: 0.75rem;
}

.mf-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    margin: 0 0 1rem;
    font-family: var(--font-serif);
}

.mf-hero-desc {
    font-size: 0.95rem;
    color: var(--mf-text-muted);
    line-height: 1.6;
    margin: 0 0 1.75rem;
}

.mf-hero-btn {
    background: var(--mf-navy);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.mf-hero-btn:hover {
    background: var(--mf-blue);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* 4 Trust Strip */
.mf-trust-strip {
    background: #FFFFFF;
    border-bottom: 1px solid var(--mf-border);
    padding: 1.25rem 0;
}

.mf-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mf-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mf-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mf-surface);
    border: 1px solid var(--mf-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mf-blue);
    flex-shrink: 0;
}

.mf-trust-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 0.15rem;
}

.mf-trust-text p {
    font-size: 0.78rem;
    color: var(--mf-text-muted);
    margin: 0;
}

/* Section Headers */
.mf-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.mf-section-title-wrap {
    display: flex;
    flex-direction: column;
}

.mf-section-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mf-blue);
    margin-bottom: 0.25rem;
}

.mf-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.mf-section-view-all {
    color: var(--mf-blue);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.15s ease;
}

.mf-section-view-all:hover {
    transform: translateX(4px);
    text-decoration: underline;
}

/* Centered Section Header with Accent Bar */
.mf-section-header-centered {
    text-align: center;
    margin-bottom: 2rem;
}

.mf-heading-accent {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0F172A;
    margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
    .mf-heading-accent {
        font-size: 1.65rem;
    }
}

.mf-heading-accent-line {
    width: 50px;
    height: 3px;
    background: var(--mf-blue);
    margin: 0.5rem auto 0;
    border-radius: 3px;
}

/* Section Header Bar with Title, Underline Bar & Carousel Controls */
.mf-section-header-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ECEFF2;
    position: relative;
    gap: 1rem;
}

.mf-section-bar-left {
    position: relative;
}

.mf-section-eyebrow {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--mf-blue);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.mf-heading-bar-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0F172A;
    margin: 0;
    display: inline-block;
}

@media (min-width: 768px) {
    .mf-heading-bar-title {
        font-size: 1.4rem;
    }
}

.mf-title-underline-bar {
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--mf-blue, #00AEF0);
    border-radius: 2px;
}

.mf-section-header-bar-centered {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    position: relative;
}

.mf-section-header-bar-centered .mf-title-underline-bar {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 0.35rem auto 0;
    width: 70px;
    height: 3px;
    background: var(--mf-blue, #00AEF0);
    border-radius: 2px;
}

.mf-section-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.mf-carousel-nav-arrows {
    display: none !important;
}


.mf-view-all-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0F172A;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.mf-view-all-link:hover {
    color: var(--mf-blue);
    transform: translateX(2px);
}

/* General Carousel Wrapper & Tracks */
.mf-carousel-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
}

.mf-carousel-side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    color: #0F172A;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
    opacity: 0.98;
    pointer-events: auto;
    padding: 0;
    outline: none;
}

.mf-carousel-side-arrow.prev {
    left: -20px;
}

.mf-carousel-side-arrow.next {
    right: -20px;
}

.mf-showcase-split-grid .mf-carousel-side-arrow.prev {
    left: -14px;
}

.mf-showcase-split-grid .mf-carousel-side-arrow.next {
    right: -14px;
}

.mf-carousel-side-arrow:hover {
    background: var(--mf-blue);
    border-color: var(--mf-blue);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 10px 28px rgba(0, 174, 240, 0.45), 0 3px 8px rgba(0, 174, 240, 0.2);
}

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

.mf-carousel-track {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.35rem 0.25rem 0.65rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.mf-carousel-track.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.mf-carousel-track img,
.mf-carousel-track a {
    -webkit-user-drag: none;
    user-drag: none;
}

.mf-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Category Slides */
.mf-categories-section {
    padding: 1.75rem 0 1.25rem;
}

.mf-category-slide {
    flex: 0 0 calc(25% - 0.95rem);
    min-width: 250px;
    scroll-snap-align: start;
}

@media (max-width: 1200px) {
    .mf-category-slide {
        flex: 0 0 calc(33.333% - 0.85rem);
        min-width: 230px;
    }
}

@media (max-width: 768px) {
    .mf-category-slide {
        flex: 0 0 calc(48% - 0.5rem);
        min-width: 155px;
    }
}

@media (max-width: 480px) {
    .mf-category-slide {
        flex: 0 0 calc(52% - 0.4rem);
        min-width: 145px;
    }
    .mf-section-header-bar {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
}


.mf-category-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #0B0F19;
    display: block;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.1) 45%, transparent 70%);
    pointer-events: none;
    transition: background 0.35s ease;
}

.mf-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.mf-category-card:hover::after {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.1) 45%, transparent 70%);
}

.mf-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mf-category-card:hover img {
    transform: scale(1.08);
}

.mf-category-pill-btn {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    color: #0F172A;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mf-category-card:hover .mf-category-pill-btn {
    background: var(--mf-blue);
    color: #FFFFFF;
    border-color: var(--mf-blue);
    box-shadow: 0 6px 20px rgba(0, 174, 240, 0.45);
    transform: translateX(-50%) translateY(-2px);
}

.ref-category-name {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    display: inline;
    text-transform: inherit;
    color: inherit;
    letter-spacing: inherit;
}

/* Product Section Carousel */
.mf-products-section {
    padding: 1.5rem 0;
}

.mf-products-section-alt {
    background: #F8FAFC;
    padding: 2rem 0;
}

/* Home Standard Section Spacing Utilities */
.mf-home-section {
    padding: 1.75rem 0;
}

.mf-home-section-alt {
    background: #F8FAFC;
    padding: 2rem 0;
}

.mf-home-section-compact {
    padding: 1.25rem 0;
}

.mf-product-slide {
    flex: 0 0 calc(20% - 1rem);
    min-width: 220px;
    scroll-snap-align: start;
}

@media (max-width: 1300px) {
    .mf-product-slide {
        flex: 0 0 calc(25% - 0.95rem);
        min-width: 210px;
    }
}

@media (max-width: 991px) {
    .mf-product-slide {
        flex: 0 0 calc(33.333% - 0.85rem);
        min-width: 190px;
    }
}

@media (max-width: 640px) {
    .mf-product-slide {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 155px;
    }
}

/* Split Showcase Carousel Slides */
.mf-product-slide-split {
    flex: 0 0 calc(33.333% - 0.85rem) !important;
    min-width: 210px !important;
}

@media (max-width: 1200px) {
    .mf-product-slide-split {
        flex: 0 0 calc(50% - 0.75rem) !important;
        min-width: 190px !important;
    }
}

@media (max-width: 640px) {
    .mf-product-slide-split {
        flex: 0 0 calc(60% - 0.5rem) !important;
        min-width: 155px !important;
    }
}

/* Fallback Grid styles */
.mf-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.mf-products-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}


/* Dual Media Spotlight Banner */
.mf-dual-spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-radius: var(--mf-radius);
    overflow: hidden;
}

.mf-dual-spotlight-asymmetric {
    grid-template-columns: 1.45fr 1fr;
}

.mf-spotlight-item {
    position: relative;
    border-radius: var(--mf-radius);
    overflow: hidden;
    min-height: 280px;
    aspect-ratio: 16/10;
    background: #0B0F19;
    display: flex;
}

.mf-spotlight-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mf-spotlight-item:hover img {
    transform: scale(1.05);
}

.mf-spotlight-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.5) 55%, rgba(11, 15, 25, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem 2rem;
    color: #FFFFFF;
}

.mf-spotlight-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #00AEF0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.mf-spotlight-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.mf-spotlight-btn-wrap {
    margin-top: 0.25rem;
}

.mf-spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.mf-spotlight-btn:hover {
    transform: translateY(-2px);
}

.mf-video-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #EF4444;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    margin: auto;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mf-video-play-btn:hover {
    transform: scale(1.15);
    background: #FFFFFF;
}

/* Seaside Yacht Feature Banner */
.mf-seaside-banner-wrap {
    position: relative;
    border-radius: var(--mf-radius);
    overflow: hidden;
    background: #0B0F19;
    min-height: 400px;
}

.mf-seaside-banner-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.mf-seaside-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 15, 25, 0.88) 0%, rgba(11, 15, 25, 0.55) 50%, rgba(11, 15, 25, 0.15) 100%);
    display: flex;
    align-items: center;
    padding: 2.5rem 3.5rem;
    color: #FFFFFF;
}

.mf-seaside-card {
    max-width: 520px;
}

.mf-seaside-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #00AEF0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.mf-seaside-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0 0 0.85rem;
    font-family: var(--font-serif);
}

.mf-seaside-desc {
    font-size: 0.95rem;
    color: #E2E8F0;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.mf-seaside-btn {
    background: #00AEF0;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 174, 240, 0.35);
}

.mf-seaside-btn:hover {
    background: #0095CE;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 240, 0.45);
}

.mf-btn-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.mf-seaside-btn:hover .mf-btn-arrow,
.mf-spotlight-btn:hover .mf-btn-arrow {
    transform: translateX(3px);
}

/* Split Signature Category Showcase */
.mf-showcase-split-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.mf-showcase-split-grid.reverse {
    grid-template-columns: 1fr 340px;
}

.mf-vertical-banner {
    position: relative;
    border-radius: var(--mf-radius);
    overflow: hidden;
    height: 100%;
    min-height: 480px;
    background: #0B0F19;
}

.mf-vertical-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mf-vertical-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #FFFFFF;
}

.mf-products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Responsive Media Queries for Spotlight, Showcase & Seaside */
@media (max-width: 991px) {
    .mf-dual-spotlight-grid,
    .mf-dual-spotlight-asymmetric {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .mf-spotlight-item {
        min-height: 250px;
        aspect-ratio: auto;
    }
    .mf-spotlight-overlay {
        padding: 1.75rem 1.5rem;
    }
    .mf-spotlight-title {
        font-size: 1.4rem;
    }
    .mf-showcase-split-grid,
    .mf-showcase-split-grid.reverse {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .mf-vertical-banner {
        min-height: 280px;
        height: 280px;
        margin-bottom: 0.5rem;
    }
    .mf-seaside-overlay {
        padding: 2rem 2.25rem;
    }
    .mf-seaside-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 768px) {
    .mf-dual-spotlight-grid,
    .mf-dual-spotlight-asymmetric {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .mf-spotlight-item {
        min-height: 230px;
        aspect-ratio: auto;
    }
    .mf-spotlight-overlay {
        padding: 1.5rem 1.25rem;
    }
    .mf-spotlight-title {
        font-size: 1.25rem;
        margin-bottom: 0.65rem;
    }
    .mf-spotlight-tag {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }
    .mf-spotlight-btn {
        padding: 0.55rem 1.2rem;
        font-size: 0.8rem;
    }
    .mf-seaside-banner-wrap {
        min-height: 420px;
    }
    .mf-seaside-banner-img {
        min-height: 420px;
        object-position: 70% center;
    }
    .mf-seaside-overlay {
        background: linear-gradient(to top, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.72) 55%, rgba(11, 15, 25, 0.35) 100%);
        padding: 2rem 1.25rem;
        align-items: flex-end;
    }
    .mf-seaside-card {
        max-width: 100%;
    }
    .mf-seaside-tag {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }
    .mf-seaside-title {
        font-size: 1.45rem;
        line-height: 1.25;
        margin: 0 0 0.5rem;
    }
    .mf-seaside-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 0 0 1.25rem;
        color: #CBD5E1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .mf-seaside-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.8rem;
    }
}

/* Brand Manifesto Box */
.mf-manifesto-wrap {
    position: relative;
    padding: 5rem 0;
    background-color: #1E293B;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--mf-radius);
    overflow: hidden;
}

.mf-manifesto-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.7);
}

.mf-manifesto-card {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.mf-manifesto-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0F172A;
    margin: 1rem 0;
    font-family: var(--font-serif);
}

.mf-manifesto-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .mf-manifesto-wrap {
        padding: 3rem 1rem;
    }
    .mf-manifesto-card {
        padding: 1.75rem 1.25rem;
    }
    .mf-manifesto-title {
        font-size: 1.4rem;
    }
    .mf-manifesto-text {
        font-size: 0.9rem;
    }
}

/* Customer Reviews Grid */
.mf-reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.mf-review-card {
    background: #FFFFFF;
    border: 1px solid var(--mf-border);
    border-radius: var(--mf-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mf-review-stars {
    color: #F59E0B;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.mf-review-text {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.55;
    margin: 0 0 1.25rem;
    font-style: italic;
    flex-grow: 1;
}

.mf-reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--mf-border-light);
    padding-top: 0.85rem;
}

.mf-reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--mf-border);
}

.mf-reviewer-meta h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 0.15rem;
}

.mf-reviewer-meta span {
    font-size: 0.72rem;
    color: var(--mf-text-muted);
    display: block;
}

@media (max-width: 1024px) {
    .mf-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .mf-reviews-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.85rem;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
    }
    .mf-review-card {
        min-width: 270px;
        max-width: 290px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 1.25rem;
    }
}

/* VIP Newsletter Strip */
.mf-newsletter-strip {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.mf-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.mf-newsletter-text {
    flex: 1;
    min-width: 0;
}

.mf-newsletter-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
}

.mf-newsletter-text p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

.mf-newsletter-form {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 460px;
    flex-shrink: 0;
}

.mf-newsletter-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.mf-newsletter-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
}

.mf-newsletter-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
}

.mf-newsletter-input::placeholder {
    color: #94A3B8;
}

.mf-newsletter-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #0284C7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

.mf-newsletter-btn {
    background: #0284C7;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.8rem 1.4rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.mf-newsletter-btn:hover {
    background: #0369A1;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}

.mf-newsletter-btn:active {
    transform: translateY(0);
}

.mf-newsletter-alert {
    max-width: 1000px;
    margin: 1rem auto 0;
    padding: 0.85rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 8px;
    color: #A7F3D0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* 4. Luxury Dark Footer */
.mf-footer-dark {
    background: #0B0F19;
    color: #94A3B8;
    padding: 2.75rem 0 1.75rem;
    border-top: 1px solid #1E293B;
}

.mf-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mf-footer-logo {
    height: 38px;
    width: auto;
    margin-bottom: 1.25rem;
    display: block;
}

.mf-footer-hotline {
    font-size: 1.4rem;
    font-weight: 800;
    color: #F59E0B;
    margin: 0 0 1rem;
    display: block;
    text-decoration: none;
}

.mf-footer-social-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.mf-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1E293B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mf-social-link:hover {
    background: var(--mf-blue);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.mf-footer-col h4 {
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1.25rem;
}

.mf-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mf-footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease;
}

.mf-footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.mf-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #94A3B8;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.mf-fb-box {
    background: #111827;
    border: 1px solid #1F2937;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.mf-fb-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1877F2;
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 0.75rem;
}

/* Payment Gateway Strip */
.mf-payment-strip {
    border-top: 1px solid #1E293B;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mf-developer-credit {
    font-size: 0.85rem;
    color: #94A3B8;
}

.mf-developer-credit a {
    color: #38BDF8;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mf-developer-credit a:hover {
    color: #60A5FA;
    text-decoration: underline;
}

.mf-payment-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mf-payment-badge {
    background: #FFFFFF;
    color: #0B0F19;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
}

/* Floating WhatsApp / Messenger Chat */
.mf-floating-chat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 99;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.mf-floating-chat:hover {
    transform: scale(1.12);
}

/* 5. Shop Archive Page System (Screenshot 1) */
.mf-archive-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.75rem;
    align-items: start;
    padding: 1.5rem 0 3rem;
}

.mf-archive-sidebar {
    background: #FFFFFF;
    border: 1px solid var(--mf-border);
    border-radius: var(--mf-radius);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.mf-sidebar-section {
    border-bottom: 1px solid var(--mf-border-light);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.mf-sidebar-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mf-sidebar-heading {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0F172A;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mf-cat-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mf-cat-filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475569;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.mf-cat-filter-link:hover,
.mf-cat-filter-link.active {
    background: var(--mf-surface);
    color: var(--mf-blue);
    font-weight: 700;
}

.mf-cat-count-badge {
    font-size: 0.72rem;
    color: var(--mf-text-muted);
}

.mf-size-pills-wrap {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.mf-filter-size-btn {
    border: 1px solid var(--mf-border);
    background: #FFFFFF;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mf-filter-size-btn:hover,
.mf-filter-size-btn.active {
    background: var(--mf-navy);
    border-color: var(--mf-navy);
    color: #FFFFFF;
}

.mf-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid var(--mf-border);
    border-radius: var(--mf-radius);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
}

.mf-toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mf-toolbar-right {
    display: flex;
    align-items: center;
}

.mf-archive-count {
    font-size: 0.875rem;
    color: var(--mf-text-muted);
    font-weight: 500;
}

.mf-archive-sort-select {
    border: 1px solid var(--mf-border);
    background: #FFFFFF;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mf-text);
    outline: none;
    cursor: pointer;
}

.mf-archive-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Color Filter Swatches (Desktop & Mobile) */
.mf-color-swatches-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.mf-filter-color-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--mf-border, #E2E8F0);
    border-radius: 9999px;
    background: #FFFFFF;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mf-filter-color-chip:hover {
    border-color: #94A3B8;
    color: #0F172A;
}

.mf-filter-color-chip.active {
    background: #0F172A;
    border-color: #0F172A;
    color: #FFFFFF;
}

.mf-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Mobile Filter Trigger Button (Hidden on Desktop) */
.mf-mobile-filter-btn {
    display: none;
}

/* Mobile Slide-In Filter Drawer (Smooth Slide From Left) */
.mf-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-filter-backdrop.filter-active,
.mf-filter-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mf-filter-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 86%;
    max-width: 320px;
    background: #FFFFFF;
    z-index: 2501;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-filter-backdrop.filter-active .mf-filter-drawer,
.mf-filter-backdrop.active .mf-filter-drawer {
    transform: translateX(0);
}

@media (min-width: 993px) {
    .mf-filter-backdrop {
        display: none !important;
    }
}

.mf-filter-drawer-header {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--mf-border, #E2E8F0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
}

.mf-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mf-drawer-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0F172A;
}

.mf-drawer-active-badge {
    background: #EFF6FF;
    color: var(--mf-blue, #00AEF0);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 174, 240, 0.2);
}

.mf-filter-drawer-close {
    background: transparent;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.mf-filter-drawer-close:hover {
    color: #0F172A;
    background: #F1F5F9;
}

.mf-filter-drawer-body {
    padding: 1.15rem 1.25rem;
    overflow-y: auto;
    flex-grow: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
}

.mf-filter-drawer-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

/* Active Chips Summary in Drawer */
.mf-drawer-active-summary {
    background: #F8FAFC;
    border: 1px solid var(--mf-border, #E2E8F0);
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    margin-bottom: 1.25rem;
}

.mf-active-chips-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748B;
    margin-bottom: 0.45rem;
}

.mf-active-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.mf-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.mf-active-chip:hover {
    background: #1E293B;
    color: #FFFFFF;
}

.mf-active-chip.mf-clear-chip {
    background: transparent;
    color: #EF4444;
    border: 1px solid #FECACA;
}

.mf-active-chip.mf-clear-chip:hover {
    background: #FEF2F2;
}

/* Drawer Filter Groups */
.mf-drawer-filter-group {
    border-bottom: 1px solid var(--mf-border-light, #F1F5F9);
    padding-bottom: 1.15rem;
    margin-bottom: 1.15rem;
}

.mf-drawer-filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mf-drawer-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0.65rem;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0F172A;
}

.mf-drawer-group-content {
    display: block;
}

.mf-drawer-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mf-drawer-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #475569;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.mf-drawer-cat-link:hover,
.mf-drawer-cat-link.active {
    background: var(--mf-surface, #F8FAFC);
    color: var(--mf-blue, #00AEF0);
    font-weight: 700;
}

.mf-drawer-cat-text {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.mf-check-box {
    width: 15px;
    height: 15px;
    border: 1.5px solid #CBD5E1;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.mf-check-box.checked {
    background: var(--mf-blue, #00AEF0);
    border-color: var(--mf-blue, #00AEF0);
}

/* Drawer Sticky Footer */
.mf-filter-drawer-footer {
    padding: 0.95rem 1.25rem;
    border-top: 1px solid var(--mf-border, #E2E8F0);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #FFFFFF;
}

.mf-drawer-btn-clear {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mf-border, #E2E8F0);
    background: #FFFFFF;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
}

.mf-drawer-btn-clear:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: #94A3B8;
}

.mf-drawer-btn-apply {
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0F172A;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mf-drawer-btn-apply:hover {
    background: #1E293B;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .mf-products-grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    .mf-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mf-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .mf-header-inner {
        grid-template-columns: auto 1fr auto;
    }
    .mf-search-wrap {
        display: none;
    }
    .mf-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .mf-products-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .mf-dual-spotlight-grid {
        grid-template-columns: 1fr;
    }
    .mf-showcase-split-grid,
    .mf-showcase-split-grid.reverse {
        grid-template-columns: 1fr;
    }
    .mf-archive-layout {
        grid-template-columns: 1fr !important;
        padding: 0.75rem 0 2rem !important;
    }
    .mf-archive-sidebar {
        display: none !important;
    }
    .mf-mobile-filter-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 0.45rem;
        background: #0F172A;
        color: #FFFFFF;
        border: 1px solid #0F172A;
        padding: 0.45rem 0.85rem;
        border-radius: 6px;
        font-size: 0.82rem;
        font-weight: 700;
        cursor: pointer;
        line-height: 1.2;
        transition: all 0.15s ease;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    }
    .mf-mobile-filter-btn:hover {
        background: #1E293B;
    }
    .mf-mobile-filter-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--mf-blue, #00AEF0);
        color: #FFFFFF;
        font-size: 0.68rem;
        font-weight: 800;
        min-width: 18px;
        height: 18px;
        border-radius: 9999px;
        padding: 0 4px;
        line-height: 1;
    }
    .mf-archive-toolbar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        padding: 0.65rem 0.85rem;
        margin-bottom: 1.15rem;
    }
    .mf-toolbar-left {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 1;
    }
    .mf-archive-count {
        font-size: 0.78rem;
        color: #64748B;
        white-space: nowrap;
    }
    .mf-toolbar-right {
        display: flex;
        align-items: center;
    }
    .mf-archive-sort-select {
        padding: 0.45rem 0.65rem;
        font-size: 0.8rem;
    }
    .mf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mf-carousel-side-arrow {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .mf-archive-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0.65rem 0.75rem;
    }
    .mf-toolbar-left {
        grid-column: 1 / 2;
        width: 100%;
    }
    .mf-mobile-filter-btn {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 0.6rem;
    }
    .mf-toolbar-right {
        grid-column: 2 / 3;
        width: 100%;
    }
    .mf-archive-sort-select {
        width: 100%;
        max-width: 100%;
        padding: 0.5rem 0.5rem;
        font-size: 0.78rem;
    }
    .mf-archive-count {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 0.74rem;
        padding-top: 0.35rem;
        border-top: 1px dashed var(--mf-border, #E2E8F0);
        margin-top: 0.1rem;
    }
}


@media (max-width: 768px) {
    .mf-hero-overlay-content {
        padding: 0 1.5rem;
    }
    .mf-hero-editorial-card {
        padding: 1.5rem;
    }
    .mf-hero-title {
        font-size: 1.85rem;
    }
    .mf-trust-strip {
        display: none !important;
    }
    .mf-categories-section {
        padding: 1.25rem 0 0.85rem !important;
    }
    .mf-products-section {
        padding: 1.25rem 0 !important;
    }
    .mf-products-section-alt {
        padding: 1.5rem 0 !important;
    }
    .mf-home-section {
        padding: 1.25rem 0 !important;
    }
    .mf-home-section-alt {
        padding: 1.5rem 0 !important;
    }
    .mf-home-section-compact {
        padding: 1rem 0 !important;
    }
    .mf-section-header-bar,
    .mf-section-header-bar-centered,
    .mf-section-header {
        margin-bottom: 1rem !important;
    }
    .mf-carousel-track {
        gap: 0.85rem !important;
        padding: 0.25rem 0.2rem 0.5rem !important;
    }
    .mf-footer-dark {
        padding: 2.25rem 0 1.5rem !important;
    }
    .mf-footer-grid {
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    .mf-newsletter-strip {
        padding: 1.75rem 0 !important;
        margin: 1.5rem 0 !important;
    }
    .mf-archive-layout {
        padding: 1rem 0 2rem !important;
        gap: 1.25rem !important;
    }
    .mf-carousel-side-arrow {
        display: none !important;
    }
    .mf-category-card {
        border-radius: 14px;
        aspect-ratio: 4/5;
    }
    .mf-category-pill-btn {
        font-size: 0.74rem;
        font-weight: 800;
        padding: 0.45rem 1.1rem;
        bottom: 0.85rem;
        border-radius: 9999px;
        letter-spacing: 0.04em;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    .mf-products-grid-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    .mf-archive-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    .mf-product-card {
        border-radius: 12px;
    }
    .mf-card-body {
        padding: 0.75rem 0.65rem 0.85rem;
    }
    .mf-card-title {
        font-size: 0.84rem;
        line-height: 1.32;
        margin-bottom: 0.4rem;
        min-height: 2.25rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .mf-price-current {
        font-size: 0.95rem;
        font-weight: 800;
    }
    .mf-price-old {
        font-size: 0.75rem;
    }
    .mf-size-pill {
        min-width: 25px;
        height: 21px;
        font-size: 0.65rem;
        padding: 0 0.3rem;
        border-radius: 4px;
    }
    .mf-add-to-cart-btn {
        font-size: 0.74rem;
        padding: 0.5rem 0.5rem;
        gap: 0.35rem;
        border-radius: 6px;
    }
    .mf-add-to-cart-btn svg {
        width: 14px;
        height: 14px;
    }
    .mf-reviews-grid {
        grid-template-columns: 1fr;
    }
    .mf-newsletter-strip {
        padding: 1.75rem 1.25rem !important;
        margin: 1.5rem 0 !important;
        border-radius: 14px !important;
    }
    .mf-newsletter-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.25rem !important;
        padding: 0 !important;
    }
    .mf-newsletter-text h3 {
        font-size: 1.25rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.4rem !important;
    }
    .mf-newsletter-text p {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
    }
    .mf-newsletter-form {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.65rem !important;
    }
    .mf-newsletter-input-wrap {
        width: 100% !important;
    }
    .mf-newsletter-input {
        width: 100% !important;
        padding: 0.75rem 1rem 0.75rem 2.5rem !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
    }
    .mf-newsletter-btn {
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        border-radius: 8px !important;
        justify-content: center !important;
    }
    .mf-newsletter-alert {
        flex-direction: column !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        padding: 0.75rem 0.85rem !important;
    }
    .mf-footer-grid {
        grid-template-columns: 1fr;
    }
    .mf-payment-strip {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Mobile Bottom Navigation Bar (Active on <= 768px) */
    .mf-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 58px !important;
        background: #FFFFFF !important;
        border-top: 1px solid #E5E7EB !important;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
        box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.07) !important;
        z-index: 9999 !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 0.35rem !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        box-sizing: border-box !important;
    }

    .mf-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #475569;
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 500;
        padding: 4px 0;
        border: none;
        background: transparent;
        cursor: pointer;
        position: relative;
        flex: 1;
        height: 100%;
        transition: color 0.15s ease, transform 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mf-bottom-nav-item:hover,
    .mf-bottom-nav-item.active {
        color: var(--mf-blue, #00AEF0) !important;
        font-weight: 600 !important;
    }

    .mf-bottom-nav-item svg {
        stroke: currentColor;
        transition: stroke 0.15s ease;
    }

    .mf-bottom-nav-item.active svg {
        stroke: var(--mf-blue, #00AEF0) !important;
    }

    .mf-icon-badge {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mf-bottom-nav-badge {
        position: absolute;
        top: -6px;
        right: -9px;
        background: var(--mf-blue, #00AEF0);
        color: #FFFFFF;
        font-size: 0.58rem;
        font-weight: 800;
        min-width: 15px;
        height: 15px;
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        border: 1.5px solid #FFFFFF;
        line-height: 1;
        box-shadow: 0 2px 5px rgba(0, 174, 240, 0.35);
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .mf-floating-chat {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 9998 !important;
    }
}

/* Sticky Mobile App-Like Bottom Navigation Bar (Hidden on Desktop >= 769px) */
@media (min-width: 769px) {
    .mf-bottom-nav {
        display: none !important;
    }
}

/* Modern Clean Pagination (Storefront & Account) */
.admin-pagination,
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 0.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.pagination-info {
    color: #64748B;
    font-size: 0.85rem;
}

.pagination-info span {
    font-weight: 700;
    color: #0F172A;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pagination-btn,
.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    user-select: none;
}

.pagination-btn:hover:not(.disabled),
.pagination-num:hover:not(.active) {
    background: #F1F5F9;
    color: var(--mf-blue);
    border-color: #CBD5E1;
}

.pagination-num.active {
    background: var(--mf-blue);
    color: #FFFFFF;
    border-color: var(--mf-blue);
    box-shadow: 0 2px 6px rgba(0, 174, 240, 0.35);
}

.pagination-btn.disabled {
    color: #94A3B8;
    background: #F8FAFC;
    border-color: #E2E8F0;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 36px;
    color: #94A3B8;
    font-size: 0.85rem;
}

/* Guard against unstyled runaway SVGs in any pagination context */
.admin-pagination svg,
nav[role="navigation"] svg,
.pagination svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
    vertical-align: middle;
}

/* ==========================================================================
   REFERENCE PRODUCT DETAIL PAGE (PDP) - PIXEL-PERFECT LUXURY STYLING
   ========================================================================== */
.pdp-ref-wrapper {
    background: #FFFFFF;
    padding: 16px 0 40px;
}

/* 1. Breadcrumbs & Top Navigation Bar */
.pdp-ref-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    flex-wrap: wrap;
    gap: 12px;
}

.pdp-ref-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748B;
    flex-wrap: wrap;
}

.pdp-ref-breadcrumbs a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.15s ease;
}

.pdp-ref-breadcrumbs a:hover {
    color: #00AEF0;
}

.pdp-ref-sep {
    color: #CBD5E1;
}

.pdp-ref-crumb-current {
    color: #0F172A;
    font-weight: 600;
}

.pdp-ref-top-nav-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdp-nav-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    color: #475569;
    text-decoration: none;
    background: #FFFFFF;
    transition: all 0.15s ease;
}

.pdp-nav-arrow-btn:hover {
    border-color: #0F172A;
    color: #0F172A;
    background: #F8FAFC;
}

.pdp-nav-grid-btn svg {
    width: 14px;
    height: 14px;
}

/* 2. Main 2-Column Showcase Grid */
.pdp-ref-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 36px;
}

/* Gallery Column */
.pdp-ref-gallery-col {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pdp-ref-thumb-track-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80px;
    flex-shrink: 0;
}

.pdp-thumb-arrow-btn {
    width: 100%;
    height: 24px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.pdp-thumb-arrow-btn:hover {
    background: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
}

.pdp-ref-thumb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: none;
}

.pdp-ref-thumb-list::-webkit-scrollbar {
    display: none;
}

.pdp-ref-thumb-btn {
    width: 78px;
    height: 104px;
    border: 1.5px solid #E2E8F0;
    border-radius: 6px;
    overflow: hidden;
    background: #F8FAFC;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pdp-ref-thumb-btn.active {
    border-color: #0F172A;
    box-shadow: 0 0 0 1px #0F172A;
}

.pdp-ref-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pdp-ref-showcase-box {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    aspect-ratio: 3 / 4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.pdp-ref-showcase-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.pdp-ref-circle-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #000000;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    letter-spacing: -0.02em;
}

.pdp-ref-circle-badge.pdp-badge-soldout {
    font-size: 0.65rem;
    line-height: 1.1;
    text-align: center;
    background: #1E293B;
}

.pdp-ref-zoom-trigger {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

.pdp-ref-zoom-trigger:hover {
    transform: scale(1.1);
    background: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
}

/* Showcase Slideshow Arrows & Counter */
.pdp-showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0F172A;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.pdp-ref-showcase-box:hover .pdp-showcase-nav {
    opacity: 1;
}

.pdp-showcase-nav:hover {
    background: #00AEF0;
    color: #FFFFFF;
    border-color: #00AEF0;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 174, 240, 0.35);
}

.pdp-nav-prev {
    left: 12px;
}

.pdp-nav-next {
    right: 12px;
}

.pdp-slide-counter-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.8);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


/* Product Details Column */
.pdp-ref-details-col {
    display: flex;
    flex-direction: column;
}

.pdp-ref-product-name {
    font-family: var(--font-heading, 'Bahnschrift', sans-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.pdp-ref-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.pdp-ref-price-strikethrough {
    font-size: 1.15rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 500;
}

.pdp-ref-price-bold {
    font-size: 1.75rem;
    color: #0F172A;
    font-weight: 800;
    font-family: var(--font-heading, 'Bahnschrift', sans-serif);
}

.pdp-price-discount-tag {
    display: inline-flex;
    align-items: center;
    background: #DCFCE7;
    color: #15803D;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid #BBF7D0;
    letter-spacing: 0.02em;
    animation: fadeIn 0.25s ease;
}

/* Option Sections */
.pdp-ref-option-section {
    margin-bottom: 16px;
}

.pdp-ref-option-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdp-ref-option-selected {
    font-weight: 700;
    color: #0284C7;
    margin-left: 2px;
}

.pdp-ref-size-selected {
    font-weight: 700;
    color: #0F172A;
    margin-left: 2px;
}

.pdp-ref-color-swatches {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pdp-ref-color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    position: relative;
}

.pdp-ref-color-circle:hover {
    transform: scale(1.15);
}

.pdp-ref-color-circle.active {
    box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0F172A;
    transform: scale(1.08);
}

.pdp-ref-size-pills {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pdp-ref-size-pill {
    min-width: 44px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.pdp-ref-size-pill:hover:not(.disabled) {
    border-color: #0F172A;
}

.pdp-ref-size-pill.active {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}

.pdp-ref-size-pill.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #F8FAFC;
}

/* Actions Row (Stepper + Cart + Buy Now) */
.pdp-ref-purchase-form {
    margin-top: 4px;
    margin-bottom: 12px;
}

.pdp-ref-actions-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pdp-ref-stepper-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    height: 44px;
    background: #FFFFFF;
}

.pdp-stepper-btn {
    width: 34px;
    height: 100%;
    border: none;
    background: none;
    font-size: 1.15rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.pdp-stepper-btn:hover {
    background: #F1F5F9;
}

.pdp-stepper-input {
    width: 42px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 0.925rem;
    font-weight: 700;
    color: #0F172A;
    background: transparent;
    outline: none;
}

.pdp-ref-btn {
    height: 44px;
    padding: 0 24px;
    font-weight: 700;
    font-size: 0.825rem;
    letter-spacing: 0.06em;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 130px;
}

.pdp-btn-cart {
    background: #000000;
    color: #FFFFFF;
}

.pdp-btn-cart:hover {
    background: #1E293B;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pdp-btn-buynow {
    background: #000000;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1.5px solid rgba(0, 174, 240, 0.7);
    box-shadow: 0 0 12px rgba(0, 174, 240, 0.55), 0 0 24px rgba(0, 174, 240, 0.25);
    animation: pdpBuyNowGlow 2.4s infinite ease-in-out;
}

.pdp-btn-buynow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 174, 240, 0.25),
        rgba(255, 255, 255, 0.45),
        rgba(0, 174, 240, 0.25),
        transparent
    );
    transform: skewX(-25deg);
    animation: pdpBuyNowShimmer 3.6s infinite ease-in-out;
    pointer-events: none;
    z-index: 2;
}

.pdp-btn-buynow:hover {
    background: #00AEF0;
    color: #FFFFFF;
    border-color: #38BDF8;
    box-shadow: 0 0 22px rgba(0, 174, 240, 0.95), 0 0 45px rgba(0, 174, 240, 0.55), 0 0 65px rgba(0, 174, 240, 0.3);
    transform: translateY(-2px);
}

.pdp-btn-buynow:active {
    transform: translateY(0);
    box-shadow: 0 0 14px rgba(0, 174, 240, 0.8);
}

@keyframes pdpBuyNowGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 174, 240, 0.5), 0 0 20px rgba(0, 174, 240, 0.22);
        border-color: rgba(0, 174, 240, 0.65);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 174, 240, 0.9), 0 0 38px rgba(0, 174, 240, 0.48), inset 0 0 12px rgba(0, 174, 240, 0.25);
        border-color: rgba(56, 189, 248, 1);
    }
}

@keyframes pdpBuyNowShimmer {
    0% {
        left: -120%;
    }
    28%, 100% {
        left: 220%;
    }
}

/* Utility Links */
.pdp-ref-utility-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.pdp-util-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0;
    transition: color 0.15s ease;
}

.pdp-util-link:hover {
    color: var(--mf-blue, #00AEF0);
}

.pdp-util-link.active {
    color: #EF4444;
}

/* 3. Embedded Interactive Size Chart Box (Matching Screenshot) */
.pdp-ref-size-chart-box {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #FFFFFF;
}

.pdp-sc-tab-bar {
    display: flex;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

.pdp-sc-tab {
    padding: 8px 18px;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
}

.pdp-sc-tab.active {
    color: #0F172A;
    background: #FFFFFF;
    border-bottom-color: #0F172A;
}

.pdp-sc-table-container {
    overflow-x: auto;
    max-height: 240px;
}

.pdp-sc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.825rem;
    text-align: center;
}

.pdp-sc-table thead th {
    padding: 9px 12px;
    background: #F8FAFC;
    font-weight: 700;
    color: #475569;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.775rem;
    letter-spacing: 0.04em;
}

.pdp-sc-table tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
    font-size: 0.825rem;
}

.pdp-sc-table tbody tr:last-child td {
    border-bottom: none;
}

.pdp-sc-size-cell {
    font-weight: 700;
    color: #0F172A;
    background: #FAFAFA;
}

.pdp-sc-accordion {
    border-top: 1px solid #E2E8F0;
}

.pdp-sc-accordion-trigger {
    width: 100%;
    padding: 11px 16px;
    background: #FFFFFF;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0F172A;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.pdp-sc-accordion-trigger:hover {
    background: #F8FAFC;
}

.pdp-sc-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
    background: #F8FAFC;
    color: #475569;
    font-size: 0.825rem;
    line-height: 1.6;
}

.pdp-sc-accordion-panel.open {
    max-height: 160px;
    padding: 12px 16px;
    border-top: 1px solid #F1F5F9;
}

.pdp-sc-accordion-panel p {
    margin: 0;
}

.pdp-sc-arrow {
    transition: transform 0.2s ease;
}

.pdp-sc-accordion-trigger.open .pdp-sc-arrow {
    transform: rotate(180deg);
}

/* 4. Real-time Watching Counter */
.pdp-ref-watching-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F1F5F9;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 18px;
    border: 1px solid #E2E8F0;
}

.pdp-ref-watching-banner svg {
    color: #475569;
    flex-shrink: 0;
}

/* 5. Product Metadata & Social Sharing */
.pdp-ref-meta-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
}

.pdp-ref-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748B;
}

.pdp-ref-meta-label {
    font-weight: 600;
    color: #0F172A;
}

.pdp-ref-meta-value {
    color: #475569;
}

.pdp-ref-meta-link {
    color: #0F172A;
    text-decoration: none;
    font-weight: 500;
}

.pdp-ref-meta-link:hover {
    color: var(--mf-blue, #00AEF0);
}

.pdp-ref-social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pdp-social-btn {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F1F5F9;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
}

.pdp-social-btn:hover {
    background: #000000;
    color: #FFFFFF;
}

/* 6. Bottom Information Tabs */
.pdp-ref-tabs-wrapper {
    margin: 56px 0 64px;
    border-top: 1px solid #E2E8F0;
    padding-top: 40px;
}

.pdp-ref-tab-nav {
    display: flex;
    justify-content: center;
    gap: 36px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.pdp-ref-tab-btn {
    padding: 12px 6px;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.pdp-ref-tab-btn:hover {
    color: #0F172A;
}

.pdp-ref-tab-btn.active {
    color: #0F172A;
    border-bottom-color: #0F172A;
}

.pdp-ref-tab-pane {
    display: none;
}

.pdp-ref-tab-pane.active {
    display: block;
    animation: pdpFadeIn 0.3s ease;
}

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

.pdp-editorial-content {
    max-width: 900px;
    margin: 0 auto;
}

.pdp-desc-intro {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 32px;
}

.pdp-block-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    margin: 28px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdp-features-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-features-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.925rem;
    color: #374151;
}

.pdp-check-icon {
    color: #10B981;
    font-weight: 700;
    font-size: 1rem;
}

.pdp-specs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.pdp-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.925rem;
}

.pdp-spec-bullet {
    color: #64748B;
    font-size: 0.9rem;
}

.pdp-spec-label {
    font-weight: 600;
    color: #0F172A;
    min-width: 130px;
}

.pdp-spec-val {
    color: #374151;
}

/* Additional Info Table */
.pdp-add-info-table-wrap {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
}

.pdp-add-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pdp-add-info-table th {
    width: 32%;
    padding: 12px 18px;
    background: #F8FAFC;
    color: #0F172A;
    font-weight: 600;
    border-bottom: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
    text-align: left;
}

.pdp-add-info-table td {
    padding: 12px 18px;
    color: #334155;
    border-bottom: 1px solid #E2E8F0;
}

.pdp-add-info-table tr:last-child th,
.pdp-add-info-table tr:last-child td {
    border-bottom: none;
}

/* Shipping Grid */
.pdp-shipping-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.pdp-ship-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.pdp-ship-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pdp-ship-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px;
}

.pdp-ship-card p {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* 7. Related Products Carousel Section */
.pdp-ref-related-section {
    margin: 64px 0 80px;
    position: relative;
}

.pdp-ref-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pdp-ref-related-title {
    font-family: var(--font-heading, 'Bahnschrift', sans-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.01em;
}

.pdp-carousel-nav-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdp-carousel-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pdp-carousel-arrow-btn:hover {
    background: #0F172A;
    border-color: #0F172A;
    color: #FFFFFF;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.15);
}

/* Related Products Carousel Wrapper */
.pdp-related-carousel-wrapper {
    position: relative;
    padding: 6px 0 14px;
}

.pdp-related-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.pdp-related-carousel-track::-webkit-scrollbar {
    display: none;
}

.pdp-related-carousel-track.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
}

.pdp-product-slide {
    flex: 0 0 calc(25% - 14px);
    min-width: 220px;
    scroll-snap-align: start;
    display: flex;
}

.pdp-product-slide .mf-product-card {
    width: 100%;
}

/* Side Navigation Arrows */
.pdp-side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.pdp-side-arrow:hover {
    background: #0F172A;
    border-color: #0F172A;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.pdp-side-arrow.prev { left: -18px; }
.pdp-side-arrow.next { right: -18px; }

@media (max-width: 1200px) {
    .pdp-product-slide {
        flex: 0 0 calc(33.333% - 12px);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .pdp-side-arrow {
        display: none;
    }
    .pdp-product-slide {
        flex: 0 0 calc(50% - 7px);
        min-width: 155px;
    }
    .pdp-related-carousel-track {
        gap: 12px;
        padding-left: 2px;
        padding-right: 2px;
    }
    .pdp-ref-related-title {
        font-size: 1.35rem;
    }
}

/* Lightbox Modal */
.pdp-lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}

.pdp-lightbox-modal.active {
    display: flex;
}

.pdp-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

#pdpLightboxImg {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* 8. Mobile Responsiveness */
@media (max-width: 992px) {
    .pdp-ref-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pdp-ref-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pdp-ref-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .pdp-ref-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .pdp-ref-breadcrumbs {
        font-size: 0.78rem;
        gap: 4px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pdp-ref-breadcrumbs a,
    .pdp-ref-breadcrumbs span {
        white-space: nowrap;
    }

    .pdp-ref-top-nav-arrows {
        flex-shrink: 0;
    }

    .pdp-ref-gallery-col {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .pdp-ref-showcase-box {
        order: 1;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 3 / 4;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        background: #F8FAFC;
        border: 1px solid #F1F5F9;
        box-sizing: border-box;
    }

    .pdp-ref-thumb-track-wrap {
        order: 2;
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        gap: 8px;
        padding: 2px 0 6px 0;
    }

    .pdp-ref-thumb-list {
        flex-direction: row;
        gap: 8px;
        max-height: none;
        overflow-x: visible;
        width: max-content;
        box-sizing: border-box;
    }

    .pdp-thumb-arrow-btn {
        display: none;
    }

    .pdp-ref-thumb-btn {
        width: 64px;
        height: 84px;
        flex-shrink: 0;
    }

    .pdp-ref-details-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .pdp-ref-product-name {
        font-size: 1.45rem;
    }

    .pdp-ref-price-bold {
        font-size: 1.5rem;
    }

    .pdp-ref-tab-nav {
        gap: 16px;
    }

    .pdp-ref-tab-btn {
        font-size: 0.8rem;
        padding: 8px 4px;
    }

    .pdp-ref-actions-row {
        display: grid;
        grid-template-columns: minmax(96px, 110px) 1fr;
        gap: 10px;
        width: 100%;
        align-items: stretch;
    }

    .pdp-ref-stepper-box {
        width: 100%;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pdp-stepper-btn {
        width: 34px;
        height: 100%;
        flex-shrink: 0;
    }

    .pdp-stepper-input {
        width: 32px;
        flex: 1;
        min-width: 0;
    }

    .pdp-btn-cart {
        height: 48px;
        width: 100%;
        min-width: 0;
        padding: 0 14px;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pdp-btn-buynow {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
    }

    /* Size Chart Table Mobile Optimization */
    .pdp-ref-size-chart-box {
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .pdp-sc-table-container {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        box-sizing: border-box;
    }

    .pdp-sc-table {
        width: 100%;
        min-width: 100%;
        table-layout: fixed;
    }

    .pdp-sc-table thead th {
        padding: 7px 3px;
        font-size: 0.72rem;
        letter-spacing: 0.01em;
        white-space: normal;
        line-height: 1.15;
        vertical-align: middle;
        word-break: break-word;
    }

    .pdp-sc-table tbody td {
        padding: 7px 3px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .pdp-sc-size-cell {
        width: 16%;
        font-weight: 700;
    }

    /* Special Offers / Promotional Products Mobile Grid */
    .pdp-ref-promo-section {
        margin: 16px 0;
        padding: 10px 10px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .pdp-promo-header {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pdp-promo-header-left {
        gap: 6px;
    }

    .pdp-promo-title {
        font-size: 0.82rem;
    }

    .pdp-promo-tagline {
        font-size: 0.7rem;
    }

    .pdp-promo-grid-2,
    .pdp-promo-grid-3,
    .pdp-promo-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
        width: 100%;
    }

    .pdp-promo-card {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .pdp-promo-content {
        padding: 6px 6px;
        min-width: 0;
        overflow: hidden;
    }

    .pdp-promo-name {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .pdp-promo-price-row {
        gap: 4px;
        flex-wrap: wrap;
    }

    .pdp-promo-cur-price {
        font-size: 0.72rem;
    }

    .pdp-promo-old-price {
        font-size: 0.62rem;
    }
}

/* ==========================================================================
   PDP PROMOTIONAL PRODUCTS / SPECIAL OFFERS SECTION (MARKED AREA)
   ========================================================================== */
.pdp-ref-promo-section {
    margin: 18px 0;
    padding: 12px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.pdp-ref-promo-section:hover {
    border-color: #CBD5E1;
}

.pdp-promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #E2E8F0;
}

.pdp-promo-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pdp-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    line-height: 1.3;
}

.pdp-promo-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
}

.pdp-promo-tagline {
    font-size: 0.725rem;
    color: #64748B;
    font-weight: 500;
}

/* Dynamic Grid by item count */
.pdp-promo-grid {
    display: grid;
    gap: 8px;
}

.pdp-promo-grid-1 {
    grid-template-columns: 1fr;
}

.pdp-promo-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pdp-promo-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdp-promo-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Single product banner style */
.pdp-promo-item-single {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.pdp-promo-item-single:hover {
    border-color: #0F172A;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.pdp-promo-single-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #F1F5F9;
    position: relative;
}

.pdp-promo-single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-promo-single-details {
    flex: 1;
    min-width: 0;
}

.pdp-promo-single-name {
    font-size: 0.825rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdp-promo-single-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pdp-promo-single-btn {
    font-size: 0.725rem;
    font-weight: 700;
    color: #0F172A;
    background: #F1F5F9;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.pdp-promo-item-single:hover .pdp-promo-single-btn {
    background: #0F172A;
    color: #FFFFFF;
}

/* Multi-product mini cards */
.pdp-promo-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.2s ease;
}

.pdp-promo-card:hover {
    border-color: #0F172A;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.pdp-promo-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #F1F5F9;
    overflow: hidden;
}

.pdp-promo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pdp-promo-card:hover .pdp-promo-img-wrap img {
    transform: scale(1.06);
}

.pdp-promo-discount-tag {
    position: absolute;
    top: 4px;
    left: 4px;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 2px;
    line-height: 1.2;
}

.pdp-promo-content {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pdp-promo-name {
    font-size: 0.725rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 2px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdp-promo-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
}

.pdp-promo-cur-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0F172A;
}

.pdp-promo-old-price {
    font-size: 0.65rem;
    color: #94A3B8;
    text-decoration: line-through;
}

.pdp-promo-wishlist-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 2;
    padding: 0;
}

.pdp-promo-wishlist-btn:hover {
    background: #FFFFFF;
    color: #EF4444;
    transform: scale(1.1);
}

.pdp-promo-wishlist-btn.active {
    color: #EF4444;
}

@media (max-width: 576px) {
    .pdp-promo-grid-3,
    .pdp-promo-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Header Offer Bar (Infinite Continuous Horizontal Scrolling Marquee)
   ========================================================================== */
.mf-top-announcement {
    overflow: hidden !important;
    width: 100%;
    padding: 0.45rem 0 !important;
    box-sizing: border-box;
}

.mf-ticker-wrap {
    width: 100%;
    overflow: hidden !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.mf-ticker-move {
    display: inline-flex !important;
    flex-shrink: 0;
    white-space: nowrap !important;
    align-items: center;
    animation: mfTickerInfinite var(--ticker-speed, 26s) linear infinite;
    will-change: transform;
}

.mf-ticker-wrap[data-pause="true"]:hover .mf-ticker-move,
.mf-top-announcement:hover .mf-ticker-move {
    animation-play-state: paused;
}

.mf-ticker-group {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.mf-ticker-item {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    padding: 0 1.25rem;
    white-space: nowrap !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

.mf-ticker-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #0F172A !important;
    font-weight: 800;
    font-size: 0.62rem;
    padding: 2px 7px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    flex-shrink: 0;
}

.mf-ticker-text {
    white-space: nowrap !important;
}

.mf-ticker-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    padding: 0 0.5rem;
    user-select: none;
    flex-shrink: 0;
}

.mf-ticker-link {
    text-decoration: underline !important;
    font-weight: 700 !important;
    margin-left: 0.25rem;
    transition: opacity 0.15s ease;
    white-space: nowrap !important;
}

.mf-ticker-link:hover {
    opacity: 0.8;
}

@keyframes mfTickerInfinite {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 991px) {
    .mf-top-announcement.mf-show-mobile {
        display: block !important;
        font-size: var(--mobile-font-size, 0.68rem) !important;
        padding: 0.35rem 0 !important;
        overflow: hidden !important;
    }
    .mf-top-announcement.mf-show-mobile .mf-ticker-move {
        animation-duration: var(--mobile-ticker-speed, 18s) !important;
    }
    .mf-ticker-item {
        padding: 0 0.85rem;
        gap: 0.4rem;
    }
    .mf-ticker-badge {
        font-size: 0.58rem;
        padding: 1px 6px;
    }
}

/* ==========================================================================
   Visitor Promotional Popup Offer Modal
   ========================================================================== */
.mf-promo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
}

.mf-promo-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.75);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.mf-promo-popup-card {
    position: relative;
    z-index: 2;
    background: #0B0F19;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
    width: 100%;
    max-height: 90vh;
    opacity: 0;
    transform: scale(0.92) translateY(14px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mf-promo-popup-overlay.mf-popup-visible .mf-promo-popup-backdrop {
    opacity: 1;
}

.mf-promo-popup-overlay.mf-popup-visible .mf-promo-popup-card {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.mf-promo-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}

.mf-promo-popup-close:hover {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.06);
}

.mf-promo-popup-content {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mf-promo-popup-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    line-height: 0;
}

.mf-promo-popup-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    background: #0B0F19;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.mf-promo-popup-link:hover .mf-promo-popup-img {
    transform: scale(1.012);
    filter: brightness(1.03);
}

.mf-promo-popup-cta-wrap {
    padding: 0.85rem 1.25rem 1rem;
    background: #0B0F19;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.mf-promo-popup-cta-btn {
    display: inline-block;
    width: 100%;
    background: var(--mf-blue, #0D6EFD);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
    transition: all 0.2s ease;
}

.mf-promo-popup-cta-btn:hover {
    background: #0B5ED7;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.45);
}

body.mf-popup-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .mf-promo-popup-overlay {
        padding: 0.75rem;
    }
    .mf-promo-popup-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }
    .mf-promo-popup-card {
        border-radius: 12px;
    }
    .mf-promo-popup-img {
        border-radius: 12px;
        max-height: 72vh;
    }
    .mf-promo-popup-cta-btn {
        font-size: 0.8rem;
        padding: 0.65rem 1rem;
    }
}

/* ==========================================================================
   CURATED LIFESTYLE SHOWCASE (Automatic Stacking Scroll Architecture)
   ========================================================================== */
.mf-lifestyle-showcase-section {
    padding: 3.5rem 0 3.75rem;
    background-color: #FFFFFF;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
    position: relative;
    overflow: hidden;
}

.mf-lifestyle-showcase-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    padding: 0.5rem 1rem;
}

/* Left: Vertical Category Tabs Navigation */
.mf-lifestyle-tabs-col {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    flex: 0 0 240px;
    position: relative;
    z-index: 25;
}

.mf-lifestyle-tab-btn {
    background: transparent;
    border: none;
    padding: 0.25rem 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
    width: fit-content;
    max-width: max-content;
    outline: none;
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mf-lifestyle-tab-label {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
    color: #2B3445;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-lifestyle-tab-btn:hover .mf-lifestyle-tab-label {
    color: #111827;
}

.mf-lifestyle-tab-btn.active .mf-lifestyle-tab-label {
    color: #111827;
    font-weight: 850;
}

/* Reference Design: Solid dark underline directly beneath the active category */
.mf-lifestyle-tab-line {
    display: block;
    height: 4px;
    width: 0;
    background-color: #263326;
    margin-top: 5px;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.mf-lifestyle-tab-btn.active .mf-lifestyle-tab-line {
    width: 100%;
    opacity: 1;
    transform: scaleX(1);
}

.mf-lifestyle-tab-btn:not(.active):hover .mf-lifestyle-tab-line {
    width: 45%;
    opacity: 0.4;
    transform: scaleX(1);
}

/* ==========================================================================
   STACKING CARDS DECK (Layered 3D Depth & Stacking Animation)
   ========================================================================== */
.mf-lifestyle-stack-deck {
    flex: 1 1 auto;
    position: relative;
    min-height: 440px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    perspective: 1200px;
    overflow: visible;
}

.mf-lifestyle-stack-card {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    width: 100%;
    transition: transform var(--transition-speed, 700ms) cubic-bezier(0.2, 0.9, 0.3, 1),
                opacity var(--transition-speed, 700ms) cubic-bezier(0.2, 0.9, 0.3, 1),
                filter var(--transition-speed, 700ms) cubic-bezier(0.2, 0.9, 0.3, 1);
    will-change: transform, opacity;
}

/* Active top card */
.mf-lifestyle-stack-card.is-active {
    transform: translateY(0px) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 10 !important;
}

.mf-lifestyle-stack-card.is-active .mf-lifestyle-content-col {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s;
}

/* Previous stacked card (recedes with 3D depth and subtle scale down) */
.mf-lifestyle-stack-card.is-stacked-prev {
    transform: translateY(-24px) scale(0.92);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    z-index: 2 !important;
}

.mf-lifestyle-stack-card.is-stacked-prev .mf-lifestyle-hero-frame {
    opacity: 0.38;
    filter: blur(1.5px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.mf-lifestyle-stack-card.is-stacked-prev .mf-lifestyle-sub-thumb-wrap {
    opacity: 0.25;
}

.mf-lifestyle-stack-card.is-stacked-prev .mf-lifestyle-content-col {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Deeply stacked cards (2+ steps behind) */
.mf-lifestyle-stack-card.is-stacked-deep {
    transform: translateY(-44px) scale(0.85);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1 !important;
}

/* Upcoming card waiting below to stack up into place */
.mf-lifestyle-stack-card.is-stacked-next {
    transform: translateY(85px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5 !important;
}

.mf-lifestyle-stack-card.is-stacked-next .mf-lifestyle-content-col {
    opacity: 0;
    transform: translateY(18px);
}

/* Center: Visual Hero & Floating Thumbnail */
.mf-lifestyle-visual-col {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mf-lifestyle-visual-stage {
    position: relative;
    display: inline-block;
}

.mf-lifestyle-hero-frame {
    width: 310px;
    height: 410px;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: #F1F5F9;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.35s ease;
}

.mf-lifestyle-hero-frame:hover {
    box-shadow: 0 20px 44px -8px rgba(0, 0, 0, 0.18), 0 0 1px rgba(0, 0, 0, 0.1);
}

.mf-lifestyle-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: scale(1);
}

.mf-lifestyle-hero-frame:hover .mf-lifestyle-hero-img {
    transform: scale(1.03);
}

/* Reference Design: Floating secondary thumbnail positioned at the bottom-right corner */
.mf-lifestyle-sub-thumb-wrap {
    position: absolute;
    right: -20px;
    bottom: -16px;
    width: 90px;
    height: 90px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #FFFFFF;
    border: 3.5px solid #FFFFFF;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    z-index: 4;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    animation: lifestyleSubFloat 4.5s ease-in-out infinite;
}

.mf-lifestyle-sub-thumb-wrap:hover {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.mf-lifestyle-sub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
}

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

/* Right: Editorial Description & Outline Pill Button */
.mf-lifestyle-content-col {
    flex: 0 0 350px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.mf-lifestyle-copy-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mf-lifestyle-description {
    font-size: 1.05rem;
    line-height: 1.62;
    font-weight: 500;
    color: #334155;
    margin: 0 0 1.85rem 0;
    letter-spacing: -0.01em;
}

.mf-lifestyle-btn-wrap {
    display: inline-block;
}

/* Reference Design: Exact pill-shaped outline button [ SHOP NOW ] */
.mf-lifestyle-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 2.25rem;
    border: 1.5px solid #2B3445;
    border-radius: 9999px;
    background-color: transparent;
    color: #1E293B;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.mf-lifestyle-cta-btn:hover {
    background-color: #111827;
    border-color: #111827;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.2);
}

.mf-lifestyle-cta-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .mf-lifestyle-showcase-card {
        gap: 2rem;
    }
    .mf-lifestyle-stack-card {
        gap: 2rem;
    }
    .mf-lifestyle-tabs-col {
        flex: 0 0 200px;
    }
    .mf-lifestyle-tab-label {
        font-size: 1.45rem;
    }
    .mf-lifestyle-hero-frame {
        width: 270px;
        height: 360px;
    }
    .mf-lifestyle-sub-thumb-wrap {
        width: 78px;
        height: 78px;
        right: -14px;
        bottom: -12px;
    }
    .mf-lifestyle-content-col {
        flex: 0 0 300px;
        max-width: 320px;
    }
    .mf-lifestyle-description {
        font-size: 0.975rem;
        margin-bottom: 1.5rem;
    }
}

/* Desktop view vs Mobile view display controls */
.mf-lifestyle-desktop-view {
    display: block;
    width: 100%;
}

.mf-lifestyle-mobile-view {
    display: none;
    width: 100%;
}

@media (max-width: 860px) {
    .mf-lifestyle-desktop-view {
        display: none !important;
    }

    .mf-lifestyle-mobile-view {
        display: block !important;
    }

    .mf-lifestyle-showcase-section {
        padding: 2.25rem 0 2.5rem;
    }

    /* Mobile Centered Header matching Image 2 */
    .mf-lifestyle-mobile-header {
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .mf-lifestyle-mobile-heading {
        font-size: 1.45rem;
        font-weight: 850;
        letter-spacing: 0.02em;
        line-height: 1.18;
        color: #2E382E;
        text-transform: uppercase;
        margin: 0;
    }

    /* Mobile Automatically Rotating Carousel matching Image 2 */
    .mf-lifestyle-mobile-carousel-wrap {
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .mf-lifestyle-mobile-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 1.25rem 1rem;
    }

    .mf-lifestyle-mobile-track::-webkit-scrollbar {
        display: none;
    }

    /* Mobile Carousel Card matching Image 2 */
    .mf-lifestyle-mobile-card {
        flex: 0 0 76%;
        max-width: 275px;
        min-width: 225px;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    /* Rounded top image matching Image 2 */
    .mf-lifestyle-mobile-img-wrap {
        width: 100%;
        aspect-ratio: 4 / 5;
        border-radius: 18px;
        overflow: hidden;
        background-color: #F1F5F9;
        box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
    }

    .mf-lifestyle-mobile-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        border-radius: 18px;
    }

    /* Text & pill button matching Image 2 */
    .mf-lifestyle-mobile-body {
        padding: 0.85rem 0.15rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .mf-lifestyle-mobile-card-title {
        font-size: 1.25rem;
        font-weight: 850;
        text-transform: uppercase;
        color: #283618;
        letter-spacing: 0.03em;
        margin: 0 0 0.45rem 0;
        line-height: 1.2;
    }

    .mf-lifestyle-mobile-card-desc {
        font-size: 0.84rem;
        line-height: 1.48;
        color: #4A5568;
        margin: 0 0 1rem 0;
        font-weight: 500;
    }

    /* Solid dark olive pill button [ SHOP NOW ] matching Image 2 */
    .mf-lifestyle-mobile-card-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #364436;
        color: #FFFFFF;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-decoration: none;
        padding: 0.62rem 1.65rem;
        border-radius: 9999px;
        box-shadow: 0 4px 14px rgba(40, 54, 24, 0.25);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .mf-lifestyle-mobile-card-btn:active {
        background-color: #212921;
        transform: scale(0.97);
    }

    /* Dots Navigation */
    .mf-lifestyle-mobile-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        margin-top: 0.5rem;
    }

    .mf-lifestyle-mobile-dot {
        width: 7px;
        height: 7px;
        border-radius: 9999px;
        background-color: #CBD5E1;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mf-lifestyle-mobile-dot.active {
        width: 22px;
        background-color: #2E382E;
    }
}

@media (max-width: 420px) {
    .mf-lifestyle-mobile-heading {
        font-size: 1.3rem;
    }
    .mf-lifestyle-mobile-card {
        flex: 0 0 80%;
    }
    .mf-lifestyle-mobile-card-title {
        font-size: 1.15rem;
    }
    .mf-lifestyle-mobile-card-desc {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   CURATED CATEGORY MOSAIC (Exact Match to Reference Image 2: WOMEN / MEN / ACCESSORIES)
   ========================================================================== */
.mf-category-mosaic-section {
    padding: 3rem 0 3.5rem;
    background-color: #FFFFFF;
    position: relative;
}

.mf-mosaic-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mf-mosaic-heading {
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0F172A;
    margin: 0;
}

.mf-mosaic-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
    height: 520px;
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
}

.mf-mosaic-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    background-color: #0F172A;
    width: 100%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.35s ease;
}

.mf-mosaic-tile:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.mf-mosaic-tile-primary {
    height: 100%;
}

.mf-mosaic-secondary-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.mf-mosaic-tile-secondary {
    flex: 1 1 0;
    height: calc(50% - 8px);
}

.mf-mosaic-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.mf-mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: scale(1);
}

.mf-mosaic-tile:hover .mf-mosaic-img {
    transform: scale(1.045);
}

.mf-mosaic-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0.28) 100%);
    border-radius: 8px;
    pointer-events: none;
    transition: background 0.35s ease;
}

.mf-mosaic-tile:hover .mf-mosaic-scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.36) 100%);
}

.mf-mosaic-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    pointer-events: none;
    padding: 1.5rem;
}

.mf-mosaic-title {
    color: #FFFFFF;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    transition: letter-spacing 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
    display: inline-block;
}

.mf-mosaic-tile-primary .mf-mosaic-title {
    font-size: 2.25rem;
}

.mf-mosaic-tile-secondary .mf-mosaic-title {
    font-size: 1.65rem;
}

.mf-mosaic-tile:hover .mf-mosaic-title {
    letter-spacing: 0.24em;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.65);
    transform: scale(1.02);
}

/* Responsive Mosaic Layouts */
@media (max-width: 900px) {
    .mf-mosaic-grid {
        height: 440px;
        gap: 12px;
    }
    .mf-mosaic-secondary-col {
        gap: 12px;
    }
    .mf-mosaic-tile-secondary {
        height: calc(50% - 6px);
    }
    .mf-mosaic-tile-primary .mf-mosaic-title {
        font-size: 1.85rem;
    }
    .mf-mosaic-tile-secondary .mf-mosaic-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .mf-category-mosaic-section {
        padding: 2rem 0 2.5rem;
    }

    .mf-mosaic-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 12px;
    }

    .mf-mosaic-tile-primary {
        height: 320px;
    }

    .mf-mosaic-tile-primary .mf-mosaic-title {
        font-size: 1.75rem;
        letter-spacing: 0.18em;
    }

    .mf-mosaic-secondary-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        height: 180px;
    }

    .mf-mosaic-tile-secondary {
        height: 100%;
    }

    .mf-mosaic-tile-secondary .mf-mosaic-title {
        font-size: 1.15rem;
        letter-spacing: 0.14em;
    }
}

@media (max-width: 440px) {
    .mf-mosaic-tile-primary {
        height: 275px;
    }

    .mf-mosaic-tile-primary .mf-mosaic-title {
        font-size: 1.5rem;
        letter-spacing: 0.16em;
    }

    .mf-mosaic-secondary-col {
        height: 155px;
        gap: 10px;
    }

    .mf-mosaic-tile-secondary .mf-mosaic-title {
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }
}

/* ==========================================================================
   SLIDE-IN CART DRAWER & ADD-TO-CART ANIMATION SYSTEM
   ========================================================================== */

/* 1. Backdrop */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* 2. Drawer Panel */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 100001;
    box-shadow: -6px 0 28px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cart-drawer.active {
    transform: translateX(0);
}

/* 3. Header */
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #F1F5F9;
    background: #FFFFFF;
    flex-shrink: 0;
}

.cart-drawer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E3A8A; /* Dark navy blue matching screenshot */
    margin: 0;
    letter-spacing: -0.01em;
    font-family: var(--font-heading);
}

.cart-drawer-close {
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
    line-height: 1;
}

.cart-drawer-close:hover {
    color: #0F172A;
    background: #F8FAFC;
}

.cart-drawer-close svg {
    stroke: currentColor;
    stroke-width: 2.2;
}

/* 4. Confirmation Alert Banner */
.cart-drawer-alert {
    background: #F0FDF4;
    border-bottom: 1px solid #BBF7D0;
    padding: 0.7rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-shrink: 0;
    animation: drawerAlertSlide 0.3s ease-out;
}

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

.cart-drawer-alert-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #15803D;
    font-size: 0.825rem;
    font-weight: 600;
}

.cart-drawer-alert-icon {
    flex-shrink: 0;
    color: #16A34A;
}

.cart-drawer-alert-dismiss {
    background: transparent;
    border: none;
    color: #15803D;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.cart-drawer-alert-dismiss:hover {
    opacity: 1;
}

/* 4b. Free Delivery Dynamic Progress Banner */
.cart-drawer-delivery-progress {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 10px 16px;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.cart-drawer-delivery-progress.is-unlocked {
    background: #F0FDF4;
    border-bottom-color: #BBF7D0;
}

.cart-delivery-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.825rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
}

.cart-drawer-delivery-progress.is-unlocked .cart-delivery-header {
    color: #15803D;
}

.cart-delivery-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.cart-delivery-track {
    background: #E2E8F0;
    height: 6px;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.cart-delivery-fill {
    background: #00AEF0;
    height: 100%;
    border-radius: 9999px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
}

.cart-delivery-fill.is-free {
    background: #10B981;
}

.cart-drawer-delivery-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0;
}

.cart-drawer-delivery-label {
    font-size: 0.925rem;
    font-weight: 600;
    color: #475569;
}

.cart-drawer-delivery-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-free-delivery {
    background: #DCFCE7;
    color: #15803D;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #BBF7D0;
    letter-spacing: 0.04em;
}

.strikethrough-shipping {
    color: #94A3B8;
    text-decoration: line-through;
    font-size: 0.82rem;
    font-weight: 500;
}

/* 5. Scrollable Body */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.15rem 1.25rem;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.cart-drawer-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.cart-drawer-item {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #F1F5F9;
    position: relative;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-drawer-item.removing {
    opacity: 0;
    transform: translateX(16px);
}

.cart-drawer-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-drawer-item-img {
    width: 68px;
    height: 86px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.cart-drawer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-drawer-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-drawer-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.cart-drawer-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1E293B;
    margin: 0;
    line-height: 1.35;
}

.cart-drawer-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cart-drawer-item-title a:hover {
    color: var(--primary, #00AEF0);
}

.cart-drawer-item-remove {
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 3px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}

.cart-drawer-item-remove:hover {
    color: #EF4444;
    background: #FEE2E2;
}

.cart-drawer-item-attrs {
    font-size: 0.775rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 3px;
}

.cart-drawer-attr-row {
    display: flex;
    gap: 4px;
    line-height: 1.3;
}

.cart-drawer-attr-key {
    font-weight: 600;
    color: #334155;
}

.cart-drawer-attr-val {
    color: #64748B;
}

.cart-drawer-item-pricing {
    font-size: 0.85rem;
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.cart-drawer-item-pricing.has-discount {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.cart-drawer-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.cart-drawer-price-original {
    font-size: 0.8rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 500;
}

.cart-drawer-price-discounted {
    color: #059669;
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-drawer-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ECFDF5;
    color: #065F46;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
}

.cart-drawer-offer-badge .badge-saving {
    color: #047857;
}

.cart-drawer-offer-nudge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    color: #1D4ED8;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.3;
}

.cart-drawer-qty-multiplier {
    color: #64748B;
    font-size: 0.825rem;
    font-weight: 500;
}

.cart-drawer-price-bold {
    color: #0F172A;
    font-weight: 700;
    font-size: 0.925rem;
}

/* Empty State */
.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 1rem;
    color: #64748B;
}

.cart-drawer-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #94A3B8;
}

.cart-drawer-empty-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 0.4rem 0;
}

.cart-drawer-empty-desc {
    font-size: 0.825rem;
    color: #64748B;
    margin: 0;
    max-width: 240px;
    line-height: 1.45;
}

/* 6. Footer matching Screenshot 2 */
.cart-drawer-footer {
    padding: 1.15rem 1.25rem 1.35rem;
    border-top: 1px solid #E2E8F0;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-shrink: 0;
}

.cart-drawer-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0;
}

.cart-drawer-subtotal-label {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0F172A;
}

.cart-drawer-subtotal-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
}

.cart-drawer-discount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0;
    color: #059669;
}

.cart-drawer-discount-label {
    font-size: 0.925rem;
    font-weight: 600;
}

.cart-drawer-discount-value {
    font-size: 0.95rem;
    font-weight: 700;
}

.cart-drawer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0 0.15rem;
    border-top: 1px dashed #E2E8F0;
    margin-top: 0.15rem;
}

.cart-drawer-total-label {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
}

.cart-drawer-total-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0F172A;
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cart-drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.cart-drawer-btn-view {
    background: #F3F4F6;
    color: #1E293B;
    border: 1px solid #E5E7EB;
}

.cart-drawer-btn-view:hover {
    background: #E5E7EB;
    color: #0F172A;
}

.cart-drawer-btn-checkout {
    background: #000000;
    color: #FFFFFF;
    border: 1px solid #000000;
}

.cart-drawer-btn-checkout:hover {
    background: #1E293B;
    border-color: #1E293B;
    color: #FFFFFF;
}

/* 7. Add-to-Cart Animations & Flying Particle */
.cart-flying-item {
    position: fixed;
    z-index: 100010;
    pointer-events: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border: 2px solid #00AEF0;
    transition: transform 0.75s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.75s ease;
    will-change: transform, opacity;
}

.cart-flying-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge Bounce Animation */
@keyframes cartBadgeBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.6); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.cart-badge-bounce {
    animation: cartBadgeBounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Button pulse on success */
@keyframes pdpAddSuccessGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pdp-btn-cart.pdp-btn-added {
    background: #10B981 !important;
    border-color: #10B981 !important;
    color: #FFFFFF !important;
    animation: pdpAddSuccessGlow 0.8s ease-out;
}

/* Responsive Cart Drawer & Mobile Fixes */
@media (max-width: 768px) {
    .pdp-ref-circle-badge {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 0.78rem;
    }

    /* Prevent accidental body horizontal scrolling on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cart-drawer {
        max-width: 100%;
        width: 100%;
    }
    .cart-drawer-header {
        padding: 1rem 1.15rem;
    }
    .cart-drawer-body {
        padding: 1rem 1.15rem;
    }
    .cart-drawer-footer {
        padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
    }
}

/* ==========================================================================
   RESPONSIVE SHOPPING BAG / CART PAGE
   ========================================================================== */

.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 992px) {
    .cart-page-grid {
        grid-template-columns: 1fr 380px;
        gap: 2rem;
    }
}

.cart-items-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 8px;
    padding: 1.5rem;
}

@media (max-width: 576px) {
    .cart-items-card {
        padding: 1rem 0.85rem;
    }
}

.cart-items-list {
    display: flex;
    flex-direction: column;
}

/* Desktop Cart Item Row */
.cart-page-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color, #E2E8F0);
}

.cart-page-item:last-child {
    border-bottom: none;
}

.cart-page-thumb {
    width: 90px;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color, #E2E8F0);
    background: #F9FAFB;
    flex-shrink: 0;
}

.cart-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-page-info {
    min-width: 0;
}

.cart-page-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.cart-page-attrs {
    font-size: 0.8125rem;
    color: #6B7280;
    margin-bottom: 0.35rem;
}

.cart-page-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.cart-page-actions-row {
    display: contents;
}

.cart-page-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    overflow: hidden;
    background: #FFFFFF;
}

.cart-page-stepper-btn {
    width: 32px;
    height: 36px;
    border: none;
    background: #F9FAFB;
    cursor: pointer;
    font-size: 1rem;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.cart-page-stepper-btn:hover {
    background: #F3F4F6;
}

.cart-page-stepper-input {
    width: 44px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
    -moz-appearance: textfield;
}

.cart-page-total-col {
    text-align: right;
    min-width: 110px;
}

.cart-summary-sidebar {
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 8px;
    padding: 1.75rem;
}

@media (min-width: 992px) {
    .cart-summary-sidebar {
        position: sticky;
        top: 90px;
    }
}

@media (max-width: 576px) {
    .cart-summary-sidebar {
        padding: 1.25rem 1rem;
    }
}

/* Mobile responsive cart item layout */
@media (max-width: 767px) {
    .cart-page-item {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "thumb info"
            "actions actions";
        gap: 0.75rem 0.95rem;
        align-items: start;
        padding: 1.15rem 0;
    }

    .cart-page-thumb {
        grid-area: thumb;
        width: 80px;
        height: 100px;
    }

    .cart-page-info {
        grid-area: info;
        min-width: 0;
        width: 100%;
    }

    .cart-page-title {
        font-size: 0.925rem;
        word-break: normal;
        overflow-wrap: break-word;
        line-height: 1.35;
    }

    .cart-page-actions-row {
        grid-area: actions;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px dashed #E2E8F0;
        margin-top: 0.25rem;
        width: 100%;
    }

    .cart-page-total-col {
        min-width: auto;
        text-align: right;
    }
}

/* ==========================================================================
   RESPONSIVE CHECKOUT PAGE
   ========================================================================== */

.checkout-header-bar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.checkout-header-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.25;
}

.checkout-header-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.checkout-container {
    padding: 1.75rem 1.25rem 4rem;
    width: 100%;
    max-width: 1280px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.checkout-free-shipping-banner {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1.5px solid #10B981;
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #065F46;
    box-sizing: border-box;
    width: 100%;
}

.free-shipping-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.free-shipping-text {
    flex: 1;
    min-width: 0;
}

.free-shipping-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.free-shipping-desc {
    font-size: 0.82rem;
    color: #047857;
    margin-top: 1px;
    line-height: 1.35;
}

.free-shipping-badge {
    background: #10B981;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.checkout-shipping-nudge-banner {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    gap: 0.75rem;
    box-sizing: border-box;
    width: 100%;
}

.shipping-nudge-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    min-width: 0;
}

.shipping-nudge-link {
    color: #0284C7;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}

.checkout-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .checkout-layout-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
        gap: 2rem;
    }
}

.checkout-form-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 576px) {
    .checkout-form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.checkout-summary-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

@media (min-width: 992px) {
    .checkout-summary-box {
        position: sticky;
        top: 90px;
    }
}

.checkout-payment-section {
    margin-top: 1.75rem;
    border-top: 1px solid var(--border-color, #E2E8F0);
    padding-top: 1.5rem;
}

.checkout-payment-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1.5px solid var(--border-color, #E2E8F0);
    background: #FFFFFF;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.checkout-payment-card:hover {
    border-color: #CBD5E1;
}

.checkout-payment-card.active,
.checkout-payment-card:has(input:checked) {
    border-color: var(--primary, #00AEF0) !important;
    background: var(--primary-light, #EBF8FE) !important;
}

.checkout-payment-card input[type="radio"] {
    margin-top: 0.2rem;
    accent-color: var(--primary, #00AEF0);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkout-confirm-btn {
    margin-top: 1.75rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Mobile specific checkout refinements */
@media (max-width: 768px) {
    .checkout-container {
        padding: 1rem 0.85rem 6.5rem;
    }
    .checkout-header-bar {
        padding: 0.85rem 0;
    }
    .checkout-header-title {
        font-size: 1.45rem;
    }
    .checkout-header-subtitle {
        font-size: 0.82rem;
    }
    .checkout-form-box,
    .checkout-summary-box {
        padding: 1.25rem 1rem;
        border-radius: 10px;
    }
    .checkout-free-shipping-banner {
        padding: 0.75rem 0.9rem;
        gap: 0.65rem;
        margin-bottom: 1.15rem;
    }
    .free-shipping-title {
        font-size: 0.9rem;
    }
    .free-shipping-desc {
        font-size: 0.78rem;
    }
    .free-shipping-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    .checkout-form-box .form-control {
        font-size: 16px; /* Prevents auto-zoom in mobile browsers */
        padding: 0.75rem 0.9rem;
    }
    .checkout-confirm-btn {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 480px) {
    .checkout-container {
        padding: 0.75rem 0.65rem 6.5rem;
    }
    .checkout-form-box,
    .checkout-summary-box {
        padding: 1rem 0.85rem;
    }
    .checkout-free-shipping-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .free-shipping-badge {
        align-self: flex-start;
    }
}

/* ==========================================================================
   DELIVERY SUCCESS RATIO BLOCKED MODAL & WHATSAPP CUSTOMIZATION
   ========================================================================== */

.mf-floating-chat-left {
    right: auto !important;
    left: 1.5rem !important;
}

@media (max-width: 768px) {
    .mf-floating-chat-left {
        left: 1rem !important;
    }
}

.ratio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ratio-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.ratio-modal-card {
    position: relative;
    z-index: 10;
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: ratioModalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ratioModalPopIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ratio-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94A3B8;
    padding: 0.35rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.ratio-modal-close:hover {
    color: #0F172A;
    background: #F1F5F9;
}

.ratio-modal-icon-wrap {
    margin: 0 auto 1.25rem;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #FEE2E2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ratio-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ratio-modal-message {
    font-size: 0.95rem;
    font-weight: 600;
    color: #DC2626;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.ratio-modal-stats-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.ratio-stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.ratio-stat-label {
    color: #64748B;
}

.ratio-stat-value {
    font-weight: 700;
    color: #0F172A;
}

.ratio-stat-value.text-danger {
    color: #DC2626;
}

.ratio-stat-sub {
    font-size: 0.78rem;
    color: #475569;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #CBD5E1;
}

.ratio-stat-source {
    font-size: 0.72rem;
    color: #94A3B8;
    margin-top: 0.25rem;
    font-style: italic;
}

.ratio-modal-subtext {
    font-size: 0.825rem;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.ratio-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-whatsapp-support {
    background: #25D366;
    color: #FFFFFF !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
    font-size: 0.95rem;
    border: none;
}

.btn-whatsapp-support:hover {
    background: #1EBE5D;
    transform: translateY(-1px);
    color: #FFFFFF !important;
}

/* ==========================================================================
   PDP Stock Status & Out-of-Stock Styles
   ========================================================================== */
.pdp-stock-status-pill {
    display: none !important;
}

.pdp-out-of-stock-alert {
    background: #FFF1F2;
    border: 1px solid #FECDD3;
    border-radius: 8px;
    color: #BE123C;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdp-ref-size-pill.disabled {
    opacity: 0.45;
    text-decoration: line-through;
    background: #F1F5F9 !important;
    border-color: #E2E8F0 !important;
    color: #94A3B8 !important;
}

.pdp-ref-btn.disabled,
.pdp-ref-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed !important;
    pointer-events: none;
    background: #94A3B8 !important;
    border-color: #94A3B8 !important;
    color: #FFFFFF !important;
}

/* Product Card Out of Stock Overlay */
.mf-card-out-of-stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 4;
}








