/* Storefront editorial styling and campaign motion. */
html { scroll-behavior: auto; }
body.gg-store {
  --gg-brand: #7a7d68;
  --gg-brand-hover: #656853;
  --theme-button-background-initial-color: var(--gg-brand);
  --theme-button-background-hover-color: var(--gg-brand-hover);
}
body.gg-store .gg-banner :is(h1,h2,h3) { font-family: "Chewy", cursive; color: var(--gg-brand); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; }
body.gg-store .gg-banner-description, body.gg-store .gg-banner-kicker { font-family: "Shadows Into Light", cursive; }
body.gg-store .gg-banner-description { font-size: 23px; line-height: 1.45; }
body.gg-store .gg-home-hero :is(h1,h2) { font-size: clamp(44px,4.7vw,67px); }
body.gg-store .gg-mini-banner h3 { font-size: 35px; }
body.gg-store :is(.gg-button,a.button,button.button,input[type="submit"],.checkout-button,.added_to_cart,.woocommerce-product-search button,.wc-block-components-button),
body.gg-store .gg-card-bottom a.button.added { background: var(--gg-brand) !important; border-color: var(--gg-brand) !important; color: #fff !important; }
body.gg-store :is(.gg-button,a.button,button.button,input[type="submit"],.checkout-button,.added_to_cart,.woocommerce-product-search button,.wc-block-components-button):hover,
body.gg-store .gg-card-bottom a.button:hover { background: var(--gg-brand-hover) !important; border-color: var(--gg-brand-hover) !important; color: #fff !important; }
.gg-header .gg-header-top { min-height: 98px; }
.gg-header .gg-navigation { margin-top: -12px; margin-bottom: 12px; }
.gg-search-panel { border: 0; background: transparent; box-shadow: none; padding: 0; overflow: visible; }
.gg-search-panel form { gap: 12px; align-items: center; }
body.gg-store .gg-search-panel input[type="search"] { flex: 1 1 0; width: 0; border: 0; outline: 0; box-shadow: none; background: #f0ede6; border-radius: 100px; padding-inline: 16px; height: 42px; min-height: 42px; }
body.gg-store:not(.gg-pointer-input) .gg-search-panel input[type="search"]:focus-visible { outline: 2px solid var(--gg-brand); outline-offset: 3px; }
.gg-search-panel button[type="submit"] { position: static; flex: 0 0 auto; min-height: 42px; }
.gg-joy-card { transition: transform .3s ease,box-shadow .3s ease; }
.gg-banner-link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.gg-banner-link:focus-visible { outline-offset: -5px !important; }
.gg-collections .gg-mini-banner-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.gg-joy-card { min-height: 0; aspect-ratio: 4 / 5; align-items: center; }
.gg-joy-card .gg-banner-copy { padding: 18px; text-align: center; }
body.gg-store .gg-joy-card h3 { margin: 0; font-size: clamp(23px,3.3vw,46px); line-height: 1.03; color: var(--gg-paper); text-shadow: 0 2px 12px #0008,0 1px 3px #0006; }
.gg-coaster-card { min-height: 520px; align-items: stretch; }
.gg-coaster-card .gg-banner-copy { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 30px 22px; }
body.gg-store .gg-coaster-card h3 { color: var(--gg-paper); text-shadow: 0 2px 12px #0008,0 1px 3px #0006; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .gg-joy-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px #62694b15; }
  .gg-product-frame:hover .gg-card-image img { transform: translateY(-2.5px) scale(1.025); }
}
/* Crop a moving photograph through a stationary frame; the wash and all copy remain still. */
.gg-banner-media { --gg-image-origin: 0px; --gg-image-span: 0px; position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.gg-banner-media .gg-banner-image { inset: auto; top: calc(-1 * var(--gg-image-origin)); left: 0; width: 100%; height: calc(100% + var(--gg-image-span)); max-width: none; z-index: auto; transform: translate3d(0,calc(var(--gg-image-shift,0px) + var(--gg-image-drop,0px)),0); will-change: transform; }
.gg-banner-media[data-image-drop] { --gg-image-focus-x: 65%; --gg-image-focus-y: 52%; }
.gg-banner-media[data-image-drop] .gg-banner-image { object-position: var(--gg-image-focus-x) calc(var(--gg-image-focus-y) + var(--gg-image-crop-drop,0px)); }
/* Explicit, non-negative layers keep the wash visible while the carousel is composited. */
.gg-banner::before { display: none; }
.gg-banner-wash { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,var(--gg-banner-paper) 0%,#f3eee3f2 20%,#f3eee3be 33%,#f3eee340 49%,transparent 63%); }
.gg-banner::after { z-index: 2; }
.gg-banner-copy { position: relative; z-index: 3; }
.gg-carousel-track { position: relative; left: 0; transform: none; transition: left .75s cubic-bezier(.22,.68,.3,1); }
.gg-slide { display: flex; }
.gg-slide > .gg-home-hero { width: 100%; }
.gg-home-hero .gg-banner-image[src*="-roomy"] { object-position: 65% 0%; }
.gg-joy-card .gg-banner-wash, .gg-coaster-card .gg-banner-wash { display: none; }
.gg-joy-card .gg-banner-image, .gg-coaster-card .gg-banner-image { object-position: 50% 78%; }
.gg-joy-card .gg-banner-image[src*="16-temple"] { object-position: 82% 65%; }
body.gg-store .gg-search-banner h1 { font-family: var(--gg-heading); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; font-size: clamp(30px,3.6vw,48px); }
body.gg-store .gg-search-banner .gg-banner-kicker { font-family: var(--gg-subhead); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
body.gg-store .gg-search-banner .gg-banner-description { font-family: var(--theme-font-family); font-size: 15px; line-height: 1.7; }
/* Each home product section is exactly one responsive row. */
.gg-favourite-row ul.products > .gg-product-card:nth-child(n+5) { display: none; }
body.gg-store .gg-product-frame { display: flex; flex-direction: column; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; border-radius: 21px; background: #f0ede6; }
body.gg-store .gg-product-frame .gg-card-image { display: block; position: relative; flex: 1 1 0; min-height: 0; border-radius: 0; background: transparent; overflow: hidden; }
body.gg-store .gg-product-frame .gg-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; padding: 12px; transition: transform .32s ease; }
body.gg-store .gg-product-frame .woocommerce-loop-product__title { flex: 0 0 6.5em; display: flex; align-items: flex-end; justify-content: center; min-height: 0; height: auto; margin: 0 !important; padding: 0 13px 19px; font-family: var(--gg-subhead); font-size: 12px; font-weight: 400; line-height: 1.45; letter-spacing: -.01em; text-align: center; }
.gg-product-frame .woocommerce-loop-product__title span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.gg-card-details { padding-top: 15px; }
/* Replace the add action while an item is in the bag; native Woo links are never duplicated. */
body.gg-store .gg-card-actions { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; width: 100%; gap: 7px; }
body.gg-store .gg-card-actions > .gg-view-cart, body.gg-store .gg-card-actions > .added_to_cart { display: none !important; }
body.gg-store .gg-card-actions:has(.gg-in-bag:not([hidden])) > .add_to_cart_button { display: none !important; }
body.gg-store .gg-card-actions:has(.gg-in-bag:not([hidden])) > .gg-view-cart { display: inline-flex !important; align-items: center; justify-content: center; }
body.gg-store .gg-card-actions .gg-in-bag { width: auto; flex: 0 0 auto; gap: 0; }
.gg-card-actions .gg-bag-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.gg-store .gg-card-actions .gg-bag-stepper button { min-width: 28px; min-height: 36px; color: var(--gg-brand-hover); }
body.gg-store .gg-card-actions .gg-bag-quantity { min-width: 17px; }
body.gg-store .gg-card-actions .gg-bag-stepper { border-color: #cbd0bf; }
/* A block image-link has a real focus rectangle. Inline links had outlined a short line box. */
body.gg-store .woocommerce-product-gallery__image > a { display: block; line-height: 0; border-radius: inherit; }
body.gg-store .woocommerce-product-gallery__image > a:focus-visible { outline-offset: -4px; }
body.gg-store.gg-pointer-input .woocommerce-product-gallery__image > a:focus { outline: none; box-shadow: none; }
@media (min-width:1100px) {
  .gg-store ul.products { grid-template-columns: repeat(5,minmax(0,1fr)) !important; }
  .gg-favourite-row ul.products > .gg-product-card:nth-child(n+5) { display: block; }
}
@media (min-width:761px) { .gg-editorial-intro { grid-template-columns: 1.1fr 1fr; gap: clamp(35px,5vw,72px); align-items: start; } }
@media (max-width:760px) {
  .gg-header .gg-header-top { min-height: 80px; }
  .gg-search-panel { top: 76px; }
  body.gg-store .gg-home-hero :is(h1,h2), body.gg-store .gg-banner :is(h1,h2) { font-size: 40px; }
  body.gg-store .gg-mini-banner h3 { font-size: 33px; }
  .gg-banner-media { height: 300px; bottom: auto; }
  .gg-home-hero .gg-banner-media { height: 330px; }
  .gg-banner-media[data-image-drop] { --gg-image-focus-x: 75%; --gg-image-focus-y: 58%; }
  .gg-mini-banner .gg-banner-media, .gg-archive-banner .gg-banner-media { height: 265px; }
  .gg-banner-wash { background: linear-gradient(180deg,transparent 0,transparent 165px,#f3eee380 240px,#f3eee3 300px); }
  .gg-home-hero .gg-banner-wash { background: linear-gradient(180deg,transparent 0,transparent 205px,#f3eee380 275px,#f3eee3 330px); }
  .gg-archive-banner .gg-banner-wash { background: linear-gradient(180deg,transparent 0,transparent 145px,#f3eee380 205px,#f3eee3 265px); }
  .gg-collections .gg-mini-banner-grid, .gg-table-banners .gg-mini-banner-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
  .gg-joy-card, .gg-coaster-card { min-height: 455px; border-radius: 18px; }
  .gg-collections .gg-mini-banner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .gg-joy-card { min-height: 0; }
  .gg-joy-card .gg-banner-media, .gg-coaster-card .gg-banner-media { height: 100%; bottom: 0; }
  .gg-joy-card .gg-banner-image[src*="02-puzzle"] { object-position: 33% 78%; }
  .gg-joy-card .gg-banner-image[src*="18-desk"] { object-position: 79% 78%; }
  .gg-coaster-card .gg-banner-image[src*="13-constellation"] { object-position: 82% 78%; }
  .gg-joy-card .gg-banner-copy { padding: 12px; }
  body.gg-store .gg-joy-card h3 { font-size: clamp(22px,6.7vw,38px); overflow-wrap: anywhere; hyphens: auto; }
  body.gg-store .gg-search-banner h1 { font-size: 32px; }
  .gg-coaster-card .gg-banner-copy { padding: 23px 9px 17px; gap: 30px; }
  body.gg-store .gg-coaster-card h3 { font-size: clamp(23px,5.7vw,35px); overflow-wrap: anywhere; }
  body.gg-store .gg-coaster-card .gg-button { font-size: 12px; padding: 10px 7px; line-height: 1.25; min-height: 52px; width: 100%; }
  .gg-coaster-card .gg-button svg { display: none; }
  .gg-favourite-row ul.products > .gg-product-card:nth-child(n+4) { display: none; }
  body.gg-store .gg-product-frame { border-radius: 14px; }
  body.gg-store .gg-product-frame .gg-card-image img { padding: 5px; }
  body.gg-store .gg-product-frame .woocommerce-loop-product__title { flex-basis: 5.3em; padding: 0 6px 10px; font-size: 10px; line-height: 1.35; }
  .gg-product-frame .woocommerce-loop-product__title span { -webkit-line-clamp: 3; }
  body.gg-store .gg-card-actions { gap: 4px; }
  body.gg-store .gg-card-actions > a.button { padding: 8px 7px; font-size: 10px; min-height: 36px; }
  body.gg-store .gg-card-actions > a.gg-view-cart { padding-inline: 4px; font-size: 9px; white-space: nowrap; }
  body.gg-store .gg-card-actions .gg-bag-stepper button { min-width: 18px; width: 18px; padding: 0; min-height: 34px; font-size: 14px; }
  body.gg-store .gg-card-actions .gg-bag-quantity { min-width: 13px; font-size: 10px; }
  .gg-card-details { padding-top: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .gg-carousel-track { transition: none; }
  .gg-banner-media { --gg-image-origin: 0px; --gg-image-span: 0px; }
  .gg-banner-media .gg-banner-image { transform: translateY(var(--gg-image-drop,0px)); will-change: auto; }
  .gg-joy-card, .gg-product-frame .gg-card-image img { transition: none; }
}
