
:root {
  --ink: #0d0f14;
  --ink-light: #1a1e28;
  --ink-mid: #252b38;
  --surface: #f4f6f9;
  --surface-2: #ebeef3;
  --white: #ffffff;
  --teal: #00bfa6;
  --teal-dark: #009e8a;
  --teal-glow: rgba(0,191,166,0.15);
  --electric: #4f8ef7;
  --electric-glow: rgba(79,142,247,0.15);
  --text: #0d0f14;
  --text-mid: #4a5568;
  --text-muted: #8896aa;
  --border: #dde2ea;
  --border-dark: #c8cfd9;
  --success: #0f9d6a;
  --danger: #e53e3e;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(13,15,20,0.08);
  --shadow-lg: 0 8px 40px rgba(13,15,20,0.14);
  --shadow-teal: 0 4px 24px rgba(0,191,166,0.25);
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --font: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: var(--font); line-height: 1.25; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.45rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.15rem); }
p { margin-bottom: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
}
.btn-primary { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--ink); box-shadow: var(--shadow-teal); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-white:hover { background: var(--surface); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-light); border-color: var(--ink-light); }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: var(--font-body);
}
.badge-teal { background: var(--teal); color: var(--ink); }
.badge-ink { background: var(--ink); color: var(--white); }
.badge-surface { background: var(--surface-2); color: var(--text-mid); }
.badge-electric { background: var(--electric); color: var(--white); }

/* ── ALERTS ── */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 15px; }
.alert-success { background: #d4f5ec; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 14px; color: var(--ink); letter-spacing: 0.02em; }
.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
select.form-control { cursor: pointer; }

/* ── GRIDS ── */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 48px; padding: 0 16px; }
.section-header .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); margin-bottom: 10px; display: block; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-mid); font-size: 17px; max-width: 540px; margin: 0 auto; }
.divider { width: 40px; height: 3px; background: var(--teal); margin: 14px auto 0; border-radius: 99px; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; right: 16px; z-index: 9999;
  background: var(--ink); color: var(--white);
  padding: 14px 22px; border-radius: 100px; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px);
  transition: all 0.3s ease; pointer-events: none; font-family: var(--font-body);
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-icon { color: var(--teal); font-size: 18px; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(13,15,20,0.7);
  backdrop-filter: blur(4px); z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; max-width: 460px; width: 100%;
  position: relative; box-shadow: var(--shadow-lg);
  transform: scale(0.96); transition: transform 0.25s;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--surface); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; color: var(--text-mid); transition: background var(--transition); }
.modal-close:hover { background: var(--border); }
.modal-title { font-size: 1.5rem; margin-bottom: 4px; }
.modal-subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* ── TABS ── */
.tabs { display: flex; gap: 4px; background: var(--surface); border-radius: 100px; padding: 4px; margin-bottom: 28px; }
.tab-btn { flex: 1; padding: 9px; border-radius: 100px; border: none; background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text-mid); transition: all var(--transition); font-family: var(--font-body); }
.tab-btn.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(13,15,20,0.12); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── HERO ── */
.hero-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 60%, #1a2a4a 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(0,191,166,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute; bottom: -20%; left: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,142,247,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--teal); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-label::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--teal); border-radius: 2px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.hero-title span { color: var(--teal); }
.hero-desc { color: #8fa5be; font-size: 17px; margin-bottom: 32px; max-width: 460px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item { text-align: left; }
.stat-num { font-family: var(--font); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; color: var(--white); line-height: 1; }
.stat-lbl { font-size: 13px; color: #6a8a9e; margin-top: 3px; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); max-height: 420px; width: 100%; object-fit: contain; background: rgba(255,255,255,0.04); padding: 20px; border: 1px solid rgba(255,255,255,0.06); }
.hero-image-badge {
  position: absolute; bottom: 24px; left: -20px;
  background: var(--white); border-radius: var(--radius);
  padding: 12px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
}
.hero-image-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

/* ── BRANDS STRIP ── */
.brands-strip { background: var(--surface); padding: 18px 0; border-bottom: 1px solid var(--border); }
.brands-inner { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 0 16px; }
.brand-tag { display: inline-flex; align-items: center; padding: 8px 20px; background: var(--white); border: 2px solid var(--border); border-radius: 100px; font-size: 14px; font-weight: 700; color: var(--ink); transition: all var(--transition); letter-spacing: 0.3px; }
.brand-tag:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-glow); }

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); transform: translateY(-3px); }
.product-card-img { position: relative; background: var(--surface); aspect-ratio: 4/3; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 20px; }
.product-card-img img { max-height: 160px; width: auto; object-fit: contain; transition: transform var(--transition); }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-badge { position: absolute; top: 12px; left: 12px; }
.product-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--teal); margin-bottom: 6px; }
.product-name { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 10px; flex: 1; }
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--teal); }
.product-price { margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-family: var(--font); font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.price-old { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.product-actions { display: flex; gap: 8px; }
.btn-cart { flex: 1; background: var(--ink); color: var(--white); border: 2px solid var(--ink); border-radius: 100px; padding: 10px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-body); white-space: nowrap; }
.btn-cart:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn-view { padding: 10px 14px; background: var(--surface); color: var(--text-mid); border: 2px solid var(--border); border-radius: 100px; font-size: 13px; font-weight: 600; transition: all var(--transition); display: inline-flex; align-items: center; white-space: nowrap; }
.btn-view:hover { border-color: var(--teal); color: var(--teal); }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-box { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: all var(--transition); }
.feature-box:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-teal); }
.feature-icon { width: 52px; height: 52px; background: var(--teal-glow); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { color: var(--teal); }
.feature-box h4 { font-size: 1rem; margin-bottom: 8px; }
.feature-box p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin: 0; }

/* ── PAGE HERO ── */
.page-hero { background: var(--ink); padding: 48px 0 40px; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: #7a8fa8; font-size: 16px; margin-bottom: 16px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #5a6e82; flex-wrap: wrap; }
.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: #5a6e82; }

/* ── SHOP LAYOUT ── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.shop-sidebar { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; }
.sidebar-section { margin-bottom: 24px; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-title { font-family: var(--font); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--teal); margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; color: var(--text-mid); transition: color var(--transition); }
.filter-option:hover { color: var(--ink); }
.filter-option input { accent-color: var(--teal); width: 16px; height: 16px; cursor: pointer; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.shop-count { font-size: 14px; color: var(--text-mid); font-weight: 500; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); color: var(--text-mid); font-family: var(--font-body); }
.page-btn:hover, .page-btn.active { background: var(--teal); border-color: var(--teal); color: var(--ink); }

/* ── PRODUCT DETAIL ── */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail-img { background: var(--surface); border-radius: var(--radius-lg); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 36px; aspect-ratio: 1; }
.product-detail-img img { max-height: 320px; width: auto; object-fit: contain; }
.product-detail-brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); margin-bottom: 10px; }
.product-detail-name { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 14px; }
.product-detail-price { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--ink); }
.product-detail-old { font-size: 1.2rem; color: var(--text-muted); text-decoration: line-through; }
.product-detail-desc { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; }
.qty-row { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 100px; overflow: hidden; }
.qty-btn { width: 42px; height: 42px; border: none; background: transparent; font-size: 20px; cursor: pointer; color: var(--text-mid); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.qty-btn:hover { background: var(--surface); }
.qty-input { width: 52px; border: none; text-align: center; font-size: 16px; font-weight: 700; background: transparent; font-family: var(--font-body); outline: none; }

/* ── BLOG ── */
.blog-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-teal); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.blog-card-title { font-family: var(--font); font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--teal); }
.blog-excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.7; flex: 1; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-desc { font-size: 14px; color: #6a7e94; line-height: 1.8; }
.footer-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #8896aa; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #8896aa; margin-bottom: 12px; }
.footer-contact a { color: #8896aa; }
.footer-contact a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-size: 13px; color: #4a5568; }
.footer-bottom a:hover { color: var(--teal); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; font-size: 12px; color: #3a4a58; line-height: 1.7; }

/* ── CART & CHECKOUT ── */
.order-summary { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.order-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-mid); }
.order-line:last-of-type { border-bottom: none; }
.order-total { font-family: var(--font); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead th { padding: 14px 16px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: middle; }
.cart-item-img { width: 60px; height: 60px; object-fit: contain; background: var(--surface); border-radius: var(--radius-sm); padding: 8px; }
.cart-item-name { font-weight: 600; font-size: 14px; }
.cart-item-name a { color: var(--ink); }
.cart-item-name a:hover { color: var(--teal); }
.cart-item-brand { font-size: 12px; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.8px; }
.remove-btn { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all var(--transition); }
.remove-btn:hover { border-color: var(--danger); color: var(--danger); background: #fee2e2; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

/* ── LEGAL ── */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.legal-content h3 { font-size: 1.1rem; margin: 20px 0 10px; }
.legal-content p, .legal-content li { font-size: 15px; color: var(--text-mid); line-height: 1.85; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--teal); }
.legal-content a:hover { color: var(--teal-dark); }
.legal-content .lead { font-size: 17px; color: var(--text); line-height: 1.8; margin-bottom: 28px; padding: 20px 24px; background: var(--surface); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-content table th { padding: 10px 14px; text-align: left; border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 700; }
.legal-content table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; color: var(--text-mid); }

/* ── CATEGORY TABS ── */
.cat-tab { padding: 10px 22px; border-radius: 100px; border: 2px solid var(--border); background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; transition: all var(--transition); color: var(--text-mid); font-family: var(--font-body); }
.cat-tab.active, .cat-tab:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
════════════════════════════════════════ */
@media (max-width:1024px) {
  .hero-inner { gap: 36px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .shop-layout { grid-template-columns: 220px 1fr; gap: 24px; }
  .checkout-layout { grid-template-columns: 1fr 320px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
════════════════════════════════════════ */
@media (max-width:768px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero-section { padding: 48px 0 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-image { display: none; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 15px; max-width: 100%; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-label::before { display: none; }

  /* Sections */
  section[style*="padding:72px"] { padding: 48px 0 !important; }
  section[style*="padding:72px 0"] { padding: 48px 0 !important; }

  /* Grids */
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Shop */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; margin-bottom: 16px; }

  /* Product detail */
  .product-detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-img { aspect-ratio: auto; padding: 24px; min-height: 240px; }

  /* Checkout & Cart */
  .checkout-layout { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .cart-table td { display: block; padding: 0; border: none; font-size: 14px; }

  /* Page hero */
  .page-hero { padding: 36px 0 28px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Section headers */
  .section-header { margin-bottom: 32px; }
  .section-header p { font-size: 15px; }

  /* Modals */
  .modal-box { padding: 28px 20px; border-radius: var(--radius); }

  /* Brand sections - fix inline grid */
  .grid-2[style] { grid-template-columns: 1fr !important; }

  /* Advice card on homepage */
  [style*="grid-template-columns:2fr 1fr"] { display: block !important; }
  [style*="grid-template-columns:2fr 1fr"] > div:first-child { margin-bottom: 24px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
════════════════════════════════════════ */
@media (max-width:480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .category-tabs { gap: 8px; }
  .cat-tab { padding: 8px 16px; font-size: 13px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .product-card-body { padding: 14px 14px 16px; }
  .product-actions { flex-direction: column; }
  .btn-cart, .btn-view { width: 100%; justify-content: center; }
  .qty-row { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .order-summary { padding: 18px; }
  .page-hero { padding: 28px 0 22px; }
  .section-header { margin-bottom: 24px; }
}