/* Alpine shop system: warm paper, pine, rust, and editorial serif headings. */
html:has(.shop-page) {
  --shop-paper: #f6f4ee;
  --shop-pine: #193c34;
  --shop-rust: #b65c3c;
  --bg: var(--shop-paper);
  --bg-soft: #edece4;
  --text: #193c34;
  --muted: #555e58;
  --line: #cbd0c5;
  --line-strong: #86978a;
  --accent: #b65c3c;
  --accent-strong: #8d3c24;
  --focus: #8d3c24;
}
html[data-theme="dark"]:has(.shop-page) {
  --bg: #152421;
  --bg-soft: #1b2e29;
  --text: #f6f4ee;
  --muted: #bcc7c0;
  --line: #40564b;
  --line-strong: #7c9787;
  --accent-strong: #f0ad8f;
  --focus: #f0ad8f;
}
.site-theme .page-shell:has(.shop-catalog-page) > main { width: 100%; margin: 0; }
.shop-catalog-page { padding: 0; }
.shop-container { width: min(1424px, calc(100% - 112px)); margin-inline: auto; }
.site-theme .shop-page :is(h1,h2,h3) { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; letter-spacing: -.035em; overflow-wrap: normal; }
.shop-page :is(a,button,summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.shop-mountain-hero { position: relative; min-height: 660px; display: flex; align-items: center; background: #193c34 url("../img/shop/alpine-mountains.13a1bc7bc56d.webp") center 48% / cover no-repeat; }
/* A CSS backdrop keeps the editorial copy and image in one paint layer.
   On phones the responsive image sits above a solid, readable copy area. */
.shop-mountain-image { display: none; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.shop-hero-content { position: relative; z-index: 1; padding-block: 80px; }
.site-theme .shop-hero-content h1 { color: #fffdf6; margin: 0 0 22px; font-size: clamp(3rem, 4.9vw, 4.5rem); line-height: 1.07; text-shadow: 0 1px 12px #10201ccc; }
.shop-hero-content > p { max-width: 590px; margin: 0; color: #fffdf6; font-size: 1.2rem; line-height: 1.55; text-shadow: 0 1px 6px #10201c; }
.shop-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; margin-top: 30px; }
.shop-primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 26px; background: #a84a2e; color: #fffdf6; font-size: 1rem; font-weight: 600; line-height: 1.5; border: 1px solid transparent; }
.shop-primary-link:hover { background: #8d3c24; }
.shop-story-link { color: #fffdf6; padding-block: 10px; font-size: 1rem; border-bottom: 1px solid currentColor; text-shadow: 0 1px 6px #10201c; }
.shop-family-intro { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.shop-family-intro p { margin: 0; font: 400 1.9rem/1.25 Georgia, serif; letter-spacing: -.03em; }
.shop-family-intro span { color: var(--muted); font-size: .9rem; }
.shop-catalog-page .shop-collection { padding-block: 54px 56px; }
.shop-catalog-page .shop-section-heading { margin: 0 0 16px; }
.site-theme .shop-catalog-page .shop-section-heading h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.shop-collection-note { margin: 0 0 30px; max-width: 85ch; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.shop-catalog-page .shop-product-grid { gap: 38px 28px; }
.shop-catalog-page .shop-product-link { border-radius: 0; gap: 0; }
.shop-catalog-page .shop-product-media { border-radius: 0; border: 0; }
.shop-catalog-page .shop-product-copy { padding: 22px 0 0; }
.shop-page .shop-category { color: var(--accent-strong); text-transform: uppercase; font-size: .7rem; letter-spacing: .15em; font-weight: 600; }
.site-theme .shop-catalog-page .shop-product-copy h3 { margin: 6px 0 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.15; }
.shop-catalog-page .shop-product-summary { font-size: .95rem; line-height: 1.55; margin-bottom: 20px; }
.shop-card-bottom { display: flex; gap: 14px; justify-content: space-between; align-items: end; margin-top: auto; }
.shop-catalog-page .shop-card-price { display: grid; gap: 3px; margin: 0; }
.shop-catalog-page .shop-card-price strong { color: var(--accent-strong); font: 400 1.6rem/1.2 Georgia, serif; }
.shop-catalog-page .shop-card-price span { font-size: .75rem; }
.shop-page .shop-text-link { color: var(--text); }
.shop-catalog-page .shop-card-bottom .shop-text-link { font-size: .8rem; flex-shrink: 0; margin-bottom: 3px; }
.shop-catalog-page .shop-image-disclosure { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }
.shop-shipping { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; border-top: 1px solid var(--line); padding-block: 64px 70px; }
.shop-shipping-story { padding-right: 40px; border-right: 1px solid var(--line); }
.site-theme .shop-shipping h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.08; margin: 0 0 24px; }
.shop-shipping-story > p { font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin: 0 0 24px; max-width: 44ch; }
.shop-shipping-story .shop-shipping-reach { font: 400 1.8rem/1.35 Georgia, serif; color: var(--text); padding-top: 26px; margin-top: 28px; border-top: 1px solid var(--line); }
.shop-shipping-story .shop-history-note { font-size: .8rem; margin-top: 28px; }
.site-theme .shop-destination-board h3 { font-size: 1.9rem; margin: 0 0 8px; }
.shop-destination-hint { margin: 0 0 20px; color: var(--muted); font-size: .85rem; }
.shop-state-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.shop-state { display: grid; align-content: center; justify-items: center; gap: 4px; min-height: 68px; padding: 8px 3px; color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 2px; font-family: inherit; cursor: pointer; }
.shop-state strong { font: 600 1.15rem/1.25 Georgia, serif; }
.shop-state span { font-size: .75rem; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
.shop-state:hover { background: var(--bg-soft); border-color: var(--text); }
.shop-state[aria-pressed="true"] { background: #a84a2e; border-color: #a84a2e; color: #fffdf6; }
.shop-destination-detail { border: 1px solid var(--line); padding: 18px 22px; margin-top: 18px; }
.shop-destination-detail strong { display: block; font: 400 1.65rem/1.3 Georgia, serif; }
.shop-destination-detail p { color: var(--muted); font-size: .85rem; line-height: 1.5; margin: 4px 0 0; }
.shop-destination-list { margin-top: 18px; border-block: 1px solid var(--line); }
.shop-destination-list summary { padding: 14px 0; font-size: .9rem; cursor: pointer; }
.shop-destination-list ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 20px; margin: 0 0 22px; padding-left: 18px; color: var(--muted); font-size: .8rem; }
.shop-detail-page .shop-product-media { border-radius: 2px; }
.site-theme .shop-detail-copy h1 { font-size: clamp(2.2rem,3.8vw,3.8rem); font-weight: 600; }
.shop-detail-price strong { color: var(--accent-strong); font-family: Georgia, serif; font-weight: 400; }
.shop-page .shop-gallery-thumbnail { border-radius: 2px; }
.shop-detail-page .shop-back-link { color: var(--text); }
.shop-detail-page .shop-product-plans h2 { font-size: 1.9rem; }
@media (max-width: 1200px) {
  .shop-container { width: calc(100% - 64px); }
  .shop-mountain-hero { min-height: 610px; }
  .shop-shipping { gap: 28px; }
  .shop-shipping-story { padding-right: 28px; }
}
@media (max-width: 900px) {
  .shop-family-intro { align-items: start; flex-direction: column; gap: 10px; }
  .shop-shipping { grid-template-columns: 1fr; gap: 26px; }
  .shop-shipping-story { border-right: 0; padding-right: 0; }
  .shop-shipping-story > p { max-width: 65ch; }
  .shop-shipping-story .shop-shipping-reach { margin-top: 0; padding-top: 16px; }
  .shop-shipping-story .shop-history-note { margin-top: 16px; margin-bottom: 0; }
}
@media (max-width: 760px) {
  .shop-container { width: calc(100% - 40px); }
  .shop-mountain-hero { display: block; min-height: 0; background-image: none; }
  .shop-mountain-image { display: block; height: 270px; object-position: center; }
  .shop-hero-content { padding-block: 30px 36px; }
  .site-theme .shop-hero-content h1 { font-size: clamp(2rem, 6.8vw, 3.4rem); line-height: 1.12; text-shadow: none; }
  .shop-hero-content > p { font-size: 1rem; text-shadow: none; }
  .shop-hero-actions { gap: 20px; margin-top: 24px; }
  .shop-primary-link { padding: 12px 18px; min-height: 48px; font-size: .875rem; }
  .shop-story-link { font-size: .875rem; text-shadow: none; }
  .shop-family-intro { padding-block: 24px; }
  .shop-family-intro p { font-size: 1.65rem; }
  .shop-family-intro span { font-size: .8rem; }
  .shop-catalog-page .shop-collection { padding-block: 32px 38px; }
  .shop-collection-note { font-size: .85rem; }
  .shop-catalog-page .shop-product-copy h3 { font-size: 1.75rem; }
  .shop-catalog-page .shop-product-grid { gap: 32px; }
  .shop-catalog-page .shop-product-summary { font-size: .9rem; }
  .shop-shipping { padding-block: 38px; }
  .site-theme .shop-shipping h2 { font-size: 2.25rem; }
  .shop-shipping-story > p { font-size: .95rem; }
  .shop-shipping-story .shop-shipping-reach { font-size: 1.6rem; }
  .site-theme .shop-destination-board h3 { font-size: 1.6rem; }
  .shop-state-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .shop-destination-list ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 360px) {
  .shop-hero-actions { align-items: start; flex-direction: column; gap: 10px; }
  .shop-state-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.shop-purchase-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1rem 0;
}
.shop-purchase-form select {
  width: auto;
  min-width: 4rem;
  margin: 0;
}
.shop-purchase-form .solid-button { margin: 0; }
