/* HAVRO — Zid Growth, 2026-12-01. Scoped storefront presentation. */
:root { --havro-cream:#f7f2ea; --havro-plum:#372443; --havro-purple:#5b3d69; --havro-line:#e5dcce; }
html { scroll-padding-top:100px; }
body { background:var(--havro-cream); color:var(--havro-plum); }
header { background:var(--havro-cream)!important; border-color:var(--havro-line)!important; }
header > nav { min-height:64px; }
header a { transition:color .18s ease; }
header a:hover { color:var(--havro-purple); }
/* The replaced stock banner is retained in the editor for reversibility. */
[section-id="614b627a-28b8-42eb-b46a-4f5c3ae1831c"] { display:none!important; }
.havro-cat { padding-block:40px 56px!important; }
.havro-cat h1 { font-size:clamp(36px,4.7vw,64px)!important; line-height:1.35!important; letter-spacing:-.035em; }
.havro-cat h2 { font-size:clamp(26px,2.7vw,36px)!important; line-height:1.5; }
.havro-cat p { line-height:1.9; }
.havro-cat a { min-height:46px; }
.section-products { max-width:1328px; margin-inline:auto; padding-block:40px!important; }
.section-products h2 { font-size:clamp(25px,2.5vw,34px); line-height:1.5; }
[data-product-card] { background:#fffcf7; border:1px solid var(--havro-line); border-radius:22px; padding:16px; box-shadow:0 5px 24px #37244306; }
[data-product-card] > a { background:#fff; border-radius:14px; }
[data-product-card] > a > img { width:100%; height:100%; aspect-ratio:1; object-fit:contain; max-height:340px; }
[data-product-card] h3 { font-size:17px; line-height:1.7; font-weight:600; }
[data-product-card] [data-add-to-cart] { background:var(--havro-purple); color:#fff; border-color:var(--havro-purple); border-radius:999px; min-height:46px; font-weight:600; }
[data-product-card] [data-add-to-cart]:hover { background:var(--havro-plum); }
[data-product-card] [data-wishlist-btn] { background:#fffcf7e8; border:1px solid var(--havro-line); border-radius:50%; }
#footer { background:#eee5d9!important; border-top:1px solid #dfd1c0; margin-top:48px; padding-block:52px!important; }
#footer h3 { font-size:17px; font-weight:700; margin-bottom:12px; }
#footer p { line-height:1.9; max-width:42ch; font-size:15px; }
#footer a { text-underline-offset:5px; line-height:1.9; }
#footer a:hover { color:var(--havro-purple); text-decoration:underline; }
#footer li:has(a[href^="tel:"]) { display:none!important; }
#footer img[alt="Havro"] { width:136px; height:auto; object-fit:contain; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:2px solid var(--havro-purple); outline-offset:4px; }
@media (max-width:767px) {
  header > nav { min-height:46px; }
  .havro-cat { padding-block:24px 30px!important; }
  .havro-cat h1 { font-size:36px!important; }
  .section-products { padding:24px 16px!important; }
  [data-product-card] { padding:11px; border-radius:17px; }
  [data-product-card] h3 { font-size:15px; }
  #footer { margin-top:24px; padding-block:32px!important; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } header a { transition:none; } }

/* Mobile refinement: two readable cards per row, including narrow phones. */
@media (max-width:767px) {
  .section-products h2 { font-size:22px!important; line-height:1.55; }
  .section-products a[href*="sort_by"] { white-space:nowrap; font-size:13px; flex-shrink:0; }
  .section-products div:has(> [data-product-card]) {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px 12px!important;
  }
  [data-product-card] { min-width:0; padding:10px; }
  [data-product-card] > a { display:block; aspect-ratio:1; overflow:hidden; }
  [data-product-card] > a > img { aspect-ratio:1; object-fit:contain; }
  [data-product-card] h3 { font-size:15px; line-height:1.6; min-height:48px; }
  [data-product-card] [data-add-to-cart] { min-height:46px; padding-inline:8px; font-size:14px; }
  .havro-cat__desc { font-size:16px!important; line-height:1.8!important; }
  #footer a[href^="mailto:"] { overflow-wrap:anywhere; }
}
@media (max-width:380px) {
  .havro-cat h1 { font-size:32px!important; }
  .section-products h2 { font-size:20px!important; }
}
/* HAVRO availability, category clarity and long descriptions v1 */
[data-product-card]:has([data-notify-me-trigger]) .badge.badge-filled:first-child{background:#b42332!important;color:#fff!important;border:1px solid #b42332!important;font-weight:700;padding:6px 9px;border-radius:8px;font-size:12px;line-height:1.4}
.havro-product-story{width:100%;max-width:900px;margin:0 auto}
.havro-product-story img{display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
@media(max-width:767px){
[data-product-card]:has([data-notify-me-trigger]) .badge.badge-filled:first-child{font-size:11px;padding:5px 7px}
}

/* Each home category has its own row, up to three products and a category link. */
body[data-template="home"] #main>.section-products {
  width:100%; min-width:0; margin:0 auto; padding:36px 24px!important;
}
body[data-template="home"] #main>.section-products [data-grid-root] {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
}
body[data-template="home"] #main>.section-products [data-grid-root]>[data-product-card]:nth-child(n+4) {
  display:none!important;
}
body[data-template="home"] #main>.section-products>.theme-container>div>div:first-child {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
body[data-template="home"] #main>.section-products h2 { margin:0; min-height:0; }
body[data-template="home"] #main>.section-products>.theme-container>div>div:first-child>a {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  flex-shrink:0; white-space:nowrap; min-height:44px; padding:8px 14px;
  border:1px solid var(--havro-line); border-radius:999px;
  font-size:14px; font-weight:600; background:#fffcf7; color:var(--havro-plum);
}
@media(max-width:767px) {
  body[data-template="home"] #main>.section-products { padding:24px 16px!important; }
  body[data-template="home"] #main>.section-products [data-grid-root] {
    grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:16px 12px!important;
  }
  body[data-template="home"] #main>.section-products>.theme-container>div>div:first-child { gap:12px; }
  body[data-template="home"] #main>.section-products h2 { font-size:20px!important; line-height:1.55; }
  body[data-template="home"] #main>.section-products>.theme-container>div>div:first-child>a { padding:8px 10px; font-size:13px; }
}

#features-details .prose img{display:block!important;width:100%!important;max-width:900px!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;margin:0 auto!important}
#features-details>.mt-4{padding-inline:0!important}