/* Store presentation follows the homepage's shared brand and page styles. */
.store-page .store-main { padding-top: 68px; padding-bottom: 60px; }
.store-heading { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: clamp(32px,5vw,76px); align-items: center; padding-bottom: 58px; }
.store-heading h1 { font-size: clamp(42px,5vw,68px); line-height: 1.12; letter-spacing: -1.2px; margin-bottom: 22px; text-wrap: balance; }
.store-heading h1 em { color: var(--ink); }
.store-intro { font-size: 19px; line-height: 1.6; margin: 0; max-width: 530px; }
.store-promise { border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px,3vw,38px); }
.store-promise h2 { font-size: 30px; margin-bottom: 20px; }
.store-promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 16px; }
.store-promise li { position: relative; padding-left: 28px; }
.store-promise li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 28px 0; }
.catalog-heading h2 { font-size: 26px; letter-spacing: -.7px; }
.catalog-heading h2 span { font-size: 14px; font-weight: 500; margin-left: 8px; letter-spacing: 0; }
.catalog-heading > a { color: var(--blue); font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.store-page .store-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 28px; }
.store-catalog { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.store-product { padding: 0; border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; }
.product-top { padding: 28px 26px 24px; min-height: 236px; }
.product-top h2 { font-size: 30px; line-height: 1.12; margin-bottom: 14px; text-wrap: balance; }
.product-top > p:not(.card-kicker), .product-top > div > p:not(.card-kicker) { font-size: 16px; line-height: 1.6; margin: 0; }
.product-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; font-size: 13px; font-weight: 600; }
.product-facts span { border-bottom: 1px solid var(--blue); padding-bottom: 3px; }
.ebook-product .product-top { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.ebook-product .product-top > div { min-width: 0; }
.ebook-product img { width: 64px; height: 96px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.product-buy { margin: 0 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.store-page .store-price { gap: 10px; margin: 0 0 16px; }
.store-page .store-price strong { font-size: 38px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.2; }
.store-page .store-price span { font-size: 14px; }
.product-buy .button { width: 100%; padding: 15px 18px; font-size: 16px; }
.product-detail { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.product-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-body > p:first-child { margin: 0 0 14px; line-height: 1.6; }
.product-body ul { padding-left: 20px; margin: 0 0 22px; }
.product-body li { font-size: 15px; line-height: 1.6; margin: 8px 0; }
.product-preview { color: var(--blue); font-size: 15px; font-weight: 700; text-underline-offset: 4px; margin-top: auto; }
.store-product .card-small { font-size: 13px; line-height: 1.55; margin: 16px 0 0; }
.store-page .store-cart { padding: 26px; border-radius: 18px; border: 1px solid var(--line); }
.store-cart h2 { font-size: 28px; display: flex; justify-content: space-between; align-items: center; }
.store-cart h2 [data-cart-count] { font-size: 15px; display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; letter-spacing: 0; }
#cart-empty { border-top: 1px solid var(--line); padding: 18px 0; }
#cart-empty p:first-child { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.store-cart .cart-status:empty { display: none; }
.cart-help { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.cart-help > a { font-size: 14px; font-weight: 700; color: var(--blue); }
.cart-help p { margin-bottom: 0; }
.store-page .button.paypal { background: transparent; border-color: var(--ink); color: var(--ink); }
.store-page .button[aria-disabled=true] { background: var(--paper); border-color: var(--ink); color: var(--ink); cursor: default; }
.mobile-cart-link { display: none; }
@media (max-width: 1100px) {
  .store-page .store-layout { grid-template-columns: minmax(0,1fr); }
  .store-page .store-cart { position: static; }
  .product-top { min-height: 220px; }
  .mobile-cart-link { display: block; position: sticky; bottom: 16px; background: var(--blue); color: var(--paper); text-align: center; padding: 14px 20px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; margin-top: 24px; }
}
@media (max-width: 800px) {
  .store-page .store-main { padding-top: 37px; }
  .store-heading { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .store-heading h1 { font-size: clamp(37px,8.5vw,56px); letter-spacing: -1.5px; }
  .store-promise { padding: 26px; }
  .store-page .navlinks { gap: 12px 20px; }
  .store-page .nav-buy { white-space: nowrap; }
}
@media (max-width: 600px) {
  .store-catalog { grid-template-columns: 1fr; }
  .store-intro { font-size: 17px; }
  .catalog-heading h2 { font-size: 23px; }
  .catalog-heading > a { font-size: 13px; }
  .product-top { min-height: 0; padding: 26px 24px; }
  .product-buy { margin-inline: 24px; }
  .product-body { padding-inline: 24px; }
  .ebook-product img { width: 76px; height: 114px; }
}
