/* Keep every product slide in the sizing grid, even while it is inert. */
.es-product-carousel .es-carousel-stage { display: grid; grid-template-columns: minmax(0,1fr); isolation: isolate; overflow: hidden; border-radius: inherit; }
.es-product-carousel .es-carousel-slide { grid-area: 1/1; display: grid; grid-template-columns: minmax(0,1fr); }
.home-page-content .es-product-carousel .es-carousel-slide[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}
.es-product-carousel .es-carousel-slide[hidden] .es-product-art :is(.pdp-media,video) { display: none; }
.es-product-carousel .es-carousel-slide[data-leaving] { position: relative; inset: auto; }
.es-product-slide { min-height: clamp(390px,35vw,670px); padding-block: clamp(24px,4vw,68px); }
.es-product-hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 95% -10%,color-mix(in srgb,var(--es-warm) 26%,transparent),transparent 58%),var(--showcase-background);
}
.es-product-copy h2 { font-size: clamp(34px,4.95vw,85px); line-height: 1.02; letter-spacing: -.055em; }
.es-product-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.es-product-art::before {
  border-radius: 50% 50% 17% 17% / 42% 42% 17% 17%;
  background: radial-gradient(ellipse at 47% 22%,color-mix(in srgb,var(--es-surface) 68%,var(--showcase-background)),color-mix(in srgb,var(--es-warm) 22%,var(--showcase-background)));
}
.es-product-carousel .es-carousel-dots { margin-block: 0 9px; }

:is(.es-product-section, .es-shop-page, .basket-page) {
  --es-product-columns: 4;
}
.wrap:is(.es-shop-page, .basket-page) {
  width: calc(100% - 2 * var(--hc-gutter));
}
.es-product-section.es-section-with-art { padding-inline: 0; }
.es-shelf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--es-product-columns) - 1) * var(--es-card-column-gap)) / var(--es-product-columns));
  gap: var(--es-card-column-gap);
  margin-inline: -6px;
  padding: 6px 6px 13px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 6px;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb,var(--es-muted) 64%,var(--es-border)) transparent;
}
.es-shelf-track:focus-visible { outline: 2px solid var(--es-focus); outline-offset: 2px; border-radius: 8px; }
.es-shelf-track > :is(.hc-product-card, .basket-preview) { scroll-snap-align: start; }
@media (max-width: 680px) {
  .home-page-content .es-shelf-track,
  .home-page-content .es-feature-products {
    grid-auto-flow:column;
    grid-auto-columns:clamp(205px,72%,315px);
    grid-template-columns:none;
    overflow-x:auto;
    scroll-snap-type:inline proximity;
  }
  .home-page-content .es-feature-products { padding:6px 4px 12px; scroll-padding-inline:4px; }
  .home-page-content .es-feature-products > .hc-product-card { scroll-snap-align:start; }
}
.es-media-products { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(12px,1.7vw,26px); }
.es-feature-products {
  display: grid;
  grid-template-columns: repeat(var(--es-product-columns),minmax(0,1fr));
  grid-auto-rows: 1fr;
  gap: var(--es-card-row-gap) var(--es-card-column-gap);
}
@media (min-width: 1000px) {
  .es-media-products.has-both { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .es-media-products.has-both.image-right > .editorial-media { grid-area: 1 / 2; }
  .es-media-products.has-both.image-right > .es-feature-products { grid-area: 1 / 1; }
  .es-media-products.has-both > .es-feature-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .es-media-products.has-both > .editorial-media { position: relative; min-height: 0; }
  .es-media-products.has-both > .editorial-media > .es-media-frame {
    position: absolute;
    inset: 0;
    max-width: none;
  }
  .es-media-products.has-both .es-media-frame :is(.editorial-media-link,.pdp-media,picture,img) {
    height: 100%;
  }
  .es-media-products.has-both .es-media-frame img { aspect-ratio: auto; }
}
.es-shelf-heading {
  display: flex;
  align-items: end;
  gap: 8px clamp(12px,1.6vw,24px);
  margin-block-end: clamp(18px,2.4vw,30px);
}
.es-shelf-heading > div { min-width: 0; }
.es-shelf-heading .eyebrow { margin: 0 0 7px; }
.es-shelf-heading h2 {
  margin: 0;
  font: clamp(26px,3.45vw,47px)/1.06 var(--serif);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.es-shelf-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: clamp(6px,1vw,12px);
  min-height: 42px;
  padding: 3px 4px 3px 12px;
  border: 1px solid var(--es-border);
  border-radius: 999px;
  background: var(--es-surface);
  color: var(--es-text);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.es-shelf-link span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--es-primary);
  color: var(--es-on-primary);
}
.es-shelf-link svg { width: 15px; transition: translate .18s ease; }
.es-shelf-link:hover svg { translate: 2px 0; }
.home-browse-edits { margin-block: clamp(14px,2vw,25px) 0; }
.es-browse-edits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--es-text);
}
.es-browse-edits a {
  display: inline-flex;
  align-items: center;
  min-height: 41px;
  padding-inline: clamp(11px,1.7vw,22px);
  border: 1px solid var(--es-border);
  border-radius: 999px;
  background: var(--es-surface);
  font-size: 12px;
  font-weight: 600;
}
.es-browse-edits a[aria-current="page"], .es-browse-edits a:hover { background: var(--es-soft-accent); color: var(--es-on-soft-accent); }
.home-browse-edits .es-browse-edits { justify-content: center; }
.es-shop-page .es-shop-intro { padding-block: clamp(20px,2.7vw,44px) clamp(16px,1.8vw,29px); }
.es-shop-page .es-shop-intro h1 { font-size: clamp(35px,4.5vw,64px); margin-bottom: .2em; }
.es-shop-page .es-shop-intro > p:last-child { margin-bottom: 0; }
.es-shop-page .es-shop-intro .breadcrumbs { margin-block-end: clamp(14px,2vw,24px); }
.es-shop-page .collection-toolbar { margin-top: clamp(12px,1.6vw,25px); }
.es-shop-page .products {
  grid-template-columns: repeat(var(--es-product-columns),minmax(0,1fr));
}
.collection-dialog .products:has(> .hc-product-card:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.es-result-count { margin-block: 0 clamp(13px,2vw,24px); }
.shop-menu-quick { flex-wrap: wrap; }
.pdp-information .pdp-category-link { margin-block-end: 10px; }
.pdp-information .pdp-description { line-height: 1.64; }
.pdp-purchase {
  padding: clamp(12px,2vw,23px);
  border: 1px solid var(--es-border);
  border-radius: clamp(14px,1.5vw,23px);
  background: color-mix(in srgb,var(--es-surface) 74%,var(--es-canvas));
}
.pdp-purchase-line .pdp-add, .pdp-purchase-line .pdp-qty, .pdp-purchase-line .pdp-save { border-radius: 999px; }
.pdp-related { margin-top: clamp(22px,4vw,50px); }

/* Transparent artwork sits over the same paper surface at every viewport size. */
.room-stage[data-room-art="sketch"] {
  background: radial-gradient(ellipse at 50% 34%, var(--es-surface) 12%,var(--es-canvas) 79%);
}
.room-stage[data-room-art="sketch"] { --sketch-caption: clamp(54px,8vw,99px); }
.room-stage[data-room-art="sketch"] .room-image {
  inset: clamp(7px,1.65vw,25px) 3% var(--sketch-caption);
  overflow: visible;
}
.room-stage[data-room-art="sketch"] :is(.room-initial-photo,.room-photograph) { filter: none; object-fit: contain; }
.room-stage[data-room-art="sketch"]::after, .room-stage[data-room-art="sketch"] .room-caption::before { content: none; }
.room-stage[data-room-art="sketch"] .room-caption :is(h1,h2,p) { color: var(--es-text); text-shadow: none; }
.room-stage[data-room-art="sketch"] .room-caption h2::after { display: none; }
.room-stage[data-room-art="sketch"] .room-shop-link {
  margin: 0;
  border-color: var(--es-primary);
  border-radius: 999px;
  background: var(--es-primary);
  color: var(--es-on-primary);
  box-shadow: none;
}
.room-stage[data-room-art="sketch"] .room-shop-link:hover { background: var(--es-text); color: var(--es-on-text,var(--es-surface)); }
.room-stage[data-room-art="sketch"] .room-return,
.room-stage[data-room-art="sketch"] .room-expand,
.room-dialog[data-room-art="sketch"] :is(.gallery-circle,.room-dialog-back) {
  background: var(--es-surface);
  color: var(--es-text);
  border-color: var(--es-border);
}
.room-dialog[data-room-art="sketch"] { background: var(--es-canvas); }
.room-dialog[data-room-art="sketch"] .room-gallery-dots span { background: var(--es-border); }
.room-dialog[data-room-art="sketch"] .room-gallery-dots [aria-current="true"] span { background: var(--es-primary); }
.room-dialog[data-room-art="sketch"] .room-stage { animation: es-sketch-arrive .2s ease-out both; }
@keyframes es-sketch-arrive { from { opacity: .62; } to { opacity: 1; } }
.room-sketch-glow {
  opacity: 0;
  pointer-events: none;
  fill: #ffed9b37;
  stroke: #fdf4bc;
  stroke-width: 2.25px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px #d29542) drop-shadow(0 0 7px #fbd279);
  transition: opacity .16s ease;
}
.room-sketch-glow.is-lit { opacity: 1; }
.room-stage[data-room-art="sketch"] .room-object:focus-visible { stroke: var(--es-focus); }
.room-shelf-items { filter: sepia(.17) saturate(.83) contrast(.97); }
.room-shelf-lines { fill: #dab68a; stroke: #937352; stroke-width: 2; }
.room-shelf-lines path:nth-child(even) { stroke: #f7dfb8; }
.room-stage[data-room-art="sketch"] .room-touch-labels button {
  position: absolute;
  translate: -50% -50%;
  padding: 4px 8px;
  border: 1px solid var(--es-border);
  border-radius: 99px;
  background: var(--es-surface);
  color: var(--es-text);
  box-shadow: 0 2px 7px #2819091f;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.1;
  white-space: nowrap;
  pointer-events: auto;
}
.room-stage[data-room-art="sketch"] .room-touch-labels { display: none; }
@media (hover: none) {
  .room-stage[data-room-art="sketch"] .room-touch-labels { display: block; }
  .room-stage[data-room-art="sketch"] .room-touch-labels button { min-height: 25px; }
}
@media (max-width: 680px) {
  .room-stage[data-room-art="sketch"] .room-object:not(:focus-visible) { stroke-width: 8px; vector-effect: non-scaling-stroke; }
  .room-stage[data-room-art="sketch"] .room-image { inset-inline: 2%; }
  .room-stage[data-room-art="sketch"] .room-caption { align-items: center; bottom: 10px; }
  .room-stage[data-room-art="sketch"] .room-caption p { display: none; }
  .room-dialog[data-room-art="sketch"] .room-stage { --sketch-caption: 77px; }
  .room-dialog[data-room-art="sketch"] .room-caption { bottom: 30px; }
  .room-dialog[data-room-art="sketch"] .room-gallery-dots { bottom: 6px; }
}

@media (max-width: 1199px) {
  :is(.es-product-section, .es-shop-page, .basket-page) { --es-product-columns: 3; }
}
@media (max-width: 820px) {
  :is(.es-product-section, .es-shop-page, .basket-page) { --es-product-columns: 2; }
  .es-product-slide { min-height: 0; }
  .es-product-copy h2 { font-size: clamp(30px,6.9vw,52px); }
}
@media (max-width: 480px) {
  .es-shop-page .collection-toolbar .filters { flex-wrap: wrap; gap: 7px; }
  .es-shop-page #filter-query { flex: 1 0 100%; max-width: none; }
  .es-shop-page .collection-toolbar .filters select { flex: 1 1 115px; max-width: 100%; }
  .es-shelf-heading { align-items: center; }
  .es-shelf-heading h2 { font-size: clamp(21px,5.4vw,27px); }
  .es-shelf-link { gap: 6px; font-size: 11px; }
  .es-shelf-link span { width: 28px; height: 28px; }
  .es-browse-edits a { font-size: 11px; }
}
