:root {
  --primary: #0057d9;
  --primary-dark: #003da5;
  --primary-light: #dbeafe;
  --secondary: #0a1f5c;
  --accent: #00b4d8;
  --dark: #1e293b;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 10px;
}

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #f8fafc;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray);
  transition: 0.2s;
}
.nav a:hover, .nav a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--dark);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline:hover { background: white; color: var(--primary); }
.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover { background: #1da851; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-danger { background: #ef4444; color: white; }
.btn-danger:hover { background: #dc2626; }
.btn-secondary { background: var(--light-gray); color: var(--dark); }
.btn-secondary:hover { background: #e2e8f0; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 50px 0 55px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: center;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 14px; line-height: 1.25; }
.hero p { font-size: 1.05rem; opacity: 0.95; margin-bottom: 24px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-years {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-trust-item .num { font-size: 1.3rem; font-weight: 700; }
.hero-trust-item .label { font-size: 0.8rem; opacity: 0.85; }

/* Simple product carousel – larger product images */
.carousel-wrap {
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 12px 12px 10px;
  position: relative;
  overflow: hidden;
}
.carousel-track {
  position: relative;
  height: 380px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  padding: 8px 36px 28px; /* space for arrows + name label */
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  max-height: 340px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.carousel-slide .slide-placeholder {
  width: 260px; height: 260px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
}
.carousel-slide .slide-name {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.carousel-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active { background: white; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-btn:hover { background: white; }

/* ===== SECTIONS ===== */
.section { padding: 48px 0; }
.section-title {
  text-align: center;
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.product-img-wrap {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.product-img-wrap .placeholder {
  font-size: 3.5rem;
  color: var(--primary);
}
.discount-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.category-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.product-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.product-size { font-size: 0.85rem; color: var(--gray); margin-bottom: 6px; }
.product-body p { font-size: 0.9rem; color: var(--gray); margin-bottom: 12px; flex: 1; }
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.price-new { font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.price-old { font-size: 0.9rem; color: var(--gray); text-decoration: line-through; }

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.detail-img {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.detail-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.detail-img .placeholder { font-size: 5rem; color: var(--primary); }
.features-list { margin: 16px 0; }
.features-list li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--gray);
  font-size: 0.95rem;
}
.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== ABOUT / FEATURES ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-box {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.feature-icon {
  width: 42px; height: 42px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.review-card {
  background: white;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review-stars { color: var(--accent); margin-bottom: 8px; letter-spacing: 2px; }
.review-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 12px; font-style: italic; }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-loc { font-size: 0.8rem; color: var(--gray); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}
.contact-info, .contact-form-box {
  background: white;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-item .icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,87,217,0.18);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ===== ALERTS ===== */
.alert {
  padding: 12px 16px;
  border-radius: 7px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  color: white;
  padding: 40px 0 18px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer h4 { margin-bottom: 12px; font-size: 1.05rem; }
.footer p, .footer a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer a:hover { color: white; }
.footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== ADMIN ===== */
.admin-body { background: #f1f5f9; min-height: 100vh; }
.admin-header {
  background: var(--secondary);
  color: white;
  padding: 14px 0;
}
.admin-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-nav { display: flex; gap: 8px; }
.admin-nav a {
  color: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.15); color: white; }
.admin-content { padding: 28px 0; }
.admin-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 22px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th, .admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.admin-table th { background: var(--light-gray); font-weight: 600; }
.admin-table tr:hover { background: #f8fafc; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: white;
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-card .num { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.stat-card .label { font-size: 0.85rem; color: var(--gray); }
.login-box {
  max-width: 380px;
  margin: 80px auto;
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.login-box h1 { text-align: center; margin-bottom: 24px; color: var(--secondary); font-size: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero h1 { font-size: 1.7rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .carousel-track { height: 300px; }
  .carousel-slide img { max-height: 260px; }
  .carousel-slide .slide-placeholder { width: 200px; height: 200px; font-size: 4rem; }
  .about-grid, .product-detail, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .detail-img { height: 220px; }
  .admin-nav { flex-wrap: wrap; }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 999;
  background: #25D366;
  color: white !important;
  padding: 12px 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}
.wa-icon { font-size: 1.25rem; line-height: 1; }
@media (max-width: 480px) {
  .whatsapp-float .wa-text { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
}

.footer-social .social-link {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.footer-social .social-link:hover { background: rgba(255,255,255,0.25); color: white; }

.map-box {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-top: 28px;
  text-align: center;
}
.map-box a.btn { margin-top: 10px; }

.bulk-strip {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--secondary);
}


/* =====================================================================
   v2 – helpers, new sections, mobile-first improvements
   ===================================================================== */
.icon { flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--gray); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.center-btn { text-align: center; margin-top: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--primary); padding: 10px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-light); }
.btn-block { width: 100%; }
.btn-icon { padding: 7px 11px; }
.section-tight { padding: 28px 0 8px; }
.section-white { background: #fff; }
.section-tint { background: var(--primary-light); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* announcement bar (offers) */
.topbar { background: var(--secondary); color: #fff; font-size: 0.85rem; text-align: center; padding: 7px 0; }
.topbar a { color: #7dd3fc; margin-left: 8px; font-weight: 600; white-space: nowrap; }

/* header */
.header-inner { gap: 12px; }
.logo { order: 1; }
.header-inner nav { order: 2; margin-left: auto; }
.header-call { order: 3; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: 0.95rem; }
.menu-toggle { order: 4; }

/* trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid #e2e8f0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.trust-item div { display: flex; flex-direction: column; line-height: 1.25; color: var(--dark); }
.trust-item strong { font-size: 0.92rem; }
.trust-item span { font-size: 0.78rem; color: var(--gray); }

/* shop by need */
.need-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: 900px; margin: 18px auto 0; }
.need-chip { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 6px; text-align: center;
  font-weight: 600; font-size: 0.9rem; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.need-chip span { font-size: 1.6rem; line-height: 1; }

/* offers */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.offer-card { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.offer-card h3 { font-size: 1.15rem; }
.offer-card p { opacity: 0.92; font-size: 0.92rem; }
.offer-card small { opacity: 0.8; }
.offer-card .btn { background: #fff; color: var(--primary); margin-top: 6px; }
.offer-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.2); padding: 3px 10px;
  border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }

/* why us / faq */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.faq-wrap { max-width: 720px; }
.faq { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { padding: 14px 16px; font-weight: 600; cursor: pointer; min-height: 48px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 16px 14px; color: var(--gray); }

/* product cards */
.product-body h3 a { color: inherit; }
.product-short { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stock-out { font-size: 0.8rem; color: #ef4444; margin-bottom: 8px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn-primary { flex: 1; }

/* products page */
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 16px; }
.search-form input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: var(--radius); font-size: 16px; font-family: inherit; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-weight: 600;
  font-size: 0.9rem; color: var(--gray); min-height: 40px; display: inline-flex; align-items: center; }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty-box { text-align: center; background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--gray); }
.empty-box p { margin-bottom: 12px; }

/* product page */
.back-link { margin-bottom: 18px; }
.back-link a { color: var(--primary); font-size: 0.95rem; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 0.78rem; padding: 3px 10px; border-radius: 4px; font-weight: 600; }
.tag-blue { background: var(--primary-light); color: var(--primary-dark); }
.tag-green { background: #d1fae5; color: #065f46; }
.tag-red { background: #fee2e2; color: #991b1b; }
.tag-accent { background: var(--accent); color: #fff; }
.detail-title { margin: 10px 0 6px; color: var(--secondary); }
.detail-price { margin-bottom: 16px; }
.detail-price .price-new { font-size: 1.4rem; }
.detail-sub { color: var(--secondary); font-size: 1.05rem; }
.detail-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* header call + bottom bar defaults (desktop) */
.mobile-bar { display: none; }

/* admin helpers */
.admin-warn { background: #fef3c7; border: 1px solid #fde68a; color: #92400e; padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; }
.badge-new { background: var(--primary); color: #fff; font-size: 0.7rem; padding: 2px 7px; border-radius: 4px; }
.admin-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.admin-title-row h1, .admin-h1 { color: var(--secondary); }
.row-new { background: #eff6ff; }

/* ======================= MOBILE (phones) ======================= */
@media (max-width: 768px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .whatsapp-float { display: none; }

  
  /* header */
  .logo img {
      height: 40px;
  }

  .header-call {
      margin-left: auto;
      width: 44px;
      height: 44px;
      justify-content: center;
      border-radius: 50%;
      background: var(--primary-light);
  }

  .header-call span {
      display: none;
  }

  .menu-toggle {
      width: 44px;
      height: 44px;
      font-size: 1.5rem;
      margin-left: 0;
  }

  .header-inner {
      padding: 8px 0;
      gap: 8px;
  }

  /* Mobile navigation spacing */
  .nav {
      gap: 6px;
  }

  .nav li {
      width: 100%;
  }

  .nav a {
      display: flex;
      align-items: center;
      width: 100%;
      min-height: 42px;
      padding: 8px 12px;
      border-radius: 5px;
      font-size: 0.95rem;
      line-height: 1.4;
  }

  .nav a:hover,
  .nav a.active {
      background: var(--primary-light);
      color: var(--primary-dark);
  }

  .topbar {
      font-size: 0.8rem;
  }

  .topbar-text {  
      display: none;
  }


  /* bottom quick-action bar */
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    background: #fff; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,0.12); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px;
    border-radius: 10px; font-size: 0.78rem; font-weight: 700; color: #fff; }
  .mb-call { background: var(--primary); }
  .mb-wa { background: #25D366; }
  .mb-enq { background: var(--secondary); }

  /* spacing / type */
  .section { padding: 32px 0; }
  .section-tight { padding: 22px 0 4px; }
  .section-title { font-size: 1.4rem; }
  .section-sub { margin-bottom: 22px; font-size: 0.95rem; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }

  /* hero */
  .hero { padding: 26px 0 30px; }
  .hero h1 { font-size: 1.65rem; }
  .hero p { font-size: 0.98rem; margin-bottom: 18px; }
  .hero-btns .btn { flex: 1 1 140px; }
  .carousel-track { height: 230px; }
  .carousel-slide { padding: 6px 12px 30px; }
  .carousel-slide img { max-height: 190px; }
  .carousel-btn { display: none; }
  .carousel-slide .slide-name { font-size: 0.78rem; }

  /* sections */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 16px; }
  .need-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card:hover { transform: none; box-shadow: var(--shadow); }
  .product-body { padding: 10px 12px 12px; }
  .product-body h3 { font-size: 0.98rem; line-height: 1.3; }
  .product-size { font-size: 0.78rem; }
  .product-short { font-size: 0.8rem; margin-bottom: 8px; }
  .price-row { margin-bottom: 8px; flex-wrap: wrap; gap: 6px; }
  .price-new { font-size: 1.05rem; }
  .price-old { font-size: 0.8rem; }
  .card-actions .btn-primary { font-size: 0.8rem; padding: 9px 4px; }
  .discount-badge { top: 6px; right: 6px; font-size: 0.68rem; padding: 2px 6px; }
  .category-badge { top: 6px; left: 6px; font-size: 0.58rem; padding: 2px 5px; }

  /* product page */
  .product-detail { padding: 16px; gap: 20px; }
  .detail-title { font-size: 1.4rem; }
  .detail-actions .btn { flex: 1 1 100%; }

  /* forms / contact */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; padding: 12px 13px; }
  .contact-info, .contact-form-box { padding: 18px; }
  .contact-form-box { order: -1; }
  .footer { margin-top: 24px; }

  /* admin */
  .admin-header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .admin-nav { overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 4px; }
  .admin-nav a { white-space: nowrap; padding: 9px 12px; }
  .admin-content { padding: 18px 0; }
  .admin-card { padding: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .login-box { margin: 40px 16px; padding: 24px; }
  .admin-table.stack thead { display: none; }
  .admin-table.stack, .admin-table.stack tbody, .admin-table.stack tr, .admin-table.stack td { display: block; width: 100%; }
  .admin-table.stack tr { border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 12px; padding: 6px 2px; background: #fff; }
  .admin-table.stack td { border: 0; padding: 6px 12px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .admin-table.stack td::before { content: attr(data-label); font-weight: 600; color: var(--gray); text-align: left; flex: 0 0 34%; }
  .admin-table.stack td.td-actions { justify-content: flex-end; }
  .admin-table.stack td.td-actions::before { display: none; }
}

@media (min-width: 769px) {
  .chips { justify-content: center; }
}
@media (max-width: 380px) {
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
}