/* GlamRoom commerce: editorial product presence with unambiguous checkout controls. */
.shop-shell { padding-block: clamp(0.75rem, 1.5vw, 1.25rem) 4rem; }
/* The banner is a band, not a column: inside the shop shell it gives back the shell's gutter
   and its top padding, so the graphite meets the header instead of a stripe of frost. */
.shop-shell > .page-banner { width: min(100% + 2 * var(--page-gutter), var(--page-max)); margin-inline: calc(-1 * var(--page-gutter)); }
.shop-shell:has(> .page-banner) { padding-block-start: 0; }
.shop-shell > .page-banner + * { margin-block-start: clamp(2.5rem, 6vw, 6rem); }
.page-banner--shop .page-banner-aside p { margin: 0 0 1.1rem; }
/* The reception is a backdrop: its portrait ratio must not size the shop banner.
   These selectors also retain the frame when photo-framing.css is loaded last. */
.page-banner.page-banner--shop .page-banner-media {
  min-height: clamp(17rem, 22vw, 22rem);
  aspect-ratio: auto;
  align-self: stretch;
}
.page-banner.page-banner--shop .page-banner-media picture,
.page-banner.page-banner--shop .page-banner-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-banner.page-banner--shop .page-banner-media img { object-fit: cover; }
.page-banner.page-banner--shop { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.page-banner--shop .page-banner-copy { padding-block: clamp(1.5rem, 2.4vw, 2.5rem); }
.shop-page .page-banner.page-banner--shop h1 { max-width: none; font-size: clamp(2rem, 1rem + 2.5vw, 3.5rem); }
@media (max-width: 359px) { .shop-page .page-banner.page-banner--shop h1 { font-size: 1.75rem; } }
.page-banner--shop .page-banner-lead { max-width: 65ch; }
.page-banner--shop .page-banner-aside { margin-block-start: 1rem; padding-block-start: 0.5rem; }
.shop-pickup-info summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; cursor: pointer; list-style: none; }
.shop-pickup-info summary::-webkit-details-marker { display: none; }
.shop-pickup-info summary .ui-icon { width: 1rem; height: 1rem; flex: none; color: inherit; fill: none; stroke: currentColor; }
.shop-pickup-info[open] summary .ui-icon { transform: rotate(180deg); }
.shop-pickup-info summary:focus-visible { outline: 2px solid var(--gold-on-graphite); outline-offset: 3px; }
.shop-pickup-info p { max-width: 65ch; }
.header-booking-icon { display: none; }
@media (max-width: 1023px) {
  .page-banner.page-banner--shop { grid-template-columns: minmax(0, 1fr); }
  .page-banner.page-banner--shop .page-banner-media {
    min-height: 0;
    aspect-ratio: 4 / 1;
  }
  .page-banner--shop .page-banner-copy { padding-block: 1.25rem; }
}
/* Shopping actions and the logo stay on one row. The booking link retains its full
   translated accessible name and 44px target while using a calendar on a phone. */
@media (max-width: 767px) {
  .shop-page .header-shell .site-header { flex-wrap: nowrap; gap: 0.75rem; }
  .shop-page .site-header .brand { min-width: 0; flex: 1; }
  .shop-page .site-header .brand-logo-compact { width: min(100%, 8rem); }
  .shop-page .site-header .header-tools { flex: none; gap: 0.25rem; margin-inline-start: 0; }
  .shop-page .site-header .header-action { width: 2.75rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0; }
  .shop-page .site-header .header-booking-icon { display: block; width: 1.25rem; height: 1.25rem; }
  .shop-page .site-header .header-action-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.shop-eyebrow { margin: 0 0 1rem; color: var(--gold-text); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.shop-page .shop-category-overview .shop-category-overview-heading h2 { max-width: none; font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.75rem); }
.shop-category-overview { margin-bottom: clamp(3rem, 7vw, 7rem); scroll-margin-top: 2rem; }
.shop-category-overview-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(17rem,0.8fr); align-items: end; gap: clamp(1.5rem,5vw,6rem); margin-bottom: clamp(1.5rem,3vw,2.5rem); }
.shop-category-overview-heading h2 { max-width: 12ch; margin: 0; font-size: clamp(2.4rem,5vw,5.4rem); font-weight: 420; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.shop-category-overview-heading > p { max-width: 34ch; margin: 0; color: var(--text-muted); font-size: 1rem; }
@media (min-width: 1024px) { .shop-category-overview-heading > p { font-size: 1.125rem; } }
.shop-category-overview-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1px; background: var(--line); }
.shop-category-overview-card { position: relative; grid-column: span 5; min-height: clamp(18rem,28vw,28rem); overflow: hidden; background: var(--graphite); color: white; text-decoration: none; }
.shop-category-overview-card:nth-child(4n+1), .shop-category-overview-card:nth-child(4n) { grid-column: span 7; }
.shop-category-overview-card picture, .shop-category-overview-card img { width: 100%; height: 100%; }
.shop-category-overview-card picture { position: absolute; inset: 0; }
.shop-category-overview-card img { object-fit: cover; transition: transform var(--motion-slow) var(--ease-out); }
.shop-category-overview-card::after { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(13,13,15,0.04) 28%,rgba(13,13,15,0.82) 100%); content: ""; }
.shop-category-overview-copy { position: absolute; z-index: 1; inset-inline: clamp(1.2rem,3vw,2.4rem); bottom: clamp(1.2rem,3vw,2.2rem); display: grid; gap: 0.7rem; }
.shop-category-overview-status { justify-self: start; padding: 0.35rem 0.55rem; border: 1px solid rgba(255,255,255,0.7); background: rgba(13,13,15,0.58); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.shop-category-overview-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: clamp(1.8rem,3vw,3rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.shop-category-overview-title .arrow-icon { width: 1.35rem; height: 1.35rem; flex-shrink: 0; transition: transform var(--motion-fast) var(--ease-out); }
.shop-category-overview-description { max-width: 38ch; color: rgba(255,255,255,0.9); font-size: 0.9375rem; }
.shop-category-overview-card:hover img, .shop-category-overview-card:focus-visible img { transform: scale(1.018); }
.shop-category-overview-card:hover .arrow-icon, .shop-category-overview-card:focus-visible .arrow-icon { transform: translateX(0.25rem); }
.shop-category-overview-card:focus-visible { z-index: 2; outline: 3px solid var(--gold); outline-offset: -3px; }
/* Product cut-outs (is-packshot, inc/commerce.php) stand whole on the graphite beside the text,
   lit from behind, instead of being cropped like a studio photograph. */
.shop-category-overview-card:has(.is-packshot)::before { position: absolute; inset: 0; background: radial-gradient(closest-side at 72% 50%, rgba(255,255,255,0.09), transparent); content: ""; }
.shop-category-overview-card:has(.is-packshot)::after { content: none; }
.shop-category-overview-card .is-packshot { width: auto; height: auto; inset: clamp(1.5rem,2.6vw,2.6rem) clamp(1.5rem,3.5vw,3.5rem) clamp(1.5rem,2.6vw,2.6rem) 50%; }
.shop-category-overview-card .is-packshot img { object-fit: contain; }
.shop-category-overview-card:has(.is-packshot) .shop-category-overview-copy { inset-inline-end: 52%; }
/* The wide cards give the title one line ("Home Collection"). */
.shop-category-overview-card:where(:nth-child(4n+1), :nth-child(4n)) .is-packshot { inset-inline-start: 56%; }
.shop-category-overview-card:where(:nth-child(4n+1), :nth-child(4n)):has(.is-packshot) .shop-category-overview-copy { inset-inline-end: 46%; }
.shop-product-summary h1 { max-width: 18ch; margin: 0; font-size: clamp(2.4rem, 3.6vw, 3.6rem); font-weight: 420; line-height: 1.04; letter-spacing: -0.03em; overflow-wrap: break-word; hyphens: auto; text-wrap: balance; }
.shop-layout { display: grid; grid-template-columns: minmax(11rem, 0.46fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 6rem); scroll-margin-top: 2rem; }
.shop-layout:focus { outline: none; }
.shop-categories { align-self: start; display: grid; gap: 0.3rem; }
.shop-categories a { display: flex; align-items: center; min-height: 3rem; padding: 0.65rem 0.8rem; border: 1px solid transparent; text-decoration: none; overflow-wrap: anywhere; }
.shop-categories a:hover { border-color: var(--line-strong); }
.shop-categories a[aria-current="page"] { background: var(--graphite); color: var(--frost-bright); }
.shop-results { min-width: 0; }
.shop-results-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-strong); }
.shop-results-heading h2 { margin: 0; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; }
.shop-results-heading > span { color: var(--text-muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.shop-products { display: grid; gap: 1px; background: var(--line); }
.shop-product { display: grid; min-width: 0; grid-template-columns: minmax(15rem, 0.85fr) minmax(0, 1.15fr); background: var(--frost-bright); }
.shop-product-image { display: block; min-height: 26rem; overflow: hidden; background: #f3f3f2; }
.shop-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-slow) var(--ease-out); }
.shop-product-image:hover img, .shop-product-image:focus-visible img { transform: scale(1.018); }
.shop-product-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 4vw, 4rem); }
.shop-product-category { margin: 0 0 0.8rem; color: var(--gold-text); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.shop-product h3 { max-width: 15ch; margin: 0; font-size: clamp(2rem, 3.4vw, 3.8rem); font-weight: 420; letter-spacing: -0.035em; line-height: 1.08; }
.shop-product h3 a { text-decoration: none; overflow-wrap: anywhere; }
.shop-product h3 a:hover, .shop-product h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.shop-product-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(2rem, 4vw, 4rem); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.shop-price, .shop-product-price { color: var(--graphite); font-size: clamp(1.2rem, 2vw, 1.65rem); font-variant-numeric: tabular-nums; }
.shop-price del, .shop-product-price del { color: var(--text-muted); font-size: 0.78em; }
.shop-price ins, .shop-product-price ins { color: var(--graphite); text-decoration: none; }
.shop-product-link { display: inline-flex; min-height: 3rem; align-items: center; gap: 0.75rem; font-weight: 600; text-decoration: none; }
.shop-product-link:hover .arrow-icon, .shop-product-link:focus-visible .arrow-icon { transform: translateX(0.25rem); }
.shop-empty { padding-block: 2rem; }
.shop-service-return { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: clamp(3rem, 7vw, 7rem); padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.shop-service-return h2 { max-width: 24ch; margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.7rem); font-weight: 420; letter-spacing: -0.025em; line-height: 1.2; text-wrap: balance; }
.shop-service-return .button { flex-shrink: 0; }
.shop-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-bottom: 2.5rem; }
.shop-breadcrumb a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.shop-breadcrumb span { color: var(--text-muted); }

.shop-product-detail { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 0.88fr); align-items: start; gap: clamp(2.5rem, 6vw, 7rem); }
.shop-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.75rem; }
.shop-gallery-item { position: relative; aspect-ratio: 1; margin: 0; background: #f3f3f2; }
.shop-gallery-item.is-primary { grid-column: 1 / -1; }
.shop-gallery-item img { width: 100%; height: 100%; object-fit: contain; }
.shop-gallery-link { display: block; height: 100%; color: var(--graphite); }
.shop-gallery-link .ui-icon { position: absolute; right: 0.5rem; bottom: 0.5rem; width: 2.75rem; height: 2.75rem; padding: 0.75rem; background: var(--frost-bright); }
.shop-product-media { min-width: 0; }
.shop-product-media > .shop-gallery:first-child { grid-template-columns: 1fr; }
/* Keep every angle beside the main photograph without turning a long gallery into
   several screens before the mobile product summary. Links remain native lightbox openers. */
.shop-gallery-secondary { display: flex; gap: 0.75rem; overflow-x: auto; margin-top: 0.75rem; padding: 0.25rem 0.25rem 0.75rem; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold-text) var(--silver); }
.shop-gallery-secondary .shop-gallery-item { flex: 0 0 clamp(5rem,8vw,6rem); scroll-snap-align: start; }
.shop-gallery-secondary .shop-gallery-link { outline: 1px solid var(--line); outline-offset: -1px; }
.shop-gallery-secondary .shop-gallery-link:hover { outline-color: var(--gold-text); }
.shop-gallery-link:focus-visible { outline: 2px solid var(--gold-text); outline-offset: -2px; }
.shop-product-summary { min-width: 0; }
.shop-product-summary h1 { max-width: 16ch; font-size: clamp(2.2rem, 3.3vw, 3.4rem); }
.shop-short-description { max-width: 42ch; margin-top: 1.4rem; color: var(--text-muted); font-size: 1.125rem; }
.shop-short-description p { margin: 0; }
.shop-product-price { margin-top: 1.7rem; }
.shop-purchase { margin-top: 1.5rem; padding-block: 1.5rem; border-block: 1px solid var(--line-strong); }
.shop-purchase form.cart, .shop-purchase .variations_button { display: grid; gap: 1rem; }
.shop-purchase table.variations { width: 100%; margin: 0; border-collapse: collapse; }
.shop-purchase table.variations tr { display: grid; gap: 0.55rem; }
.shop-purchase table.variations th, .shop-purchase table.variations td { display: block; padding: 0; text-align: left; }
.shop-purchase table.variations th { font-size: 0.8125rem; letter-spacing: 0.09em; text-transform: uppercase; }
.shop-purchase select, .shop-purchase input.qty { width: 100%; min-height: 3.25rem; border: 1px solid var(--line-strong); border-radius: 0; background: var(--frost-bright); color: var(--graphite); font: inherit; }
.shop-purchase select { padding: 0.7rem 2.5rem 0.7rem 0.9rem; }
.shop-purchase .reset_variations { display: inline-flex; min-width: 3rem; min-height: 2.75rem; align-items: center; padding-inline: 0.45rem; margin-top: 0.35rem; font-size: 0.875rem; }
.shop-purchase .woocommerce-variation { min-height: 1.8rem; }
.shop-purchase .woocommerce-variation-price { margin-bottom: 0.75rem; font-size: 1.2rem; }
.shop-purchase .quantity { width: 6rem; }
.shop-purchase .single_add_to_cart_button { min-height: 3.5rem; padding: 0.85rem 1.3rem; border: 1px solid var(--graphite); border-radius: 0; background: var(--graphite); color: var(--frost-bright); font: inherit; font-weight: 600; cursor: pointer; }
.shop-purchase .single_add_to_cart_button:hover, .shop-purchase .single_add_to_cart_button:focus-visible { background: transparent; color: var(--graphite); }
.shop-purchase .single_add_to_cart_button.disabled { background: #515155; color: #fff; cursor: not-allowed; opacity: 1; }
.shop-page .shop-purchase button.single_add_to_cart_button.disabled,
.shop-page .shop-purchase button.single_add_to_cart_button.disabled:hover { background: #515155; color: #fff; opacity: 1; }
.shop-test-note { margin: 1.4rem 0 0; padding: 1rem; border-left: 0.22rem solid var(--gold); background: var(--silver); color: #414146; font-size: 0.875rem; }
.shop-delivery-soon { margin: 0.75rem 0 0; color: inherit; font-size: 0.875rem; line-height: 1.5; }
.shop-assurances { display: grid; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.shop-assurances li { padding: 0.85rem 0 0.85rem 1.5rem; border-bottom: 1px solid var(--line); }
.shop-assurances li::before { position: absolute; margin-left: -1.5rem; color: var(--gold-text); content: "✓"; }
.shop-product-content { display: grid; grid-template-columns: minmax(14rem,0.55fr) minmax(0,1.45fr); grid-template-rows: auto 1fr; align-items: start; gap: 0 clamp(2rem,7vw,8rem); margin-top: var(--section-rule-margin); padding-top: var(--section-rule-inset); border-top: 1px solid var(--line-strong); }
.shop-product-content > .shop-eyebrow { grid-column: 1; }
.shop-product-content > h2 { grid-column: 1; max-width: 10ch; margin: 2rem 0 0; font-size: clamp(2.2rem,4vw,4.6rem); font-weight: 420; letter-spacing: -0.035em; line-height: 1.05; }
.shop-prose { grid-column: 2; grid-row: 1 / span 2; max-width: 48rem; }
.shop-prose :is(h2,h3) { margin: 2.4rem 0 0.8rem; font-size: clamp(1.4rem,2vw,2rem); font-weight: 500; }
.shop-prose :is(h2,h3):first-child { margin-top: 0; }
.shop-prose p, .shop-prose li { color: #414146; }
.shop-prose ol, .shop-prose ul { padding-left: 1.3rem; }
.shop-prose li + li { margin-top: 0.75rem; }
.shop-prose .shop-expert-note { margin-block: 2.5rem; padding-block: 1.5rem; border-block: 1px solid var(--line-strong); }
.shop-prose .shop-expert-note :is(h2,h3) { margin: 0 0 0.75rem; color: var(--gold-text); }
.shop-prose .shop-expert-note p:last-child { margin-bottom: 0; }
.shop-prose .shop-description-image { margin: 2rem 0; }
.shop-prose .shop-description-image img { display: block; width: 100%; height: auto; }
.shop-prose .shop-description-image figcaption { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.875rem; }

/* Native Woo cart and checkout blocks keep their behavior; only their visual shell changes. */
.shop-page .content-page { padding-block: clamp(0.75rem,1.5vw,1.25rem) clamp(2.5rem,6vw,6rem); }
.shop-page .content-page-inner { width: min(100%,80rem); margin-inline: auto; }
.shop-page .content-page-inner > h1 { margin: 0 0 clamp(2rem,4vw,4rem); font-size: clamp(2.8rem,6vw,5.8rem); font-weight: 420; letter-spacing: -0.04em; line-height: 1.02; }
.shop-page .wc-block-cart, .shop-page .wc-block-checkout { margin: 0; }
.shop-page .wc-block-components-sidebar-layout { justify-content: space-between; gap: 0; }
.shop-page .wc-block-components-sidebar-layout .wc-block-components-main { width: 62%; }
.shop-page .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: 34%; }
.shop-page .wc-block-components-sidebar { padding: 1.5rem; background: var(--silver); }
.shop-page .wc-block-components-main { padding-right: 0; }
.shop-page .wc-block-components-button, .shop-page .wp-element-button, .shop-page .woocommerce button.button, .shop-page .woocommerce a.button { min-height: 3.25rem; border-radius: 0; background: var(--graphite); color: var(--frost-bright); font-weight: 600; }
.shop-page .wc-block-components-button:hover, .shop-page .wp-element-button:hover { background: #303034; color: white; }
.shop-page .wc-block-components-text-input input, .shop-page .wc-block-components-combobox-control input, .shop-page .woocommerce form .form-row input.input-text { min-height: 3.25rem; border-radius: 0; font: inherit; }
.shop-page .wc-block-components-title { font-weight: 500; }
.shop-page .wc-block-cart-item__image img, .shop-page .wc-block-components-order-summary-item__image img { background: #f3f3f2; }
.checkout-header { border-bottom: 1px solid var(--line); background: var(--frost-bright); }
.checkout-header-inner { display: flex; min-height: 4rem; align-items: center; justify-content: space-between; }
.checkout-header .brand { display: block; width: clamp(10rem,18vw,14rem); }
.checkout-header .brand-logo { width: 100%; height: auto; }
.checkout-page-main { padding-block: clamp(2.5rem,6vw,5rem); }
.checkout-page-main > .wp-block-post-content, .checkout-page-main .wp-block-woocommerce-checkout { width: 100%; max-width: none; margin: 0; }

@media (max-width: 1023px) {
 .shop-page .wc-block-components-sidebar-layout .wc-block-components-main, .shop-page .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: 100%; }

 .shop-layout { grid-template-columns: 1fr; gap: 1.5rem; }
 .shop-category-overview-card, .shop-category-overview-card:nth-child(4n+1), .shop-category-overview-card:nth-child(4n) { grid-column: span 6; min-height: clamp(19rem,44vw,26rem); }
 /* Near-square cards: the product above, the text below at full width. */
 .shop-category-overview-card:has(.is-packshot)::before { background: radial-gradient(closest-side at 50% 34%, rgba(255,255,255,0.09), transparent); }
 .shop-category-overview-card .is-packshot { inset: 1.5rem 1.5rem 38%; }
 .shop-category-overview-card:has(.is-packshot) .shop-category-overview-copy { inset-inline-end: clamp(1.2rem,3vw,2.4rem); }
 .shop-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; }
 .shop-categories a { border-color: var(--line); }
 .shop-product-detail { grid-template-columns: minmax(0,1fr) minmax(20rem,0.82fr); gap: 2rem; }
 .shop-product-summary { position: static; }
}
@media (max-width: 767px) {
 .shop-shell { padding-block: 0.75rem 3rem; }
 .shop-product-summary h1 { max-width: 16ch; font-size: clamp(2rem,8.2vw,2.7rem); line-height: 1.1; }
 .shop-breadcrumb { margin-bottom: 1.25rem; }
 .shop-category-overview-heading { grid-template-columns: 1fr; gap: 1rem; }
 .shop-category-overview-heading h2 { font-size: clamp(2.35rem,12vw,3.6rem); }
 .shop-category-overview-grid { grid-template-columns: 1fr; }
 .shop-category-overview-card, .shop-category-overview-card:nth-child(4n+1), .shop-category-overview-card:nth-child(4n) { grid-column: auto; min-height: clamp(19rem,100vw,26rem); }
 .shop-product-detail { gap: 1.5rem; }
 .shop-purchase { margin-top: 1rem; padding-block: 1rem; }
 .shop-purchase .variations_button { grid-template-columns: 5rem minmax(0,1fr); align-items: end; }
 .shop-purchase .quantity { width: 100%; }
 .shop-purchase .single_add_to_cart_button { padding-inline: 0.65rem; }
 .shop-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .shop-categories a:first-child { grid-column: 1 / -1; }
 .shop-product { grid-template-columns: 1fr; }
 .shop-product-image { min-height: 0; aspect-ratio: 1; }
 .shop-product-copy { padding: 1.5rem; }
 .shop-product h3 { font-size: clamp(2rem,9vw,2.8rem); }
 .shop-product-bottom { margin-top: 2rem; }
 .shop-service-return { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
 .shop-service-return .button { width: 100%; }
 .shop-product-detail { grid-template-columns: 1fr; }
 .shop-gallery { gap: 0.5rem; }
 .shop-product-content { grid-template-columns: 1fr; grid-template-rows: none; gap: 1.2rem; margin-top: var(--section-rule-margin); }
 .shop-product-content > .shop-eyebrow, .shop-product-content > h2, .shop-prose { grid-column: 1; grid-row: auto; }
 .shop-product-content > h2 { margin-top: 0; }
 .shop-page .wc-block-components-sidebar { padding: 1rem; }
 .checkout-header-inner { min-height: 4rem; }
}
@media (prefers-reduced-motion: reduce) { .shop-product-image img, .shop-product-link .arrow-icon, .shop-category-overview-card img, .shop-category-overview-card .arrow-icon { transition: none; transform: none; } }
@media (forced-colors: active) { .shop-categories a[aria-current="page"], .shop-purchase .single_add_to_cart_button { outline: 2px solid LinkText; } }

/* Woo controls keep native state and validation, with consistent touch geometry. */
.shop-page .wc-block-components-quantity-selector { width: 8.25rem; min-height: 2.75rem; }
.shop-page .wc-block-components-quantity-selector button,
.shop-page .wc-block-components-quantity-selector input { min-width: 2.75rem; min-height: 2.75rem; }
.shop-page .wc-block-cart-item__remove-link,
.shop-page .wc-block-components-totals-coupon-link,
.shop-page .wc-block-components-address-card__edit { min-width: 2.75rem; min-height: 2.75rem; }
.shop-page .wc-block-components-checkbox label { min-height: 2.75rem; align-items: center; }
.shop-page .wc-block-components-text-input input,
.shop-page .wc-block-components-combobox-control input,
.shop-page .wc-block-components-quantity-selector input { font-size: max(1rem, 16px); }
.shop-page .wc-block-components-quantity-selector button:focus-visible,
.shop-page .wc-block-components-button:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.checkout-header-inner { gap: 1rem; padding-top: env(safe-area-inset-top); }
.checkout-page-main { padding-bottom: max(3rem, env(safe-area-inset-bottom)); }

.shop-page .content-page > h1, .shop-page .checkout-page-main > h1 { margin: 0 0 2rem; font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 450; line-height: 1.1; letter-spacing: -0.03em; }
.checkout-navigation, .checkout-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; }
.checkout-navigation { flex-wrap: nowrap; gap: 0.5rem; padding-bottom: 0.5rem; }
.checkout-navigation > .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.checkout-navigation .mobile-languages { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; }
.checkout-navigation .mobile-languages > * { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0.5rem; }
.checkout-legal { justify-content: flex-start; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.checkout-legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* Native cart rows need a second line for the total at narrow widths. */
.shop-product[hidden], .shop-product-actions [hidden], .shop-favorites-filter[hidden], [data-favorites-empty][hidden] { display: none; }
.shop-favorites-filter { margin-bottom: 1.5rem; }
.shop-filter-buttons, .shop-actions-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shop-filter-buttons button, .shop-actions-bar button, .shop-reset-favorites { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0.65rem 0.85rem; border: 1px solid var(--line-strong); background: transparent; color: var(--graphite); font: inherit; line-height: 1.35; cursor: pointer; }
.shop-filter-buttons button[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--frost-bright); }
.shop-actions-bar button[aria-pressed="true"] .ui-icon { fill: currentColor; }
.shop-actions-bar button:hover, .shop-reset-favorites:hover { background: var(--silver); }
.shop-actions-bar button:disabled { opacity: 0.65; cursor: wait; }
.shop-favorites-filter p, .shop-action-status { margin: 0.65rem 0 0; color: var(--text-muted); font-size: 0.875rem; }
.shop-action-status:empty { display: none; }
.shop-product-actions { margin-top: 1.5rem; min-width: 0; }
.shop-product-actions .ui-icon, .shop-filter-buttons .ui-icon { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.shop-share-link { display: grid; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.875rem; }
.shop-share-link input { width: 100%; min-width: 0; min-height: 2.75rem; padding: 0.5rem; border: 1px solid var(--line-strong); background: var(--frost-bright); color: var(--graphite); font: inherit; font-size: 1rem; }
.shop-product-actions :is(button, a, input):focus-visible, .shop-filter-buttons button:focus-visible, .shop-reset-favorites:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.shop-page .content-page > .wp-block-post-content { max-width: none; }
.shop-page .wc-block-cart-items td { min-width: 0; }
.shop-page .wc-block-cart-item__quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.shop-page .wc-block-components-address-form__address_2-toggle { min-height: 2.75rem; }
@media (max-width: 767px) {
 .shop-product-media .shop-gallery-item.is-primary { aspect-ratio: 6 / 5; }
}
.shop-page .wc-block-cart:is(.is-small,.is-mobile,.is-medium) table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 3rem minmax(0,1fr); }
 .shop-page .wc-block-cart:is(.is-small,.is-mobile,.is-medium) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / span 2; }
 .shop-page .wc-block-cart:is(.is-small,.is-mobile,.is-medium) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2; grid-row: 1; padding-left: 1rem; }
 .shop-page .wc-block-cart:is(.is-small,.is-mobile,.is-medium) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 2; grid-row: 2; padding-top: 0.75rem; }

/* The product query has always paginated at twelve; these are its missing links. */
.shop-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.shop-pagination .page-numbers.current {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--frost-bright);
}

/* Find a product before browsing the longer collection; keep native GET search available. */
.shop-search { margin-block: 2rem 3rem; }
.shop-shell > .page-banner + .shop-search { margin-block-start: clamp(1.5rem,3vw,2.5rem); }
.shop-search label { display: block; margin-bottom: 0.6rem; font-weight: 500; }
.shop-search-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0.75rem; }
.shop-search input { min-width: 0; width: 100%; min-height: 2.75rem; padding: 0.75rem 1rem; border: 1px solid var(--line-strong); background: var(--frost-bright); color: var(--graphite); font: inherit; font-size: 1rem; }
.shop-search input::placeholder { color: var(--text-muted); opacity: 1; }
.shop-search input:focus-visible, .shop-categories summary:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.shop-search > .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.5rem; }
.shop-category-group { border-bottom: 1px solid var(--line); }
.shop-category-group > a { font-weight: 500; }
.shop-category-group summary { min-height: 2.75rem; padding: 0.65rem 0.85rem; color: var(--text-muted); font-size: 0.875rem; cursor: pointer; }
.shop-category-group details a { padding-inline-start: 1.5rem; }
.shop-product-facts { margin-block: 1.25rem; border-block: 1px solid var(--line); font-size: 0.875rem; }
.shop-product-facts > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1rem; padding-block: 0.65rem; }
.shop-product-facts dt { color: var(--text-muted); }
.shop-product-facts dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.shop-results[aria-busy="true"] { cursor: progress; }
@media (max-width: 479px) { .shop-search-controls { grid-template-columns: minmax(0,1fr); } .shop-search-controls .button { justify-content: center; } }

/* Keep group names and disclosure labels within the category navigation. */
@media (max-width: 359px) {
 .shop-categories { grid-template-columns: minmax(0,1fr); }
}
