/* Photo-led storefront. Shared controls and their interaction states live in the store theme. */
@media (max-width: 760px), (max-width: 980px) and (pointer: coarse) {
  /* Keep the tinted glass surfaces without sampling the moving forest behind each layer. */
  body[data-page="home"] :is(.bb-mobile-header, .bb-mobile-nav),
  body[data-page="home"] #home > section.container,
  body[data-page="home"] #home :is(.service-strip, .product-badge, .category-card__count,
    .hero__badges > div, .hero__pricelists a, .hero__actions .button, .motion-toggle) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
[data-page="home"] main#home {
  --glass-edge: rgb(241 231 223 / 58%);
  --glass-surface: linear-gradient(118deg, #84645a57, #36211a8a 49%, #462d2562);
  --glass-light: inset 0 1px 1px #f8f3ee34, inset 0 -1px 1px #e5c98820;
  --frame: clamp(16px, 1.8vw, 24px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 20px);
  width: min(1420px, calc(100% - 2 * clamp(16px, 3vw, 48px)));
  margin: 12px auto 0;
  padding-bottom: clamp(28px, 3vw, 48px);
}
#home > .container {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0;
}
#home > :is(.category-section, .catalog-section, .promotions-section, .choice-section, .how-section, .trust-section, .customer-section, .content-section, .repeat-section) {
  padding: var(--frame);
  border: 1px solid var(--glass-edge);
  border-radius: 23px;
  background: radial-gradient(ellipse at 0 0, #ccbbae1b, transparent 45%), var(--glass-surface);
  box-shadow: var(--glass-light), 0 10px 25px #1a0d0938;
  backdrop-filter: blur(3px) saturate(1.1);
}
#home .section-heading { gap: 14px; margin-bottom: 17px; }
#home .section-heading .eyebrow { margin: 0 0 5px; color: #ecdfd4; }
#home .section-heading h2 { font-size: clamp(25px, 2.45vw, 36px); letter-spacing: -.035em; line-height: 1.12; }
#home .section-description { margin-top: 6px; color: #e3dbd5; }
#home .section-heading > .text-link { flex-shrink: 0; color: #edda9e; }

#home > .hero {
  display: grid;
  align-content: center;
  min-height: clamp(425px, 34vw, 495px);
  padding: clamp(30px, 3vw, 48px) clamp(25px, 3.8vw, 62px) 68px;
  border: 1px solid #bcaa9c87;
  border-radius: 22px;
  background: #2a1b1663;
  box-shadow: var(--glass-light), 0 14px 34px #150d0a4d;
}
#home .hero-scene {
  inset: 0 0 0 13%;
  background-position: 70% 18%;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
#home .hero::before {
  background: linear-gradient(90deg, #1f1411bc, #2d1e19a6 19%, #2b1d1982 41%, transparent 68%),
              linear-gradient(0deg, #2a1c18a1, transparent 24%);
}
#home .hero::after {
  background: radial-gradient(ellipse at 91% 100%, #d59e492e, transparent 34%);
}
@media (min-width: 981px) {
  #home .hero-atmosphere::before {
    content: "";
    position: absolute;
    left: 52%;
    top: 4%;
    width: min(36%, 485px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid #ffe1a185;
    box-shadow: -3px 0 14px #ffc15f40, inset 2px 0 7px #ffdc902e;
    mask-image: linear-gradient(105deg, transparent 0%, #000b 13%, #000 22%, transparent 49%);
    pointer-events: none;
  }
}
#home .hero__content { width: min(59%, 685px); max-width: none; }
#home .hero__content > .eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0 16px 6px 0;
  border-bottom: 1px solid #e2d7cf85;
  color: #efe9e5;
  font-weight: 650;
}
#home .hero h1 {
  max-width: 100%;
  font-size: clamp(37px, 4.1vw, 63px);
  line-height: 1.01;
  letter-spacing: -.048em;
  color: #fffcf0;
  text-wrap: balance;
}
#home .hero__lead {
  max-width: 52ch;
  margin: 13px 0 19px;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.48;
  color: #ebe5e1;
}
#home .hero__actions { gap: 9px; }
#home :is(.hero__actions, .choice-copy) .button--gold {
  color: #fefdfd;
  border: 1px solid #ecdacd;
  background: linear-gradient(110deg, #896346, #6b4c34 65%, #805b3f);
  box-shadow: inset 0 1px 3px #faf4ef77, inset 0 -2px 7px #f6ebe224, 0 0 15px #ead3c132;
}
#home :is(.hero__actions, .choice-copy) .button--gold:hover { background: linear-gradient(110deg, #9b7151, #745239 65%, #8a6447); }
#home .hero__actions .button--glass {
  color: #f8f4f1;
  background: linear-gradient(135deg, #b7a49545, #33231f9c);
  border-color: #e9e0d980;
  box-shadow: inset 0 1px 1px #f8f2ed45;
}
#home .hero__pricelists { display: flex; flex-wrap: wrap; width: auto; gap: 8px; margin-top: 9px; }
#home .hero__pricelists a {
  width: auto;
  gap: 7px;
  min-height: 41px;
  padding: 5px 13px 5px 7px;
  border-radius: 12px;
  border-color: #e1d6ce5e;
  background: linear-gradient(125deg, #78625282, #36251fcc);
}
#home .hero__pricelist-icon { flex-basis: 24px; width: 24px; height: 24px; background: #d8c2b120; border-color: #e9d69c84; color: #ffe8a6; }
#home .hero__proof { display: flex; gap: 5px 14px; margin-top: 14px; color: #f0e8e1; }
#home .hero__badges { display: grid; top: 25px; right: 20px; left: auto; bottom: auto; gap: 8px; }
#home .hero__badges > div {
  width: clamp(132px, 12vw, 170px);
  padding: 10px;
  border-color: #efe4dc9e;
  border-radius: 13px;
  backdrop-filter: blur(6px);
  background: linear-gradient(140deg, #8f756172, #3d2720a6 65%, #7d624e65);
  box-shadow: inset 1px 1px 4px #fbf6f255, 0 3px 10px #1e100c35;
}
#home .hero__caption { right: 24px; bottom: 64px; color: #faf4ef; }
#home .hero-explore { left: clamp(25px, 3.8vw, 62px); bottom: 11px; }
#home .motion-toggle { right: 19px; bottom: 11px; }
#home .home-shortcuts { min-height: 44px; padding: 0 12px; border-bottom-color: #d7c9bf48; }

#home > .category-section {
  background: radial-gradient(ellipse at 100% 94%, #ad978738, transparent 46%), var(--glass-surface);
}
#home .category-grid {
  --category-gap: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px var(--category-gap);
  padding: 0 5px;
  margin: 0;
  overflow: visible;
}
#home .category-card {
  --category-photo-height: clamp(118px, 9.6vw, 165px);
  --tile-lean: -2.6deg;
  flex: 1 1 calc((100% - 4 * var(--category-gap)) / 5);
  min-width: 0;
  min-height: 0;
  padding: var(--category-photo-height) 16px 13px;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid #ece0d696;
  border-radius: 22px 13px 25px 12px;
  transform: skewX(var(--tile-lean));
  color: #fefcfb;
  background: linear-gradient(145deg, #775a5166, #2d1d18b3 70%, #4d3a3561);
  box-shadow: -2px -1px 8px #f7d28a24, 2px 2px 9px #f1ded02d, 0 6px 14px #26140e66;
}
#home .category-card > :is(span, small), #home .category-card::before {
  transform: skewX(calc(-1 * var(--tile-lean)));
}
#home .category-card::before {
  inset: 0 -8px auto;
  height: calc(var(--category-photo-height) + 70px);
  max-height: 100%;
  background-position: center 49%;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
  mask-image: linear-gradient(to bottom, #000 28%, #000f 37%, #000d 49%, #0008 63%, #0003 80%, transparent 98%);
}
#home .category-card::after {
  inset: 0;
  border: 0;
  border-radius: inherit;
  corner-shape: inherit;
  background: linear-gradient(136deg, #fff4ca20, transparent 21%),
              radial-gradient(ellipse at 104% 104%, #e6d3c538, transparent 59%);
  box-shadow: inset 1px 1px 3px #ffecba50, inset -1px -1px 3px #f0e1d561;
  pointer-events: none;
}
#home .category-card:is(:focus-visible, :hover) { transform: translateY(-2px) skewX(var(--tile-lean)); box-shadow: -2px -2px 11px #f8dc9847, 2px 2px 12px #f1dfd24a, 0 6px 16px #25130d52; }
#home .category-card:focus-visible { outline: 2px solid #ffe4ab; outline-offset: 2px; }
#home .category-card__label { font-size: clamp(17px, 1.55vw, 23px); line-height: 1.15; max-width: 100%; color: #fdfbfa; }
#home .category-card__summary { margin-top: 5px; color: #eae5e0; max-width: 100%; line-height: 1.35; font-size: 11px; }
#home .category-card__count { position: absolute; inset: 10px auto auto 12px; margin: 0; padding: 3px 8px; border: 1px solid #dacec55e; border-radius: 20px; background: #3e2922dc; color: #f6f1ed; }
#home .category-card__cta { width: 100%; justify-content: space-between; gap: 5px; margin-top: auto; padding-top: 9px; color: #f0dda1; }
#home .category-card__cta b { display: grid; place-items: center; width: 23px; height: 23px; font-size: 15px; border: 1px solid #ded4cb7d; border-radius: 50%; }
#home .service-strip { padding: 12px 15px; border-radius: 16px; background: linear-gradient(105deg, #7c665466, #33201a88 65%, #6351435f); backdrop-filter: blur(4px); box-shadow: var(--glass-light); }

#home > .choice-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-column: span 7;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: space-between;
  border-top-right-radius: 43px 58px;
  corner-shape: round bevel round round;
  background: var(--glass-surface);
}
#home > .choice-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 64px;
  background: url("home-scenes/help-husky-wide.jpg") 81% 30% / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 4%, #0002 28%, #000 63%), linear-gradient(#000 72%, transparent);
  mask-composite: intersect;
}
#home .choice-copy { max-width: 63%; }
#home .choice-copy h2 { font-size: clamp(25px, 2.45vw, 38px); line-height: 1.02; }
#home .choice-copy > p:not(.eyebrow) { margin: 10px 0 16px; color: #e9e3df; }
#home .choice-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#home .need-card { min-height: 86px; padding: 24px 10px 10px; border-color: #ded3ca6b; border-radius: 14px 8px 19px 9px; corner-shape: round round bevel round; background: linear-gradient(130deg, #9c786d58, #37231d99); }
#home .need-card > span { top: 7px; left: 10px; }
#home .need-card i { top: 6px; right: 10px; font-size: 14px; }
#home .need-card b { font-size: 15px; line-height: 1.18; }
#home > .how-section { grid-column: span 5; border-bottom-left-radius: 41px 28px; corner-shape: round round round bevel; }
#home .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
#home :is(.steps-grid article,.customer-card) { padding: 14px; border-radius: 16px; border-color: #e2d9d17d; background: linear-gradient(140deg, #b6a39444, #37241e68); box-shadow: var(--glass-light); }
#home .steps-grid article { border-radius: 19px 10px 10px 10px; corner-shape: bevel round round round; }
#home .steps-grid article > span { width: 27px; height: 27px; }
#home .steps-grid h3 { margin: 10px 0 5px; font-size: 15px; }
#home :is(.steps-grid,.customer-grid,.trust-points) p { color: #e1d9d3; }

#home > .trust-section { grid-template-columns: .95fr 2.2fr; align-items: center; gap: clamp(16px, 3vw, 44px); }
#home .trust-section h2 { font-size: clamp(24px, 2.3vw, 35px); }
#home .trust-section > div > p:not(.eyebrow) { margin: 10px 0 14px; }
#home .trust-points { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
#home .trust-points article { display: block; height: 100%; padding: 0 0 0 14px; border: 0; border-left: 1px solid #e0d1c650; }
#home .trust-points article > span { margin-bottom: 10px; border-color: #d7c4b56e; color: #f1e4da; }
#home > .customer-section { grid-column: span 6; }
#home > .content-section { grid-column: span 6; border-top-right-radius: 35px 21px; corner-shape: round bevel round round; }
#home .customer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
#home .customer-card { min-width: 0; padding: 12px; }
#home .customer-card > span { margin-bottom: 12px; }
#home .customer-card a { overflow-wrap: anywhere; }
#home .guide-card:only-child { grid-template-columns: 44% 1fr; min-height: 200px; border-radius: 14px 23px 14px 18px; corner-shape: round bevel round round; background: linear-gradient(150deg,#fdfaf7db,#ede5dfce); }
#home .guide-card:only-child .guide-image { min-height: 200px; background: url("home-scenes/article-english-setter.jpg") 14% center / cover; }
#home .guide-card:only-child .guide-meta { margin: 20px 18px 8px; color: #635143; }
#home .guide-card:only-child > b { margin-inline: 18px; font-size: clamp(18px, 1.7vw, 25px); }
#home .guide-card:only-child .guide-arrow { margin: 12px 18px 20px; color: #5e4939; }


#home .repeat-section h2 { font-size: clamp(23px, 2.2vw, 34px); }

#home > .repeat-section { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; color: #f9f5f2; background: radial-gradient(ellipse at 98% 2%,#a2887466,transparent 53%),var(--glass-surface); }
#home .repeat-section .eyebrow { color: #e4d8cf; }
#home .repeat-section p:last-child { color: #e3dcd6; }
#home > .promotions-section { background: radial-gradient(ellipse at 90% 40%, #9d772f35, transparent 52%), var(--glass-surface); }
@media (min-width: 801px) {
  #home > .promotions-section {
    display: grid;
    grid-template-columns: minmax(225px, .8fr) minmax(0, 1.7fr);
    gap: 14px;
    align-items: stretch;
  }
  #home .promotions-section .section-heading {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    padding: 20px;
    background: linear-gradient(105deg, #312821ef, #382e26af), url("home-webp/category-beef.webp") center / cover;
    border-radius: 15px;
    border: 1px solid #e3cd895e;
  }
  #home .promotions-section .promo-campaign-card { margin: 0; }
  #home .promotions-section .promotion-grid { grid-column: 1 / -1; }
  #home .promotions-section .promotion-grid:empty { display: none; }
}

/* A narrow reflection follows the frame without covering photos, text or controls. */
@supports (mask-composite: exclude) {
  #home > :is(.category-section, .choice-section) { position: relative; }
  #home > :is(.category-section, .choice-section)::after {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 2px;
    border-radius: inherit;
    corner-shape: inherit;
    pointer-events: none;
    background:
      radial-gradient(ellipse 14% 54% at 6% 0%, #ffe2a0, #d8ae5975 42%, transparent),
      radial-gradient(ellipse 18% 72% at 100% 86%, #f5e9e0, #dcc5b370 38%, transparent);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
}
@media (max-width: 1140px) {
  #home .category-card { flex-basis: calc((100% - 2 * var(--category-gap)) / 3); }
}
@media (max-width: 1050px) {
  #home > :is(.customer-section, .content-section) { grid-column: 1 / -1; }
  #home .customer-grid { gap: 12px; }
  #home .hero__content { width: 64%; }
  #home .hero__badges > div { width: 122px; }
}
@media (max-width: 800px) {
  #home > :is(.choice-section, .how-section, .repeat-section) { grid-column: 1 / -1; }
  #home .choice-copy { max-width: 58%; }
  #home .steps-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #home > .trust-section { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 1050px) {
  #home .hero__badges {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 13px;
  }
  #home .hero__badges > div { width: auto; padding: 6px 10px; }
}
@media (max-width: 700px) {
  #home > .hero { min-height: 0; padding: 0 19px 58px; align-content: end; border-radius: 18px; }
  #home .hero-scene {
    inset: 0 0 auto;
    height: clamp(205px, 53vw, 330px);
    background-size: cover;
    background-position: 71% 17%;
    mask-image: linear-gradient(#000 62%, transparent 100%);
  }
  #home .hero::before { background: linear-gradient(0deg, #31211db8 10%, #31211d9c 52%, transparent 80%); }
  #home .hero__content { width: 100%; margin-top: clamp(183px, 46vw, 280px); }
  #home .hero__content > .eyebrow { margin-bottom: 7px; }
  #home .hero h1 { font-size: clamp(32px, 7vw, 43px); }
  #home .hero__lead { margin: 10px 0 13px; font-size: 14px; }
  #home .hero__actions { display: flex; }
  #home .hero__actions .button { min-height: 43px; }
  #home .hero__proof { margin-top: 10px; }
  #home .hero__caption { display: block; top: 16px; left: 16px; bottom: auto; right: auto; text-align: left; }
  #home .hero__badges { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 13px; }
  #home .hero__badges > div { width: auto; padding: 7px 8px; }
  #home .hero-explore { left: 17px; bottom: 6px; }
  #home .motion-toggle { right: 15px; bottom: 6px; }
  #home .home-shortcuts { padding-inline: 0; }
  #home .section-heading { align-items: start; flex-wrap: wrap; gap: 8px; }
  #home .section-heading > .text-link { min-height: 30px; }
  #home .category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; gap: 9px 12px; }
  #home .category-card { --category-photo-height: clamp(86px, 23vw, 144px); --tile-lean: -1.8deg; padding-inline: 12px; }
  #home .category-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 119px;
    padding: 12px 12px 12px calc(43% + 12px);
    justify-content: center;
  }
  #home .category-card:last-child:nth-child(odd)::before {
    inset: 0 37% 0 0;
    height: 100%;
    background-position: center;
    background-size: cover;
    mask-image: linear-gradient(to right, #000 25%, #000e 42%, #0008 65%, transparent 99%);
  }
  #home .choice-cards, #home .customer-grid, #home .trust-points { grid-template-columns: repeat(auto-fit,minmax(min(100%,155px),1fr)); }
  #home .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #home .trust-points article { padding: 9px 0 0; border-left: 0; border-top: 1px solid #e0d1c650; }
  #home .service-strip { padding: 11px; }
}
@media (max-width: 600px) {
  [data-page="home"] main#home { width: calc(100% - 28px); gap: 11px; }
  #home > :is(.category-section,.catalog-section,.promotions-section,.choice-section,.how-section,.trust-section,.customer-section,.content-section,.repeat-section) { border-radius: 17px; }
  #home > .choice-section::before {
    position: static;
    height: clamp(135px, 38vw, 205px);
    margin: calc(-1 * var(--frame)) calc(-1 * var(--frame)) -22px;
    background: url("home-scenes/help-husky-wide.jpg") 78% 36% / cover no-repeat;
    mask-image: linear-gradient(#000 72%, transparent);
  }
  #home .choice-copy { max-width: 100%; }
  #home .category-card__count { inset: 8px auto auto 9px; padding: 2px 6px; }
  #home .category-card__label { font-size: clamp(15px, 3.8vw, 19px); }
  #home .category-card__cta b { width: 19px; height: 19px; }
  #home .choice-cards { grid-template-columns: 1fr; }
  #home .need-card { min-height: 50px; padding: 8px 28px 8px 34px; }
  #home .need-card > span { inset: 12px auto auto 9px; }
  #home .customer-grid, #home .trust-points { grid-template-columns: 1fr; }
  #home .customer-card { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
  #home .customer-card > span { grid-row: 1 / 4; margin: 0; }
  #home .customer-card h3 { margin-bottom: 4px; }
  #home .customer-card a { margin-top: 5px; }
  #home .trust-points article { display: flex; gap: 12px; }
  #home .guide-card:only-child { display: flex; min-height: 0; }
  #home .guide-card:only-child .guide-image { min-height: 160px; height: 160px; background-position: 30% 48%; }



}
