@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #ff6b00;
  --primary-dark: #e85d00;
  --primary-light: #fff4eb;
  --secondary: #1b4d89;
  --secondary-light: #2d6cb5;
  --accent: #ffb800;
  --header-bg: #0b2447;
  --header-top: #061829;
  --text: #1a1a2e;
  --text-muted: #5c6b7a;
  --bg: #f4f6f9;
  --white: #ffffff;
  --border: #e3e8ef;
  --green: #16a34a;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(11, 36, 71, 0.08);
  --shadow-lg: 0 8px 30px rgba(11, 36, 71, 0.12);
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--secondary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

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

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 100;
}
.header-top {
  background: var(--header-top);
  color: #a8b8c8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-top a { color: #d0dae4; }
.header-top a:hover { color: var(--primary); }
.header-top-inner { display: flex; gap: 28px; padding: 9px 20px; flex-wrap: wrap; justify-content: flex-end; }
.header-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; gap: 16px; position: relative;
}
.logo {
  font-size: 1.85rem; font-weight: 800; color: var(--header-bg);
  letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }
.main-nav { display: flex; gap: 6px; align-items: center; }
.nav-link {
  color: var(--text); font-weight: 600; font-size: 0.92rem;
  padding: 10px 14px; border-radius: 6px; transition: all 0.2s;
}
.nav-link:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 240px;
  box-shadow: var(--shadow-lg); padding: 8px 0; z-index: 50;
}
.dropdown-menu a {
  display: block; padding: 10px 18px; color: var(--text);
  font-size: 0.9rem; font-weight: 500;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-dropdown:hover .dropdown-menu { display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-advice {
  background: var(--primary); color: var(--white) !important;
  padding: 10px 18px; border-radius: 6px; font-weight: 700;
  font-size: 0.88rem; white-space: nowrap;
}
.btn-advice:hover { background: var(--primary-dark); color: var(--white) !important; }
.cart-link {
  display: flex; align-items: center; gap: 6px; font-weight: 600;
  color: var(--text); padding: 8px 14px;
  border: 2px solid var(--border); border-radius: 6px;
}
.cart-link:hover { border-color: var(--primary); color: var(--primary); }
.cart-badge {
  background: var(--primary); color: var(--white); font-size: 0.68rem;
  min-width: 20px; height: 20px; border-radius: 50%; display: none;
  align-items: center; justify-content: center; font-weight: 700;
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--header-bg); }

/* Buttons */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 6px; font-weight: 700;
  cursor: pointer; border: 2px solid transparent; font-size: 0.92rem;
  text-align: center; transition: all 0.2s; font-family: inherit;
}
.btn-primary {
  background: var(--primary); color: var(--white); border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn-secondary {
  background: var(--secondary); color: var(--white); border-color: var(--secondary);
}
.btn-secondary:hover { background: var(--secondary-light); color: var(--white); }
.btn-outline { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Hero - Techjockey blue gradient */
.hero {
  background: linear-gradient(135deg, #0b2447 0%, #1b4d89 45%, #2563b5 100%);
  color: var(--white);
  padding: 56px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,107,0,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 14px; line-height: 1.25; font-weight: 800;
}
.hero > .container > p { font-size: 1.05rem; opacity: 0.92; margin-bottom: 28px; }
.hero-search {
  max-width: 580px; margin: 0 auto 36px;
  display: flex; background: var(--white);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 3px solid rgba(255,255,255,0.2);
}
.hero-search input {
  flex: 1; border: none; padding: 16px 22px;
  font-size: 1rem; outline: none; color: var(--text);
}
.hero-search button {
  background: var(--primary); color: var(--white); border: none;
  padding: 16px 32px; font-weight: 700; cursor: pointer;
  font-size: 0.95rem; transition: background 0.2s;
}
.hero-search button:hover { background: var(--primary-dark); }
.hero-stats {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 16px 28px; min-width: 130px;
}
.stat strong {
  display: block; font-size: 1.9rem; color: var(--accent);
  font-weight: 800; line-height: 1.2;
}
.stat span { font-size: 0.88rem; opacity: 0.9; font-weight: 500; }

/* Trust strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-strip .container {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
}
.trust-strip span::before { content: '✓ '; color: var(--green); font-weight: 800; }

/* Sections */
section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 {
  font-size: 1.75rem; margin-bottom: 8px; font-weight: 800;
  color: var(--header-bg);
}
.section-title p { color: var(--text-muted); font-size: 1rem; }
.section-title.orange h2 { color: var(--primary); }
.section-header-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.section-header-row h2 { font-size: 1.5rem; font-weight: 800; color: var(--header-bg); }

/* Category showcase - Techjockey style with photos */
.category-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.category-grid::-webkit-scrollbar { height: 6px; }
.category-grid::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.category-card-v2 {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(11, 36, 71, 0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  color: var(--white);
  position: relative;
  min-height: 340px;
}
.category-card-v2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(11, 36, 71, 0.2);
  color: var(--white);
}
.cat-card-banner {
  background: var(--cat-color);
  padding: 20px 16px 24px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}
.cat-card-banner::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.08));
}
.cat-title-main {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.cat-title-sub {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}
.cat-card-photo {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin-top: -20px;
  z-index: 1;
  min-height: 160px;
}
.cat-card-photo img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.cat-card-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(11,36,71,0.92) 0%, transparent 100%);
  padding: 40px 14px 14px;
  opacity: 0;
  transition: opacity 0.25s;
}
.category-card-v2:hover .cat-card-hover { opacity: 1; }
.cat-hover-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1.3;
}
.cat-hover-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
}

/* All categories page - wider grid */
.category-grid-all {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  overflow: visible;
  padding: 0;
}
.category-grid-all .category-card-v2 {
  flex: unset;
  min-height: 320px;
}

.section-header-row .view-all {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.section-header-row .view-all:hover { color: var(--primary); }

/* Legacy category cards (fallback) */
.category-card {
  display: none;
}

@media (min-width: 1100px) {
  .category-grid:not(.category-grid-all) {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
  .category-grid:not(.category-grid-all) .category-card-v2 {
    flex: unset;
  }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: #cdd5df; }
.product-card-link { display: block; color: var(--text); flex: 1; }
.product-card-link:hover { color: var(--text); }
.product-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s;
  padding: 8px;
  box-sizing: border-box;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  background: linear-gradient(135deg, #e8eef5, #f0f4f8);
}
.product-card h3 {
  font-size: 0.95rem; margin-bottom: 4px; font-weight: 700;
  color: var(--header-bg); line-height: 1.35;
  padding: 12px 16px 0;
}
.product-card-link .vendor { padding: 0 16px; }
.product-card-link .rating { margin-left: 16px; }
.product-card-link .price-row { padding: 0 16px 12px; }
.product-icon-wrap {
  width: 64px; height: 64px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), #ffe0c2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 16px 16px 14px;
  border: 1px solid #ffd6b3;
}
.vendor { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 8px; }
.rating {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--white); background: var(--green);
  font-weight: 700; font-size: 0.78rem;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 10px;
}
.rating::before { content: '★'; font-size: 0.7rem; }
.price-label { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 2px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.price { font-weight: 800; color: var(--header-bg); font-size: 1.15rem; }
.price small { font-weight: 500; font-size: 0.75rem; color: var(--text-muted); }
.price-old { text-decoration: line-through; color: #9ca3af; font-size: 0.82rem; }
.price.por, .price-large.por { color: var(--text-muted); font-weight: 600; }
.badge-save {
  background: #dcfce7; color: var(--green);
  font-size: 0.72rem; padding: 3px 8px; border-radius: 4px; font-weight: 700;
}
.product-card-actions {
  display: flex; gap: 8px; padding: 0 14px 14px;
  border-top: 1px solid var(--bg); padding-top: 12px; margin-top: auto;
}
.deals-section {
  background: linear-gradient(180deg, #fff8f3 0%, var(--white) 100%);
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
}

/* Tabs */
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 24px; justify-content: center;
  background: var(--white); padding: 8px;
  border-radius: 50px; border: 1px solid var(--border);
  max-width: fit-content; margin-left: auto; margin-right: auto;
}
.tab-btn {
  padding: 9px 18px; border: none; background: transparent;
  border-radius: 50px; cursor: pointer; font-weight: 600;
  font-size: 0.88rem; color: var(--text-muted); transition: all 0.2s;
  font-family: inherit;
}
.tab-btn.active {
  background: var(--secondary); color: var(--white);
  box-shadow: 0 2px 8px rgba(27,77,137,0.3);
}
.tab-btn:hover:not(.active) { background: var(--primary-light); color: var(--primary-dark); }

/* CTA cards */
.cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cta-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.cta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cta-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-size: 1.5rem; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
}
.cta-card h3 { margin-bottom: 10px; font-weight: 700; color: var(--header-bg); }
.cta-card p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.92rem; }

/* Scroll row */
.scroll-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.scroll-row .product-card { min-width: 250px; flex-shrink: 0; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}
.testimonial-card p { font-style: italic; margin-bottom: 16px; color: var(--text-muted); font-size: 0.92rem; }
.testimonial-card strong { display: block; color: var(--header-bg); font-weight: 700; }
.testimonial-card span { font-size: 0.82rem; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 8px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 16px 20px;
  background: none; border: none; font-weight: 700;
  font-size: 0.95rem; cursor: pointer;
  display: flex; justify-content: space-between;
  color: var(--header-bg); font-family: inherit;
}
.faq-question span { color: var(--primary); font-size: 1.2rem; }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary-dark); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.open .faq-answer { max-height: 220px; }
.faq-answer p { padding: 0 20px 16px; color: var(--text-muted); font-size: 0.92rem; }

/* Page header */
.page-header {
  background: linear-gradient(135deg, var(--header-bg), var(--secondary));
  color: var(--white); padding: 40px 0; text-align: center;
}
.page-header h1 { font-size: 2rem; font-weight: 800; }
.page-header p { opacity: 0.9; margin-top: 8px; }
.breadcrumb { font-size: 0.88rem; margin-bottom: 16px; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: #93c5fd; }
.product-detail-grid .breadcrumb { color: var(--text-muted); }
.product-detail-grid .breadcrumb a { color: var(--secondary); }

/* Product detail */
.product-detail-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.product-detail-visual {
  background: #f0f4f8;
  border-radius: var(--radius-lg);
  font-size: 5rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; border: 1px solid var(--border);
  overflow: hidden;
}
.product-detail-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 16px;
  box-sizing: border-box;
  background: #fff;
}
.product-detail-info h1 { font-size: 1.85rem; margin-bottom: 8px; font-weight: 800; color: var(--header-bg); }
.price-large { font-size: 2rem; font-weight: 800; color: var(--primary-dark); margin: 16px 0; }
.price-large small { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-old-lg { text-decoration: line-through; color: #9ca3af; }
.product-desc { margin: 20px 0; color: var(--text-muted); line-height: 1.7; }
.feature-list { list-style: none; margin: 12px 0 24px; }
.feature-list li { padding: 8px 0; padding-left: 28px; position: relative; }
.feature-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--white); background: var(--green);
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.7rem; display: flex; align-items: center;
  justify-content: center; font-weight: 800; top: 10px;
}
.product-detail-info .btn { margin-right: 10px; margin-top: 8px; }

/* Cart */
.cart-table {
  width: 100%; background: var(--white);
  border-radius: var(--radius); border-collapse: collapse;
  overflow: hidden; border: 1px solid var(--border);
}
.cart-table th, .cart-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); }
.cart-table th { background: var(--header-bg); color: var(--white); font-weight: 700; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button {
  width: 32px; height: 32px; border: 1px solid var(--border);
  background: var(--bg); cursor: pointer; border-radius: 4px;
  font-weight: 700; color: var(--header-bg);
}
.btn-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 1.1rem; }
.cart-summary { margin-top: 24px; text-align: right; }
.cart-total { font-size: 1.3rem; margin-bottom: 16px; display: flex; justify-content: flex-end; gap: 16px; font-weight: 800; }
.empty-cart { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius-lg); }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.checkout-form {
  background: var(--white); padding: 32px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.checkout-form h2 { color: var(--header-bg); font-weight: 800; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.88rem; color: var(--header-bg); }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-summary {
  background: var(--white); padding: 24px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  height: fit-content; position: sticky; top: 100px;
}
.checkout-summary h3 { color: var(--header-bg); font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--bg); font-size: 0.9rem; }
.summary-row.total { font-weight: 800; font-size: 1.15rem; border-bottom: none; padding-top: 16px; color: var(--primary-dark); }
.payment-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 16px; padding: 12px; background: var(--bg); border-radius: 6px; }
#checkout-errors p { color: #ef4444; font-size: 0.88rem; margin-bottom: 4px; }

/* Success */
.success-box { text-align: center; max-width: 600px; margin: 0 auto; padding: 40px 20px; }
.success-icon {
  width: 80px; height: 80px; background: var(--green); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin: 0 auto 24px;
}
.txn-id { font-size: 1.1rem; background: var(--primary-light); padding: 14px 20px; border-radius: 8px; margin: 20px 0; border: 1px solid #ffd6b3; }
.order-details { text-align: left; background: var(--white); padding: 24px; border-radius: var(--radius-lg); margin: 24px 0; border: 1px solid var(--border); }

/* Legal */
.legal-page { padding: 40px 0 60px; }
.legal-page h1 { margin-bottom: 24px; font-weight: 800; color: var(--header-bg); }
.legal-body h2 { font-size: 1.15rem; margin: 24px 0 12px; color: var(--secondary); font-weight: 700; }
.legal-body p, .legal-body li { margin-bottom: 10px; color: var(--text-muted); line-height: 1.7; }
.legal-body ul,
.legal-body ol { margin-left: 24px; margin-bottom: 16px; }

/* Contact / About */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info {
  background: linear-gradient(135deg, var(--header-bg), var(--secondary));
  color: var(--white); padding: 32px; border-radius: var(--radius-lg);
}
.contact-info h3 { margin-bottom: 16px; font-weight: 800; }
.contact-info p { margin-bottom: 14px; opacity: 0.92; }
.contact-info a { color: var(--accent); }
.about-content { max-width: 800px; margin: 0 auto; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 32px; }
.value-card {
  background: var(--white); padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); text-align: center;
  border-top: 3px solid var(--primary);
}
.value-card span { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Footer */
.site-footer { background: var(--header-bg); color: #8fa3b8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 48px 20px; }
.footer-logo { color: var(--white) !important; }
.footer-logo span { color: var(--primary) !important; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #8fa3b8; font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary); }
.footer-contact { margin-top: 16px; font-size: 0.88rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px; text-align: center; font-size: 0.82rem;
  background: var(--header-top);
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--header-bg); color: var(--white);
  padding: 14px 24px; border-radius: 8px; z-index: 999;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.3s; font-weight: 600;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .btn-advice { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 16px;
    border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-dropdown .dropdown-menu { position: static; box-shadow: none; border: none; display: block; }
  .product-detail-grid, .checkout-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px; }
  .stat { min-width: 100px; padding: 12px 16px; }
  .checkout-summary { position: static; }
}
