/* ============================================================
   Storefront stylesheet — warm, minimal furniture-store look.
   Colors and spacing are defined once here as variables.
   ============================================================ */

:root {
  --cream:      #fffaf0;
  --white:      #ffffff;
  --ink:        #3d3225;
  --ink-soft:   #8d7a5e;
  --line:       #f0e4cd;
  --brand:      #c08a3e;   /* warm honey amber */
  --brand-dark: #9c6d2a;
  --accent:     #c0392b;   /* sale red */
  --wa:         #25d366;
  --wa-dark:    #1eb857;
  --radius:     10px;
  --shadow:     0 2px 12px rgba(43, 38, 32, 0.08);
  --shadow-lg:  0 8px 28px rgba(43, 38, 32, 0.14);
  --font-head:  Georgia, 'Times New Roman', serif;
  --font-body:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 800px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  font-family: var(--font-body);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; display: block; }
.btn-danger { background: var(--accent); color: #fff; }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}
.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  position: relative;
}
.promo-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  right: 12px;
  line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav > a, .nav-drop-toggle {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-block;
}
.main-nav > a:hover, .nav-drop-toggle:hover { color: var(--ink); background: var(--cream); }
.nav-promo { color: var(--accent) !important; font-weight: 700 !important; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  padding: 8px 0;
  z-index: 110;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--ink); }
.caret { font-size: 0.7rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.header-search {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.header-search input {
  border: none;
  background: transparent;
  padding: 8px 4px 8px 16px;
  width: 170px;
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-body);
}
.header-search button {
  border: none;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.95rem;
}
.cart-link {
  position: relative;
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px;
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  display: none;
  min-height: 440px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide.active { display: flex; align-items: center; }
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 24, 18, 0.55) 0%, rgba(30, 24, 18, 0.1) 70%);
}
.hero-content {
  position: relative;
  color: #fff;
  max-width: 1200px;
  width: 100%;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  max-width: 480px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.hero-dot.active { background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); margin-top: 6px; }
.section-more { text-align: center; margin-top: 32px; }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.category-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.category-card span {
  display: block;
  padding: 12px 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-img { position: relative; }
.product-card-img img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.badge-sale { background: var(--accent); }
.badge-out { background: var(--ink-soft); top: 10px; right: 10px; left: auto; }
.product-card-body { padding: 14px 16px 18px; }
.product-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.product-name {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 4px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--brand-dark); }
.price-lg { font-size: 1.6rem; }
.price-old {
  color: var(--ink-soft);
  text-decoration: line-through;
  font-size: 0.85rem;
}

/* ---------- Value props ---------- */
.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.value-icon { font-size: 2.2rem; margin-bottom: 10px; }
.value-prop h3 { font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.value-prop p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Catalog ---------- */
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.catalog-count { color: var(--ink-soft); font-size: 0.9rem; }
.catalog-sort { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.catalog-sort select {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.catalog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chip {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: 0.15s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-promo.active { background: var(--accent); border-color: var(--accent); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.empty-state p { margin-bottom: 18px; font-size: 1.05rem; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.page-link {
  padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.page-link:hover { border-color: var(--brand); color: var(--brand); }
.page-info { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Product detail ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--brand); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--white);
}
.gallery-thumb.active { border-color: var(--brand); }

.product-info h1 { margin: 4px 0 14px; }
.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.stock-info { font-size: 0.92rem; font-weight: 600; margin-bottom: 18px; }
.in-stock { color: #1a7f45; }
.out-stock { color: var(--accent); }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.qty-btn {
  width: 38px;
  height: 40px;
  border: none;
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}
.qty-btn:hover { background: var(--cream); }
.qty-control input {
  width: 52px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 1rem;
  font-family: var(--font-body);
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.product-description {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--ink-soft);
}
.product-description h2 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); }

.related-section { margin-top: 64px; }
.related-section h2 { margin-bottom: 24px; }

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  align-items: center;
}
.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.cart-item-price { color: var(--brand-dark); font-weight: 700; font-size: 0.95rem; }
.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cart-remove {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
}
.cart-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.cart-summary h2 { font-size: 1.2rem; margin-bottom: 16px; }
.cart-summary h3 {
  font-size: 1rem;
  margin: 20px 0 12px;
  font-family: var(--font-body);
  font-weight: 700;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.summary-note { font-size: 0.8rem; color: var(--ink-soft); margin: 10px 0; }
.summary-grand { font-size: 1.05rem; border-bottom: 2px solid var(--ink); }
.summary-grand strong { color: var(--brand-dark); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }

/* ---------- About / contact ---------- */
.about-text { margin: 20px 0 36px; color: var(--ink-soft); font-size: 1.02rem; }
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.contact-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 8px; }
.contact-card .btn { margin-top: 10px; }

/* ---------- Checkout & order page ---------- */
.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  background: var(--white);
}
.pay-option:has(input:checked) { border-color: var(--brand); outline: 1px solid var(--brand); }
#checkoutForm .btn { margin-top: 8px; }

.order-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.order-code { color: var(--brand-dark); }
.order-date { color: var(--ink-soft); font-size: 0.88rem; margin: 4px 0 22px; }

.status-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}
.status-menunggu { background: #fdf3d7; color: #96700a; }
.status-dibayar, .status-diproses, .status-dikirim, .status-selesai { background: #e2f3e9; color: #1a7f45; }
.status-batal { background: #fbe4e1; color: var(--accent); }

.payment-card {
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}
.payment-card h2 { margin-bottom: 8px; }
.payment-total {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 4px 0 18px;
}
.payment-method-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}
.payment-method-box h3 { margin-bottom: 10px; font-size: 1.05rem; }
.bank-detail div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.bank-detail span { color: var(--ink-soft); }
.bank-number { font-size: 1.15rem; letter-spacing: 0.04em; }
.payment-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 12px; }
.qris-img {
  max-width: 260px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin: 10px 0;
}

.order-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}
.order-box h2 { font-size: 1.1rem; margin-bottom: 14px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.order-table th {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 2px solid var(--line);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.order-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-table tfoot td { border-bottom: none; font-size: 1rem; }
.order-table small { color: var(--ink-soft); }

.alert-box {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 22px;
  font-size: 0.98rem;
}
.alert-box-green { background: #e2f3e9; color: #14603a; border: 1px solid #b9e2c8; }
.alert-box-red { background: #fbe4e1; color: #8f2f24; border: 1px solid #f2c0ba; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8d2ca;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 20px 36px;
}
.footer-logo { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.footer-col a, .footer-col span, .footer-col p {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: #b8b0a5;
}
.footer-col a:hover { color: #fff; }
.footer-address { white-space: pre-line; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #8f877c;
}

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Responsive — tablet
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .value-props { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .header-search input { width: 120px; }
}

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 720px) {
  h1 { font-size: 1.5rem; }
  .section { padding: 36px 0; }

  .hamburger { display: flex; }
  .header-inner { gap: 12px; height: 60px; }
  .logo { font-size: 1.2rem; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-drop-toggle { padding: 12px 24px; border-radius: 0; }
  .nav-dropdown { position: static; }
  .dropdown-menu {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    background: var(--cream);
  }
  .header-search { display: none; }

  .hero-slide { min-height: 320px; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-content p { font-size: 0.95rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-card span { font-size: 0.78rem; padding: 8px 4px; }
  .product-card-body { padding: 10px 12px 14px; }
  .product-name { font-size: 0.88rem; }

  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .price-lg { font-size: 1.35rem; }
  .product-actions .btn { flex: 1 1 100%; }

  .value-props { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .value-icon { font-size: 1.8rem; }

  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 36px 20px 28px; }

  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item img { width: 70px; height: 70px; }
  .cart-item-controls {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .wa-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}
