/* =====================================================================
   Print shop on the Full Aperture sweep.
   store/store.css is the Dot site's stylesheet, shared verbatim so both
   shops stay identical. This file re-points its colour tokens at the light
   palette (inside the shop only, so the header keeps its own) and supplies
   the few base rules the Dot's stylesheet assumed.
   ===================================================================== */
.shop, .shop-page dialog {
  --white: var(--ink);                 /* strong text */
  --mist: var(--muted);                /* labels */
  --ink-2: var(--plate);               /* product cards, dialogs, search */
  --line-2: var(--line-strong);
  --r-lg: 22px; --r: 14px;
  --display: var(--font);
  --pad: var(--sec);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}
/* surfaces the Dot drew in ink become the sweep */
.shop-page dialog input, .shop-page dialog select, .shop-page dialog textarea,
.shop-page .order-box, .shop-page #request-review pre, .shop-page .dialog-close { background: var(--sweep); }
.shop-page dialog { box-shadow: 0 30px 90px -20px rgba(7,13,25,.45); }
.shop-page dialog::backdrop { background: rgba(7,13,25,.45); }
.shop-page .dm-logo-toggle { color: #070D19; }
.shop-page .dm-logo-toggle[aria-pressed="true"] { background: #070D19; color: #F2F6F7; }
.shop-page .primary:hover { background: #070D19; color: #F2F6F7; }

/* base rules the Dot's stylesheet leaned on */
:where(.shop, .shop-page dialog) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(.shop, .shop-page dialog) :is(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.shop, .shop-page dialog) a { color: inherit; text-decoration: none; }
.shop-page .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the header is sticky here, not fixed, so the shop needs no offset */
.store { padding-top: clamp(2rem, 5vw, 3.5rem); }
.store-head h1 { font-variation-settings: normal; letter-spacing: -0.05em; font-weight: 600; }
.store-hint::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--miami); flex: none; }
.store-help .hero-ctas { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.card-price, .product-price strong, .subtotal strong { font-weight: 600; font-variation-settings: normal; letter-spacing: -0.03em; }
dialog h2 { font-weight: 600; letter-spacing: -0.04em; }
dialog h2 .dot { display: none; }
dialog h2::first-letter { text-transform: uppercase; }
legend { text-transform: none; font-variation-settings: normal; font-weight: 600; }
legend::first-letter { text-transform: uppercase; }
legend::after { display: none; }
.cart-btn b { background: var(--harbor); color: var(--miami); }

/* ---------------------------------------------------- specs & terms -- */
.shop .page-head .hero-ctas { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.shop .lede { margin-top: 1rem; color: var(--prose); font-size: 1.15rem; max-width: 56ch; }
.dots { display: grid; gap: .55rem; }
.dots li { position: relative; padding-left: 1.15rem; color: var(--prose); }
.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: .42rem; height: .42rem; border-radius: 50%; background: var(--miami); }
.dots b { color: var(--ink); }
.policy { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: .2rem; }
.toc a { display: flex; align-items: center; gap: .55rem; padding: .45rem 0; color: var(--prose); font-weight: 500; }
.toc a::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background .3s, border-color .3s; }
.toc a:hover { color: var(--ink); }
.toc a:hover::before { background: var(--miami); border-color: var(--miami); }
.policy section { padding: 0 0 clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 96px; }
.policy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.045em; }
.policy .intro { margin-top: .6rem; max-width: 60ch; color: var(--ink); }
.specs { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 160px 1fr; gap: .4rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--prose); }
.policy .dots { margin-top: 1.2rem; gap: .8rem; }
.turn { width: 100%; margin-top: 1.2rem; border-collapse: collapse; }
.turn th, .turn td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.turn th { font-size: .82rem; font-weight: 600; color: var(--muted); }
.turn td { color: var(--prose); }
.turn td:first-child { color: var(--ink); font-weight: 600; padding-right: 1rem; }
.callout { margin-top: 1.4rem; padding: 1.2rem 1.4rem; border-radius: 14px; background: var(--plate); border-left: 3px solid var(--miami); color: var(--prose); }
.callout b { color: var(--ink); }
@media (max-width: 860px) {
  .policy { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: .4rem; }
  .toc a { padding: .4rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; }
  .toc a::before { display: none; }
  .specs div { grid-template-columns: 1fr; }
}

/* Miami text is too pale on white: links and toggles that are words use the deep blue */
.shop-page .text-button, .shop-page .all-toggle[aria-pressed="true"] { color: var(--miami-deep); }

/* phones: brand, cart and menu share one row */
@media (max-width: 640px) {
  .shop-page .top-in { gap: .75rem; }
  .shop-page .top-cta { gap: .5rem; }
  .shop-page .brand-word { width: 128px; }
}
