:root {
  --color-primary: #0F5132;
  --color-primary-dark: #0A3D24;
  --color-secondary: #22A06B;
  --color-secondary-light: #D1FAE5;
  --color-dark: #1A2B1F;
  --color-text: #2D3E33;
  --color-muted: #718076;
  --color-bg: #FBF9F3;
  --color-card: #FFFFFF;
  --color-border: #E6E8DF;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --color-danger: #c62828;
  --color-warning: #f9a825;

  --shadow-soft: 0 4px 18px rgba(15, 81, 50, 0.06);
  --shadow-soft-lg: 0 12px 40px rgba(15, 81, 50, 0.09);
  --shadow-hover: 0 10px 28px rgba(15, 81, 50, 0.12);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --font-heading: 'Montserrat', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  --header-h: 76px;
  --container: 1200px;
  --space: 1rem;
  --space-2: 2rem;
  --ease: cubic-bezier(.22,.61,.36,1);
  --tr: 0.3s var(--ease);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .8rem;
}
h1 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-dark);
  transition: border-color var(--tr), box-shadow var(--tr);
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(129, 199, 132, 0.18);
}
::selection { background: var(--color-secondary-light); color: var(--color-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-primary); color: #fff; padding: .75rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; border-radius: var(--radius-sm); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 2.75rem 0; }
.section-sm { padding: 2rem 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 1.75rem; }
.section-head .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 600; color: var(--color-primary); margin-bottom: .75rem;
}
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--color-muted); }

.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.flex { display: flex; align-items: center; gap: .75rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.row-wrap { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700; font-size: .88rem;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: none;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr), opacity var(--tr), border-color var(--tr);
  white-space: normal; cursor: pointer;
  min-height: 44px;
  word-break: break-word;
}
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(15,81,50,0.18); }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 81, 50, 0.25); }
.btn-primary:active { transform: translateY(0); opacity: .92; }
.btn-secondary { background: linear-gradient(135deg, #E8F5E9 0%, #D1FAE5 100%); color: var(--color-primary-dark); border: 1.5px solid var(--color-secondary); box-shadow: 0 6px 16px rgba(46,125,50,0.08); }
.btn-secondary:hover { background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%); color: #08331D; border-color: var(--color-primary); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(46,125,50,0.16); }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--color-muted);
  transition: background var(--tr), color var(--tr);
}
.icon-btn:hover { background: var(--color-bg); color: var(--color-dark); }

/* ============ Cards ============ */
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .65rem; }
.card-foot { padding: 0 1.25rem 1.25rem; display: flex; gap: .5rem; flex-wrap: wrap; }

/* ============ Badge / tags ============ */
.badge {
  display: inline-block;
  padding: .3rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-pill);
  background: var(--color-secondary-light);
  color: var(--color-primary-dark);
  text-transform: uppercase;
}
.badge-wa { background: rgba(37,211,102,.12); color: var(--color-whatsapp-dark); }
.badge-muted { background: #f0f2f0; color: var(--color-muted); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.site-header.is-scrolled { border-color: var(--color-border); box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--color-dark); }
.brand:hover { color: var(--color-dark); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary-light), #fff);
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.brand-title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: .95rem; line-height: 1.1; }
.brand-sub { display: block; color: var(--color-muted); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

.site-nav ul { display: flex; gap: .25rem; justify-content: center; }
.site-nav a {
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: var(--radius-pill);
  color: var(--color-dark);
  font-weight: 500;
  font-size: .94rem;
  transition: background var(--tr), color var(--tr);
}
.site-nav a:hover { background: var(--color-secondary-light); color: var(--color-primary-dark); }
body.page-home .site-nav a[href$="index.php"],
body.page-shop .site-nav a[href$="shop.php"],
body.page-about .site-nav a[href$="about.php"],
body.page-blog .site-nav a[href$="blog.php"],
body.page-article .site-nav a[href$="blog.php"],
body.page-contact .site-nav a[href$="contact.php"] {
  background: var(--color-primary);
  color: #fff;
}

.header-tools { display: flex; align-items: center; gap: .5rem; }

/* ============ Dropdowns (country/currency) ============ */
.dropdown { position: relative; }
.dd-trigger {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--color-border);
  font-size: .88rem; font-weight: 500; color: var(--color-dark);
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.dd-trigger:hover { border-color: var(--color-secondary); background: var(--color-bg); }
.dd-icon { font-size: 1rem; }
.dd-label { font-weight: 600; }
.dd-caret { color: var(--color-muted); font-size: .7rem; }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; min-width: 200px;
  border-radius: var(--radius); box-shadow: var(--shadow-soft-lg);
  padding: .4rem;
  transform-origin: top right;
  transform: scale(.96) translateY(-6px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--tr), transform var(--tr);
  z-index: 50;
  max-height: 380px; overflow: auto;
  border: 1px solid var(--color-border);
}
.dropdown.is-open .dd-menu { opacity: 1; pointer-events: auto; transform: scale(1) translateY(0); }
.dd-menu li {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-dark);
  transition: background var(--tr);
}
.dd-menu li:hover { background: var(--color-bg); }
.dd-menu li[aria-selected="true"] { background: var(--color-secondary-light); color: var(--color-primary-dark); }
.dd-menu li strong { font-family: var(--font-heading); }
.dd-sub { margin-left: auto; font-size: .8rem; color: var(--color-muted); }
.dd-flag { font-size: 1.2rem; }

/* ============ Cart trigger ============ */
.cart-trigger {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-dark);
  transition: background var(--tr), color var(--tr), transform var(--tr);
}
.cart-trigger:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--color-whatsapp);
  color: #fff;
  font-size: .68rem; font-weight: 700;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}

/* ============ Nav toggle (mobile) ============ */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--color-dark); margin: 4px auto; border-radius: 2px; transition: transform var(--tr), opacity var(--tr); }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ Cart drawer ============ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(15, 25, 18, 0.55);
  z-index: 199; backdrop-filter: blur(2px);
  opacity: 0; transition: opacity var(--tr);
}
.cart-overlay[hidden] { display: none; }
.cart-overlay.show { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 100%; max-width: 420px;
  background: var(--color-bg); z-index: 200;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--tr);
  border-left: 1px solid var(--color-border);
}
.cart-drawer.show { transform: translateX(0); }
.cart-head {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}
.cart-head h3 { margin: 0; }
.cart-body {
  flex: 1; overflow-y: auto; padding: 1rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.cart-empty { color: var(--color-muted); text-align: center; padding: 3rem 0; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: .85rem; align-items: center;
  padding: .85rem; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-bg); }
.cart-item-name { font-weight: 600; color: var(--color-dark); font-size: .92rem; line-height: 1.3; }
.cart-item-price { color: var(--color-muted); font-size: .82rem; }
.qty-sel {
  display: inline-flex; align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden; background: #fff;
  margin-top: .35rem;
}
.qty-sel button {
  width: 28px; height: 28px; font-size: 1rem; font-weight: 600;
  color: var(--color-primary);
  transition: background var(--tr);
}
.qty-sel button:hover { background: var(--color-secondary-light); }
.qty-sel span { min-width: 26px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-remove {
  color: var(--color-muted); padding: .35rem; border-radius: 50%;
  transition: color var(--tr), background var(--tr);
}
.cart-remove:hover { color: var(--color-danger); background: rgba(198,40,40,0.08); }
.cart-foot {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
  display: flex; flex-direction: column; gap: .6rem;
}
.cart-sub, .cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
}
.cart-sub span, .cart-total span { color: var(--color-muted); font-size: .9rem; }
.cart-total strong { font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-dark); }

/* ============ Modal (quick view) ============ */
.modal-wrap {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 1rem;
}
.modal-wrap[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(15, 25, 18, 0.55); backdrop-filter: blur(2px); }
.modal {
  position: relative;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-lg);
  width: min(900px, 100%);
  max-height: 92vh; overflow: auto;
  padding: 1.5rem;
  animation: modalIn var(--tr);
}
@keyframes modalIn { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; background: var(--color-bg); }
.qv-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; }
.qv-grid img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); background: var(--color-bg); }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(34,160,107,.22), transparent 60%),
    radial-gradient(900px 400px at -10% 110%, rgba(15,81,50,.1), transparent 60%),
    linear-gradient(180deg, #F3F5EC 0%, var(--color-bg) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
}
.hero-copy .eyebrow {
  display: inline-block; padding: .4rem .8rem;
  background: var(--color-secondary-light); color: var(--color-primary-dark);
  border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600;
  margin-bottom: 1rem; letter-spacing: .06em; text-transform: uppercase;
}
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero-copy p.lead { font-size: 1.08rem; color: var(--color-muted); margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Badges strip ============ */
.value-strip {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  margin-top: -2rem;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-soft);
}
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value {
  display: flex; align-items: center; gap: .9rem;
  padding: .75rem 1rem;
  border-right: 1px solid var(--color-border);
}
.value:last-child { border-right: 0; }
.value-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-bg));
  color: var(--color-primary); flex-shrink: 0;
}
.value-title { font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); font-size: 1rem; }
.value-sub { color: var(--color-muted); font-size: .85rem; }

/* ============ Product cards ============ */
.product-card .thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-bg);
  border-radius: var(--radius);
  margin: .75rem .75rem 0;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(15, 81, 50, 0.04);
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .quick-view {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(10px);
  background: rgba(255,255,255,0.95);
  padding: .5rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity var(--tr), transform var(--tr), background var(--tr);
  box-shadow: var(--shadow-soft);
}
.product-card:hover .quick-view { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.product-card .quick-view:hover { background: var(--color-primary); color: #fff; }
.product-card .cat-badge { position: absolute; top: .6rem; left: .6rem; }
.product-card .title { font-size: 1rem; margin: 0; font-family: var(--font-heading); color: var(--color-dark); overflow-wrap: anywhere; }
.product-card .desc { color: var(--color-muted); font-size: .88rem; line-height: 1.5; margin: 0; flex: 1; overflow-wrap: anywhere; }
.product-card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: .5rem; flex-wrap: wrap; gap: .25rem; }
.product-card .price {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--color-primary-dark); word-break: break-word;
}
.product-card .actions { margin-top: .6rem; display: flex; gap: .45rem; flex-wrap: wrap; }
.product-card .actions > * { min-height: 44px; }
.product-card .btn { padding: .7rem 1rem; font-size: .8rem; flex: 1; min-width: 0; }

.price-contact {
  display: inline-block;
  padding: .4rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--color-secondary-light);
  color: var(--color-primary-dark);
  text-decoration: none;
}
.pack-size {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  margin-bottom: .5rem;
}
.section-alt { background: var(--color-bg); }

.card.feature { padding: 1.75rem 1.5rem; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}
.card.feature h4 { margin: 0 0 .5rem; color: var(--color-dark); font-size: 1.1rem; }
.card.feature p { margin: 0; color: var(--color-muted); line-height: 1.6; }

.category-card {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, var(--color-bg) 100%);
  border: 1px solid var(--color-border);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  display: block;
  color: inherit;
  text-align: center;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}
.category-card .cat-name { font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); margin-bottom: .25rem; font-size: 1.02rem; }
.category-card .cat-count { color: var(--color-primary); font-size: .84rem; font-weight: 600; }

.final-cta { padding-top: 0; padding-bottom: 0; }
.final-cta-inner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #166534 55%, var(--color-secondary) 100%);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-soft-lg);
}
.final-cta-inner h2 { color: #fff; margin: 0 0 .6rem; }
.final-cta-inner p { max-width: 680px; margin: 0 auto 1.5rem; opacity: .95; color: #eafff2; }

.btn-light {
  background: #fff; color: var(--color-primary-dark); border: 1px solid #fff;
  font-weight: 700;
}
.btn-light:hover { background: var(--color-secondary-light); color: var(--color-primary-dark); }
.btn-ghost-light {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55);
  font-weight: 700;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }

/* ============ Shop layout ============ */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; padding-top: 2rem; padding-bottom: 3rem; }
.shop-filters {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: #fff; border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.shop-filters h4 { font-size: .95rem; margin: 1rem 0 .7rem; }
.shop-filters h4:first-child { margin-top: 0; }
.filter-list li { margin-bottom: .35rem; }
.filter-list label {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .5rem; border-radius: var(--radius-sm);
  cursor: pointer; transition: background var(--tr);
  color: var(--color-dark); font-size: .92rem;
}
.filter-list label:hover { background: var(--color-bg); }
.shop-tools {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.shop-search { display: flex; gap: .5rem; max-width: 420px; width: 100%; }
.shop-search input { flex: 1; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.shop-grid > .card,
.grid-3 > .product-card,
.grid-4 > .product-card { display: flex; flex-direction: column; height: 100%; }

/* ============ Pagination ============ */
.pagination {
  display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 .9rem;
  border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--color-border);
  font-weight: 600; color: var(--color-dark);
  transition: all var(--tr);
}
.pagination a:hover { border-color: var(--color-secondary); color: var(--color-primary-dark); transform: translateY(-2px); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ============ Product Detail ============ */
.product-detail { padding: 2.5rem 0 3rem; }
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.pd-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.pd-info .pd-category { margin-bottom: .75rem; }
.pd-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin: .5rem 0 1.2rem;
}
.pd-section-title { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin: 1.4rem 0 .5rem; }
.pd-list { margin-left: 1.2rem; list-style: disc; color: var(--color-text); }
.pd-list li { margin-bottom: .35rem; }
.pd-actions { margin-top: 1.5rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.pd-actions .qty-sel button { width: 40px; height: 40px; }
.pd-actions .qty-sel span { min-width: 40px; font-size: 1rem; }
.stock-indicator { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .85rem; }
.stock-indicator::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-whatsapp); display: inline-block;
}
.stock-indicator.out::before { background: var(--color-danger); }

/* ============ Blog ============ */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: all var(--tr); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.post-thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.post-meta { color: var(--color-muted); font-size: .82rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.post-title { font-size: 1.1rem; margin: 0; }
.post-title a { color: var(--color-dark); }
.post-title a:hover { color: var(--color-primary); }
.post-excerpt { color: var(--color-muted); font-size: .92rem; margin: 0; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--color-primary); }

/* Article single */
.article-hero { height: 340px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-soft); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-content { max-width: 780px; margin: 0 auto; padding-bottom: 4rem; }
.article-content h1 { margin-bottom: .5rem; }
.article-meta { color: var(--color-muted); margin-bottom: 2rem; }
.article-body { font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { margin-top: 2rem; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.share-row { display: flex; align-items: center; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.share-row strong { margin-right: .5rem; }
.share-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: var(--radius-pill);
  background: var(--color-bg); color: var(--color-dark);
  font-size: .85rem; font-weight: 600;
  transition: all var(--tr);
}
.share-btn:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.share-btn.wa:hover { background: var(--color-whatsapp); }

/* ============ About ============ */
.about-hero {
  background: linear-gradient(135deg, rgba(15,81,50,0.92), rgba(34,160,107,.82)),
    url("/assets/images/banner1.jpg") center/cover no-repeat;
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.about-hero h1, .about-hero p { color: #fff; }
.about-hero p { max-width: 720px; margin: 0 auto; opacity: .92; }
.timeline { display: grid; gap: 1.5rem; }
.card-stat { text-align: center; padding: 2rem 1.25rem; }
.card-stat .num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--color-primary); display: block; }
.card-stat .lbl { color: var(--color-muted); font-weight: 600; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
.info-card { display: flex; gap: 1rem; padding: 1rem 0; }
.info-card + .info-card { border-top: 1px solid var(--color-border); }
.info-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-secondary-light); color: var(--color-primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-title { font-weight: 700; color: var(--color-dark); font-family: var(--font-heading); }
.info-body { color: var(--color-muted); font-size: .92rem; }
.form {
  background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  display: grid; gap: 1rem;
}
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--color-dark); }
.form textarea { min-height: 140px; resize: vertical; }
.flash {
  padding: 1rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 500;
}
.flash.success { background: rgba(37,211,102,0.1); color: var(--color-whatsapp-dark); border: 1px solid rgba(37,211,102,0.28); }
.flash.error { background: rgba(198,40,40,0.08); color: var(--color-danger); border: 1px solid rgba(198,40,40,0.22); }

/* ============ Testimonials / FAQ ============ */
.testimonial { padding: 1.5rem; }
.testimonial .stars { color: var(--color-warning); margin-bottom: .6rem; letter-spacing: 2px; }
.testimonial .quote { color: var(--color-text); font-style: italic; margin-bottom: 1rem; }
.testimonial .author { display: flex; align-items: center; gap: .75rem; }
.grid-4 > .testimonial { padding: 1.2rem 1.1rem; border-radius: var(--radius); }
.grid-4 > .testimonial .quote { font-size: .92rem; line-height: 1.6; margin-bottom: .85rem; word-break: break-word; }
.grid-4 > .testimonial .author { gap: .6rem; }
.grid-4 > .testimonial .avatar { width: 40px; height: 40px; font-size: .85rem; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.testimonial .name { font-weight: 700; color: var(--color-dark); }
.testimonial .country { font-size: .82rem; color: var(--color-muted); }

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: .85rem;
  border: 1px solid var(--color-border);
}
.faq-q {
  width: 100%; text-align: left;
  padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-heading); font-weight: 700; color: var(--color-dark);
  font-size: 1rem;
}
.faq-q:hover { background: var(--color-bg); }
.faq-q .plus {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-secondary-light); color: var(--color-primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: transform var(--tr), background var(--tr), color var(--tr);
  flex-shrink: 0;
}
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); background: var(--color-primary); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--tr);
  color: var(--color-text);
}
.faq-item.is-open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--color-muted); }

/* ============ Footer ============ */
.site-footer {
  margin-top: 3rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 2.25rem 0 1.25rem;
}
.footer-brand-strip {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand-strip .footer-brand-block { flex: 1 1 320px; min-width: 0; }
.footer-brand-strip .socials { flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.75rem 1.5rem; margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.footer-brand strong { font-family: var(--font-heading); color: var(--color-dark); }
.footer-sub { color: var(--color-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.footer-bio { color: var(--color-muted); font-size: .92rem; margin-bottom: 0; max-width: 520px; }
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-bg); color: var(--color-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.socials a:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.site-footer h4 { margin-bottom: .85rem; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: var(--color-text); font-size: .92rem; }
.footer-links a:hover { color: var(--color-primary); }
.footer-links button { color: var(--color-text); font-size: .92rem; text-align: left; padding: 0; }
.footer-links button:hover { color: var(--color-primary); }
.disclaimer {
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  color: var(--color-muted); font-size: .82rem;
  line-height: 1.7; margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-primary);
}
.copyright { text-align: center; color: var(--color-muted); font-size: .85rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }

/* ============ 404 ============ */
.not-found { text-align: center; padding: 6rem 0; }
.not-found .big { font-family: var(--font-heading); font-size: 6rem; font-weight: 800; color: var(--color-primary); line-height: 1; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-grid { gap: 2rem; }
}

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-15px); opacity: 0; pointer-events: none;
    transition: opacity var(--tr), transform var(--tr);
  }
  .site-header.nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a { display: block; padding: .7rem 1rem; border-radius: var(--radius-sm); }
  .nav-toggle { display: inline-block; justify-self: end; }
  .header-tools { grid-column: auto; }
  .dd-label { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 2.5rem 0; }
  .hero {
    padding: 2rem 0 3.5rem;
    background-position: 50% 0, 50% 100%;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; aspect-ratio: 4 / 3; }
  .hero-copy .eyebrow {
    font-size: .72rem;
    padding: .3rem .65rem;
    letter-spacing: .08em;
  }
  .hero-copy h1 {
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: .85rem;
  }
  .hero-copy p.lead {
    font-size: .98rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
  }
  .value-strip { margin-top: -1rem; padding: 1.25rem; }
  .value-grid { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--color-border); padding: .9rem 0; }
  .value:last-child { border-bottom: 0; }
  .grid-4, .grid-3, .grid-2, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .qv-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .qv-grid img { height: 260px; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-price { font-size: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero { padding: 3rem 0; }
  .brand-copy .brand-sub { display: none; }
  .brand-copy .brand-title { font-size: .9rem; }
  .testimonial .quote { font-size: .92rem; line-height: 1.6; }
  .testimonial .avatar { width: 42px; height: 42px; }
}

@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .header-inner {
    gap: .35rem;
    grid-template-columns: auto auto;
    padding-top: .4rem;
    padding-bottom: .4rem;
    height: auto !important;
    min-height: var(--header-h);
  }
  .site-header .site-nav { order: 3; grid-column: 1 / -1; }
  .site-nav ul { padding: .25rem 0; }
  .site-nav a { font-size: .9rem; padding: .65rem .8rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark svg, .brand-mark img { transform: scale(.9); width: 100%; height: 100%; object-fit: contain; }
  .brand { gap: .5rem; }
  .dd-trigger {
    padding: .28rem .4rem;
    font-size: .78rem;
    gap: .15rem;
    min-height: 40px;
  }
  .dd-trigger .dd-icon { font-size: 1rem; }
  .cart-trigger { width: 40px; height: 40px; min-height: 40px; }
  .nav-toggle { min-height: 40px; }
  .header-tools { gap: .3rem; }
  .hero {
    padding: 1.5rem 0 3.25rem;
  }
  .hero-grid { gap: 1.5rem; }
  .hero-copy .eyebrow { margin-bottom: .75rem; }
  .hero-copy h1 {
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: .75rem;
  }
  .hero-copy p.lead {
    font-size: .94rem;
    line-height: 1.65;
    margin-bottom: 1.1rem;
  }
  .hero-visual {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
  }
  .hero-visual img {
    object-fit: contain !important;
    background: #F7F5EC;
    padding: .25rem;
    height: 100%;
    width: 100%;
  }
  .grid-4, .grid-3, .grid-2, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .product-card { padding: 0; }
  .product-card .thumb { margin: .5rem .5rem 0; aspect-ratio: 1 / 1; height: auto; border-radius: var(--radius-sm); }
  .product-card .thumb img,
  .post-thumb img,
  .hero-img,
  .article-hero img,
  .post-hero img,
  .page-hero img,
  .pd-gallery img,
  .qv-grid img,
  .cart-item img {
    object-fit: contain !important;
    background: #F7F5EC;
    padding: .25rem;
    border-radius: inherit;
    height: 100%;
  }
  .product-card > .info,
  .product-card > :not(.thumb) { padding-inline: .6rem; padding-bottom: .75rem; }
  .product-card .title { font-size: .85rem; line-height: 1.25; }
  .product-card .desc { font-size: .75rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-card .price-row { gap: .1rem; }
  .product-card .price { font-size: .9rem; }
  .product-card .actions { gap: .25rem; margin-top: .4rem; }
  .product-card .btn { padding: .55rem .4rem; font-size: .7rem; min-height: 40px; flex: 1; min-width: 0; white-space: normal; line-height: 1.2; }
  .product-card .cat-badge { top: .3rem; left: .3rem; font-size: .65rem; padding: .15rem .4rem; }
  .product-card .quick-view { padding: .4rem .5rem; font-size: .68rem; bottom: 6px; }
  .btn { padding: .75rem 1.1rem; font-size: .88rem; min-height: 44px; }
  .btn-lg { padding: .9rem 1.4rem; }
  .hero-cta { gap: .6rem; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .value { padding: .75rem 0; }
  .form { padding: 1.25rem; }
  .newsletter { flex-direction: column; }
  .newsletter button { width: 100%; }
  .qv-grid { grid-template-columns: 1fr; gap: 1rem; }
  .qv-grid img { height: 200px; }
}

@media (max-width: 360px) {
  .container { padding: 0 .9rem; }
  .section { padding: 2.25rem 0; }
  .hero { padding: 1.25rem 0 2.75rem; }
  .hero-copy h1 { font-size: 1.5rem; line-height: 1.15; }
  .hero-copy p.lead { font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
  .hero-visual { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
  .hero-cta { gap: .5rem; }
  .brand-title { font-size: .82rem; }
  .dd-label { display: none; }
  .final-cta-inner { padding: 2rem 1rem !important; }
  .final-cta-inner h2 { font-size: 1.4rem; }
  .btn { font-size: .85rem; padding: .7rem 1rem; }
  .testimonial { padding: 1.1rem; }
  .testimonial .avatar { width: 40px; height: 40px; font-size: .85rem; }
  .testimonial .name { font-size: .9rem; }
  .testimonial .country { font-size: .78rem; }
}

/* ================= Responsive polish ================= */

/* ---- Global overflow guards ---- */
html, body { overflow-x: hidden; }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

p, li, h1, h2, h3, h4, h5, h6, span, strong, em, a, button {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.info-card, .card, .product-card, .post-card, .faq-item, .panel, .stat-card,
.footer-links li, .cart-item, .cart-foot, .cart-head, .cart-body, .footer-tagline,
.breadcrumbs, .pill, .brand-copy .brand-title, .brand-copy .brand-sub,
.eyebrow, .post-meta, .post-tags {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---- Typography readability caps ---- */
.article-content,
.post-body,
.legal-body,
.post-card .post-excerpt,
.product-card .product-description,
.product-detail .description {
  max-width: min(68ch, 100%);
  margin-left: auto;
  margin-right: auto;
}
.article-content p,
.post-body p,
.legal-body p {
  line-height: 1.75;
}

/* ---- Hero imagery ---- */
.hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero .hero-img {
  box-shadow: var(--shadow-soft-lg);
}

.article-hero,
.post-hero,
.page-hero {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-hero img,
.post-hero img,
.page-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

/* ---- Public-page horizontal scroll containers ---- */
.public-table,
.shipping-table,
.rate-display {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- 44px tap targets (WCAG) ---- */
input[type=text],
input[type=email],
input[type=number],
input[type=password],
input[type=tel],
input[type=url],
input[type=date],
input[type=datetime-local],
select,
textarea {
  min-height: 44px;
}
textarea { min-height: 120px; }

/* ---- 1100px refinements ---- */
@media (max-width: 1100px) {
  .article-hero img,
  .post-hero img,
  .page-hero img { aspect-ratio: 21 / 9; }
}

/* ---- 768px refinements ---- */
@media (max-width: 768px) {
  .legal-body,
  .article-content,
  .post-body { max-width: 100%; }
  .hero-img { aspect-ratio: 16 / 10; }
  .hero-visual { aspect-ratio: 4 / 3; }
}

/* ---- 520px refinements ---- */
@media (max-width: 520px) {
  .btn {
    white-space: normal;
    line-height: 1.3;
  }
  .product-card .thumb { height: auto; aspect-ratio: 1 / 1; }
  .product-card .thumb img,
  .post-thumb img,
  .hero-img,
  .hero-visual img,
  .article-hero img,
  .post-hero img,
  .page-hero img,
  .pd-gallery img,
  .qv-grid img,
  .cart-item img { object-fit: contain !important; background: #F7F5EC; padding: .2rem; }
  .hero-img { aspect-ratio: 4 / 3; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .article-hero img,
  .post-hero img,
  .page-hero img { aspect-ratio: 16 / 10; }
  .hero-copy h1 { font-size: 1.7rem; line-height: 1.15; }
  .hero-copy p.lead { font-size: .94rem; line-height: 1.65; margin-bottom: 1.1rem; }
  .cart-drawer {
    width: min(420px, calc(100vw - 24px));
    right: 12px;
  }
  .qv-modal {
    margin: 0.5rem;
    max-width: calc(100vw - 1rem);
    padding: 1rem;
  }
  .qv-grid img {
    height: 200px;
    border-radius: var(--radius);
  }
}

/* ---- 360px refinements ---- */
@media (max-width: 360px) {
  .btn {
    letter-spacing: 0.04em;
    font-size: 0.82rem;
  }
  .hero h1 { font-size: 1.5rem; line-height: 1.15; }
  .hero-copy p.lead { font-size: .9rem; }
  .card,
  .panel { padding: 1rem !important; }
  .shop-filters .row-wrap,
  .filter-chips,
  .tags-row { gap: 0.4rem; }
  .shop-filters select,
  .shop-filters input[type=text],
  .shop-filters input[type=number] { width: 100%; }
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .cart-drawer {
    right: 0;
    width: 100vw;
    border-radius: 0;
  }
  .testimonial { padding: 1.1rem; }
}
