/* HNK Aisles: keep the directory and the editorial storefront in one flow. */
.market-layout {
  width: min(1550px, calc(100% - clamp(44px, 6vw, 100px)));
  display: grid; grid-template-columns: clamp(187px, 15vw, 228px) minmax(0, 1fr);
  align-items: start; gap: 20px; padding-top: 18px;
}
.market-content { min-width: 0; container: market / inline-size; }
.market-content .wrap { width: 100%; }
.market-content [id] { scroll-margin-top: 130px; }
.market-content .hero-wrap { margin-top: 0; }
.browse-rail { display: none; }
.aisle-sidebar {
  position: sticky; top: 133px; max-height: calc(100svh - 147px);
  overflow: auto; scrollbar-width: thin; border-radius: 13px;
  background: #fffcf4; border: 1px solid #dedcce;
  box-shadow: 0 6px 21px #203b2a0a;
}
.aisle-card { padding: 11px; }
.aisle-heading { display: flex; align-items: center; gap: 8px; padding: 3px 4px 12px; border-bottom: 1px solid var(--line); }
.aisle-mark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #e7ede1; color: var(--pine); }
.aisle-mark .icon { width: 17px; height: 17px; }
.aisle-heading .eyebrow { font-size: 8px; letter-spacing: .13em; }
.aisle-heading h2 { margin-top: 3px; font: 400 23px/1 var(--display); letter-spacing: -.05em; }
.aisle-links, .aisle-quick { display: grid; gap: 2px; padding-block: 7px; }
.aisle-links a, .aisle-quick a {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 6px;
  min-height: 32px; padding: 4px 6px; border-radius: 6px; font-size: 11px; font-weight: 690; line-height: 1.2;
  transition: background .22s, color .22s;
}
.aisle-links a:hover, .aisle-quick a:hover { background: #f0f0e6; }
.aisle-links a[aria-current], .aisle-quick a[aria-current], .aisle-assist a[aria-current] { background: #e3eddf; color: #183b2a; }
.aisle-links .aisle-dot { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 5px; background: var(--aisle-tone,#ebe6d7); color: #234436; font-size: 8px; font-variant-numeric: tabular-nums; }
.aisle-links .icon, .aisle-quick .end-icon { width: 12px; height: 12px; opacity: .6; }
.aisle-quick { border-top: 1px solid var(--line); }
.aisle-quick a { padding-inline: 9px; }
.aisle-quick .icon { width: 15px; height: 15px; color: var(--clay); }
.aisle-assist { padding: 8px 10px 6px; border-radius: 8px; background: #f2ecdf; }
.aisle-assist div, .aisle-assist a { display: flex; align-items: center; gap: 6px; }
.aisle-assist div { font-size: 11px; }
.aisle-assist a { min-height: 30px; padding: 2px 3px; border-radius: 4px; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.aisle-assist .icon { width: 13px; height: 13px; color: var(--clay); }
.aisle-panel { margin: auto auto auto 0; height: 100%; max-height: 100%; width: min(370px, 91vw); padding: 19px; border-radius: 0 14px 14px 0; }
.aisle-panel .aisle-links a { min-height: 44px; padding-inline: 8px; font-size: 13px; }
.aisle-panel .aisle-assist a { min-height: 42px; font-size: 12px; }

.market-content .hero { height: clamp(402px, 37vw, 550px); display: flex; align-items: center; }
.hero-backdrops {
  position: absolute; z-index: -3; inset: -17px; isolation: isolate; overflow: hidden;
  transform: translate3d(var(--hero-x,0px),calc(var(--hero-y,0px) + var(--hero-scroll,0px)),0) scale(1.015);
  transition: transform .42s var(--ease);
}
.hero-backdrop { display: block; position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity .49s var(--ease); }
.hero-backdrop.is-active { z-index: 2; opacity: 1; }
.hero-backdrop.is-leaving { z-index: 1; opacity: 1; transition: none; }
.hero-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focal, 65% 54%); filter: saturate(.96) brightness(.90); transform: scale(1.035); }
.hero-backdrop.is-active img { animation: backdrop-drift 2.9s var(--ease) both; }
.hero-chai { --hero-focal: 68% 50%; }
.hero-kitchen { --hero-focal: 66% 49%; }
.hero-pets { --hero-focal: 72% 54%; }
@keyframes backdrop-drift {
  from { transform: translateX(.7%) scale(1.095); }
  to { transform: translateX(-.7%) scale(1.035); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,#101f18fa 0%,#111e18e7 29%,#13231bb9 43%,#17291f43 69%,#19241e22 100%),
    linear-gradient(0deg,#14231b8a,transparent 32%);
}
.aisles-hero-copy { width: min(64%,640px); padding: 16px 0 32px clamp(25px,4vw,64px); }
.aisles-hero-copy h1 { font-size: clamp(62px,6.2vw,104px); }
.aisles-hero-copy .hero-dek { max-width: 345px; }
.hero-controls .frame-count { display: inline-flex; align-items: center; justify-content: center; min-width: 60px; color: #fff4de; font-size: 10px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .085em; }
.hero-controls .rotate-toggle { margin-left: 1px; background: #f6e4bb; color: #1e3026; }
.hero-controls .rotate-toggle:hover:not(:disabled) { background: #fff3d4; }
.hero-controls .rotate-toggle:disabled { opacity: .52; cursor: default; }
.hero-caption #campaign-label { display: inline-block; min-width: 95px; }
.market-content .hero-stamp { width: 69px; height: 69px; }
html.motion-off .hero-backdrops { transform: none !important; }

.quick-lanes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 10px; }
.quick-lanes a {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 64px;
  padding: 8px 10px; border: 1px solid #e4d9c9; border-radius: 9px; background: #f3e8da;
  transition: background .25s, border-color .25s, translate .25s var(--ease);
}
.quick-lanes a:nth-child(2) { background: #e9eddf; border-color: #dce2d3; }
.quick-lanes a:nth-child(3) { background: #f0e9df; }
.quick-lanes a:hover { background: #fffbef; translate: 0 -2px; }
.quick-lanes strong, .quick-lanes small { display: block; }
.quick-lanes strong { font-size: 12px; }
.quick-lanes small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.quick-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #fffbf5; color: var(--pine); }
.quick-icon .icon, .quick-arrow { width: 15px; height: 15px; }
.quick-arrow { color: var(--clay); }
.weekly-grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: 11px; }
.story-tile { min-height: clamp(235px,25vw,330px); }
.story-tea { --photo-bg: #552c22; --focal: 62% 52%; --glass: #3b211dcc; }
.story-pets { --photo-bg: #4b5f48; --focal: 67% 53%; --glass: #253c30d6; }
.story-tile .glass-caption { width: min(310px,calc(100% - 24px)); inset: auto auto 12px 12px; }
.story-tile .glass-caption strong { font-size: clamp(25px,3vw,43px); }
.offer-section { padding: clamp(13px,2vw,24px); background: #f4e8da; border: 1px solid #e9d8c4; border-radius: 13px; }
.offer-section .shelf-window { background: transparent; }
.section-subtitle { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.market-content .shelf-band, .market-content .type-section { padding-inline: 15px; border: 1px solid #dedfd3; border-radius: 13px; margin-block: clamp(28px,4vw,48px); }
.market-content .shelf-track.product-grid { --columns: 5; }
.market-content .shelf-track .product h3 { font-size: 13px; }
.market-content .shelf-track .price { flex-wrap: wrap; gap: 0 4px; }
.market-content .shelf-track .price del { font-size: 10px; }
.brand-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.brand-grid a { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 82px; gap: 6px; padding: 8px 5px; border-radius: 9px; border: 1px solid var(--line); background: #fffdf4; transition: background .25s, translate .25s var(--ease); }
.brand-grid a:hover { background: #e9eee1; translate: 0 -3px; }
.brand-grid strong { text-align: center; font: 400 clamp(17px,1.8vw,26px)/1.08 var(--display); letter-spacing: -.04em; }
.brand-grid small { color: var(--muted); font-size: 10px; }
.catalogue-section { border-top: 1px solid var(--line); padding-top: clamp(22px,4vw,43px); }
.catalogue-tools { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 9px; background: #efece0; border: 1px solid #e0dbce; border-radius: 11px; padding: 11px; }
.catalogue-tools label { display: grid; gap: 5px; min-width: 0; font-size: 11px; font-weight: 700; }
.catalogue-tools input, .catalogue-tools select { min-width: 0; width: 100%; min-height: 43px; padding: 6px 8px; background: #fffcf4; color: var(--ink); border: 1px solid #d8d9cb; border-radius: 6px; font: 500 13px/1.3 system-ui,sans-serif; }
.catalogue-search { display: flex; align-items: center; position: relative; min-width: 0; }
.catalogue-search input { padding-left: 32px; }
.catalogue-search .icon { position: absolute; width: 15px; height: 15px; left: 10px; pointer-events: none; }
.catalogue-status { font-size: 11px; font-weight: 650; color: var(--muted); margin: 13px 0 8px; }
.catalogue-grid.product-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.catalogue-grid .product { padding: 7px; }
.catalogue-grid .product .pack { min-height: 0; }
.catalogue-grid .product h3 { font-size: 13px; }
.catalogue-grid > .empty-state { grid-column: 1/-1; }
.catalogue-more { margin: 17px auto 0; display: flex; }
.shopping-help {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(14px,3vw,42px); align-items: start;
  padding: clamp(19px,3.4vw,43px); border-radius: 15px; color: #fffaeb;
  background: radial-gradient(ellipse at 8% 9%,#305340 0%,#1c3a2c 43%,#142f24 100%);
}
.help-intro .eyebrow { display: flex; align-items: center; gap: 7px; color: var(--gold); }
.help-intro .eyebrow .icon { width: 16px; height: 16px; }
.help-intro h2 { margin: 7px 0; font: 400 clamp(37px,5vw,64px)/.98 var(--display); letter-spacing: -.045em; }
.help-intro > p:not(.eyebrow) { color: #e6e4d2; font-size: 13px; margin: 0 0 15px; }
.help-questions details { border-bottom: 1px solid #fff9e747; }
.help-questions summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 47px; font-weight: 700; font-size: 13px; }
.help-questions summary::-webkit-details-marker { display: none; }
.help-questions summary .icon { width: 16px; height: 16px; color: var(--gold); }
.help-questions details[open] .icon { rotate: 180deg; }
.help-questions details > p { font-size: 12px; line-height: 1.55; color: #eee8d8; margin: 0 0 10px; }

@container market (min-width: 990px) {
  .market-content .shelf-track.product-grid { --columns: 6; }
  .catalogue-grid.product-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@container market (max-width: 900px) {
  .market-content .shelf-track.product-grid { --columns: 4; }
  .catalogue-grid.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1040px) {
  .market-layout { display: block; }
  .aisle-sidebar { display: none; }
  .browse-rail { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
  .browse-rail button, .browse-rail a { display: inline-flex; align-items: center; gap: 6px; min-height: 43px; padding: 5px 9px; border-radius: 6px; color: var(--ink); background: #eeeee4; border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
  .browse-rail .icon { width: 15px; height: 15px; }
}
@media (max-width: 700px) {
  .market-layout { width: calc(100% - 26px); padding-top: 8px; }
  .market-content [id] { scroll-margin-top: 73px; }
  .market-content .hero { height: clamp(462px, 120vw, 548px); align-items: end; }
  .aisles-hero-copy { width: 100%; padding: 0 17px 70px; }
  .aisles-hero-copy h1 { font-size: clamp(49px, 12.8vw, 71px); }
  .aisles-hero-copy .hero-dek { max-width: min(95%,340px); }
  .hero-backdrops { inset: -7px -7px 32%; transform: translateY(var(--hero-scroll,0px)); }
  .hero-backdrop img { object-position: var(--hero-focal,65% 49%); }
  .hero-scrim { background: linear-gradient(0deg,#15271e 31%,#15271ef7 41%,#15271e99 55%,#15271e24 76%,#15271e22 100%); }
  .market-content .hero-stamp { width: 53px; height: 53px; }
  .market-content .hero-controls .glass-button { min-width: 44px; min-height: 44px; }
  .quick-lanes { gap: 5px; }
  .quick-lanes a { grid-template-columns: minmax(0,1fr); min-height: 72px; gap: 4px; padding: 7px; }
  .quick-icon { width: 26px; height: 26px; }
  .quick-icon .icon { width: 13px; height: 13px; }
  .quick-lanes strong { font-size: 11px; }
  .quick-lanes small { font-size: 9px; }
  .quick-lanes .quick-arrow { display: none; }
  .weekly-grid { gap: 8px; grid-template-columns: 1fr; }
  .story-tile { min-height: 205px; }
  .story-tile .glass-caption strong { font-size: clamp(23px,6.8vw,33px); }
  .offer-section, .market-content .shelf-band, .market-content .type-section { padding-inline: 9px; }
  .market-content .shelf-track.product-grid { --columns: 2; }
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .brand-grid a { min-height: 63px; }
  .catalogue-tools { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .catalogue-tools label:first-child { grid-column: 1/-1; }
  .catalogue-tools input, .catalogue-tools select { font-size: 16px; }
  .catalogue-grid.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .catalogue-grid .product { padding: 5px; }
  .shopping-help { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-backdrops { transform: none !important; }
  .hero-backdrop img, .quick-lanes a, .brand-grid a { transform: none !important; translate: none !important; }
}
html.motion-off .hero-backdrop img, html.motion-off .quick-lanes a, html.motion-off .brand-grid a { transform: none !important; translate: none !important; }


/* HNK's existing published campaigns within the expanded homepage. */
.release-banner-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 23px; }
.release-card { display: block; position: relative; min-height: 166px; border-radius: 13px; --photo-bg: #466450; }
.release-card .photo-surface { border-radius: inherit; }
.release-card .glass-caption { inset-inline: 12px; bottom: 12px; }
.release-card .glass-caption strong { font-size: clamp(20px, 2.2vw, 32px); }
.release-card .photo-img { object-position: 60% 49%; }
.release-restock { --focal: 60% 47%; --photo-bg: #573a28; }
.release-budget { --focal: 65% 53%; }
.release-blurb { display: block; margin-top: 3px; font-size: 11px; line-height: 1.3; color: #f9efdb; }
.release-kitchen { min-height: clamp(185px, 21vw, 285px); margin-bottom: 16px; --focal: 62% 46%; --photo-bg: #61634c; }
.release-kitchen .glass-caption { right: auto; max-width: calc(100% - 24px); min-width: min(390px, calc(100% - 24px)); }
.release-kitchen .photo-img { object-position: 64% 61%; }
.product-body .product-actions { margin-top: 10px; }
.bag-trigger .cart-count { display: grid; place-items: center; padding: 2px 6px; min-width: 20px; min-height: 20px; border-radius: 50px; background: var(--deep); color: white; font-size: 10px; }
.mobile-dock .cart-count { display: inline; font-weight: 720; }
.catalogue-grid[aria-busy="true"] { opacity: .75; }
.catalogue-more:disabled { cursor: wait; }
.hnk-market-home.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.hnk-market-home.admin-bar .aisle-card { top: calc(133px + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 700px) {
  .release-banner-row { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .release-card { min-height: 142px; }
  .release-kitchen { min-height: 176px; }
  .hnk-market-home.admin-bar .site-header { top: 0; }
}
