.shop-home {
  --shop-ink: #242d27;
  --shop-green: #264d3d;
  --shop-line: #dfe6df;
  background: #f7f8f4 !important;
  color: var(--shop-ink);
}
.shop-home .site-header .header-main { min-height: 72px !important; }
.shop-home .brand-logo > img { width: 168px !important; }
.shop-home .header-actions .cartBtn,
.shop-home .search button,
.shop-home #grid .card .add { background: var(--shop-green) !important; border-color: var(--shop-green) !important; }
.shop-home .discovery-panel {
  position: static !important;
  transform: none !important;
  pointer-events: auto !important;
  padding-bottom: 8px !important;
}
.shop-home .discovery-panel .search { max-width: none !important; min-height: 46px !important; }
.shop-home .category-nav {
  display: flex !important;
  gap: 6px !important;
  padding: 8px 20px 12px !important;
  margin: 0 auto !important;
  overflow-x: auto !important;
}
.shop-home .category-nav .cat {
  flex: 0 0 auto;
  width: auto !important;
  min-height: 42px !important;
  padding: 8px 13px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.shop-home .cat .cat-visual { display: none !important; }
.shop-home .category-nav .cat.active { background: #eaf1eb !important; color: var(--shop-green) !important; border-color: #b9cbbd !important; }
.shop-hero, .shop-services, .shop-location { width: min(1272px, calc(100% - 40px)); margin-inline: auto; }
.shop-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-top: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: #eaf0e8;
}
.shop-intro { padding: clamp(24px, 4vw, 54px); }
.shop-kicker, .shop-location small {
  color: #496153;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .07em;
}
.shop-intro h1 {
  font: 500 clamp(36px, 5vw, 68px)/1.02 Georgia, serif;
  color: #244435;
  margin: 12px 0;
}
.shop-intro p { margin: 0 0 20px; color: #415449; }
.shop-hero img { width: 100%; height: 100%; min-height: 0; max-height: 350px; object-fit: cover; display: block; }
.shop-cta, .shop-location button, #v3Choose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--shop-green);
  background: var(--shop-green);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.shop-services { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding: 14px 0; font-size: 13px; color: #405749; }
.shop-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: white;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  padding: 12px 16px;
}
.shop-location strong { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.shop-location button { flex-shrink: 0; color: var(--shop-green); background: #fff; }
.shop-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; padding: 16px; }
.shop-footer-links a { color: white; }
.shop-home main#products { scroll-margin-top: 16px; }
.shop-home :focus-visible { outline: 2px solid #397858; outline-offset: 3px; }
#v3Gate {
  position: fixed;
  inset: 0;
  width: min(420px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 24px;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  background: white;
  color: var(--shop-ink);
  box-shadow: 0 16px 50px #17261d36;
}
#v3Gate::backdrop { background: #182a20a6; }
#v3Gate h2 { margin: 8px 0; font: 500 30px/1.15 Georgia, serif; }
#v3Gate p { margin: 0 0 16px; color: #506157; font-size: 14px; }
#v3Gate label { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 700; }
#v3Gate select { width: 100%; min-height: 44px; margin-bottom: 12px; border: 1px solid #c8d4cb; border-radius: 8px; padding: 8px; font: inherit; background: #f8faf8; color: #242d27; }
#v3Gate select:disabled { color: #607066; opacity: 1; }
#v3Gate #v3GateError { color: #a02234; margin-bottom: 10px; }
#v3GateError:empty { display: none; }
#v3Choose { width: 100%; }
@media (max-width: 650px) {
  .shop-home .brand-logo > img { width: 130px !important; }
  .shop-home .header-actions .cartBtn span { font-size: 11px; }
  .shop-home .category-nav { padding-inline: 14px !important; }
  .shop-hero, .shop-services, .shop-location { width: calc(100% - 24px); }
  .shop-hero { grid-template-columns: 1fr; margin-top: 12px; }
  .shop-hero img { height: 132px; }
  .shop-intro p { font-size: 14px; }
  .shop-services { font-size: 12px; }
  #v3Gate { padding: 20px; }
}
.shop-home:has(#v3Gate[open]) { overflow: hidden; }
.shop-home .discovery-panel .location[hidden] { display: none !important; }

/* Storefront header and photo-led category navigation */
.shop-home {
  --shop-green: #16536b;
  --shop-line: #dbe6eb;
  background: #f5f7fa !important;
}
.shop-home .site-header .header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 38px);
}
.shop-home .discovery-panel {
  grid-column: 2;
  min-width: 0;
  padding: 0 !important;
}
.shop-home .discovery-panel .search {
  background: #f3f7fa !important;
  border-color: #d9e4eb !important;
}
.shop-home .category-nav {
  justify-content: space-between;
  scrollbar-width: thin;
}
.shop-home .category-nav .cat {
  flex: 1 0 98px;
  background: transparent !important;
  border: 0 !important;
  gap: 7px !important;
  padding: 6px 4px 10px !important;
  font-size: 12px !important;
  white-space: normal;
  text-align: center;
  justify-content: flex-start !important;
}
.shop-category-image {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #e3eaf0;
  background: #eef4f7;
}
.shop-home .cat.active .shop-category-image,
.shop-home .cat:hover .shop-category-image { border-color: #28738c; }
.shop-home .category-nav .cat.active { color: #15536c !important; background: #edf5f9 !important; }
.shop-location { margin-top: 16px; }
.shop-location-label { display: flex; align-items: center; gap: 10px; color: #16536b; }
.shop-location-label svg { flex-shrink: 0; }
.shop-hero {
  grid-template-columns: 1.1fr 1fr;
  margin-top: 14px;
  background: #e3eff6;
  border-radius: 12px;
}
.shop-intro { padding: clamp(20px, 3vw, 36px); }
.shop-intro h1 { font: 750 clamp(30px, 4vw, 53px)/1.05 'Segoe UI', Arial, sans-serif; color: #173d51; }
.shop-hero img { max-height: 288px; }
.shop-home main#products .title h2 { color: #213d4a !important; font-family: inherit !important; }
.shop-home #grid .card { border-color: var(--shop-line) !important; border-radius: 10px !important; box-shadow: none !important; }
.shop-home footer { background: #173d51 !important; }
@media (max-width: 760px) {
  .shop-home .site-header .header-main { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .shop-home .header-actions { grid-column: 2; grid-row: 1; }
  .shop-home .discovery-panel { grid-column: 1 / -1; grid-row: 2; }
  .shop-home .category-nav .cat { flex-basis: 76px; font-size: 11px !important; }
  .shop-category-image { width: 55px; height: 55px; }
}
@media (max-width: 550px) {
  .shop-hero { grid-template-columns: 1.3fr 1fr; }
  .shop-hero img { height: 100%; max-height: none; }
  .shop-intro { padding: 15px 12px; }
  .shop-intro h1 { font-size: clamp(20px, 6.2vw, 34px); }
  .shop-kicker { font-size: 10px; }
  .shop-intro p { margin-bottom: 12px; font-size: 12px; }
  .shop-cta { padding-inline: 10px; font-size: 12px; }
  .shop-location { padding: 8px 10px; }
  .shop-location button { font-size: 13px; }
}

@media (max-width: 550px) {
  .shop-home .site-header .brand-logo > img { width: clamp(128px, 42vw, 165px) !important; }
  .shop-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 195px; }
  .shop-hero img { object-position: 50% 46%; }
  .shop-intro h1 { font-size: clamp(20px, 5.8vw, 32px); }
}

.shop-whatsapp {
  position: fixed;
  z-index: 20;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #bfd7ca;
  border-radius: 24px;
  background: #fff;
  color: #175440;
  box-shadow: 0 4px 16px #193e5424;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.shop-whatsapp-icon { display: flex; }
.shop-whatsapp-icon svg { width: 20px; height: 20px; }
.shop-whatsapp:hover { background: #edf7f0; }

@media (max-width: 760px) {
  .shop-home .site-header .brand-logo > img {
    width: clamp(118px, 34vw, 138px) !important;
    max-height: none;
  }
  .shop-home .header-actions .trackBtn { display: none !important; }
  .shop-home .category-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 4px !important;
    overflow: visible !important;
  }
  .shop-home .category-nav .cat {
    width: 100% !important;
    min-width: 0 !important;
    padding: 6px 2px !important;
    line-height: 1.15 !important;
  }
  .shop-home .category-nav .cat span { overflow-wrap: anywhere; }
  .shop-category-image { width: clamp(36px, 12vw, 54px); height: clamp(36px, 12vw, 54px); }
}
