:root {
  --store-ink: #111715;
  --store-paper: #f4f0e7;
  --store-white: #fff;
  --store-mint: #9bc8b8;
  --store-ochre: #c99b3b;
  --store-rule: #bdbaaf;
}

.store-page { background: var(--store-paper); color: var(--store-ink); }
.store-hero { background: var(--store-ink); color: #fff; border-bottom: 1px solid #34423d; }
.store-hero-inner { max-width: 1180px; margin: 0 auto; padding: 72px 24px 80px; display: grid; grid-template-columns: .85fr 1.35fr; gap: 60px; align-items: center; }
.store-hero h1 { font-family: Newsreader, Georgia, serif; font-size: clamp(52px, 6vw, 92px); font-weight: 500; line-height: .86; letter-spacing: -.045em; margin: 0 0 24px; }
.store-hero p { max-width: 520px; font-size: 18px; line-height: 1.55; color: #d8dfdc; }
.store-eyebrow { color: var(--store-mint); font: 700 12px/1.2 "Public Sans", sans-serif; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.store-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 16px; padding: 15px 22px; background: var(--store-ochre); color: #111; text-decoration: none; font: 800 13px/1 "Public Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--store-ochre); }
.store-cta:hover { background: #ddb158; }
.issue-stack { min-height: 465px; position: relative; }
.issue-stack img { position: absolute; width: min(32%, 230px); height: auto; border: 1px solid #4a5752; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.issue-stack img:nth-child(1) { left: 7%; top: 45px; transform: rotate(-4deg); }
.issue-stack img:nth-child(2) { left: 34%; top: 0; z-index: 2; }
.issue-stack img:nth-child(3) { left: 62%; top: 40px; transform: rotate(4deg); }

.store-shell { max-width: 1180px; margin: 0 auto; padding: 64px 24px 88px; }
.store-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: 42px; align-items: end; border-bottom: 1px solid var(--store-rule); padding-bottom: 30px; }
.store-intro h2, .store-section h2 { font-family: Newsreader, Georgia, serif; font-size: clamp(40px, 5vw, 70px); font-weight: 500; line-height: .96; letter-spacing: -.035em; margin: 0; }
.store-intro p { margin: 0; line-height: 1.55; color: #4e5552; }
.store-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--store-rule); }
.store-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.store-filter { background: transparent; color: var(--store-ink); border: 1px solid #777b77; border-radius: 0; padding: 9px 12px; font: 700 12px "Public Sans", sans-serif; cursor: pointer; }
.store-filter[aria-pressed="true"], .store-filter:hover { background: var(--store-ink); color: #fff; }
.cart-open { background: var(--store-ink); color: #fff; border: 1px solid var(--store-ink); padding: 11px 15px; font: 700 13px "Public Sans", sans-serif; cursor: pointer; white-space: nowrap; }
.store-status { padding: 18px 0; color: #4e5552; font-size: 14px; }
.store-section { padding-top: 58px; scroll-margin-top: 20px; }
.store-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.store-section-head p { max-width: 470px; margin: 0; line-height: 1.5; color: #59605c; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-media { aspect-ratio: 4/5; background: #e7e2d8; overflow: hidden; border: 1px solid #d4d0c7; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card[data-category="magazine"] .product-media img { object-fit: contain; background: #e7e2d8; }
.product-copy { display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
.product-copy h3 { font: 700 16px/1.25 "Public Sans", sans-serif; margin: 0 0 7px; }
.product-copy p { color: #59605c; font-size: 13px; line-height: 1.45; margin: 0 0 12px; flex: 1; }
.product-price { font: 700 17px "Public Sans", sans-serif; margin: 3px 0 10px; }
.variant-select { width: 100%; padding: 10px; margin-bottom: 8px; border: 1px solid #8c908d; border-radius: 0; background: #fff; font: 600 13px "Public Sans", sans-serif; }
.add-button { width: 100%; padding: 11px; border: 1px solid var(--store-ink); border-radius: 0; background: var(--store-ink); color: #fff; font: 700 12px "Public Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.add-button:hover { background: #2b332f; }
.add-button:disabled { opacity: .45; cursor: not-allowed; }
.editorial-break { margin: 72px 0 8px; padding: 34px 0; border-top: 1px solid var(--store-rule); border-bottom: 1px solid var(--store-rule); display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; }
.editorial-break blockquote { font-family: Newsreader, Georgia, serif; font-size: clamp(30px, 4vw, 52px); line-height: 1.02; margin: 0; }
.editorial-break p { margin: 0; align-self: end; font-size: 14px; color: #555d59; }

.cart-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.46); z-index: 9998; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); background: #fff; z-index: 9999; transform: translateX(100%); transition: transform .2s ease; display: flex; flex-direction: column; }
.cart-backdrop.open { display: block; }
.cart-drawer.open { transform: translateX(0); }
.cart-header, .cart-footer { padding: 20px; border-bottom: 1px solid #ddd; }
.cart-header { display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { margin: 0; font: 600 30px Newsreader, Georgia, serif; }
.cart-close { border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.cart-body { padding: 20px; overflow: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid #e4e4e4; }
.cart-line img { width: 70px; height: 82px; object-fit: cover; background: #eee; }
.cart-line h3 { margin: 0 0 4px; font: 700 14px "Public Sans", sans-serif; }
.cart-line p { margin: 0 0 8px; font-size: 12px; color: #666; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button { width: 27px; height: 27px; background: #fff; border: 1px solid #aaa; cursor: pointer; }
.cart-remove { border: 0; background: transparent; color: #8c231d; padding: 0; font-size: 12px; cursor: pointer; }
.cart-footer { border-top: 1px solid #ddd; border-bottom: 0; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 14px; }
.checkout-button { width: 100%; padding: 14px; border: 0; background: var(--store-ink); color: #fff; font: 700 14px "Public Sans", sans-serif; cursor: pointer; }
.checkout-button:disabled { opacity: .5; }
.store-policies { background: var(--store-ink); color: #fff; }
.store-policies .wrap { padding-top: 54px; padding-bottom: 54px; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.policy-grid h3 { font: 600 25px Newsreader, Georgia, serif; margin: 0 0 8px; }
.policy-grid p { color: #c8d0cc; line-height: 1.55; font-size: 14px; }

@media (max-width: 900px) {
  .store-hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .issue-stack { min-height: 420px; }
  .store-intro, .editorial-break { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .store-hero-inner { padding: 42px 18px 48px; gap: 30px; }
  .issue-stack { min-height: 310px; }
  .issue-stack img { width: 38%; }
  .issue-stack img:nth-child(1) { left: 0; top: 32px; }
  .issue-stack img:nth-child(2) { left: 31%; }
  .issue-stack img:nth-child(3) { left: 62%; top: 32px; }
  .store-shell { padding: 46px 16px 60px; }
  .store-tools, .store-section-head { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; gap: 34px; }
}
