/* ===== CSS Variables ===== */
:root {
    --cream: #FAF1E2;
    --cream-2: #F1E2C6;
    --paper: #FFFCF6;
    --charcoal: #241a12;
    --charcoal-soft: #4a3b2c;
    --amber: #c1792b;
    --amber-deep: #8f5417;
    --amber-pale: #f0c98b;
    --rose: #7a2331;
    --rose-deep: #5c1a25;
    --pistachio: #6e7b3f;
    --thread: #c9a227;
    --line: rgba(36,26,18,0.12);
    --black: #241a12;
    --black-light: #2e2118;
    --black-dark: #1a1209;
    --gold: #c1792b;
    --gold-light: #d4913e;
    --gold-dark: #8f5417;
    --gold-gradient: linear-gradient(135deg, #c1792b, #e0a256, #c1792b);
    --white: #FFFCF6;
    --gray-50: #FAF1E2;
    --gray-100: #F1E2C6;
    --gray-200: #e0d2b8;
    --gray-300: #c4b49a;
    --gray-400: #a09080;
    --gray-500: #7a6b5c;
    --gray-600: #5c4f42;
    --gray-700: #4a3b2c;
    --gray-800: #362a1e;
    --gray-900: #241a12;
    --success: #6e7b3f;
    --warning: #c1792b;
    --danger: #7a2331;
    --info: #5c7a3f;
    --primary: #c1792b;
    --shadow-sm: 0 2px 8px -4px rgba(36,26,18,0.12);
    --shadow: 0 10px 30px -12px rgba(36,26,18,0.25);
    --shadow-md: 0 10px 30px -12px rgba(36,26,18,0.35);
    --shadow-lg: 0 20px 50px -16px rgba(36,26,18,0.35);
    --shadow-xl: 0 30px 60px -20px rgba(36,26,18,0.4);
    --radius: 18px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
    --font: 'Tajawal', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: 'Reem Kufi', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--charcoal);
    color: var(--cream-2);
    font-size: 0.82rem;
    padding: 0;
    border-bottom: none;
}

.top-bar .container {
    height: 38px;
}

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

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-bar-right i {
    color: var(--thread);
    margin-left: 5px;
}

.top-bar-right .separator {
    color: rgba(255,255,255,0.2);
}

.top-bar-left {
    display: flex;
    gap: 14px;
}

.top-bar-left a {
    color: var(--cream-2);
    font-size: 0.85rem;
    opacity: 0.75;
    transition: var(--transition);
}

.top-bar-left a:hover {
    opacity: 1;
    color: var(--amber-pale);
}

/* ===== Navbar ===== */
.navbar {
    background: var(--paper);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 82px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo {
    height: 44px;
    width: auto;
    filter: none;
    transition: var(--transition);
}

.navbar-logo:hover {
    filter: none;
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    gap: 34px;
}

.nav-link {
    color: var(--charcoal-soft);
    padding: 6px 2px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link i {
    margin-left: 6px;
    font-size: 0.85rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--thread);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-btn {
    position: relative;
    color: var(--charcoal);
    font-size: 1.1rem;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    background: var(--cream-2);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn:hover {
    background: var(--amber);
    color: var(--white);
    transform: none;
}

.cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--rose);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-btn {
    display: none;
}

.cart-count-mini {
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 4px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--cream-2);
}

.menu-toggle:hover {
    background: var(--cream-2);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
    border-radius: 2px;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-gold {
    background: var(--amber);
    color: var(--white);
    border-color: var(--amber);
    box-shadow: 0 8px 20px -8px rgba(193,121,43,0.5);
}

.btn-gold:hover {
    background: var(--amber-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(193,121,43,0.6);
}

.btn-outline-gold {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-outline-gold:hover {
    background: var(--charcoal);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn-black {
    background: var(--charcoal);
    color: var(--cream);
    border-color: var(--charcoal);
}

.btn-black:hover {
    background: var(--charcoal-soft);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--paper);
    color: var(--rose);
    border-color: var(--paper);
}

.btn-white:hover {
    background: var(--cream-2);
    transform: translateY(-2px);
}

.btn-rose {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
}

.btn-rose:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

.btn i {
    font-size: 0.9em;
}

/* ===== Hero Section ===== */
/* ===== Hero Slideshow ===== */
.hero-slideshow {
    position: relative;
    min-height: 520px;
    max-height: 620px;
    overflow: hidden;
    background: var(--cream);
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    z-index: 0;
}

.hero-slideshow .slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slideshow .slide-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 50%, rgba(193,121,43,0.08) 100%);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-slideshow .slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,252,246,0.92) 0%, rgba(255,252,246,0.75) 50%, rgba(255,252,246,0.35) 100%);
    z-index: 1;
}

.hero-slideshow .slide-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(193,121,43,0.12), transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(122,35,49,0.08), transparent 40%);
    z-index: 1;
}

.hero-slideshow .slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-slideshow .slide-content {
    max-width: 600px;
    text-align: center;
    padding: 60px 0;
    margin: 0 auto;
}

.hero-slideshow .slide.active .slide-content {
    animation: slideIn 0.8s ease both;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-slideshow .slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream-2);
    border: 1px solid var(--thread);
    color: var(--amber-deep);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0;
    justify-content: center;
}

.hero-slideshow .slide-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 22px 0 10px;
    line-height: 1.25;
}

.hero-slideshow .slide-content h1 .gold-text,
.hero-slideshow .slide-content h1 em {
    color: var(--amber);
    font-style: normal;
}

.hero-slideshow .slide-content p {
    font-size: 1.08rem;
    color: var(--charcoal-soft);
    margin-top: 14px;
    margin-bottom: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slideshow .slide-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Arrows */
.hero-slideshow .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,252,246,0.9);
    backdrop-filter: blur(8px);
    color: var(--charcoal);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(36,26,18,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow .slide-arrow:hover {
    background: var(--amber);
    color: white;
    box-shadow: 0 6px 24px rgba(193,121,43,0.35);
}

.hero-slideshow .slide-prev { right: 24px; }
.hero-slideshow .slide-next { left: 24px; }

/* Dots */
.hero-slideshow .slide-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-slideshow .slide-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--charcoal);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slideshow .slide-dot.active {
    background: var(--amber);
    border-color: var(--amber);
    transform: scale(1.2);
}

.hero-slideshow .slide-dot:hover:not(.active) {
    background: var(--amber-pale);
    border-color: var(--amber-pale);
}

/* Progress Bar */
.hero-slideshow .slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(36,26,18,0.08);
    z-index: 10;
}

.hero-slideshow .slide-progress-bar {
    height: 100%;
    background: var(--amber);
    border-radius: 0 2px 2px 0;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== Daily Offer Floating Widget ===== */
.offer-float-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--paper);
    border: 2px solid var(--danger);
    border-radius: 60px;
    padding: 6px 16px 6px 6px;
    box-shadow: 0 8px 32px rgba(122,35,49,0.3);
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    animation: floatBounce 6s ease-in-out infinite;
    max-width: 300px;
    overflow: hidden;
}

.offer-float-widget:hover {
    box-shadow: 0 12px 40px rgba(122,35,49,0.45);
    transform: scale(1.04);
}

@keyframes floatBounce {
    0%, 100% { transform: translate(0, 0); }
    15% { transform: translate(60px, -14px); }
    30% { transform: translate(120px, 4px); }
    45% { transform: translate(60px, -10px); }
    60% { transform: translate(0, 6px); }
    75% { transform: translate(-30px, -8px); }
    90% { transform: translate(-10px, 2px); }
}

.offer-float-pulse {
    position: absolute;
    inset: -2px;
    border-radius: 60px;
    border: 2px solid var(--danger);
    animation: offerPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes offerPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.06); }
}

.offer-float-close {
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: 3;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: var(--charcoal);
    color: white;
    font-size: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-float-widget:hover .offer-float-close {
    opacity: 1;
}

.offer-float-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.offer-float-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.offer-float-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.offer-float-badge {
    display: inline-block;
    background: var(--danger);
    color: white;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    width: fit-content;
}

.offer-float-title {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 0.8rem;
    color: var(--charcoal);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.offer-float-price {
    font-size: 0.78rem;
    color: var(--danger);
    font-weight: 700;
}

.offer-float-arrow {
    color: var(--danger);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-right: 4px;
}

@media (max-width: 480px) {
    .offer-float-widget {
        bottom: 16px;
        left: 16px;
        max-width: 260px;
        padding: 5px 12px 5px 5px;
    }
    .offer-float-img, .offer-float-icon { width: 40px; height: 40px; }
    .offer-float-title { font-size: 0.72rem; max-width: 110px; }
}

/* ===== Daily Offers Section ===== */
.daily-offers-section {
    padding: 50px 0;
    background: var(--cream);
}

.daily-offers-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.daily-offers-icon {
    width: 52px;
    height: 52px;
    background: var(--danger);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.daily-offers-header h2 {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.6rem;
    color: var(--charcoal);
    margin: 0;
}

.daily-offers-header p {
    font-size: 0.9rem;
    color: var(--charcoal-soft);
    margin: 2px 0 0;
}

.daily-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.daily-offer-card {
    background: var(--paper);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--line);
}

.daily-offer-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.daily-offer-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.daily-offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.daily-offer-card:hover .daily-offer-img img {
    transform: scale(1.05);
}

.daily-offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: white;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.daily-offer-info {
    padding: 16px;
}

.daily-offer-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.daily-offer-info h4 {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.05rem;
    color: var(--charcoal);
    margin: 0 0 6px;
}

.daily-offer-info p {
    font-size: 0.85rem;
    color: var(--charcoal-soft);
    margin: 0 0 12px;
    line-height: 1.5;
}

.daily-offer-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.daily-offer-new {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.2rem;
    color: var(--danger);
    font-weight: 700;
}

.daily-offer-old {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

/* ===== Trust Badges ===== */
.trust-badges {
    background: var(--charcoal);
    padding: 26px 0;
    border-bottom: none;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    color: var(--cream);
    transition: var(--transition);
}

.badge-item:hover {
    color: var(--cream);
    transform: none;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--thread);
    flex-shrink: 0;
    transition: var(--transition);
}

.badge-item:hover .badge-icon {
    background: none;
    color: var(--amber-pale);
    border-color: none;
    box-shadow: none;
}

.badge-text h4 {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 2px;
}

.badge-text p {
    font-size: 0.78rem;
    color: var(--cream-2);
    opacity: 0.8;
}

/* ===== Section Styles ===== */
.section {
    padding: 86px 0;
}

.section-dark {
    background: var(--charcoal);
    color: var(--cream);
}

.section.alt {
    background: var(--cream-2);
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0;
}

.section-dark .section-header h2 {
    color: var(--cream);
}

.section-header .gold-line {
    width: 120px;
    height: 16px;
    margin: 14px auto 0;
}

.section-header p {
    color: var(--charcoal-soft);
    font-size: 1rem;
    max-width: 560px;
    margin: 14px auto 0;
}

.section-dark .section-header p {
    color: var(--cream-2);
}

/* ===== Product Cards ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--cream-2);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--white);
}

.badge-sale {
    background: var(--rose);
}

.badge-new {
    background: var(--pistachio);
}

.badge-featured {
    background: var(--amber);
    color: var(--white);
}

.product-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

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

.product-action-btn {
    flex: 1;
    padding: 10px;
    background: var(--charcoal);
    backdrop-filter: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-action-btn:hover {
    background: var(--amber);
    color: var(--white);
}

.product-action-btn.quick-view-btn {
    flex: 0 0 auto;
    width: 42px;
}

.product-info {
    padding: 18px;
    flex: 1;
}

.product-category {
    font-size: 0.74rem;
    color: var(--amber-deep);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
    line-height: 1.4;
}

.product-name a:hover {
    color: var(--amber);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--thread);
    font-size: 0.85rem;
}

.product-rating span {
    color: var(--charcoal-soft);
    font-size: 0.78rem;
}

.product-weight {
    color: var(--charcoal-soft);
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.current-price {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rose);
}

.original-price {
    font-size: 0.85rem;
    color: var(--charcoal-soft);
    text-decoration: line-through;
    opacity: 0.65;
}

.discount-percent {
    background: rgba(122, 35, 49, 0.1);
    color: var(--rose);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== Countdown Banner ===== */
.countdown-section {
    background: var(--rose);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}

.countdown-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cream);
}

.countdown-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.countdown-content h2 .gold-text {
    color: var(--thread);
}

.countdown-content p {
    color: var(--cream-2);
    margin-bottom: 30px;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 34px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.72rem;
    color: var(--cream-2);
    opacity: 0.75;
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.category-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--paper);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 28px 18px;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: none;
}

.category-overlay h3 {
    color: var(--charcoal);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card:hover .category-overlay h3 {
    color: var(--charcoal);
}

.category-overlay p {
    color: var(--charcoal-soft);
    font-size: 0.78rem;
}

.category-card:hover .category-overlay p {
    color: var(--charcoal-soft);
}

/* ===== Quick View Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--danger);
    color: var(--white);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    height: 400px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 32px;
}

/* ===== Testimonials ===== */
.testimonials-slider {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: var(--paper);
    border: none;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: none;
    background: var(--paper);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--thread);
    font-size: 1rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-family: 'Aref Ruqaa', serif;
    color: var(--charcoal-soft);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Reem Kufi', sans-serif;
}

.testimonial-info h4 {
    font-family: 'Tajawal', sans-serif;
    color: var(--charcoal);
    font-size: 0.92rem;
    font-weight: 700;
}

.testimonial-info p {
    color: var(--charcoal-soft);
    font-size: 0.76rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--charcoal);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 14px;
}

.cta-content p {
    color: var(--cream-2);
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    display: none;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--charcoal-soft);
    font-size: 0.88rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--cream-2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--amber);
    color: var(--white);
    border-color: var(--amber);
    transform: none;
    box-shadow: none;
}

.footer-title {
    color: var(--charcoal);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 0;
}

.footer-title::after {
    display: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--charcoal-soft);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    display: none;
}

.footer-links a:hover {
    color: var(--amber-deep);
    padding-right: 0;
}

.footer-links a:hover::before {
    width: 0;
}

.footer-contact p {
    color: var(--charcoal-soft);
    font-size: 0.86rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact i {
    color: var(--amber);
    width: 16px;
    text-align: center;
    margin-top: 3px;
}

.payment-methods {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.payment-methods span {
    color: var(--charcoal-soft);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 8px;
}

.payment-icons {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
    color: var(--charcoal-soft);
}

.footer-bottom {
    background: none;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    color: var(--charcoal-soft);
    font-size: 0.82rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    left: 26px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--charcoal);
    color: var(--cream);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    background: var(--amber);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 8px 20px -8px rgba(193,121,43,0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--amber-deep);
    transform: translateY(-3px);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--charcoal);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(193, 121, 43, 0.1), transparent 70%);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 8px;
    position: relative;
}

.page-header .breadcrumb {
    color: var(--cream-2);
    font-size: 0.9rem;
    position: relative;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: var(--amber-pale);
}

.page-header .breadcrumb span {
    margin: 0 8px;
}

/* ===== Filter Sidebar ===== */
.filter-sidebar {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: none;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

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

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title i {
    color: var(--gold);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.filter-option:hover {
    background: var(--gray-50);
}

.filter-option input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.filter-option input[type="checkbox"]:checked {
    background: var(--amber);
    border-color: var(--amber);
}

.filter-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--charcoal);
    font-size: 0.7rem;
    font-weight: 700;
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.85rem;
    text-align: center;
}

.price-range input:focus {
    outline: none;
    border-color: var(--gold);
}

.price-range span {
    color: var(--gray-400);
}

/* ===== Products Layout ===== */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.products-count {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--amber);
}

/* ===== View Toggle Buttons ===== */
.view-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-400);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.view-btn:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.view-btn.active {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--white);
}

/* ===== List View ===== */
.products-list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-list-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    align-items: center;
}

.product-list-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(193, 121, 43, 0.2);
    transform: translateY(-2px);
}

.product-list-image {
    width: 200px;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-list-card:hover .product-list-image img {
    transform: scale(1.05);
}

.product-list-info {
    padding: 20px 0;
}

.product-list-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--black);
}

.product-list-info h3 a:hover {
    color: var(--gold-dark);
}

.product-list-info .product-category {
    margin-bottom: 8px;
}

.product-list-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-list-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.product-list-meta .product-rating {
    font-size: 0.85rem;
}

.product-list-meta .product-weight {
    font-size: 0.85rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-list-meta .product-weight i {
    color: var(--gold);
    font-size: 0.8rem;
}

.product-list-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    min-width: 180px;
}

.product-list-actions .product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.product-list-actions .current-price {
    font-size: 1.4rem;
}

.product-list-actions .original-price {
    font-size: 0.9rem;
}

.product-list-actions .btn {
    width: 100%;
    font-size: 0.85rem;
    padding: 10px 16px;
}

@media (max-width: 768px) {
    .product-list-card {
        grid-template-columns: 120px 1fr;
    }
    .product-list-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px 16px;
    }
    .product-list-image {
        width: 120px;
        height: 120px;
    }
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.pagination a {
    background: var(--white);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.pagination a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.pagination .active {
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
}

/* ===== Cart Page ===== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.cart-items {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-info p {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1rem;
    margin-top: 8px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: var(--gray-50);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.quantity-input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    text-align: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
}

.quantity-input:focus {
    outline: none;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* ===== Cart Summary ===== */
.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.summary-row.total {
    font-size: 1.15rem;
    font-weight: 700;
    padding-top: 16px;
    border-top: 2px solid var(--gray-100);
    margin-top: 16px;
    color: var(--gold-dark);
}

.coupon-form {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.coupon-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
}

.coupon-form input:focus {
    outline: none;
    border-color: var(--gold);
}

/* ===== Checkout ===== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.checkout-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(193,121,43,0.1);
}

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

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%236b7280" viewBox="0 0 16 16"><path d="M8 11L3 6h10l-5 5z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-option {
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--gold);
}

.payment-option.selected {
    border-color: var(--gold);
    background: rgba(193, 121, 43, 0.05);
}

.payment-option input {
    display: none;
}

.payment-option i {
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.payment-option span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Reviews ===== */
.reviews-section {
    margin-top: 40px;
}

.review-card {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--black);
    flex-shrink: 0;
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    color: var(--black);
}

.review-date {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.review-stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.review-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

/* ===== Alert Messages ===== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #92400e;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1e40af;
}

/* ===== Contact Page ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(193, 121, 43, 0.2);
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(193, 121, 43, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-content p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

/* ===== Offers Page ===== */
.offer-banner {
    background: linear-gradient(135deg, var(--black), var(--black-light));
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.offer-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(193, 121, 43, 0.15), transparent 60%);
}

.offer-banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.offer-banner-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.offer-banner-content h2 .gold-text {
    color: var(--gold);
}

.offer-banner-content p {
    color: var(--gray-300);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.offer-banner-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(193, 121, 43, 0.15);
    border: 1px dashed var(--gold);
    padding: 10px 20px;
    border-radius: var(--radius);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.offer-banner-code:hover {
    background: rgba(193, 121, 43, 0.25);
}

.offer-banner-code i {
    font-size: 0.9rem;
}

/* ===== Bulk Order ===== */
.bulk-order-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calendar-input {
    position: relative;
}

.calendar-input i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

/* ===== Product Detail ===== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-100);
    margin-bottom: 16px;
    cursor: zoom-in;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 12px;
}

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--gold);
}

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

.product-detail-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.product-detail-rating .stars {
    color: var(--gold);
    font-size: 1rem;
}

.product-detail-rating span {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.product-detail-price .current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-dark);
}

.product-detail-price .original {
    font-size: 1.2rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-detail-price .discount {
    background: var(--danger);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.product-detail-desc {
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 24px;
    font-size: 1rem;
}

.product-detail-meta {
    margin-bottom: 24px;
}

.product-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.product-detail-meta .meta-item i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.stock-indicator.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.stock-indicator.low-stock {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
}

.stock-indicator.out-of-stock {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

.stock-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stock-indicator.in-stock .dot { background: var(--success); }
.stock-indicator.low-stock .dot { background: var(--warning); }
.stock-indicator.out-of-stock .dot { background: var(--danger); }

.product-add-cart {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.product-add-cart .quantity-control {
    border-radius: var(--radius);
}

/* ===== Responsive Design ===== */

/* --- Tablet Landscape & Small Desktop (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .container { padding: 0 16px; }
    .products-layout { grid-template-columns: 240px 1fr; gap: 20px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 60px 0; }
    .hero-slideshow { min-height: 450px; max-height: 520px; }
    .hero-slideshow .slide-content h1 { font-size: 2.6rem; }
    .testimonial-card { flex: 0 0 300px; }
    .product-detail-layout { gap: 30px; }
    .product-main-image { height: 380px; }
    .offer-banner { padding: 30px; }
    .offer-banner-content h2 { font-size: 1.6rem; }
    .bulk-order-form { padding: 30px; }
    .policy-page { padding: 36px 28px; }
}

/* --- Tablet Portrait (max-width: 900px) --- */
@media (max-width: 900px) {
    .top-bar-content { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .top-bar-right { gap: 10px; font-size: 0.8rem; }
    .top-bar-left { gap: 10px; }
    .navbar-content { height: 65px; }
    .navbar-logo { height: 45px; }
    .nav-link { padding: 8px 14px; font-size: 0.88rem; }
    .hero-slideshow { min-height: 400px; max-height: 480px; }
    .hero-slideshow .slide-content h1 { font-size: 2.2rem; }
    .hero-slideshow .slide-content p { font-size: 1.05rem; }
    .section-header h2 { font-size: 1.8rem; }
    .products-layout { grid-template-columns: 1fr; }
    .filter-sidebar { display: none; position: fixed; top: 0; right: 0; width: 300px; height: 100vh; z-index: 2000; overflow-y: auto; background: var(--paper); padding: 20px; box-shadow: -5px 0 30px rgba(36,26,18,0.2); border-radius: 0; }
    .filter-sidebar.active { display: block; }
    .product-detail-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .product-main-image { height: 350px; }
    .product-detail-info h1 { font-size: 1.6rem; }
    .product-detail-price .current { font-size: 1.6rem; }
    .modal-content { grid-template-columns: 1fr; }
    .modal-image { height: 250px; }
    .contact-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-main { padding: 40px 0 24px; }
    .countdown-value { width: 70px; height: 70px; font-size: 1.7rem; }
}

/* --- Mobile Large (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-right span:last-child { display: none; }
    .top-bar-content { justify-content: space-between; }
    .top-bar { padding: 6px 0; font-size: 0.8rem; }

    /* Navbar - Mobile */
    .navbar-content { height: 60px; }
    .navbar-logo { height: 40px; }
    .navbar-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 60px);
        background: var(--paper);
        flex-direction: column;
        padding: 16px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -5px 0 30px rgba(36,26,18,0.2);
        overflow-y: auto;
        gap: 2px;
    }
    .navbar-menu.active { right: 0; }
    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 0.95rem;
        gap: 10px;
    }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.active { background: rgba(193, 121, 43, 0.12); }
    .menu-toggle { display: flex; }
    .mobile-cart-btn { display: flex; }
    .cart-btn { display: none; }

    /* Hero */
    .hero-slideshow { min-height: 380px; max-height: 450px; padding: 20px 0; }
    .hero-slideshow .slide-content h1 { font-size: 1.8rem; line-height: 1.4; }
    .hero-slideshow .slide-content p { font-size: 0.95rem; margin-bottom: 0; }
    .hero-slideshow .slide-badge { font-size: 0.8rem; padding: 6px 18px; margin-bottom: 16px; }
    .hero-slideshow .slide-buttons { gap: 12px; }
    .hero-slideshow .slide-buttons .btn { padding: 12px 24px; font-size: 0.9rem; }

    /* Trust Badges */
    .badges-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .badge-item { padding: 12px; gap: 10px; flex-direction: column; text-align: center; }
    .badge-icon { width: 45px; height: 45px; font-size: 1.1rem; }
    .badge-text h4 { font-size: 0.88rem; }
    .badge-text p { font-size: 0.78rem; }

    /* Sections */
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 0.95rem; }

    /* Product Cards */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-image { height: 180px; }
    .product-info { padding: 14px; }
    .product-name { font-size: 0.95rem; }
    .product-price { flex-wrap: wrap; gap: 6px; }
    .current-price { font-size: 1.1rem; }
    .original-price { font-size: 0.85rem; }
    .product-actions { opacity: 1; transform: none; position: static; display: flex; gap: 6px; margin-top: 10px; }
    .product-action-btn { padding: 8px; font-size: 0.8rem; }
    .product-action-btn.quick-view-btn { width: 36px; }

    /* Categories */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card { height: 200px; }
    .category-overlay { padding: 16px; }
    .category-overlay h3 { font-size: 1.1rem; }
    .category-overlay p { font-size: 0.8rem; }

    /* Countdown */
    .countdown-section { padding: 36px 0; }
    .countdown-content h2 { font-size: 1.5rem; }
    .countdown-timer { gap: 10px; }
    .countdown-value { width: 60px; height: 60px; font-size: 1.4rem; }
    .countdown-label { font-size: 0.75rem; }

    /* Product Detail */
    .product-detail-layout { gap: 24px; margin-bottom: 40px; }
    .product-main-image { height: 300px; border-radius: var(--radius-lg); }
    .product-thumbnails { gap: 8px; }
    .product-thumb { width: 60px; height: 60px; }
    .product-detail-info h1 { font-size: 1.4rem; margin-bottom: 8px; }
    .product-detail-price { padding: 16px; flex-wrap: wrap; gap: 10px; }
    .product-detail-price .current { font-size: 1.5rem; }
    .product-detail-price .original { font-size: 1rem; }
    .product-add-cart { flex-wrap: wrap; }
    .product-add-cart .btn { flex: 1; min-width: 140px; }

    /* Cart */
    .cart-layout { gap: 20px; }
    .cart-item { grid-template-columns: 80px 1fr; gap: 12px; padding: 16px; }
    .cart-item .quantity-control { grid-column: 2; justify-self: start; }
    .cart-item .cart-item-remove { grid-column: 2; justify-self: end; margin-top: -36px; }
    .cart-summary { padding: 20px; position: static; }

    /* Checkout */
    .checkout-form { padding: 24px; }
    .payment-methods-grid { grid-template-columns: 1fr 1fr; }

    /* Offers */
    .offer-banner { flex-direction: column; text-align: center; gap: 20px; padding: 28px 20px; }
    .offer-banner-content h2 { font-size: 1.4rem; }

    /* Contact */
    .contact-info-card { padding: 20px; gap: 12px; }
    .contact-form-card { padding: 24px; }

    /* Testimonials */
    .testimonial-card { flex: 0 0 280px; padding: 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer-brand { text-align: center; }
    .footer-logo { height: 50px; margin: 0 auto 12px; display: block; }
    .footer-social { justify-content: center; }
    .footer-title::after { right: 50%; transform: translateX(50%); }
    .footer-links a { justify-content: center; }
    .footer-contact p { justify-content: center; }
    .payment-icons { justify-content: center; }
    .footer-main { padding: 36px 0 20px; }

    /* Page Header */
    .page-header { padding: 40px 0 28px; }
    .page-header h1 { font-size: 1.8rem; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; }

    /* Filter Toggle Button */
    .filter-toggle-btn { display: flex; }

    /* Bulk Order */
    .bulk-order-form { padding: 24px 16px; border-radius: var(--radius-lg); }

    /* Policy */
    .policy-page { padding: 24px 16px; border-radius: var(--radius-lg); }
    .policy-header h1 { font-size: 1.3rem; }
    .policy-section h2 { font-size: 1.1rem; }

    /* WhatsApp Float */
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; left: 16px; }
    .whatsapp-tooltip { display: none; }

    /* Back to Top */
    .back-to-top { width: 42px; height: 42px; bottom: 16px; right: 16px; font-size: 0.9rem; }
}

/* --- Mobile Medium (max-width: 600px) --- */
@media (max-width: 600px) {
    .container { padding: 0 12px; }
    .hero-slideshow { min-height: 340px; }
    .hero-slideshow .slide-content h1 { font-size: 1.5rem; }
    .hero-slideshow .slide-content p { font-size: 0.88rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-image { height: 150px; }
    .product-info { padding: 10px; }
    .product-name { font-size: 0.85rem; line-height: 1.3; }
    .product-rating { font-size: 0.75rem; }
    .current-price { font-size: 1rem; }
    .original-price { font-size: 0.78rem; }
    .product-badge { font-size: 0.68rem; padding: 3px 8px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .category-card { height: 160px; }
    .category-overlay { padding: 12px; }
    .category-overlay h3 { font-size: 0.95rem; }
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 1.4rem; }
    .section-header p { font-size: 0.88rem; }
    .countdown-value { width: 52px; height: 52px; font-size: 1.2rem; border-radius: var(--radius); }
    .countdown-label { font-size: 0.7rem; }
    .product-main-image { height: 260px; }
    .product-thumb { width: 50px; height: 50px; }
    .product-detail-price { padding: 14px; }
    .product-detail-price .current { font-size: 1.3rem; }
    .testimonial-card { flex: 0 0 260px; padding: 16px; }
    .testimonial-text { font-size: 0.85rem; }
    .cart-item { grid-template-columns: 70px 1fr; padding: 12px; }
    .cart-item-image { width: 70px; height: 70px; }
    .badges-grid { gap: 8px; }
    .badge-icon { width: 40px; height: 40px; font-size: 1rem; }
    .badge-text h4 { font-size: 0.8rem; }
    .badge-text p { font-size: 0.72rem; }
    .cta-content h2 { font-size: 1.5rem; }
    .cta-content p { font-size: 0.95rem; }
    .offer-banner-content h2 { font-size: 1.2rem; }
    .offer-banner-code { font-size: 0.95rem; padding: 8px 16px; }
}

/* --- Mobile Small (max-width: 480px) --- */
@media (max-width: 480px) {
    .top-bar-right .separator { display: none; }
    .top-bar-right { gap: 8px; }
    .top-bar-left { gap: 8px; }
    .hero-slideshow { min-height: 300px; padding: 10px 0; }
    .hero-slideshow .slide-content h1 { font-size: 1.3rem; }
    .hero-slideshow .slide-content p { font-size: 0.82rem; margin-bottom: 20px; }
    .hero-slideshow .slide-buttons { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; margin: 0 auto; }
    .hero-slideshow .slide-buttons .btn { width: 100%; justify-content: center; }
    .hero-slideshow .slide-arrow { display: none; }
    .hero-slideshow .slide-dots { bottom: 16px; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .product-image { height: 130px; }
    .product-info { padding: 8px; }
    .product-name { font-size: 0.8rem; }
    .product-meta { display: none; }
    .current-price { font-size: 0.92rem; }
    .product-actions { flex-direction: column; gap: 4px; }
    .product-action-btn { padding: 6px; font-size: 0.75rem; }
    .product-action-btn.quick-view-btn { width: 100%; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .category-card { height: 140px; }
    .category-overlay { padding: 10px; }
    .category-overlay h3 { font-size: 0.85rem; }
    .category-overlay p { font-size: 0.7rem; }
    .badges-grid { grid-template-columns: 1fr; }
    .badge-item { flex-direction: row; text-align: right; justify-content: flex-start; padding: 10px; }
    .countdown-timer { gap: 6px; }
    .countdown-value { width: 48px; height: 48px; font-size: 1.1rem; }
    .countdown-label { font-size: 0.65rem; }
    .section { padding: 36px 0; }
    .section-header h2 { font-size: 1.25rem; }
    .section-header p { font-size: 0.82rem; }
    .product-detail-layout { gap: 20px; margin-bottom: 30px; }
    .product-main-image { height: 220px; }
    .product-thumb { width: 44px; height: 44px; }
    .product-detail-info h1 { font-size: 1.2rem; }
    .product-detail-price { padding: 12px; }
    .product-detail-price .current { font-size: 1.2rem; }
    .product-add-cart { flex-direction: column; }
    .product-add-cart .btn { width: 100%; }
    .product-add-cart .quantity-control { width: 100%; justify-content: center; }
    .page-header { padding: 30px 0 20px; }
    .page-header h1 { font-size: 1.5rem; }
    .pagination { gap: 4px; }
    .pagination a, .pagination span { width: 34px; height: 34px; font-size: 0.8rem; }
    .page-link { min-width: 34px; height: 34px; font-size: 0.8rem; padding: 0 8px; }
    .empty-state { padding: 40px 16px; }
    .empty-state i { font-size: 3rem; }
    .empty-state h3 { font-size: 1.1rem; }
    .footer-main { padding: 28px 0 16px; }
    .footer-logo { height: 40px; }
    .footer-brand p { font-size: 0.82rem; }
    .footer-title { font-size: 0.95rem; }
    .footer-links a { font-size: 0.82rem; }
    .footer-contact p { font-size: 0.82rem; }
    .payment-icons { font-size: 1.2rem; gap: 8px; }
    .footer-bottom p { font-size: 0.78rem; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.3rem; bottom: 12px; left: 12px; }
    .back-to-top { width: 38px; height: 38px; bottom: 12px; right: 12px; }
    .modal { width: 96%; border-radius: var(--radius-lg); }
    .modal-details { padding: 20px; }
    .modal-image { height: 200px; }
    .coupon-form { flex-direction: column; }
    .coupon-form input { width: 100%; }
    .sort-select { padding: 6px 12px; font-size: 0.82rem; }
    .products-header { flex-wrap: wrap; gap: 8px; }
    .products-count { font-size: 0.85rem; }
}

/* --- Very Small Screens (max-width: 360px) --- */
@media (max-width: 360px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .product-image { height: 110px; }
    .product-info { padding: 6px; }
    .product-name { font-size: 0.75rem; }
    .current-price { font-size: 0.85rem; }
    .hero-slideshow .slide-content h1 { font-size: 1.15rem; }
    .hero-slideshow .slide-content p { font-size: 0.78rem; }
    .countdown-value { width: 44px; height: 44px; font-size: 1rem; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
    .category-card { height: 120px; }
    .category-overlay h3 { font-size: 0.8rem; }
    .navbar-content { height: 56px; }
    .navbar-logo { height: 36px; }
    .top-bar { font-size: 0.72rem; }
}

/* --- Landscape Mobile --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slideshow { min-height: auto; padding: 20px 0; max-height: none; }
    .hero-slideshow .slide-content h1 { font-size: 1.4rem; }
    .hero-slideshow .slide-content p { margin-bottom: 12px; }
    .navbar-menu { height: 100vh; }
}

/* --- Filter Toggle Button (hidden on desktop, shown on tablet/mobile) --- */
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--amber);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
}
.filter-toggle-btn:hover { background: var(--amber-deep); }
.filter-toggle-btn i { font-size: 0.85rem; }

/* --- Touch-friendly tap targets --- */
@media (pointer: coarse) {
    .nav-link { min-height: 44px; }
    .sidebar-link { min-height: 44px; }
    .btn { min-height: 44px; }
    .product-action-btn { min-height: 40px; }
    .filter-option { min-height: 40px; }
    .quantity-btn { min-width: 44px; min-height: 44px; }
}

/* --- Safe area for notched phones --- */
@supports (padding: env(safe-area-inset-bottom)) {
    .whatsapp-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
    .back-to-top { bottom: calc(16px + env(safe-area-inset-bottom)); }
    .footer-bottom { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* --- Print Styles --- */
@media print {
    .navbar, .top-bar, .whatsapp-float, .back-to-top, .footer { display: none !important; }
    .admin-sidebar { display: none !important; }
    .admin-main { margin-right: 0 !important; }
    body { background: white; color: black; }
}

/* ===== Policy Pages ===== */
.policy-page {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow);
    line-height: 2;
}

.policy-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gray-100);
}

.policy-header .policy-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--black);
}

.policy-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--black);
}

.policy-header .policy-date {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.policy-toc {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
    border: 1px solid var(--gray-100);
}

.policy-toc h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
}

.policy-toc h3 i {
    color: var(--gold);
}

.policy-toc ol {
    padding-right: 20px;
    margin: 0;
}

.policy-toc ol li {
    padding: 4px 0;
}

.policy-toc ol li a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.policy-toc ol li a:hover {
    color: var(--gold-dark);
}

.policy-section {
    margin-bottom: 32px;
    scroll-margin-top: 100px;
}

.policy-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h2 .section-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.policy-section p {
    margin-bottom: 12px;
    color: var(--gray-600);
}

.policy-section ul, .policy-section ol {
    padding-right: 24px;
    margin-bottom: 12px;
}

.policy-section li {
    margin-bottom: 6px;
    color: var(--gray-600);
}

.policy-section li strong {
    color: var(--black);
}

.policy-highlight {
    background: rgba(193, 121, 43, 0.05);
    border: 1px solid rgba(193, 121, 43, 0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 16px 0;
}

.policy-highlight i {
    color: var(--gold);
    margin-left: 8px;
}

.policy-contact-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 24px;
}

.policy-contact-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-contact-box h3 i {
    color: var(--gold);
}

.policy-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-600);
}

.policy-contact-item i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

/* ===== Skip Navigation ===== */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--gold);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 600;
}
.skip-nav:focus {
    top: 0;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.page-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(193,121,43,0.05);
}
.page-link.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* ===== Form Validation ===== */
.form-control:invalid:not(:placeholder-shown) {
    border-color: var(--danger);
}
.form-control:valid:not(:placeholder-shown) {
    border-color: var(--success);
}
input[type="email"]:invalid:not(:placeholder-shown),
input[type="tel"]:invalid:not(:placeholder-shown) {
    border-color: var(--danger);
}
