.product-main,.catalog-main{max-width:var(--page-max-width);margin:0 auto;padding:30px var(--page-gutter) var(--space-20)}.breadcrumbs{display:flex;flex-wrap:wrap;gap:var(--space-3);font-size:var(--text-sm);color:var(--muted);margin-bottom:var(--space-8)}.breadcrumbs a:hover{text-decoration:underline}.product-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:var(--page-gutter);align-items:start}.product-photo{width:100%;height:610px;display:block;object-fit:cover;object-position:center 70%;border-radius:var(--radius-card);background:var(--cream)}.gallery-thumbnails{display:flex;gap:var(--space-3);margin-top:15px}.thumbnail{padding:var(--space-1);border:1px solid var(--line);border-radius:7px;background:var(--white)}.thumbnail.is-selected{border:2px solid var(--green);padding:3px}.thumbnail img{display:block;width:75px;height:75px;object-fit:cover;border-radius:3px}.product-information h1{font-family:var(--serif);font-size:clamp(1.68rem,2.72vw,2.56rem);font-weight:var(--weight-regular);line-height:1.17;letter-spacing:-.5px;margin-bottom:var(--space-5)}.product-information h1 em{color:var(--green)}.product-subtitle{color:var(--muted);font-size:var(--text-base)}.product-tags{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:0 0 var(--space-4)}.product-tags span{font-size:var(--text-xs);background:var(--cream);padding:5px var(--space-3);border-radius:var(--radius-chip)}.product-facts{padding:0;background:none;margin:0}.product-facts>div{display:grid;grid-template-columns:110px 1fr;gap:var(--space-5);border-bottom:1px solid var(--line);padding:var(--space-3) 0}.product-facts dt{margin:0}.product-facts dd{font-size:var(--text-label);margin:0;white-space:normal}.product-story{max-width:760px;margin:var(--space-20) auto 0;border-top:1px solid var(--line);padding-top:50px}.product-story .eyebrow{color:var(--muted)}.product-story p:not(.eyebrow){color:var(--text-story)}.catalog-heading{text-align:center;margin:55px 0}.catalog-heading h1{font-family:var(--serif);font-size:2.275rem;font-weight:var(--weight-regular);line-height:var(--line-height-heading);margin-bottom:0}.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-7)}.product-card>picture img{display:block;width:100%;height:292px;object-fit:cover;object-position:center 75%;border-radius:var(--radius-md)}@media(max-width:850px){.product-layout{gap:var(--space-8)}.product-photo{height:510px}.catalog-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.product-main,.catalog-main{padding:22px var(--page-gutter-mobile) 50px}.breadcrumbs{gap:var(--space-2);font-size:var(--text-xs);margin-bottom:22px}.product-layout{grid-template-columns:1fr;gap:25px}.product-photo{height:auto;aspect-ratio:1;object-fit:cover;object-position:center 75%}.product-information h1{font-size:1.76rem}.product-story{margin-top:45px;padding-top:35px}.catalog-grid{grid-template-columns:1fr}.catalog-heading{margin:35px 0}.product-card>picture img{height:auto;aspect-ratio:6/5}.product-facts>div{grid-template-columns:90px 1fr;gap:15px}}

.button:disabled{opacity:.55;cursor:not-allowed}.button:disabled:hover{transform:none;background:var(--green)}.bear-photo{object-position:center}.price-pending{color:var(--muted)}

.product-features {
  margin-bottom: var(--space-4);
}
.product-features h2 {
  margin-bottom: var(--space-1);
  font: var(--weight-semibold) var(--text-base)/var(--line-height-heading) var(--sans);
}
.product-features ul {
  margin: 0;
  padding-inline-start: var(--space-5);
}

.product-order {
  container-type: inline-size;
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-6);
  padding: var(--space-4);
  background: var(--cream);
  border-radius: var(--radius-card);
}
.product-order-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-4);
}
.product-order .product-price {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  line-height: var(--line-height-heading);
}
.product-price-amount {
  position: relative;
  top: -.1em;
}
.product-availability {
  position: relative;
  top: -.1em;
  margin: 0;
  font-size: var(--text-lead);
  font-weight: var(--weight-semibold);
  color: var(--green);
}
.product-facts-title {
  margin: var(--space-5) 0 0;
  font: var(--weight-semibold) var(--text-base)/var(--line-height-heading) var(--sans);
}
.catalog-intro {
  max-width: 46rem;
  margin: var(--space-2) auto 0;
  color: var(--muted);
}
.product-shelf {
  margin-top: var(--space-10);
}
.personalization-page .catalog-heading .button {
  margin-top: var(--space-4);
}
.personalization-copy {
  max-width: 46rem;
  margin: var(--space-8) auto 0;
}
.personalization-copy li + li,
.personalization-copy details {
  margin-top: var(--space-3);
}
.personalization-copy summary {
  cursor: pointer;
  font-weight: var(--weight-semibold);
}
.product-order > p {
  margin: 0;
  font-size: var(--text-label);
}
.product-order .product-caption {
  color: var(--muted);
  font-size: var(--text-xs);
}
.product-customization-label {
  margin: var(--space-1) 0 0;
}
.product-order #product-customization {
  min-height: 56px;
  margin-top: var(--space-1);
}
.product-order-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  gap: var(--space-3);
}
.product-returns {
  justify-self: start;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.product-order .button {
  width: 100%;
}
.catalog-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:var(--space-8)}.catalog-filters a{border:1px solid var(--line);padding:var(--space-2) var(--space-4);border-radius:var(--radius-tab)}.catalog-filters a[aria-current]{background:var(--green);color:var(--white)}.catalog-preview{padding:15px;background:var(--cream);border:1px solid var(--line);margin-bottom:25px}.gallery-thumbnails{flex-wrap:wrap}

.product-purchase-controls{display:grid;gap:var(--space-2);width:max-content;max-width:100%}
.product-order .product-quantity{display:flex;align-items:center;justify-content:flex-start;gap:var(--space-4);margin:0}
.product-order .product-quantity>label{margin:0}
.product-order .button[data-add-to-cart]{width:100%;max-width:100%}

@container (min-width: 22rem) {
  .product-purchase-controls {
    grid-template-columns: max-content max-content;
    column-gap: var(--space-4);
    align-items: center;
  }
}

/* Keep the gallery visible within the product columns, before the story section. */
@media(min-width:641px){
  .product-gallery{position:sticky;top:var(--space-6);align-self:start}
  .product-gallery .product-photo{max-height:calc(100dvh - 10rem)}
}

/* Use the page's available width, excluding the scrollbar, to match its outer margin. */
@supports(width:1cqw){
  body:has(.product-layout){container-type:inline-size}
  @media(min-width:641px){.product-layout{column-gap:max(var(--page-gutter),calc((100cqw - var(--page-max-width))/2 + var(--page-gutter)))}}
}

/* Give category filters a quiet highlight while keeping the active category distinct. */
.catalog-filters a {
  transition: background-color 200ms ease;
}
.catalog-filters a:not([aria-current]):focus-visible {
  background-color: color-mix(in srgb, var(--green) 12%, var(--white));
}
@media (hover: hover) {
  .catalog-filters a:not([aria-current]):hover {
    background-color: color-mix(in srgb, var(--green) 12%, var(--white));
  }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-filters a { transition: none; }
}

.product-gallery-stage { position: relative; }
:is(.product-gallery-stage, .product-card, .thumbnail) > picture { display: block; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}
.gallery-arrow::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--white) 50%, transparent);
  pointer-events: none;
}
.gallery-arrow > span {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  font-size: 0;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: translateX(-1px) rotate(45deg);
}
.gallery-previous > span { transform: translateX(1px) rotate(-135deg); }
.gallery-previous { left: 12px; }
.gallery-next { right: 12px; }
.gallery-arrow:hover::before, .gallery-arrow:focus-visible::before { background: color-mix(in srgb, var(--white) 70%, transparent); }
.gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product-video { object-fit: contain; object-position: center; }
.gallery-arrow { z-index: 2; }
.video-thumbnail { position:relative; }
.video-thumbnail-icon {
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:rgb(0 0 0 / .65);
  color:var(--white);
  font-size:.8rem;
}
.gallery-video-error { font-size:var(--text-sm); padding:10px; margin:0; background:var(--cream); }
.gallery-video-error a { text-decoration:underline; }

/* Keep the collection introduction compact so shoppers reach the photos sooner. */
@media screen {
  .catalog-main:has(> .breadcrumbs) { padding-top: var(--space-1); }
}
.catalog-main .breadcrumbs { margin-bottom: 0; }
.catalog-heading { margin: 0 0 var(--space-4); }
.catalog-filters { margin-bottom: var(--space-6); }
.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}
.product-card-heading {
  align-items: baseline;
}
.product-card :is(h2, h3) {
  font-family: var(--serif);
  font-size: var(--heading-sm);
  font-weight: var(--weight-regular);
  line-height: var(--line-height-heading);
  margin: 0;
  overflow-wrap: anywhere;
}
.product-card .catalog-price {
  flex: 0 0 auto;
  max-width: 45%;
  margin: 0;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: var(--weight-semibold);
  text-align: right;
  overflow-wrap: anywhere;
}
.product-card-badge {
  padding: 2px var(--space-3);
  border-radius: var(--radius-chip);
  background: var(--cream);
  font-size: var(--text-xs);
}
.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-chip);
  background: var(--cream);
  color: var(--green);
  font-size: var(--text-sm);
  flex: 0 0 auto;
  white-space: nowrap;
}
.product-card:hover .product-card-cta,
.product-card:focus-visible .product-card-cta { background: var(--surface-cart-filled); }

@media (max-width: 640px) {
  .catalog-heading h1 { font-size: clamp(1.4rem, 5.6vw, 1.82rem); }
  .catalog-filters { gap: var(--space-2); margin-bottom: var(--space-4); }
  .catalog-main .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-4);
  }
  .catalog-main .product-card > picture img {
    aspect-ratio: 1;
  }
  .catalog-main .product-card-heading {
    display: grid;
    gap: var(--space-1);
  }
  .catalog-main .product-card h2 {
    font-size: var(--text-lead);
  }
  .catalog-main .product-card .catalog-price {
    max-width: none;
    font-size: var(--text-base);
    text-align: left;
  }
  .catalog-main .product-card-cta {
    display: none;
  }
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-4);
  margin: 0 var(--space-6);
  padding: var(--space-3) var(--page-gutter-mobile);
  list-style: none;
  background: var(--cream);
  border-radius: var(--radius-card);
  color: var(--green);
  font-size: var(--text-sm);
  text-align: center;
}
.home-benefits span {
  display: block;
  color: var(--muted);
}
.home-featured.section {
  padding-block: var(--space-6) var(--space-8);
}
.home-featured h2 {
  margin-bottom: var(--space-4);
  color: var(--green);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.home-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-8);
}
@media (min-width: 851px) {
  .product-shelf .home-featured-grid {
    grid-template-columns: repeat(var(--shelf-count), minmax(0, 1fr));
  }
}
.home-featured-grid .product-card > picture img {
  height: auto;
  aspect-ratio: 1;
}
.home-featured-grid .product-card-heading {
  display: grid;
  gap: var(--space-1);
}
.home-featured-grid .catalog-price {
  max-width: none;
  text-align: left;
}
.christmas-slider-heading,
.christmas-slider-controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.christmas-slider-heading {
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.christmas-slider-heading h2 {
  margin-bottom: 0;
}
.christmas-slider-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-button);
  font-size: 1.65rem;
  line-height: 1;
}
.christmas-slider-controls button:enabled:hover {
  background: var(--cream);
}
.christmas-slider-controls button:disabled {
  background: var(--white);
}
.home-featured-grid.christmas-slider-track {
  --slider-columns: 4;
  --slider-gap: var(--space-8);
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--slider-columns) - 1) * var(--slider-gap)) / var(--slider-columns));
  gap: var(--slider-gap);
  overflow-x: auto;
  padding: var(--space-2);
  margin-inline: calc(-1 * var(--space-2));
  scroll-padding-inline: var(--space-2);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.christmas-slider-track .product-card {
  scroll-snap-align: start;
}
.christmas-slider-track .product-card-badge {
  align-self: flex-start;
}
.christmas-slider-footer {
  margin-top: var(--space-4);
  text-align: center;
}
.not-found.section {
  padding-block: var(--space-10) var(--space-5);
  text-align: center;
}
.not-found h1 {
  margin-bottom: var(--space-5);
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: var(--weight-regular);
  line-height: var(--line-height-heading);
}
.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.not-found-actions button {
  background: var(--white);
  border-color: var(--border-control);
  color: var(--green);
}
.not-found-actions button:hover {
  background: var(--cream);
}
@media (max-width: 850px) {
  .home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-featured-grid.christmas-slider-track {
    --slider-columns: 2;
  }
}
@media (max-width: 640px) {
  .home-opening > .christmas-slider {
    grid-row: 2;
    width: 100%;
    min-width: 0;
    padding: var(--space-2) var(--space-3) var(--space-4);
  }
  .home-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: var(--space-3);
    gap: var(--space-2) var(--space-3);
    padding-block: var(--space-2);
    font-size: var(--text-xs);
  }
  .home-featured-grid {
    gap: var(--space-6) var(--space-4);
  }
  .home-featured-grid.christmas-slider-track {
    --slider-gap: var(--space-4);
  }
}
