/* Product-focused layout, using the store's editable color settings. */
:root { --page-width: 1280px; --section-space: 76px; }
.site-header { border-bottom: 1px solid var(--color-border); }
.nav-link { font-size: 14px; }
.shop-intro { padding: 68px 0 56px; background: var(--color-default); }
.shop-intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 60px; }
.eyebrow { color: var(--color-primary); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.shop-intro h1 { font-size: clamp(34px, 4.7vw, 62px); letter-spacing: -.045em; line-height: 1.1; max-width: 14ch; margin-bottom: 24px; text-wrap: balance; }
.shop-intro-copy { font-size: 17px; max-width: 48ch; margin-bottom: 28px; }
.shop-intro-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.shop-intro-links .text-link { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.hero-product { width: 100%; max-width: 360px; justify-self: center; min-width: 0; list-style: none; margin: 0; padding: 0; }
.hero-product .card { padding: 18px; background: white; box-shadow: 0 20px 60px #1630290d; border-radius: 18px; }
.hero-product .card-atc, .hero-product .card-action { display: none; }
.hero-product .card-media { background: #fff; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.catalog-head h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; margin: 0; }
.catalog-head p { margin: 8px 0 0; }
.catalog-head a { white-space: nowrap; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.card { border: 1px solid var(--color-border); border-radius: 12px; padding: 12px; background: var(--color-body-bg); text-align: left; }
.card-media { border-radius: 8px; }
.card-info { align-items: flex-start; padding: 16px 2px 2px; gap: 8px; }
.card-title { font-size: 15px; line-height: 1.55; }
.card-title a { -webkit-line-clamp: 3; }
.card-atc { min-height: 44px; }
.product-grid { gap: 22px; }
.store-help { background: var(--color-default); border-radius: 16px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.store-help h2 { font-size: 26px; letter-spacing: -.025em; }
.store-help p { max-width: 60ch; margin-bottom: 0; }
.store-help .btn { flex-shrink: 0; }
.pdp { gap: 48px; }
.pdp-info { min-width: 0; }
.pdp-title { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.22; overflow-wrap: anywhere; }
.pdp-stage { border: 1px solid var(--color-border); border-radius: 14px; background: #fff; }
.pdp-price { margin-top: 20px; font-variant-numeric: tabular-nums; }
.pdp-form { padding-top: 16px; }
.pdp-meta { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.btn { min-height: 44px; letter-spacing: .01em; }
.btn--lg { min-height: 52px; }
.pill, .swatch { min-height: 40px; }
.input, .select, .textarea { font-size: 16px; }
.breadcrumb { font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.guarantee { padding: 36px 0; }
.site-footer { font-size: 14px; }
.cookie-box { max-width: min(440px, calc(100vw - 32px)); }
.cookie-box .btn-row > .btn { flex: 1; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; }
/* Keep overlays and imported product content inside the viewport. */
html { scrollbar-gutter: stable; }
html:not(.is-ready) [data-store-name] { visibility: hidden; }
html:not(.is-ready) .announcement { display: none; }
.drawer-body { min-height: 0; overscroll-behavior: contain; }
.drawer-foot { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.pdp-buttons { display: grid; gap: 12px; }
.pdp-actions .btn-atc { min-width: 0; flex-wrap: wrap; white-space: normal; }
.pill { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.option-group legend { max-width: 100%; overflow-wrap: anywhere; }
.pdp-info, .cart-product, .mini-cart-item > div { overflow-wrap: anywhere; }
.rte { min-width: 0; max-width: 100%; overflow-wrap: anywhere; overflow-x: auto; }
.rte img, .rte video, .rte iframe { max-width: 100%; }
.btn-buy-now { background: var(--color-headings); border-color: var(--color-headings); color: #fff; }
.btn-buy-now:hover { background: var(--color-secondary); border-color: var(--color-secondary); }
.sticky-atc-inner { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
@media (max-width: 479px) {
  .pdp-actions { flex-wrap: wrap; }
  .pdp-actions .btn-atc { flex-basis: 100%; }
  .pdp-actions .qty { min-height: 44px; }
  .sticky-atc-inner { gap: 10px; }
  .sticky-atc .btn { padding-inline: 10px; font-size: 12px; }
}
@media (min-width: 1000px) { .pdp-info { padding: 8px 0 0 8px; } }
@media (max-width: 749px) {
  :root { --section-space: 46px; }
  .shop-intro { padding: 38px 0; }
  .shop-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .shop-intro h1 { max-width: 18ch; font-size: 38px; }
  .shop-intro-copy { font-size: 15px; }
  .hero-product { max-width: 300px; }
  .catalog-head { gap: 14px; align-items: start; }
  .catalog-head a { white-space: normal; text-align: right; }
  .product-grid { gap: 12px; }
  .card { padding: 9px; border-radius: 10px; }
  .card-title { font-size: 13px; }
  .card-atc { padding: 10px 6px; font-size: 12px; }
  .store-help { padding: 25px; display: block; }
  .store-help .btn { margin-top: 22px; }
  .pdp { gap: 28px; }
  .pdp-title { font-size: 27px; }
}
