/* ============================================
   REDDY SPECIAL COVER - v2 Clean Design System
   Brand: Deep Navy #0f172a, Gold #f59e0b, White
   ============================================ */

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Poppins', sans-serif; color: #334155; background: #fff; line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Variables */
:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gold: #f59e0b;
  --gold-hover: #d97706;
  --gold-light: #fef3c7;
  --green: #10b981;
  --red: #ef4444;
  --text: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --transition: all 0.25s ease;
  --max-w: 1200px;
}

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--navy); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin-bottom: 0.75rem; color: var(--text-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.875rem; cursor: pointer; border: none; transition: var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 4px 12px rgba(245,158,11,0.3); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement {
  background: var(--navy); color: #fff; text-align: center;
  padding: 10px 24px; font-size: 0.8rem; font-weight: 500;
}
.announcement b { color: var(--gold); }

/* ===== HEADER ===== */
.header {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 999;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 24px;
}
.logo img { height: 42px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  padding: 8px 14px; font-weight: 500; font-size: 0.875rem; color: var(--text);
  display: flex; align-items: center; gap: 4px; border-radius: var(--radius-sm);
}
.nav > li > a:hover { color: var(--gold); background: var(--gold-light); }
.nav > li > a.active { color: var(--gold); }
.nav .arrow { font-size: 0.55rem; transition: transform 0.2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition);
  z-index: 1000;
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 8px 16px; font-size: 0.85rem; color: var(--text); }
.dropdown a:hover { background: var(--bg-alt); color: var(--gold); }
.mega-menu { min-width: 480px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-menu h4 { font-size: 0.75rem; text-transform: uppercase; color: var(--gold); letter-spacing: 1px; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); grid-column: span 1; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions a, .header-actions button {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  color: var(--text); border: none; cursor: pointer; transition: var(--transition); font-size: 1rem;
}
.header-actions a:hover, .header-actions button:hover { background: var(--gold); color: #fff; }
.cart-count {
  position: absolute; top: -2px; right: -2px; background: var(--red); color: #fff;
  width: 16px; height: 16px; border-radius: 50%; font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 9999; display: none; align-items: center; justify-content: center;
}
.search-overlay.active { display: flex; }
.search-overlay input { width: 90%; max-width: 560px; padding: 18px 24px; font-size: 1.1rem; border: none; border-radius: var(--radius); outline: none; }
.search-overlay .close-search { position: absolute; top: 24px; right: 24px; color: #fff; font-size: 1.5rem; cursor: pointer; background: none; border: none; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden;
}
.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e1b4b 100%);
}
.hero-decorations {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.hero-blob-1 {
  width: 500px; height: 500px; background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  top: -150px; right: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px; background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: -100px; left: 10%;
}
.hero-blob-3 {
  width: 350px; height: 350px; background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: 40%; right: 20%;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  padding: 40px 0;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,158,11,0.15); color: var(--gold); padding: 6px 16px;
  border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(245,158,11,0.25);
  margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: 3rem; font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.hero h1 span {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 28px; line-height: 1.7; }
.hero-desc strong { color: var(--gold); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-btns .btn { padding: 14px 28px; border-radius: var(--radius-full); font-size: 0.9rem; }
.hero-btns .btn-gold { box-shadow: 0 8px 24px rgba(245,158,11,0.35); }
.hero-btns .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); }
.hero-btns .btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); }

.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.75); font-size: 0.8rem; }
.hero-trust i { color: var(--gold); font-size: 0.75rem; }

.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 14px 20px; text-align: center; min-width: 120px;
  transition: transform 0.2s, background 0.2s;
}
.stat-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.1); }
.stat-card .num { font-size: 1.5rem; font-weight: 800; color: var(--gold); display: block; }
.stat-card .label { font-size: 0.65rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero Visual Grid */
.hero-visual {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  transform: rotate(-3deg);
}
.hero-tile {
  aspect-ratio: 1; background: rgba(255,255,255,0.06); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #fff; transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-decoration: none; cursor: pointer; position: relative; z-index: 2;
}
.hero-tile i { font-size: 1.75rem; color: var(--gold); }
.hero-tile span { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.5px; }
.hero-tile:hover { transform: translateY(-4px); background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.4); }
.hero-tile-1 { animation: floatUp 6s ease-in-out infinite; }
.hero-tile-2 { animation: floatUp 6s ease-in-out 1s infinite; }
.hero-tile-3 { animation: floatUp 6s ease-in-out 2s infinite; }
.hero-tile-4 { animation: floatUp 6s ease-in-out 1.5s infinite; }
.hero-tile-5 { animation: floatUp 6s ease-in-out 0.5s infinite; }
.hero-tile-6 { animation: floatUp 6s ease-in-out 2.5s infinite; }
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== SECTIONS ===== */
section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .label { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }
.section-alt { background: var(--bg-alt); }

/* ===== FEATURES BAR ===== */
.features-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 20px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.feature-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-light); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.feature-item h4 { font-size: 0.82rem; margin-bottom: 1px; }
.feature-item p { font-size: 0.72rem; margin: 0; color: var(--text-muted); }

/* ===== PRODUCT CARDS ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.product-badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; z-index: 5;
}
.badge-new { background: var(--gold); color: var(--navy); }
.badge-sale { background: var(--red); color: #fff; }
.product-image { position: relative; overflow: hidden; background: var(--bg-alt); aspect-ratio: 1; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-actions {
  position: absolute; bottom: -50px; left: 0; right: 0; padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6)); display: flex;
  gap: 6px; justify-content: center; transition: bottom 0.3s;
}
.product-card:hover .product-actions { bottom: 0; }
.product-actions .btn { padding: 7px 14px; font-size: 0.75rem; border-radius: var(--radius-sm); }
.product-info { padding: 14px; }
.product-category { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.product-title { font-size: 0.88rem; font-weight: 600; margin: 4px 0 6px; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.stars { color: var(--gold); font-size: 0.7rem; }
.rating-count { font-size: 0.7rem; color: var(--text-muted); }
.product-price { display: flex; align-items: center; gap: 6px; }
.price-current { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.price-original { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; }
.price-discount { font-size: 0.7rem; color: var(--green); font-weight: 600; }

/* ===== CATEGORY CARDS ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.category-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; cursor: pointer; transition: var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.category-card:hover img { transform: scale(1.08); }
.category-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  background: linear-gradient(transparent, rgba(15,23,42,0.85));
}
.category-overlay h3 { color: #fff; font-size: 0.95rem; margin-bottom: 2px; }
.category-overlay p { color: rgba(255,255,255,0.7); font-size: 0.72rem; margin: 0; }

/* ===== DESIGN CARDS ===== */
.designs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.design-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.design-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.design-image { aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.design-image img { width: 100%; height: 100%; object-fit: cover; }
.design-name { text-align: center; padding: 14px; font-size: 1rem; font-weight: 700; color: var(--navy); }
.design-options { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; justify-content: center; }
.design-option {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 10px; border-radius: var(--radius-sm); background: var(--bg-alt);
  font-size: 0.7rem; transition: var(--transition); cursor: pointer; min-width: 70px;
  border: 1px solid transparent;
}
.design-option:hover { border-color: var(--gold); background: var(--gold-light); }
.design-option .option-price { font-weight: 700; }

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 40px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 0.82rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--navy); font-weight: 500; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-gallery { position: relative; }
.product-main-image { background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 12px; }
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbs { display: flex; gap: 8px; }
.product-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid var(--border); cursor: pointer; transition: var(--transition); }
.product-thumbs img:hover, .product-thumbs img.active { border-color: var(--gold); }
.detail-info h1 { font-size: 1.6rem; margin-bottom: 8px; }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; }
.detail-price .current { font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.detail-price .original { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.detail-price .discount { background: var(--green); color: #fff; padding: 2px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }
.case-types { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.case-type { padding: 10px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); text-align: center; min-width: 100px; }
.case-type:hover, .case-type.selected { border-color: var(--gold); background: var(--gold-light); }
.case-type .type-name { font-weight: 600; font-size: 0.82rem; display: block; }
.case-type .type-price { color: var(--gold); font-weight: 700; font-size: 0.9rem; }
.qty-controls { display: inline-flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius-sm); }
.qty-btn { width: 36px; height: 36px; border: none; background: var(--bg-alt); cursor: pointer; font-size: 1.1rem; font-weight: 600; }
.qty-btn:hover { background: var(--gold); color: #fff; }
.qty-input { width: 44px; height: 36px; border: none; text-align: center; font-weight: 600; outline: none; }
.add-to-cart-row { display: flex; gap: 10px; margin: 20px 0; }
.add-to-cart-row .btn { flex: 1; padding: 14px; font-size: 0.9rem; }
.features-list { margin: 20px 0; padding: 16px; background: var(--bg-alt); border-radius: var(--radius); }
.features-list li { padding: 6px 0; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; border-bottom: 1px solid var(--border); list-style: none; }
.features-list li:last-child { border: none; }
.features-list i { color: var(--green); font-size: 0.8rem; }

/* Tabs */
.tabs { margin: 40px 0; }
.tab-headers { display: flex; border-bottom: 2px solid var(--border); gap: 0; overflow-x: auto; }
.tab-header { padding: 10px 20px; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--text-muted); border-bottom: 2px solid transparent; transition: var(--transition); margin-bottom: -2px; white-space: nowrap; }
.tab-header:hover { color: var(--navy); }
.tab-header.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; padding: 20px 0; }
.tab-content.active { display: block; }

/* Reviews */
.reviews-summary { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; padding: 20px; background: var(--bg-alt); border-radius: var(--radius); }
.reviews-average { text-align: center; }
.reviews-average .big-number { font-size: 2.5rem; font-weight: 800; color: var(--navy); }
.reviews-bars { flex: 1; }
.review-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.review-bar .label { font-size: 0.75rem; width: 40px; }
.review-bar .bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.review-bar .bar-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.review-card { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.reviewer { display: flex; align-items: center; gap: 8px; }
.reviewer-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.review-text { font-size: 0.88rem; color: var(--text-light); }

/* ===== TESTIMONIALS ===== */
.testimonials-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 8px 0; }
.testimonial-card {
  min-width: 320px; scroll-snap-align: start; background: #fff; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--border); position: relative;
}
.testimonial-card::before { content: '\201C'; position: absolute; top: 10px; left: 16px; font-size: 3rem; color: rgba(245,158,11,0.15); font-family: Georgia, serif; line-height: 1; }
.testimonial-text { font-size: 0.88rem; color: var(--text-light); margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-info .name { font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.testimonial-info .location { font-size: 0.75rem; color: var(--text-muted); }

/* ===== BRAND GRID ===== */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.brand-btn {
  padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  text-align: center; font-weight: 600; font-size: 0.85rem; color: var(--text);
  transition: var(--transition); cursor: pointer; background: #fff;
}
.brand-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-light); }

/* ===== NEWSLETTER ===== */
.newsletter { background: var(--navy); padding: 56px 0; text-align: center; }
.newsletter h2 { color: #fff; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.newsletter-form { display: flex; max-width: 440px; margin: 0 auto; gap: 8px; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: none; border-radius: var(--radius-sm); font-size: 0.9rem; outline: none; }
.newsletter-form .btn { white-space: nowrap; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 100px; resize: vertical; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; gap: 14px; padding: 16px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.contact-card:hover { border-color: var(--gold); }
.contact-card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }
.contact-card h4 { font-size: 0.88rem; margin-bottom: 2px; }
.contact-card p { font-size: 0.82rem; margin: 0; }

/* ===== ABOUT ===== */
.about-hero { background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 64px 0; text-align: center; color: #fff; }
.about-hero h1 { color: #fff; margin-bottom: 12px; }
.about-hero p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.about-stat { text-align: center; padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.about-stat .number { font-size: 2rem; font-weight: 800; color: var(--gold); }
.about-stat .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.blog-image { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-content { padding: 16px; }
.blog-meta { display: flex; gap: 12px; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-content h3 { font-size: 1rem; margin-bottom: 8px; }
.blog-content p { font-size: 0.85rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-date { display: inline-block; font-size: 0.75rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.read-more { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 600; color: var(--gold); margin-top: 8px; }
.read-more:hover { gap: 8px; }

/* ===== TRACK ORDER ===== */
.track-section { max-width: 560px; margin: 0 auto; text-align: center; }
.track-form { display: flex; gap: 8px; margin: 24px 0; }
.track-form input { flex: 1; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; outline: none; }
.track-form input:focus { border-color: var(--gold); }

/* ===== POLICY PAGES ===== */
.policy-page { max-width: 760px; margin: 0 auto; padding: 40px 24px; }
.policy-page h1 { margin-bottom: 24px; }
.policy-page h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.policy-page p { font-size: 0.9rem; line-height: 1.8; }
.policy-page ul { padding-left: 20px; margin: 8px 0; }
.policy-page ul li { margin-bottom: 6px; font-size: 0.9rem; color: var(--text-light); list-style: disc; }
.policy-page table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.policy-page th, .policy-page td { padding: 10px 14px; border: 1px solid var(--border); font-size: 0.85rem; text-align: left; }
.policy-page th { background: var(--bg-alt); font-weight: 600; color: var(--navy); }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { background: #fff; padding: 36px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; max-width: 420px; }
.auth-card h2 { text-align: center; margin-bottom: 24px; }

/* ===== CHECKOUT ===== */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; }
.order-summary { position: sticky; top: 100px; background: var(--bg-alt); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
.order-summary-item {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 0;
  border-bottom: 1px solid var(--border); font-size: 0.85rem;
}
.order-summary-item:last-child { border: none; }
.order-item-name { font-weight: 600; color: var(--navy); }
.order-item-variant { font-size: 0.72rem; color: var(--text-muted); }
.order-item-price { font-weight: 700; }

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed; top: 0; right: -380px; width: 380px; height: 100vh;
  background: #fff; box-shadow: -4px 0 24px rgba(0,0,0,0.1); z-index: 10000;
  transition: right 0.3s ease; display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 9999; display: none; }
.cart-overlay.active { display: block; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.cart-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 48px 16px; color: var(--text-muted); }
.cart-empty .icon { font-size: 2.5rem; margin-bottom: 12px; }
.cart-footer { padding: 16px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 1rem; font-weight: 700; }

/* Cart Item */
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item-image { width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--bg-alt); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.82rem; color: var(--navy); margin-bottom: 2px; }
.cart-item-variant { font-size: 0.72rem; color: var(--text-muted); }
.cart-item-price { font-weight: 700; font-size: 0.85rem; color: var(--navy); margin-top: 4px; }
.cart-item-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.85rem; padding: 4px; transition: var(--transition); }
.cart-item-remove:hover { color: var(--red); }
.cart-item-qty { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.cart-item-qty button { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-alt); cursor: pointer; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; }
.cart-item-qty span { font-size: 0.8rem; font-weight: 600; min-width: 20px; text-align: center; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 48px 0; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-question { padding: 14px 18px; font-weight: 600; font-size: 0.9rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.faq-question:hover { background: var(--bg-alt); }
.faq-answer { padding: 0 18px 14px; font-size: 0.85rem; color: var(--text-light); display: none; }
.faq-item.open .faq-answer { display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); }
.footer-main { padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { font-size: 0.82rem; margin-top: 12px; line-height: 1.6; }
.footer-brand img { height: 36px; margin-bottom: 4px; }
.footer h4 { color: #fff; font-size: 0.88rem; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 0.82rem; }
.footer-contact i { color: var(--gold); margin-top: 3px; font-size: 0.8rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem;
  flex-wrap: wrap; gap: 12px;
}
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-icon { padding: 4px 10px; background: rgba(255,255,255,0.08); border-radius: 4px; font-size: 0.7rem; color: rgba(255,255,255,0.6); }

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 20px; width: 50px; height: 50px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.3rem; box-shadow: 0 3px 12px rgba(37,211,102,0.35);
  z-index: 999; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.track-float {
  position: fixed; bottom: 24px; left: 20px; padding: 10px 16px; background: var(--navy);
  color: #fff; border-radius: var(--radius-full); display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; box-shadow: var(--shadow); z-index: 999;
  transition: var(--transition); cursor: pointer; border: none;
}
.track-float:hover { background: var(--gold); color: var(--navy); }

/* ===== DISCLAIMER ===== */
.disclaimer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 16px 0; text-align: center; }
.disclaimer p { font-size: 0.75rem; color: var(--text-muted); margin: 0; max-width: 900px; margin: 0 auto; line-height: 1.6; }

/* ===== SEO CONTENT ===== */
.seo-content { padding: 48px 0; }
.seo-content h2 { font-size: 1.3rem; margin-bottom: 12px; }
.seo-content h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.seo-content p { font-size: 0.88rem; line-height: 1.8; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeInUp 0.5s ease forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.5rem; }
  .hero { min-height: 70vh; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 400px; margin: 0 auto; transform: rotate(0deg); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .mega-menu { min-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  .container { padding: 0 16px; }
  section { padding: 40px 0; }

  /* Header */
  .nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff; flex-direction: column; padding: 72px 16px 16px; z-index: 998; overflow-y: auto; }
  .nav.active { display: flex; }
  .nav > li > a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .dropdown.open { display: block; }
  .mega-menu { grid-template-columns: 1fr; min-width: auto; padding: 8px; }
  .menu-toggle { display: block; }
  .logo img { height: 32px; }
  .header-actions { gap: 6px; }
  .header-actions a, .header-actions button { width: 34px; height: 34px; font-size: 0.9rem; }
  .announcement { font-size: 0.7rem; padding: 8px 12px; }

  /* Hero */
  .hero { min-height: auto; padding: 36px 0; }
  .hero h1 { font-size: 1.75rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { transform: rotate(0deg); max-width: 320px; margin: 0 auto; gap: 12px; }
  .hero-tile i { font-size: 1.25rem; }
  .hero-tile span { font-size: 0.6rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-trust { justify-content: center; gap: 12px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .stat-card { min-width: calc(50% - 8px); padding: 10px 12px; }
  .stat-card .num { font-size: 1.2rem; }
  .hero-blob-1, .hero-blob-2, .hero-blob-3 { opacity: 0.25; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-item { gap: 8px; }
  .feature-icon { width: 32px; height: 32px; font-size: 0.75rem; }
  .feature-item h4 { font-size: 0.75rem; }
  .feature-item p { font-size: 0.65rem; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-info { padding: 10px; }
  .product-title { font-size: 0.8rem; }
  .price-current { font-size: 0.95rem; }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Designs */
  .designs-grid { grid-template-columns: 1fr; }

  /* Detail */
  .detail-info h1 { font-size: 1.3rem; }
  .detail-price .current { font-size: 1.4rem; }
  .case-types { gap: 6px; }
  .case-type { min-width: calc(50% - 6px); }
  .add-to-cart-row { flex-direction: column; }
  .product-thumbs img { width: 56px; height: 56px; }
  .reviews-summary { flex-direction: column; gap: 12px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Newsletter */
  .newsletter { padding: 36px 0; }
  .newsletter-form { flex-direction: column; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Track */
  .track-form { flex-direction: column; }

  /* Brand grid */
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  /* About */
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  /* Cart */
  .cart-sidebar { width: 100%; right: -100%; }

  /* Auth */
  .auth-card { padding: 24px; }

  /* Testimonials */
  .testimonial-card { min-width: 260px; padding: 18px; }

  /* Floating */
  .whatsapp-float { bottom: 16px; right: 14px; width: 44px; height: 44px; font-size: 1.1rem; }
  .track-float { bottom: 16px; left: 14px; padding: 8px 12px; font-size: 0.72rem; }

  /* Tables */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 6px; }
  .stat-card { min-width: calc(50% - 6px); }
  .hero h1 { font-size: 1.5rem; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
