/* ========================================
   ANA MODA FITNESS - Store CSS
   Design Gymshark-style
   ======================================== */

:root {
    --primary: #1a2744;
    --primary-dark: #0f1b2d;
    --primary-light: #243556;
    --red: #e63946;
    --red-hover: #d62836;
    --green: #228B22;
    --white: #ffffff;
    --bg-light: #f5f5f5;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
    --font-xs: clamp(10px, 1.2vw, 12px);
    --font-sm: clamp(12px, 1.4vw, 13px);
    --font-base: clamp(13px, 1.6vw, 15px);
    --font-md: clamp(15px, 2vw, 18px);
    --font-lg: clamp(18px, 2.5vw, 22px);
    --font-xl: clamp(22px, 3vw, 28px);
    --font-2xl: clamp(28px, 4vw, 42px);
    --font-3xl: clamp(36px, 5vw, 56px);
    --space-xs: clamp(4px, 0.5vw, 8px);
    --space-sm: clamp(8px, 1vw, 16px);
    --space-md: clamp(16px, 2vw, 24px);
    --space-lg: clamp(24px, 3vw, 40px);
    --space-xl: clamp(40px, 5vw, 64px);
    --space-2xl: clamp(56px, 7vw, 80px);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: var(--font-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: var(--font-base); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-xs);
    font-weight: 500;
    padding: var(--space-xs) 0;
    text-align: center;
    letter-spacing: 0.3px;
}
.top-bar i { margin-right: 6px; font-size: var(--font-sm); }

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(64px, 9vw, 80px);
    gap: var(--space-md);
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -2px;
    line-height: 1;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity 0.2s;
}
.logo-text:hover { opacity: 0.85; }
.logo-text img {
    height: clamp(36px, 5vw, 48px);
    max-width: 160px;
    object-fit: contain;
}
.logo-text span {
    display: block;
    font-size: clamp(7px, 1vw, 10px);
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Search */
.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.search-bar form { display: flex; }
.search-bar input {
    width: 100%;
    padding: clamp(10px, 1.4vw, 14px) 48px clamp(10px, 1.4vw, 14px) 18px;
    border: 2px solid var(--border);
    border-radius: 100px;
    font-size: var(--font-sm);
    outline: none;
    background: var(--gray-50);
    transition: all 0.25s ease;
}
.search-bar input:focus { 
    border-color: var(--primary); 
    background: var(--white); 
    box-shadow: 0 0 0 4px rgba(26,39,68,0.08);
}
.search-bar input::placeholder { color: var(--gray-400); }
.search-bar button {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    width: clamp(32px, 4vw, 40px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.search-bar button:hover { background: var(--primary-dark); transform: scale(1.05); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 28px);
    flex-shrink: 0;
}
.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: var(--font-sm);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
}
.header-action:hover { color: var(--primary); }
.header-action i { font-size: clamp(18px, 2.5vw, 22px); }
.cart-badge { position: relative; }
.cart-badge .badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ========================================
   CATEGORY NAV
   ======================================== */
.category-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: clamp(64px, 9vw, 80px);
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.category-nav .container {
    display: flex;
    overflow-x: auto;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a {
    padding: clamp(14px, 2vw, 18px) clamp(18px, 3vw, 28px);
    color: var(--gray-500);
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
}
.category-nav a:hover { 
    color: var(--primary); 
    border-bottom-color: var(--primary);
    background: rgba(26,39,68,0.03);
}
.category-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}
.category-nav a.promo { color: var(--red); font-weight: 700; }
.category-nav a.promo:hover { border-bottom-color: var(--red); background: rgba(230,57,70,0.03); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
    border-radius: var(--radius);
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-dark {
    background: var(--primary);
    color: var(--white);
}
.btn-dark:hover { background: var(--primary-light); }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px); font-size: var(--font-base); }
.btn-sm { padding: clamp(6px, 1vw, 10px) clamp(12px, 2vw, 18px); font-size: var(--font-xs); }
.btn-block { width: 100%; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    background: var(--primary);
    min-height: clamp(320px, 50vw, 500px);
    overflow: hidden;
}
.hero-inner {
    display: flex;
    min-height: clamp(320px, 50vw, 500px);
}
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) 0;
    z-index: 2;
    max-width: 520px;
}
.hero-content h1 {
    font-size: var(--font-2xl);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
}
.hero-content p {
    font-size: var(--font-base);
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}
.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image-placeholder i { font-size: clamp(48px, 8vw, 80px); color: rgba(255,255,255,0.12); }
.hero-dots {
    position: absolute;
    bottom: var(--space-md);
    left: 0;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.hero-dot.active {
    background: var(--white);
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits-section {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 16px);
}
.benefit-icon {
    width: clamp(36px, 5vw, 48px);
    height: clamp(36px, 5vw, 48px);
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-icon i { font-size: clamp(14px, 2vw, 18px); color: var(--primary); }
.benefit-item strong { display: block; font-size: var(--font-xs); font-weight: 700; color: var(--text); }
.benefit-item span { display: block; font-size: var(--font-xs); color: var(--text-light); margin-top: 1px; }

/* ========================================
   SECTIONS
   ======================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-md);
}
.section-header h2 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-header a {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.section-header a:hover { text-decoration: underline; }

/* ========================================
   CATEGORIES
   ======================================== */
.categories-section {
    padding: var(--space-2xl) 0;
    text-align: center;
}
.categories-grid {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
}
.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    width: clamp(72px, 12vw, 100px);
}
.category-circle:hover { transform: translateY(-4px); }
.category-circle-img {
    width: clamp(64px, 10vw, 88px);
    height: clamp(64px, 10vw, 88px);
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid transparent;
    transition: var(--transition);
}
.category-circle:hover .category-circle-img { border-color: var(--primary); }
.category-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.category-circle-img i { font-size: clamp(20px, 3vw, 30px); color: var(--gray-400); }
.category-circle span {
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
}
.category-circle.promo .category-circle-img { background: var(--red); }
.category-circle.promo .category-circle-img i { color: var(--white); }
.category-circle.promo span { color: var(--red); }

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-section { padding: var(--space-2xl) 0; }
.products-section.bg-light { background: var(--gray-50); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-image {
    display: block;
    aspect-ratio: 3/4;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img { transform: scale(1.03); }
.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}
.product-placeholder i { font-size: clamp(28px, 4vw, 44px); color: var(--gray-300); }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: clamp(3px, 0.5vw, 5px) clamp(8px, 1.2vw, 12px);
    border-radius: var(--radius);
    font-size: var(--font-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.product-badge.promo { background: var(--red); color: var(--white); }
.product-badge.new { background: var(--primary); color: var(--white); }
.product-info { padding: clamp(10px, 1.5vw, 16px); }
.product-category {
    font-size: var(--font-xs);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.product-name {
    display: block;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
    text-decoration: none;
}
.product-name:hover { color: var(--primary); }
.product-colors {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}
.product-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    cursor: pointer;
}
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.old-price {
    font-size: var(--font-xs);
    color: var(--gray-400);
    text-decoration: line-through;
}
.current-price {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--text);
}
.promo-price { color: var(--red); }
.product-sizes {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}
.product-size {
    width: clamp(24px, 3vw, 30px);
    height: clamp(24px, 3vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}
.product-size:hover { border-color: var(--primary); color: var(--primary); }

/* ========================================
   PRODUCT DETAIL
   ======================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 24px 0 56px;
}
.product-gallery {}
.product-main-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
}
.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}
.product-thumb.active { border-color: var(--primary); }
.product-thumb:hover { border-color: var(--gray-400); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-panel {}
.product-detail-brand {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}
.product-detail-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}
.product-detail-old-price {
    font-size: 18px;
    color: var(--gray-400);
    text-decoration: line-through;
}
.product-detail-current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}
.product-detail-current-price.promo-price { color: var(--red); }

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.product-detail-rating i { color: #f59e0b; font-size: 14px; }
.product-detail-rating span {
    font-size: 13px;
    color: var(--text-light);
    margin-left: 8px;
}

.product-option-group {
    margin-bottom: 20px;
}
.product-option-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.product-option-group label span { font-weight: 400; color: var(--text-light); }

.size-options {
    display: flex;
    gap: 8px;
}
.size-options .size-btn {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
    padding: 0 12px;
}
.size-options .size-btn:hover { border-color: var(--primary); }
.size-options .size-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.color-options {
    display: flex;
    gap: 10px;
}
.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.color-option:hover { transform: scale(1.1); }
.color-option.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary); }

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 130px;
}
.qty-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}
.qty-selector button:hover { background: var(--gray-100); }
.qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    background: none;
    height: 40px;
}
.stock-info {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

.btn-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}
.btn-add-to-cart:hover:not(:disabled) { background: var(--primary-light); transform: translateY(-1px); }
.btn-add-to-cart:disabled { opacity: 0.5; cursor: not-allowed; }

.product-perks {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
}
.perk-item i { font-size: 18px; color: var(--primary); margin-top: 2px; }
.perk-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.perk-item span { display: block; font-size: 12px; color: var(--text-light); margin-top: 1px; }

.product-description {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.product-description h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}
.product-description p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   CATALOG
   ======================================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 24px 0 56px;
}
.catalog-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}
.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--text);
}
.filter-group { margin-bottom: 28px; }
.filter-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text);
    margin-bottom: 12px;
}
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
}
.filter-checkbox input { accent-color: var(--primary); width: 15px; height: 15px; }
.filter-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.size-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}
.size-btn:hover { border-color: var(--primary); }
.size-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.color-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.color-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}
.color-dot:hover, .color-dot.active { border-color: var(--primary); transform: scale(1.1); }
.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.price-range span { font-size: 12px; color: var(--gray-500); }
.price-range input {
    width: 80px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12px;
    text-align: center;
}
.filter-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
}
.filter-btn:hover { background: var(--primary-light); }

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.catalog-title { font-size: 24px; font-weight: 700; text-transform: uppercase; }
.catalog-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}
.catalog-sort label { font-size: 13px; color: var(--text-light); }
.catalog-sort select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
}

/* ========================================
   CART
   ======================================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 24px 0 56px;
}
.cart-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.cart-item-image {
    width: 90px;
    height: 90px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; }
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--gray-100); }
.qty-value {
    width: 42px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 6px 0;
}
.cart-item-price { font-weight: 700; font-size: 15px; }
.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    margin-left: 12px;
    transition: var(--transition);
}
.cart-item-remove:hover { color: var(--red); }

.cart-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: 120px;
}
.summary-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
}
.summary-row.discount { color: var(--green); }
.summary-row.shipping a { color: var(--primary); font-size: 13px; }
.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 12px;
    border-top: 2px solid var(--gray-200);
    font-size: 18px;
    font-weight: 700;
}
.coupon-form {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}
.coupon-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
}
.coupon-form input:focus { border-color: var(--primary); }
.coupon-form button {
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.coupon-form button:hover { border-color: var(--primary); color: var(--primary); }
.checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
}
.checkout-btn:hover { background: var(--primary-light); }
.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #25d366;
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}
.whatsapp-btn:hover { background: #1da851; }

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: none;
}
.checkout-step.active { color: var(--primary); font-weight: 600; }
.checkout-step.completed { color: var(--green); }
.checkout-step i { font-size: 16px; }
.step-separator {
    width: 24px;
    height: 1px;
    background: var(--gray-300);
    margin: 0 12px;
}

/* ========================================
   CUSTOMER AREA
   ======================================== */
.auth-layout {
    max-width: 440px;
    margin: 40px auto;
    padding: 0 20px 56px;
}
.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.auth-card h2 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}
.auth-card .subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
}
.auth-card .form-group { margin-bottom: 18px; }
.auth-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.auth-card .form-group input,
.auth-card .form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.auth-card .form-group input:focus,
.auth-card .form-group select:focus { border-color: var(--primary); }
.auth-card .btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}
.auth-card .btn-submit:hover { background: var(--primary-light); }
.auth-card .auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
}
.auth-card .auth-link a { color: var(--primary); font-weight: 600; }

.customer-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 24px 0 56px;
}
.customer-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}
.customer-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.customer-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
}
.customer-nav-item:last-child { border-bottom: none; }
.customer-nav-item:hover { background: var(--gray-50); color: var(--primary); }
.customer-nav-item.active { background: var(--primary); color: var(--white); }
.customer-nav-item i { width: 18px; text-align: center; }

.customer-content {}
.customer-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}
.customer-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Order Card */
.order-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow); }
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.order-card-header strong { font-size: 15px; }
.order-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.order-card-info { font-size: 13px; color: var(--text-light); }
.order-card-info p { margin-bottom: 4px; }

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.status-badge.paid, .status-badge.delivered, .status-badge.approved { background: #dcfce7; color: #166534; }
.status-badge.pending, .status-badge.awaiting { background: #fef9c3; color: #854d0e; }
.status-badge.cancelled, .status-badge.rejected { background: #fee2e2; color: #991b1b; }
.status-badge.shipped, .status-badge.sending { background: #dbeafe; color: #1e40af; }
.status-badge.processing { background: #e0e7ff; color: #3730a3; }
.status-badge.return { background: #ffedd5; color: #9a3412; }

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.empty-icon i { font-size: 32px; color: var(--gray-400); }
.empty-state h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }

/* ========================================
   CONTACT
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0 56px;
}
.contact-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}
.contact-info-item i { font-size: 20px; color: var(--primary); margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-info-item span { font-size: 13px; color: var(--text-light); }
.contact-form h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form .form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus { border-color: var(--primary); }

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 56px 0;
}
.newsletter-section h2 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.newsletter-section p { font-size: 14px; opacity: 0.85; margin-bottom: 28px; }
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 440px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #080c14 100%);
    color: var(--white);
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), var(--red), var(--primary-light), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p { 
    color: rgba(255,255,255,0.55); 
    font-size: var(--font-sm); 
    line-height: 1.8; 
    margin-top: 16px; 
    max-width: 300px;
}
.footer-brand .logo-text {
    color: var(--white) !important;
}
.footer-col h5 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}
.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: var(--font-sm);
    padding: 7px 0;
    transition: all 0.25s ease;
    text-decoration: none;
}
.footer-col a:hover { 
    color: var(--white); 
    padding-left: 6px;
}
.footer-col p { 
    color: rgba(255,255,255,0.55); 
    font-size: var(--font-sm); 
    margin-bottom: 10px; 
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-col p i { 
    width: 18px; 
    height: 18px;
    text-align: center; 
    line-height: 18px;
    color: var(--red);
    font-size: 12px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}
.footer-social a:hover { 
    background: var(--red); 
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--red);
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: var(--font-xs);
    background: rgba(0,0,0,0.2);
}

/* Footer Payment Brands */
.footer-payment-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    margin-top: 16px;
}
.footer-payment-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}
.footer-payment-label {
    color: var(--gray-400);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.footer-brands-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-brand-item {
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.footer-brand-item:hover {
    background: rgba(255,255,255,0.14);
}
.footer-brand-item img {
    height: 20px;
    width: auto;
    max-width: 60px;
    display: block;
}
.footer-brand-item:hover img {
    opacity: 1;
}

/* Footer Security Seals */
.footer-security-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    margin-top: 12px;
}
.footer-security-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}
.footer-security-label {
    color: var(--gray-400);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.footer-seals-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-seal-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    flex-shrink: 0;
}
.footer-seal-item:hover {
    background: rgba(255,255,255,0.1);
}
.footer-seal-item img {
    height: 18px;
    width: 18px;
    display: block;
    flex-shrink: 0;
}
.footer-seal-item span {
    color: var(--gray-300);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-400);
    padding: 16px 0;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-400); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

/* ========================================
   FLASH MESSAGES
   ======================================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger, .alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ========================================
   MOBILE BOTTOM NAV
   ======================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 200;
    padding: 6px 0 env(safe-area-inset-bottom, 0);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.mobile-nav-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 10px;
    padding: 4px 4px;
    font-weight: 500;
    flex: 1 1 0;
    text-align: center;
    min-width: 0;
}
.mobile-nav-item.active { color: var(--primary); }
.mobile-nav-item i { font-size: 18px; margin-bottom: 1px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .catalog-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
    .top-bar { font-size: var(--font-xs); padding: var(--space-xs) 0; }
    .header-inner { height: clamp(48px, 8vw, 60px); gap: var(--space-sm); flex-wrap: nowrap; }
    .logo-text { font-size: clamp(18px, 3vw, 24px); flex-shrink: 0; }
    .search-bar { display: none !important; }
    .header-actions { gap: var(--space-sm); }
    .header-action span { display: none; }
    .header-action i { font-size: clamp(18px, 3vw, 24px); }
    .category-nav a { padding: clamp(8px, 1.5vw, 12px) clamp(10px, 2vw, 16px); }

    .hero-inner { flex-direction: column; }
    .hero-content { padding: var(--space-lg) 0; max-width: 100%; }
    .hero-image { position: relative; width: 100%; height: clamp(180px, 30vw, 280px); }

    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

    .categories-grid { gap: clamp(14px, 3vw, 24px); }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

    .product-detail-layout { grid-template-columns: 1fr; gap: var(--space-md); }

    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }

    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }

    .contact-layout { grid-template-columns: 1fr; gap: var(--space-lg); }

    .customer-layout { grid-template-columns: 1fr; }
    .customer-sidebar { position: static; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .footer-payment-inner, .footer-security-inner { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
    .footer-brands-grid, .footer-seals-grid { gap: 8px; }

    .mobile-bottom-nav { display: flex !important; }
    body { padding-bottom: 64px; }

    .newsletter-form { flex-direction: column; }

    /* Account pages */
    .account-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .stats-grid-2 { grid-template-columns: 1fr 1fr; }
    .addr-grid { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .form-row-grid { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr 1fr; }
    .form-row-3-2 { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .order-summary-bar { grid-template-columns: 1fr; text-align: left; }
    .info-grid-2 { grid-template-columns: 1fr; }

    /* Admin */
    .admin-layout-grid { flex-direction: column; }
    .admin-sidebar-wrap { width: 100%; }
    .admin-sidebar { position: fixed; left: -280px; top: 0; bottom: 0; width: 260px; z-index: 999; transition: left 0.3s ease; }
    .admin-sidebar.open { left: 0; }
    .admin-main { width: 100%; }
    .admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; }
    .admin-overlay.open { display: block; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xs); }
    .categories-grid { gap: var(--space-sm); }
    .category-circle { width: clamp(64px, 20vw, 80px); }
    .category-circle-img { width: clamp(52px, 14vw, 64px); height: clamp(52px, 14vw, 64px); }
    .auth-card { padding: var(--space-md) var(--space-sm); }
    .cart-item { flex-wrap: wrap; }
    .form-row-3 { grid-template-columns: 1fr; }
    .checkout-layout .btn { width: 100%; }
    .info-grid-2 { grid-template-columns: 1fr; }
    .footer-brand-item { padding: 3px 6px; }
    .footer-brand-item img { height: 16px; }
    .footer-seal-item { padding: 3px 8px; }
    .footer-seal-item img { height: 16px; width: 16px; }
    .footer-seal-item span { font-size: 10px; }
}

/* ========================================
    ACCOUNT LAYOUT (inline grid replacement)
    ======================================== */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}
.account-sidebar {}
.account-content {}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}
.checkout-main {}
.checkout-sidebar-wrap {}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stats-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.addr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-row-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.form-row-3-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.order-summary-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.info-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.admin-layout-grid {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar-wrap {
    width: 260px;
    flex-shrink: 0;
}
.admin-main {
    flex: 1;
    min-width: 0;
}

/* ========================================
    UTILITIES
    ======================================== */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.text-success { color: var(--green); }
.text-danger { color: var(--red); }
.fw-bold { font-weight: 700; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
