/**
 * Nilody Shop - Ultra-Premium Futuristic Design System
 * Primary Color: #B30D60 (Signature Magenta/Crimson)
 * Secondary Color: #0D60B3 (Deep Royal Tech Blue)
 * Accent Glow: #FF2E93 & #00D2FF & #FFD700
 * Fonts: Kalameh (Headings) + IRANSansXFaNum (Body & Numbers)
 */

/* Kalameh Headings Font (Regular & Bold) */
@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb(FaNum)-Regular.woff2') format('woff2'),
         url('../fonts/KalamehWeb(FaNum)-Regular.woff') format('woff'),
         url('../fonts/Kalameh(FaNum)-Regular.ttf') format('truetype');
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb(FaNum)-Regular.woff2') format('woff2'),
         url('../fonts/KalamehWeb(FaNum)-Regular.woff') format('woff'),
         url('../fonts/Kalameh(FaNum)-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb(FaNum)-Bold.woff2') format('woff2'),
         url('../fonts/KalamehWeb(FaNum)-Bold.woff') format('woff'),
         url('../fonts/Kalameh(FaNum)-Bold.ttf') format('truetype');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb(FaNum)-Bold.woff2') format('woff2'),
         url('../fonts/KalamehWeb(FaNum)-Bold.woff') format('woff'),
         url('../fonts/Kalameh(FaNum)-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb(FaNum)-Bold.woff2') format('woff2'),
         url('../fonts/KalamehWeb(FaNum)-Bold.woff') format('woff'),
         url('../fonts/Kalameh(FaNum)-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('../fonts/KalamehWeb(FaNum)-Bold.woff2') format('woff2'),
         url('../fonts/KalamehWeb(FaNum)-Bold.woff') format('woff'),
         url('../fonts/Kalameh(FaNum)-Bold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* IRANSansX Body Font (Regular & Bold) */
@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Regular.woff') format('woff'),
         url('../fonts/IRANSansXFaNum-Regular.ttf') format('truetype');
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Regular.woff') format('woff'),
         url('../fonts/IRANSansXFaNum-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Bold.woff') format('woff'),
         url('../fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Bold.woff') format('woff'),
         url('../fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Bold.woff') format('woff'),
         url('../fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Bold.woff') format('woff'),
         url('../fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Bold.woff') format('woff'),
         url('../fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #B30D60;
    --primary-hover: #96094e;
    --primary-light: #fdf2f7;
    --primary-glow: rgba(179, 13, 96, 0.35);
    --primary-gradient: linear-gradient(135deg, #B30D60 0%, #e11d7f 100%);
    
    --secondary: #0D60B3;
    --secondary-hover: #0a4b8c;
    --secondary-light: #f0f7ff;
    --secondary-glow: rgba(13, 96, 179, 0.3);
    --secondary-gradient: linear-gradient(135deg, #0D60B3 0%, #258bf5 100%);

    --accent-gold: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #0ea5e9;

    --bg-main: #f8fafd;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.88);
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-glass: rgba(255, 255, 255, 0.6);

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --font-heading: 'Kalameh', 'IRANSansX', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'IRANSansX', 'Kalameh', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.04);
    --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -2px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.14);
    --shadow-primary: 0 8px 20px -4px rgba(179, 13, 96, 0.32);
    --shadow-secondary: 0 8px 20px -4px rgba(13, 96, 179, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 15px;
    scroll-behavior: smooth;
    direction: rtl;
    text-align: right;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .heading-font, .section-title, .modal-title {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

body,
p,
a,
li,
td,
th,
label,
span:not([class*="fa"]):not([class*="fa-"]),
button,
input,
select,
textarea,
optgroup {
    font-family: var(--font-body);
}

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

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

button {
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-body) !important;
    font-size: inherit;
}

input, select, textarea, optgroup {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body) !important;
    font-size: inherit;
}

button:focus, input:focus, select:focus, textarea:focus {
    outline: none;
}

.fa, .fas, .far, .fab {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Container */
.container {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

/* Top Announcement Notice Bar */
.top-notice-bar {
    background: linear-gradient(90deg, #96094e 0%, #B30D60 50%, #0D60B3 100%);
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 100;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header & Glass Navigation */
.header-main {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 95;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand-logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

/* Live Search Box */
.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    padding: 0.4rem 1.15rem;
    transition: var(--transition);
}

.search-input-wrapper:focus-within {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(179, 13, 96, 0.1);
}

.search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0.3rem 0.65rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.search-btn {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.search-result-item:hover {
    background-color: var(--primary-light);
}

.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.header-btn-cart {
    background-color: #f1f5f9;
    color: var(--text-main);
}

.header-btn-cart:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.header-btn-auth {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-primary);
}

.header-btn-auth:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Navigation Menu Bar (Single Line) */
.nav-bar {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0.2rem 0;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.15rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

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

.nav-link-categories {
    background: var(--primary-light);
    color: var(--primary) !important;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem !important;
}

.nav-link-highlight {
    color: var(--secondary) !important;
    font-weight: 700 !important;
    background: var(--secondary-light);
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.85rem !important;
}

.btn-special-deals {
    background: linear-gradient(135deg, #ef4444 0%, #B30D60 100%);
    color: #ffffff;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transition: var(--transition-fast);
}

.btn-special-deals:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.45);
}

.special-deals-badge {
    background: #ffffff;
    color: #ef4444;
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 840px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 230px;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    white-space: normal !important;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-col h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.85rem;
    border-bottom: 1.5px solid var(--primary-light);
    padding-bottom: 0.4rem;
    white-space: normal;
}

.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mega-menu-list a {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: normal;
    display: block;
}

.mega-menu-list a:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.mega-brand-card {
    background: var(--secondary-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    white-space: normal;
    word-break: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-brand-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.6;
    white-space: normal;
    word-break: normal;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.35rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #96094e 0%, #B30D60 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -4px rgba(179, 13, 96, 0.4);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0a4b8c 0%, #0D60B3 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

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

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

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 0.98rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* Section Header (Flex Layout with Title & Button on opposite ends) */
.section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
}

.section-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
}

.section-indicator {
    width: 6px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.section-title {
    font-size: 1.6rem;
    color: var(--text-main);
    margin: 0;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero Section */
.hero-section {
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.35;
    margin-bottom: 1.25rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.85;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
}

/* Trust Infographic Bar */
.trust-bar-section {
    padding: 2rem 0 3rem;
}

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

.trust-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(179, 13, 96, 0.2);
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-icon.blue {
    background: var(--secondary-light);
    color: var(--secondary);
}

.trust-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.trust-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Off-Canvas Ajax Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    z-index: 2001;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}

.cart-drawer-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-drawer-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 4px;
    flex-shrink: 0;
}

.cart-drawer-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-drawer-info {
    flex: 1;
}

.cart-drawer-brand {
    font-size: 0.72rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.cart-drawer-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-drawer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.3rem;
}

.cart-drawer-qty {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 700;
}

.cart-drawer-remove {
    background: none;
    color: var(--danger);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px;
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
}

/* Infinite Carousel */
.nilody-carousel-container {
    position: relative;
    width: 100%;
}

.nilody-carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.nilody-carousel-item {
    flex: 0 0 auto;
}

.carousel-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.carousel-btn-prev {
    right: -15px;
}

.carousel-btn-next {
    left: -15px;
}

/* PDP Tabs */
.pdp-tab-btn {
    background: none;
    border: none;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

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

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

.pdp-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* PDP Luxury Lightbox */
.pdp-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.pdp-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.pdp-lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pdp-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: var(--radius-lg);
}

.lightbox-close-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
    background: var(--primary);
}

.lightbox-controls {
    position: absolute;
    bottom: 25px;
    display: flex;
    gap: 1rem;
}

.lightbox-ctrl-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Product Card Component */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(179, 13, 96, 0.25);
}

.product-badge-auth {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 185, 129, 0.92);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.product-badge-time {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-pill);
    z-index: 2;
}

.product-badge-discount {
    position: absolute;
    top: 44px;
    right: 12px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-pill);
    z-index: 2;
}

.product-image-box {
    position: relative;
    width: 100%;
    height: 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.product-image-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.product-brand-tag {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.product-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price-box {
    display: flex;
    flex-direction: column;
}

.price-regular {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

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

.btn-add-cart-mini {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    border: none !important;
    outline: none !important;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-add-cart-mini:hover {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

/* Micro-Tracking Stepper */
.micro-tracking-stepper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    position: relative;
    margin: 2rem 0;
}

.micro-tracking-stepper::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}

.stepper-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stage-bubble {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.stepper-stage.active .stage-bubble {
    border-color: var(--primary);
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-primary);
    transform: scale(1.12);
}

.stepper-stage.completed .stage-bubble {
    border-color: var(--success);
    background: var(--success);
    color: #ffffff;
}

.stage-title {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stage-days {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Authenticity Certificate Card */
.authenticity-certificate {
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    position: relative;
    border: 2px solid rgba(251, 191, 36, 0.4);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.authenticity-certificate::after {
    content: 'NILODY ORIGINAL';
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.hologram-visual {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, #ff007f, #00d4ff, #ffd700, #00ff66, #ff007f);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateHologram 6s linear infinite;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.45);
    margin: 0 auto 1.5rem;
}

.hologram-inner {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 800;
}

@keyframes rotateHologram {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RMA Notice Box */
.rma-notice-box {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rma-notice-box i {
    font-size: 1.5rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}

.rma-notice-box h5 {
    color: #92400e;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.rma-notice-box p {
    color: #b45309;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Shipping Timeline Box */
.shipping-timeline-box {
    background: var(--bg-subtle);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shipping-timeline-box .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Mobile Bottom Navigation Bar (Hidden on Desktop) */
.mobile-bottom-nav {
    display: none !important;
}

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

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(179, 13, 96, 0.1);
}

/* Footer */
.footer-main {
    background: #0f172a;
    color: #e2e8f0;
    padding: 4rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}

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

.footer-logo img {
    height: 48px;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-right: 6px;
}

.trust-badges-box {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-badge-img {
    background: #ffffff;
    padding: 0.4rem;
    border-radius: var(--radius-md);
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .trust-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Mobile Header & Navigation Components (Desktop Defaults)
   ========================================================================== */
.mobile-menu-toggle-btn,
.mobile-search-toggle-btn,
.mobile-search-box,
.mobile-drawer-overlay,
.mobile-nav-drawer,
.shop-mobile-toolbar,
.shop-filter-overlay,
.mobile-filter-close {
    display: none;
}

.shop-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.shop-filter-sidebar {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.pdp-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: flex-start;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.verify-search-box {
    display: flex;
    background: #ffffff;
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.verify-search-box input {
    flex: 1;
    background: transparent;
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    outline: none;
}

.verify-search-box button {
    border-radius: var(--radius-pill);
    padding: 0.75rem 2rem;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .shop-layout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pdp-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    /* Top Notice Bar Compact */
    .top-notice-bar {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        line-height: 1.5;
        text-align: center;
    }

    /* Header Inner */
    .header-inner {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .brand-logo img {
        height: 34px;
        width: auto;
    }

    .header-search {
        display: none;
    }

    .nav-bar {
        display: none;
    }

    /* Mobile Hamburger & Search Icon Buttons */
    .mobile-menu-toggle-btn,
    .mobile-search-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: var(--radius-md);
        background: #ffffff;
        border: 1.5px solid var(--border-color);
        color: var(--text-main);
        font-size: 1.15rem;
        cursor: pointer;
        transition: var(--transition);
        flex-shrink: 0;
    }

    .mobile-menu-toggle-btn:hover,
    .mobile-search-toggle-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    /* Header Actions for Mobile: Compact Icons */
    .header-actions {
        gap: 0.4rem;
    }

    .header-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.82rem;
        height: 38px;
    }

    .header-btn .inquiry-label,
    .header-btn .auth-label {
        display: none;
    }

    /* Mobile Expandable Search Box */
    .mobile-search-box {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        background: #ffffff;
    }

    .mobile-search-box.active {
        max-height: 65px;
        padding: 0.5rem 0 0.75rem;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-search-form {
        display: flex;
        background: var(--bg-main);
        border: 1.5px solid var(--border-color);
        border-radius: var(--radius-pill);
        overflow: hidden;
        padding: 0.2rem 0.4rem;
    }

    .mobile-search-form input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 0.5rem 0.85rem;
        font-size: 0.82rem;
        color: var(--text-main);
        outline: none;
        font-family: var(--font-body);
    }

    .mobile-search-form button {
        background: var(--primary);
        color: #ffffff;
        border: none;
        padding: 0.4rem 0.9rem;
        border-radius: var(--radius-pill);
        cursor: pointer;
    }

    /* Off-Canvas Mobile Navigation Drawer */
    .mobile-drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        z-index: 2000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-drawer-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 86vw;
        height: 100vh;
        background: #ffffff;
        z-index: 2001;
        box-shadow: -8px 0 28px rgba(0, 0, 0, 0.2);
        transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .mobile-nav-drawer.active {
        right: 0;
    }

    .mobile-drawer-header {
        padding: 1.1rem 1.25rem;
        border-bottom: 1.5px solid var(--border-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ffffff;
    }

    .mobile-drawer-close {
        background: var(--bg-main);
        border: 1px solid var(--border-color);
        width: 34px;
        height: 34px;
        border-radius: 50%;
        color: var(--text-muted);
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mobile-drawer-body {
        padding: 1rem 1.25rem;
        overflow-y: auto;
        flex: 1;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-section {
        margin-bottom: 1.5rem;
    }

    .mobile-menu-title {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 0.35rem;
    }

    /* Mobile Drawer Accordions */
    .mobile-acc-item {
        margin-bottom: 0.5rem;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .mobile-acc-header {
        width: 100%;
        padding: 0.75rem 1rem;
        background: var(--bg-main);
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-main);
        cursor: pointer;
        text-align: right;
    }

    .mobile-acc-header .acc-arrow {
        font-size: 0.75rem;
        transition: transform 0.25s ease;
        color: var(--text-muted);
    }

    .mobile-acc-item.open .mobile-acc-header .acc-arrow {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .mobile-acc-body {
        display: none;
        padding: 0.5rem 0.85rem;
        background: #ffffff;
        flex-direction: column;
        gap: 0.4rem;
        border-top: 1px solid var(--border-light);
    }

    .mobile-acc-item.open .mobile-acc-body {
        display: flex;
    }

    .mobile-acc-body a {
        font-size: 0.8rem;
        color: var(--text-muted);
        padding: 0.35rem 0.5rem;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .mobile-acc-body a:hover {
        color: var(--primary);
        background: var(--primary-light);
    }

    /* Mobile Drawer Quick Links */
    .mobile-nav-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .mobile-nav-list a {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.65rem 0.75rem;
        border-radius: var(--radius-md);
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-main);
        transition: var(--transition);
    }

    .mobile-nav-list a i {
        font-size: 1rem;
        color: var(--text-muted);
        width: 20px;
        text-align: center;
    }

    .mobile-nav-list a:hover {
        background: var(--bg-main);
        color: var(--primary);
    }

    .mobile-nav-list a.mobile-link-highlight {
        background: rgba(179, 13, 96, 0.08);
        color: var(--primary);
    }

    .mobile-drawer-footer {
        padding: 1rem 1.25rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-main);
    }

    /* Bottom Navigation Bar */
    .mobile-bottom-nav {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--border-color);
        padding: 0.5rem 1rem;
        z-index: 1000;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    }

    .mobile-nav-grid {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--text-muted);
    }

    .mobile-nav-item i {
        font-size: 1.2rem;
    }

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

    /* 2-Column Mobile Product Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }

    .product-card {
        border-radius: var(--radius-lg) !important;
    }

    .product-image-box {
        height: 135px !important;
        padding: 0.4rem !important;
    }

    .product-badge-auth,
    .product-badge-time {
        font-size: 0.58rem !important;
        padding: 0.15rem 0.4rem !important;
        top: 6px !important;
    }

    .product-badge-auth {
        right: 6px !important;
    }

    .product-badge-time {
        left: 6px !important;
    }

    .product-badge-discount {
        font-size: 0.58rem !important;
        padding: 0.15rem 0.35rem !important;
        top: 28px !important;
        right: 6px !important;
    }

    .product-card-body {
        padding: 0.65rem !important;
    }

    .product-brand {
        font-size: 0.68rem !important;
    }

    .product-title {
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
        min-height: 2.7em !important;
        margin-bottom: 0.35rem !important;
    }

    .price-regular {
        font-size: 0.92rem !important;
    }

    .price-old {
        font-size: 0.72rem !important;
    }

    .product-card-footer {
        padding: 0.5rem 0.65rem !important;
    }

    .btn-order-inquiry,
    .btn-add-to-cart {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.72rem !important;
    }

    /* Shop Page Mobile Filters */
    .shop-mobile-toolbar {
        display: flex !important;
        margin-bottom: 1.25rem;
    }

    .shop-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        z-index: 2002;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .shop-filter-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .shop-filter-sidebar {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 300px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        z-index: 2003 !important;
        border-radius: 0 !important;
        box-shadow: -8px 0 28px rgba(0,0,0,0.25) !important;
        overflow-y: auto !important;
        transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }

    .shop-filter-sidebar.active {
        right: 0 !important;
    }

    .mobile-filter-close {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--bg-main);
        border: 1px solid var(--border-color);
        color: var(--text-muted);
        cursor: pointer;
    }

    /* PDP Single Product Page Mobile */
    .pdp-main-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.25rem !important;
        border-radius: var(--radius-lg) !important;
    }

    .pdp-tabs-nav {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .pdp-tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0;
        font-size: 0.82rem !important;
        padding: 0.6rem 1rem !important;
    }

    /* Verification Portal Mobile */
    .verify-hero-card {
        padding: 2.25rem 1.25rem !important;
        border-radius: var(--radius-lg) !important;
    }

    .verify-hero-card h1 {
        font-size: 1.35rem !important;
    }

    .verify-search-box {
        flex-direction: column !important;
        border-radius: var(--radius-lg) !important;
        padding: 0.6rem !important;
        gap: 0.6rem !important;
    }

    .verify-search-box input {
        padding: 0.65rem 1rem !important;
        font-size: 0.95rem !important;
    }

    .verify-search-box button {
        width: 100% !important;
        border-radius: var(--radius-md) !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }

    .verify-cert-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .trust-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Panel System (Customer Dashboard & Admin Panel)
   ========================================================================== */
.panel-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.panel-sidebar {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 10;
}

.panel-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.panel-nav-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.panel-nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.panel-nav-link:hover i {
    color: var(--primary);
}

.panel-nav-link.active {
    background: var(--primary-gradient);
    color: #ffffff !important;
    box-shadow: var(--shadow-primary);
    font-weight: 700;
}

.panel-nav-link.active i {
    color: #ffffff !important;
}

.panel-main {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    min-height: 550px;
}

.panel-card-stat {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-fast);
}

.panel-card-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-top: 1rem;
}

.panel-table th {
    background: var(--bg-subtle);
    padding: 0.85rem 1rem;
    text-align: right;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1.5px solid var(--border-color);
}

.panel-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.panel-table tr:hover td {
    background: var(--bg-main);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.badge-success {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-secondary {
    background: var(--secondary-light);
    color: var(--secondary);
}

@media (max-width: 1024px) {
    .panel-wrapper {
        grid-template-columns: 1fr;
    }
    .panel-sidebar {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 0.75rem;
        scrollbar-width: none;
    }
    .panel-sidebar::-webkit-scrollbar {
        display: none;
    }
    .panel-nav-link {
        white-space: nowrap;
        padding: 0.65rem 1rem;
    }
}

/* Floating Action Buttons: Quick Call & Back to Top */
.floating-actions-container {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.25), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    text-decoration: none;
    border: none;
    outline: none;
}

/* Quick Call Button with Pulse Ripple */
.floating-btn-call {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
}

.floating-btn-call::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.55;
    z-index: -1;
    animation: floatingPulse 2.2s infinite ease-out;
}

.floating-btn-call:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.45);
    color: #ffffff !important;
}

.floating-btn-call:hover i {
    animation: phoneShake 0.6s ease-in-out;
}

/* Tooltip on Call Button - Opens to the Right */
.floating-btn .floating-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    right: auto;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #0f172a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
    font-family: var(--font-body);
}

.floating-btn .floating-tooltip::after {
    content: '';
    position: absolute;
    right: 100%;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #0f172a transparent transparent;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Back to Top Button */
.floating-btn-top {
    background: #ffffff;
    color: var(--text-main) !important;
    border: 1.5px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-btn-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-btn-top:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 24px rgba(179, 13, 96, 0.35);
}

@keyframes floatingPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0); }
    20%, 60% { transform: rotate(-18deg); }
    40%, 80% { transform: rotate(18deg); }
}

/* Mobile Placement (Clear Bottom Nav) */
@media (max-width: 768px) {
    .floating-actions-container {
        bottom: 84px;
        left: 16px;
        gap: 10px;
    }
    .floating-btn {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
    .floating-btn .floating-tooltip {
        display: none;
    }
}
