/* ============================================
   PET MAX — Design tokens
   Ink navy + signal orange, lifted from the logo.
   Fredoka for display (bubble-lettering energy),
   Manrope for body/UI.
   ============================================ */
:root {
  --ink: #0E1F35;
  --ink-soft: #294061;
  --orange: #F4622E;
  --orange-dark: #D94E1F;
  --cream: #FFF9F2;
  --sand: #FFEBDA;
  --sand-line: #F6D9C0;
  --white: #FFFFFF;
  --green: #25D366;
  --green-dark: #1DAE55;
  --gold: #F2A93B;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-card: 0 6px 18px rgba(14, 31, 53, 0.08);
  --shadow-lift: 0 14px 32px rgba(14, 31, 53, 0.14);

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Paw-print signature marker ---------- */
.paw {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23F4622E'%3E%3Cellipse cx='12' cy='16.2' rx='6.4' ry='5.4'/%3E%3Cellipse cx='4.6' cy='10.4' rx='2.3' ry='2.9' transform='rotate(-18 4.6 10.4)'/%3E%3Cellipse cx='9.6' cy='5.6' rx='2.2' ry='2.9' transform='rotate(-8 9.6 5.6)'/%3E%3Cellipse cx='14.5' cy='5.6' rx='2.2' ry='2.9' transform='rotate(8 14.5 5.6)'/%3E%3Cellipse cx='19.4' cy='10.4' rx='2.3' ry='2.9' transform='rotate(18 19.4 10.4)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.paw--navy {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%230E1F35'%3E%3Cellipse cx='12' cy='16.2' rx='6.4' ry='5.4'/%3E%3Cellipse cx='4.6' cy='10.4' rx='2.3' ry='2.9' transform='rotate(-18 4.6 10.4)'/%3E%3Cellipse cx='9.6' cy='5.6' rx='2.2' ry='2.9' transform='rotate(-8 9.6 5.6)'/%3E%3Cellipse cx='14.5' cy='5.6' rx='2.2' ry='2.9' transform='rotate(8 14.5 5.6)'/%3E%3Cellipse cx='19.4' cy='10.4' rx='2.3' ry='2.9' transform='rotate(18 19.4 10.4)'/%3E%3C/g%3E%3C/svg%3E");
}

.paw-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.paw-divider::before,
.paw-divider .paw { flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(244, 98, 46, 0.32);
}
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 10px 24px rgba(244, 98, 46, 0.4); }

.btn--ink {
  background: var(--ink);
  color: var(--white);
}
.btn--ink:hover { background: var(--ink-soft); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32);
}
.btn--whatsapp:hover { background: var(--green-dark); }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--ink);
  transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--sand-line); }

.auth-tabs { display: flex; gap: 6px; background: var(--sand); border-radius: var(--radius-pill); padding: 4px; }
.auth-tab { flex: 1; padding: 9px 0; border: none; background: transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.88rem; color: var(--ink-soft); }
.auth-tab.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 249, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.1;
}
.brand-name span { display: block; font-size: 0.65rem; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color 0.15s ease, color .15s ease; }
.main-nav a:hover { border-color: var(--orange); color: var(--orange-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  min-width: 220px;
}
.search-box input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  color: var(--ink);
}
.search-box svg { flex: none; opacity: 0.55; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(244, 98, 46, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(244, 98, 46, 0.18), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 64px 24px 56px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 98, 46, 0.16);
  border: 1px solid rgba(244, 98, 46, 0.4);
  color: var(--orange);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat b { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); display: block; }
.hero-stat span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .badge-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lift);
  max-width: 340px;
}
.hero-art img { width: 100%; }

/* ============ Trust strip ============ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 36px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.trust-item .paw-badge {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.trust-item b { display: block; font-size: 0.9rem; }
.trust-item span { font-size: 0.78rem; color: var(--ink-soft); }

/* ============ Section heading ============ */
.section { padding: 50px 24px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.section-head p { color: var(--ink-soft); margin-top: 6px; }

/* ============ Category chips ============ */
.category-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 24px 14px;
  max-width: 1240px;
  margin: 0 auto;
  scrollbar-width: thin;
}
.category-chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 2px solid var(--sand-line);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  transition: all 0.15s ease;
}
.category-chip:hover { border-color: var(--orange); }
.category-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.category-chip.active .paw { filter: brightness(0) invert(1); }

/* ============ Toolbar ============ */
.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.result-count { font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; }
.sort-select {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--sand-line);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

/* ============ Product grid ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand-line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.product-media {
  position: relative;
  aspect-ratio: 1 / 0.85;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-media.accent-navy { background: #E4EAF3; }
.product-media svg { width: 78%; height: 78%; }
.product-media .product-photo, .qv-media .product-photo { width: 100%; height: 100%; object-fit: cover; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-badge.badge-new { background: var(--ink); }

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-category { font-size: 0.72rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.06em; }
.product-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.product-rating { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--ink-soft); }
.product-rating .stars { color: var(--gold); letter-spacing: 1px; }

.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.price-compare { font-size: 0.85rem; color: #A7ADB8; text-decoration: line-through; }

.product-footer { margin-top: auto; display: flex; gap: 8px; padding-top: 10px; }
.product-footer .btn { flex: 1; padding: 11px 14px; font-size: 0.85rem; }
.stock-low { font-size: 0.72rem; color: var(--orange-dark); font-weight: 700; margin-top: -2px; }
.stock-out { font-size: 0.72rem; color: #C23B3B; font-weight: 700; margin-top: -2px; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.empty-state .paw { width: 2.4rem; height: 2.4rem; opacity: 0.4; margin-bottom: 10px; }

/* ============ Value props ============ */
.value-strip {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 1240px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.value-item .paw { font-size: 1.6rem; margin-bottom: 12px; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 40px;
  padding: 56px 24px 26px;
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand img { height: 46px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 10px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--orange); }

/* ============ Floating WhatsApp ============ */
.float-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 70;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  animation: pulse-wa 2.4s infinite;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .float-whatsapp { animation: none; }
}

/* ============ Cart drawer ============ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 31, 53, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 80;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--cream);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -14px 0 40px rgba(0,0,0,0.15);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--sand-line);
}
.drawer-head h3 { font-size: 1.2rem; }
.drawer-close {
  background: var(--sand);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-line {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand-line);
}
.cart-line-thumb {
  width: 62px; height: 62px;
  border-radius: 12px;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.cart-line-thumb svg { width: 68%; height: 68%; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-info .name { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.cart-line-info .cat { font-size: 0.75rem; color: var(--ink-soft); }
.cart-line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
}
.qty-control button {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.qty-control span { font-weight: 700; font-size: 0.85rem; min-width: 16px; text-align: center; }
.remove-line { background: none; border: none; color: #C23B3B; font-size: 0.78rem; font-weight: 700; }
.line-price { font-weight: 700; font-family: var(--font-display); }

.drawer-empty { text-align: center; padding: 60px 10px; color: var(--ink-soft); }
.drawer-empty .paw { width: 2.4rem; height: 2.4rem; opacity: 0.35; margin-bottom: 10px; }

.drawer-foot {
  border-top: 1px solid var(--sand-line);
  padding: 18px 22px 22px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; color: var(--ink-soft); }
.summary-row.total { color: var(--ink); font-weight: 700; font-size: 1.05rem; margin-top: 10px; }
.free-delivery-note {
  font-size: 0.78rem;
  color: var(--orange-dark);
  background: var(--sand);
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* ============ Modal (product quick view + checkout) ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 31, 53, 0.55); }
.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lift);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sand);
  border: none;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

.quick-view { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media {
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  padding: 50px;
}
.qv-media.accent-navy { background: #E4EAF3; }
.qv-media svg { width: 85%; }
.qv-info { padding: 40px 36px; }
.qv-info .product-category { margin-bottom: 8px; }
.qv-info h2 { font-size: 1.5rem; margin-bottom: 10px; }
.qv-info .product-rating { margin-bottom: 14px; }
.qv-info .desc { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 20px; }
.qv-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.qv-price-row .price { font-size: 1.6rem; }

.variant-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.variant-chip {
  padding: 8px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--sand-line);
  background: var(--white); font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.variant-chip.active { border-color: var(--orange); background: var(--sand); color: var(--orange-dark); }
.variant-chip.disabled, .variant-chip:disabled { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
.qv-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.qv-actions .btn { flex: 1; min-width: 160px; }
.qv-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

/* ============ Checkout ============ */
.checkout-modal .modal-panel { max-width: 620px; }
.checkout-body { padding: 36px; }
.checkout-body h2 { margin-bottom: 4px; }
.checkout-body > p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--sand-line);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--cream);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--orange); outline: none; }
.form-field textarea { resize: vertical; min-height: 70px; }
.field-error { font-size: 0.78rem; color: #C23B3B; }

.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 18px; }
.pay-option {
  border: 2px solid var(--sand-line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-option.selected { border-color: var(--orange); background: var(--sand); }
.pay-option b { display: block; font-size: 0.92rem; margin-bottom: 3px; }
.pay-option span { font-size: 0.78rem; color: var(--ink-soft); }

.bank-details {
  background: var(--sand);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}
.bank-details .row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--sand-line); }
.bank-details .row:last-child { border-bottom: none; }
.bank-details b { font-family: var(--font-display); }

.checkout-summary {
  background: var(--sand);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
}

.order-success { text-align: center; padding: 20px 10px 6px; }
.order-success .check-circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 2rem;
}
.order-code {
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: var(--sand);
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin: 10px 0 20px;
  letter-spacing: 0.04em;
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.toast--error { background: #C23B3B; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { order: -1; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .value-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-view { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .search-box { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pay-options { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .header-inner { padding: 10px 16px; }
  .section { padding: 34px 16px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 12px; }
  .brand-name { display: none; }
}

/* ============ Blog ============ */
.site-banner {
  background: var(--orange); color: var(--white); text-align: center;
  padding: 10px 16px; font-size: 0.88rem; font-weight: 700;
}
.site-banner a { color: var(--white); text-decoration: underline; }

.blog-hero { background: var(--ink); color: var(--white); padding: 56px 24px; text-align: center; }
.blog-hero-inner h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 8px; }
.blog-hero-inner p { color: rgba(255,255,255,0.7); }

.blog-listing-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 60px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius-md); overflow: hidden; display: block; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.blog-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.blog-card-media { aspect-ratio: 16/10; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-placeholder { font-size: 2.4rem; }
.blog-card-body { padding: 18px 20px; }
.blog-card-date { font-size: 0.76rem; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card-body h2 { font-size: 1.1rem; margin: 8px 0 8px; }
.blog-card-body p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }

.blog-post-wrap { max-width: 720px; margin: 0 auto; padding: 40px 24px 70px; }
.blog-back-link { display: inline-block; margin-bottom: 20px; font-weight: 700; color: var(--orange-dark); font-size: 0.9rem; }
.blog-post-cover { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; }
.blog-post-cover img { width: 100%; display: block; }
.blog-post-wrap h1 { font-family: var(--font-display); font-size: 1.9rem; margin: 8px 0 20px; line-height: 1.25; }
.blog-post-content { font-size: 1rem; line-height: 1.75; color: var(--ink); }
.blog-post-content p { margin-bottom: 16px; }
.blog-post-content h2, .blog-post-content h3 { margin: 26px 0 12px; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 16px 22px; }
.blog-post-content a { color: var(--orange-dark); text-decoration: underline; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero-inner h1 { font-size: 1.7rem; }
}
