/* ================================================
   أزياء جمال — Premium Fashion E-commerce
   Design: Modern Luxury Fashion (Zara/H&M style)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary: #B03A2E;
    --primary-dark: #8B2E24;
    --primary-light: #D4614F;
    --accent: #C9922A;
    --black: #111111;
    --white: #FFFFFF;
    --cream: #FAF7F4;
    --off-white: #F5F2EF;
    --border: #E0D8D0;
    --border-dark: #C8BCB0;
    --text-dark: #111111;
    --text-mid: #555555;
    --text-muted: #999999;
    --success: #2E7D4F;
    --warning: #C9922A;
    --danger: #B03A2E;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.14);
    --radius: 2px;
    --radius-sm: 2px;
    --radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-ar: 'Tajawal', 'Cairo', sans-serif;
    --font-fr: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-ar);
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.lang-fr { font-family: var(--font-fr); }
body[dir="rtl"] { text-align: right; }
body[dir="ltr"] { text-align: left; }

a { color: var(--text-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-fluid { width: 100%; padding: 0 24px; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-title {
    text-align: center;
    margin-bottom: 56px;
}
.section-title h2 {
    color: var(--black);
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
}
.section-title p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.95rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}
.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
    border-radius: 0;
}
.btn-whatsapp:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: var(--white);
    transform: translateY(-1px);
}
.btn-dark {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
.btn-dark:hover { background: #333; border-color: #333; color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 0.78rem; }
.btn-lg { padding: 16px 44px; font-size: 0.95rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--black);
    color: rgba(255,255,255,0.85);
    padding: 9px 0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--white); }
.top-bar-info { display: flex; gap: 24px; align-items: center; }
.top-bar-info span { display: flex; align-items: center; gap: 6px; }
.top-bar-social { display: flex; gap: 14px; align-items: center; }
.top-bar-social a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}
.top-bar-social a:hover { color: var(--white); }

/* ==================== HEADER ==================== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo img { height: 72px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
    padding: 10px 16px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.search-bar { position: relative; display: flex; align-items: center; }
.search-bar input {
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 9px 40px 9px 16px;
    font-size: 0.85rem;
    outline: none;
    width: 200px;
    transition: var(--transition);
    font-family: inherit;
    background: var(--off-white);
    color: var(--text-dark);
}
[dir="rtl"] .search-bar input { padding: 9px 16px 9px 40px; }
.search-bar input:focus { border-color: var(--black); width: 240px; background: var(--white); }
.search-bar button {
    position: absolute;
    right: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}
[dir="rtl"] .search-bar button { right: auto; left: 12px; }
.search-bar button:hover { color: var(--black); }

.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--off-white);
    padding: 3px;
    border-radius: 0;
    border: 1px solid var(--border);
}
.lang-switcher a {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: var(--transition);
}
.lang-switcher a.active, .lang-switcher a:hover {
    background: var(--black);
    color: var(--white);
}

.cart-btn {
    position: relative;
    width: 42px; height: 42px;
    border-radius: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
    font-size: 1.1rem;
    transition: var(--transition);
    background: transparent;
}
.cart-btn:hover { color: var(--primary); }
.cart-count {
    position: absolute;
    top: 4px; right: 4px;
    background: var(--primary);
    color: var(--white);
    width: 18px; height: 18px;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: pointer;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--black);
    border-radius: 0;
    transition: var(--transition);
}

/* ==================== MOBILE NAV ==================== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    backdrop-filter: blur(2px);
}
.mobile-nav.open { display: block; }
.mobile-nav-inner {
    position: absolute;
    top: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    padding: 28px 24px;
    overflow-y: auto;
    box-shadow: 8px 0 40px rgba(0,0,0,0.15);
}
[dir="rtl"] .mobile-nav-inner { right: 0; }
[dir="ltr"] .mobile-nav-inner { left: 0; }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 10px;
    transition: var(--transition);
}
.mobile-nav-links a:hover { color: var(--primary); padding-inline-start: 6px; }

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 88vh;
    min-height: 520px;
    max-height: 820px;
    background: var(--black);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to left, transparent 40%, rgba(0,0,0,0.65) 100%);
    display: flex;
    align-items: center;
}
[dir="ltr"] .slide-overlay {
    background: linear-gradient(to right, transparent 40%, rgba(0,0,0,0.65) 100%);
}
.slide-content {
    color: var(--white);
    max-width: 560px;
    padding: 0 60px;
}
.slide-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 18px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-radius: 0;
}
.slide-content h1 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.slide-content p {
    font-size: 1.05rem;
    margin-bottom: 36px;
    opacity: 0.85;
    max-width: 420px;
    line-height: 1.7;
}
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.slider-dot {
    width: 28px; height: 2px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}
.slider-dot.active { background: var(--white); width: 48px; }

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 10;
    pointer-events: none;
}
.slider-arrow {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 0;
    color: var(--white);
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }

/* ==================== FEATURES BAR ==================== */
.features-bar {
    background: var(--off-white);
    padding: 0;
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-inline-end: 1px solid var(--border);
    transition: var(--transition);
}
.feature-item:last-child { border-inline-end: none; }
.feature-item:hover { background: var(--white); }
.feature-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.feature-text h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.feature-text p { font-size: 0.75rem; color: var(--text-muted); }

/* ==================== SECTIONS ==================== */
section { padding: 88px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--off-white); }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--black); color: var(--white); }

/* ==================== CATEGORIES ==================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    border-radius: 0;
    background: var(--black);
    aspect-ratio: 2/3;
}
.category-img {
    width: 100%; height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}
.category-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}
.category-card:hover .category-img img { transform: scale(1.08); }
.category-img .cat-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.4);
    z-index: 1;
}
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
    transition: var(--transition);
}
.category-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%); }
.category-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 16px 18px;
    z-index: 2;
    text-align: center;
}
.category-info h3 {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.category-info span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
}
.category-card:hover .category-info h3 { color: var(--primary-light); }

/* ==================== PRODUCTS GRID ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}
.product-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: none;
}
.product-card:hover { transform: translateY(-4px); }
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }

.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--off-white);
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badges {
    position: absolute;
    top: 14px;
    display: flex; flex-direction: column; gap: 6px;
    z-index: 5;
}
[dir="rtl"] .product-badges { right: 14px; }
[dir="ltr"] .product-badges { left: 14px; }

.badge {
    padding: 4px 10px;
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
}
.badge-new { background: var(--black); color: var(--white); }
.badge-sale { background: var(--primary); color: var(--white); }
.badge-out { background: #999; color: var(--white); }

.product-actions {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    gap: 6px;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}
.product-actions .btn { flex: 1; font-size: 0.72rem; padding: 9px 10px; border-radius: 0; }

.product-info { padding: 16px 4px 20px; }
.product-category {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 7px;
}
.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.product-name a { color: var(--black); }
.product-name a:hover { color: var(--primary); }
.product-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-current { font-size: 1rem; font-weight: 800; color: var(--black); }
.price-old { font-size: 0.82rem; color: var(--text-muted); text-decoration: line-through; }
.price-discount {
    font-size: 0.72rem;
    background: var(--cream);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ==================== PRODUCT DETAIL ==================== */
.product-detail { padding: 60px 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.product-gallery { position: static; }
.main-image {
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--off-white);
    margin-bottom: 12px;
    cursor: zoom-in;
    border-radius: 0;
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumb {
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    border-radius: 0;
}
.thumb.active, .thumb:hover { border-color: var(--black); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { padding-top: 8px; }
.product-detail-category {
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.product-detail-title { font-size: 1.8rem; margin-bottom: 20px; font-weight: 700; }
.product-detail-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.product-detail-description {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 0.95rem;
}
.product-options { margin-bottom: 24px; }
.option-label {
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.option-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.option-btn {
    padding: 9px 20px;
    border: 1.5px solid var(--border);
    border-radius: 0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    background: var(--white);
    font-weight: 600;
}
.option-btn:hover, .option-btn.selected { border-color: var(--black); color: var(--black); background: var(--off-white); }
.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    overflow: hidden;
    width: fit-content;
    border-radius: 0;
}
.qty-control button { width: 42px; height: 44px; background: var(--off-white); color: var(--black); font-size: 1.2rem; font-weight: 700; transition: var(--transition); }
.qty-control button:hover { background: var(--black); color: var(--white); }
.qty-control input { width: 60px; height: 44px; border: none; text-align: center; font-size: 1rem; font-weight: 700; outline: none; background: var(--white); font-family: inherit; }
.product-detail-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.product-detail-buttons .btn { justify-content: center; font-size: 0.88rem; padding: 16px; }
.product-share { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.product-share span { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.share-btns { display: flex; gap: 8px; }
.share-btn {
    width: 36px; height: 36px;
    border-radius: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); color: var(--white); }
.share-fb { background: #1877F2; }
.share-wa { background: #25D366; }
.share-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ==================== PROMO BANNER ==================== */
.promo-section {
    background: var(--black);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.promo-section h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin-bottom: 16px;
    position: relative;
}
.promo-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    font-size: 1rem;
    position: relative;
}
.promo-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.promo-buttons .btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.promo-buttons .btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ==================== WHY CHOOSE US ==================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}
.why-item {
    padding: 40px 32px;
    text-align: center;
    border-inline-end: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.why-item:hover { background: var(--off-white); }
.why-icon {
    width: 56px; height: 56px;
    background: var(--cream);
    border-radius: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.why-item:hover .why-icon { background: var(--primary); color: var(--white); }
.why-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.why-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ==================== CART ==================== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 18px 16px; border-bottom: 1px solid var(--border); }
.cart-table th {
    background: var(--off-white);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.cart-product { display: flex; align-items: center; gap: 18px; }
.cart-product img { width: 72px; height: 92px; object-fit: cover; border-radius: 0; }
.cart-summary {
    background: var(--off-white);
    border-radius: 0;
    padding: 32px;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
}
.cart-summary h3 { margin-bottom: 24px; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.summary-total { font-size: 1.1rem; font-weight: 800; color: var(--black); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }

/* ==================== CHECKOUT ==================== */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-form { background: var(--white); border-radius: 0; padding: 36px; border: 1px solid var(--border); }
.order-summary-box { background: var(--off-white); border-radius: 0; padding: 32px; position: sticky; top: 100px; border: 1px solid var(--border); }
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dark);
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 0;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--black);
    background: var(--white);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group.error input, .form-group.error textarea { border-color: var(--danger); }
.form-group .error-msg { color: var(--danger); font-size: 0.78rem; margin-top: 6px; }
.payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.payment-option {
    display: flex; align-items: center; gap: 16px;
    padding: 18px;
    border: 1.5px solid var(--border);
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}
.payment-option.selected { border-color: var(--black); background: var(--off-white); }
.payment-option input[type="radio"] { accent-color: var(--black); width: 18px; height: 18px; }
.payment-option-info h4 { font-size: 0.9rem; font-weight: 700; }
.payment-option-info p { font-size: 0.78rem; color: var(--text-muted); }

/* ==================== BLOG ==================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.blog-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-img { height: 220px; overflow: hidden; background: var(--off-white); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-info { padding: 24px; }
.blog-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    flex-wrap: wrap;
    text-transform: uppercase;
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.blog-title a { color: var(--black); }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.blog-tag {
    padding: 3px 10px;
    background: var(--off-white);
    color: var(--text-mid);
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blog-post-header { padding: 60px 0 40px; background: var(--white); }
.blog-post-meta { display: flex; gap: 20px; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 20px; flex-wrap: wrap; }
.blog-post-image { height: 420px; border-radius: 0; overflow: hidden; margin-bottom: 48px; }
.blog-post-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-content { max-width: 760px; margin: 0 auto; line-height: 1.95; font-size: 1.05rem; }
.blog-post-content h2, .blog-post-content h3 { color: var(--black); margin: 36px 0 16px; }
.blog-post-content p { margin-bottom: 22px; color: var(--text-mid); }
.blog-post-content ul, .blog-post-content ol { padding: 0 24px; margin-bottom: 22px; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content img { border-radius: 0; margin: 24px 0; }
.blog-post-content strong { color: var(--black); }

/* ==================== ABOUT ==================== */
.about-hero { background: var(--black); color: var(--white); padding: 100px 0; text-align: center; }
.about-hero h1 { color: var(--white); margin-bottom: 16px; }
.about-hero p { opacity: 0.75; font-size: 1.1rem; max-width: 580px; margin: 0 auto; }
.about-content { padding: 88px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { overflow: hidden; border-radius: 0; }
.about-img img { width: 100%; height: 480px; object-fit: cover; }
.features-why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }

/* ==================== CONTACT ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-info-box { background: var(--black); color: var(--white); border-radius: 0; padding: 48px; }
.contact-info-box h2 { color: var(--white); margin-bottom: 32px; }
.contact-info-item { display: flex; gap: 18px; margin-bottom: 26px; align-items: flex-start; }
.contact-info-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 0;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.1rem;
    color: var(--primary-light);
}
.contact-info-text h4 { font-size: 0.75rem; opacity: 0.65; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-text p, .contact-info-text a { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.contact-social { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.contact-social a {
    padding: 8px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    color: var(--white);
    font-size: 0.78rem;
    display: flex; align-items: center; gap: 6px;
    transition: var(--transition);
    letter-spacing: 0.04em;
}
.contact-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.contact-form-box { background: var(--white); border-radius: 0; padding: 48px; border: 1px solid var(--border); }
.map-embed { margin-top: 40px; border-radius: 0; overflow: hidden; height: 300px; }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    background: var(--off-white);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; flex-wrap: wrap; letter-spacing: 0.04em; }
.breadcrumb-inner a { color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--black); }
.breadcrumb-inner .sep { color: var(--border-dark); }
.breadcrumb-inner .current { color: var(--black); font-weight: 700; }

/* ==================== PAGINATION ==================== */
.pagination-nav { display: flex; justify-content: center; margin-top: 60px; }
.pagination { display: flex; gap: 4px; align-items: center; }
.pagination li a, .pagination li.active a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--white);
    color: var(--text-dark);
    border: 1.5px solid var(--border);
    transition: var(--transition);
}
.pagination li.active a { background: var(--black); color: var(--white); border-color: var(--black); }
.pagination li a:hover { border-color: var(--black); color: var(--black); }

/* ==================== FILTER SIDEBAR ==================== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; }
.filter-sidebar { position: sticky; top: 100px; }
.filter-card {
    background: var(--white);
    border-radius: 0;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.filter-card h3 {
    font-size: 0.78rem;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--black);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-list a {
    padding: 9px 12px;
    border-radius: 0;
    color: var(--text-mid);
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
    border-inline-start: 2px solid transparent;
}
.filter-list a:hover, .filter-list a.active {
    background: var(--off-white);
    color: var(--black);
    font-weight: 700;
    border-inline-start-color: var(--primary);
}
.filter-list a span { color: var(--text-muted); font-size: 0.78rem; }
.price-inputs { display: flex !important; flex-direction: column !important; gap: 10px; }
.price-inputs input {
    width: 100% !important;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 0;
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
}
.price-inputs input:focus { border-color: var(--black); }

/* ==================== FOOTER ==================== */
footer {
    background: var(--black);
    color: rgba(255,255,255,0.75);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.45); }
.footer-brand p { font-size: 0.88rem; line-height: 1.85; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--white); padding-inline-start: 4px; }
.footer-newsletter form { display: flex; gap: 0; flex-direction: column; gap: 10px; }
.footer-newsletter input {
    padding: 12px 16px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter input:focus { border-color: var(--primary); }
.footer-newsletter .btn { justify-content: center; border-radius: 0; }
.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
[dir="rtl"] .whatsapp-float { left: 28px; align-items: flex-start; }
[dir="ltr"] .whatsapp-float { right: 28px; align-items: flex-end; }
.whatsapp-btn-main {
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.7rem;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    transition: var(--transition);
    animation: wa-pulse 2.5s infinite;
    text-decoration: none;
}
.whatsapp-btn-main:hover { transform: scale(1.08); color: var(--white); animation: none; }
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.65); }
}
.whatsapp-tooltip {
    background: var(--black);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    white-space: nowrap;
    display: none;
}
.whatsapp-float:hover .whatsapp-tooltip { display: block; }

/* ==================== CHAT WIDGET ==================== */
.chat-widget {
    position: fixed;
    bottom: 96px;
    z-index: 998;
    width: 340px;
}
[dir="rtl"] .chat-widget { left: 20px; }
[dir="ltr"] .chat-widget { right: 20px; }
.chat-window {
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 8px 48px rgba(0,0,0,0.18);
    display: none;
    flex-direction: column;
    max-height: 460px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.chat-window.open { display: flex; }
.chat-header {
    background: var(--black);
    color: var(--white);
    padding: 14px 16px;
    display: flex; align-items: center; gap: 12px;
    cursor: pointer;
}
.chat-avatar { width: 38px; height: 38px; background: rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.chat-header-info h4 { font-size: 0.88rem; }
.chat-header-info span { font-size: 0.72rem; opacity: 0.75; display: flex; align-items: center; gap: 4px; }
.chat-online { width: 7px; height: 7px; background: #4ADE80; border-radius: 50%; }
.chat-close { margin-inline-start: auto; background: rgba(255,255,255,0.12); border: none; color: var(--white); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.chat-messages { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: #F0F2F5; }
.chat-msg { max-width: 80%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-bubble { padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; }
.bot .chat-bubble { background: var(--white); color: var(--text-dark); border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
[dir="ltr"] .bot .chat-bubble { border-bottom-left-radius: 12px; border-bottom-right-radius: 4px; }
.user .chat-bubble { background: var(--black); color: var(--white); border-bottom-right-radius: 4px; }
[dir="rtl"] .user .chat-bubble { border-bottom-right-radius: 12px; border-bottom-left-radius: 4px; }
.chat-input-area { padding: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; background: var(--white); }
.chat-input { flex: 1; border: 1.5px solid var(--border); border-radius: 0; padding: 9px 14px; font-size: 0.85rem; outline: none; font-family: inherit; }
.chat-input:focus { border-color: var(--black); }
.chat-send { width: 38px; height: 38px; background: var(--black); color: var(--white); border-radius: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); flex-shrink: 0; border: none; }
.chat-send:hover { background: var(--primary); }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; background: #F0F2F5; }
.quick-reply {
    padding: 5px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: var(--text-dark);
    font-weight: 600;
}
.quick-reply:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.chat-toggle {
    width: 48px; height: 48px;
    background: var(--black);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    margin-top: 10px;
    align-self: flex-end;
    border: none;
}
[dir="rtl"] .chat-toggle { align-self: flex-start; }
.chat-toggle:hover { background: var(--primary); transform: scale(1.05); }

/* ==================== ORDER SUCCESS ==================== */
.success-page { text-align: center; padding: 80px 0; }
.success-icon { width: 96px; height: 96px; background: #E8F5E9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-size: 2.8rem; color: var(--success); }
.order-details-box { background: var(--white); border-radius: 0; padding: 36px; max-width: 580px; margin: 32px auto; border: 1px solid var(--border); text-align: start; }
.order-details-box h3 { text-align: center; margin-bottom: 22px; color: var(--black); font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; }
.order-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.order-row:last-child { border-bottom: none; font-weight: 800; color: var(--black); font-size: 1rem; }
.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ==================== ALERTS & TOASTS ==================== */
.alert {
    padding: 14px 18px;
    border-radius: 0;
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
    font-size: 0.88rem;
}
.alert-success { background: #D4EDDA; color: #155724; border-inline-start: 4px solid var(--success); }
.alert-danger { background: #F8D7DA; color: #721C24; border-inline-start: 4px solid var(--danger); }
.alert-info { background: #D1ECF1; color: #0C5460; border-inline-start: 4px solid #17a2b8; }
.alert-warning { background: #FFF3CD; color: #856404; border-inline-start: 4px solid var(--warning); }

.toast-container { position: fixed; top: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
[dir="rtl"] .toast-container { left: 20px; }
[dir="ltr"] .toast-container { right: 20px; }
.toast {
    background: var(--white);
    border-radius: 0;
    padding: 14px 20px;
    box-shadow: var(--shadow-hover);
    display: flex; align-items: center; gap: 12px;
    min-width: 280px;
    animation: slideIn 0.3s ease;
    border-inline-start: 3px solid var(--black);
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ==================== EMPTY STATES ==================== */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 3.5rem; color: var(--border); margin-bottom: 20px; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 12px; font-size: 1rem; letter-spacing: 0.04em; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.9rem; }

/* ==================== LOADING ==================== */
.loading-spinner { display: flex; align-items: center; justify-content: center; padding: 48px; }
.spinner { width: 36px; height: 36px; border: 2px solid var(--border); border-top-color: var(--black); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; display: none; }
    .filter-sidebar.open { display: block; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .order-summary-box { position: static; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .search-bar { display: none; }
    .top-bar-info { display: none; }
    .hero-slider { height: 72vh; min-height: 420px; }
    .slide-content { padding: 0 28px; }
    .slide-content h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .blog-grid { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .features-why { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .chat-widget { width: calc(100vw - 40px); }
    .slide-buttons .btn { font-size: 0.78rem; padding: 11px 22px; }

    /* Product Detail Mobile */
    .product-detail { padding: 24px 0 48px; }
    .product-detail-grid { gap: 24px; }
    .main-image { aspect-ratio: 4/5; max-height: 480px; }
    .thumb-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
    .thumb { aspect-ratio: 1; }
    .product-detail-title { font-size: 1.3rem; margin-bottom: 14px; }
    .product-detail-price { font-size: 1.35rem; margin-bottom: 18px; }
    .product-detail-buttons { margin-top: 16px; gap: 10px; }
    .product-detail-buttons .btn { padding: 14px; font-size: 0.9rem; }
    .product-detail-info { padding-top: 0; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .header-inner { padding: 14px 0; }
    .logo img { width: 42px; height: 42px; }
    .logo-name { font-size: 1.1rem; }
    h1 { font-size: 1.7rem; }
    .slide-content { padding: 0 20px; }
    .slide-content h1 { font-size: 1.5rem; }
    .container { padding: 0 16px; }
    .section-title { margin-bottom: 40px; }
    .promo-section { padding: 60px 0; }
    .promo-buttons { flex-direction: column; align-items: center; }

    /* Product Detail Small Mobile */
    .main-image { aspect-ratio: 3/4; max-height: 420px; }
    .thumb-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
    .product-detail-price { font-size: 1.2rem; gap: 8px; }
    .product-detail-title { font-size: 1.15rem; }
    .product-detail-buttons .btn { padding: 13px; font-size: 0.85rem; }
    .qty-control button { width: 38px; height: 40px; }
    .qty-control input { width: 50px; height: 40px; }
    .option-btn { padding: 8px 14px; font-size: 0.82rem; }
}

/* ==================== UTILITIES ==================== */
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-start { text-align: start; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.bg-white-card { background: var(--white); padding: 28px; border: 1px solid var(--border); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.star { color: var(--accent); }
.stars { display: flex; gap: 2px; }
.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }
.feature-item { display: flex; align-items: center; gap: 14px; padding: 22px 28px; }
