/* Big-box storefront skin (2026-09-26). Loaded after styles.css; overrides the editorial look. */
:root {
  --store-blue: #0a4fb3;
  --store-blue-deep: #083c8a;
  --store-yellow: #ffc220;
  --store-bg: #f2f4f7;
  --store-card: #ffffff;
  --store-ink: #1d2433;
  --store-muted: #5b6475;
  --store-line: #e2e6ec;
  --banner-height: 0px;
}
body { background: var(--store-bg); color: var(--store-ink); font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: blue bar, logo, big search */
.site-header, .site-nav { background: var(--store-blue); border: 0; }
.site-header.is-compact { transform: none; }
.site-nav__inner { gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.site-nav__brand, .site-nav__brand:hover { color: #fff; font-family: inherit; letter-spacing: -0.02em; gap: 8px; font-size: 1.3rem; }
.site-nav__logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--store-yellow); color: var(--store-blue-deep); font-size: 0.85rem; font-weight: 800; letter-spacing: 0; }
.store-search { order: 3; display: flex; flex: 1 1 100%; min-width: 0; height: 44px; border-radius: 999px; background: #fff; overflow: hidden; }
.store-search input { flex: 1; min-width: 0; border: 0; padding: 0 18px; font: inherit; font-size: 1rem; color: var(--store-ink); background: transparent; }
.store-search input:focus { outline: none; }
.store-search:focus-within { box-shadow: 0 0 0 3px var(--store-yellow); }
.store-search button { display: grid; place-items: center; width: 44px; height: 36px; margin: 4px; border: 0; border-radius: 999px; background: var(--store-yellow); color: var(--store-blue-deep); cursor: pointer; }
.site-nav__toggle { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.site-nav__toggle-lines, .site-nav__toggle-lines::before, .site-nav__toggle-lines::after { background: #fff; }
.site-nav__menu a { color: #fff; }
.site-nav__menu a[aria-current] { text-decoration: underline; text-decoration-color: var(--store-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-nav__menu.is-open { background: var(--store-blue-deep); }
.site-nav__action { background: var(--store-yellow) !important; color: var(--store-blue-deep) !important; border-radius: 999px !important; border: 0 !important; font-weight: 700; }
@media (min-width: 52rem) {
  .site-nav__inner { flex-wrap: nowrap; }
  .store-search { order: 0; flex: 1 1 auto; max-width: 42rem; }
}

main.wrap { padding-top: 16px; }

/* Hero banner */
.store-hero { display: grid; gap: 16px; align-items: center; margin: 0 0 16px; padding: 24px; border-radius: 16px; background: linear-gradient(120deg, #dfeafd 0%, #eef4ff 55%, #fff6d6 100%); overflow: hidden; }
.store-hero__eyebrow { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: var(--store-yellow); color: var(--store-blue-deep); font-size: .85rem; font-weight: 800; }
.store-hero h1 { margin: 0 0 8px; font-family: inherit; font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--store-blue-deep); }
.store-hero p { margin: 0 0 16px; color: var(--store-muted); max-width: 34rem; }
.store-hero__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px; border-radius: 999px; background: var(--store-blue); color: #fff; font-weight: 700; text-decoration: none; }
.store-hero__cta:hover { background: var(--store-blue-deep); color: #fff; }
.store-hero__collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.store-hero__collage img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(10,40,90,.08); }
@media (min-width: 52rem) { .store-hero { grid-template-columns: 1.1fr 1fr; padding: 36px; } }

/* Category chips */
.chips { display: flex; gap: 8px; margin: 0 0 16px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--store-line); border-radius: 999px; background: #fff; color: var(--store-ink); font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip span { color: var(--store-muted); font-weight: 500; }
.chip:hover { border-color: var(--store-blue); color: var(--store-blue); }
.chip.is-active { background: var(--store-blue); border-color: var(--store-blue); color: #fff; }
.chip.is-active span { color: #dbe7ff; }

/* Grid + shelves */
.store-grid-section, .shelf { margin: 0 0 20px; padding: 16px; border-radius: 16px; background: #fff; }
.shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.shelf__head h2 { margin: 0; font-family: inherit; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.shelf__head a, .shelf__head span { color: var(--store-blue); font-size: .92rem; font-weight: 600; }
.shelf__head span { color: var(--store-muted); }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 40rem) { .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .store-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.shelf__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 44%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
@media (min-width: 40rem) { .shelf__row { grid-auto-columns: minmax(180px, 23%); } }
@media (min-width: 60rem) { .shelf__row { grid-auto-columns: calc((100% - 48px) / 5); } }
.shelf__row .tile { scroll-snap-align: start; }

/* Product tile */
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px; border: 1px solid var(--store-line); border-radius: 12px; background: var(--store-card); transition: box-shadow .15s ease; }
.tile:hover { box-shadow: 0 6px 18px rgba(10,40,90,.12); }
.tile[hidden] { display: none; }
.tile__photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: #fff; overflow: hidden; }
.tile__photo img { width: 100%; height: 100%; object-fit: contain; }
.tile__nophoto { display: grid; place-items: center; width: 100%; height: 100%; background: var(--store-bg); color: var(--store-muted); font-weight: 800; }
.tile__badge { align-self: flex-start; padding: 2px 8px; border-radius: 4px; background: var(--store-yellow); color: var(--store-blue-deep); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.tile__badge--past { background: var(--store-line); color: var(--store-muted); }
.tile__title { margin: 0; font-family: inherit; font-size: .95rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile__title a { color: var(--store-ink); text-decoration: none; }
.tile__title a:hover { text-decoration: underline; }
.tile__brand { margin: 0; color: var(--store-muted); font-size: .8rem; font-weight: 600; }
.tile__meta { margin: 0; color: #1a7f37; font-size: .8rem; font-weight: 600; }
.tile--past .tile__meta { color: var(--store-muted); }
.tile__cta { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 999px; background: var(--store-blue); color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.tile__cta:hover { background: var(--store-blue-deep); color: #fff; }

.store-empty { padding: 24px; text-align: center; color: var(--store-muted); }
.store-disclosure { margin: 0 0 20px; color: var(--store-muted); font-size: .85rem; text-align: center; }
.store-index-head { margin: 8px 0 16px; }
.store-index-head h1 { margin: 0 0 4px; font-family: inherit; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.store-index-head p { margin: 0; color: var(--store-muted); }
.deal-utility { border-radius: 16px; background: #fff; }

/* Fixes after first render: width/height attributes were sizing photos; old menu paint. */
.store-hero { border: 0; padding-block: 24px; }
.store-hero__collage img { height: auto; }
.tile__photo img { height: 100%; max-height: 100%; }
.store-search input { height: 100%; line-height: normal; }
.site-nav__menu { background: var(--store-blue-deep); border-bottom: 0; }
.site-nav__menu > a { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.site-nav__menu > a[aria-current='page'] { color: var(--store-yellow); }
@media (min-width: 52rem) {
  .store-hero { padding: 36px; }
  .site-nav__menu, .site-nav__menu[hidden] { background: transparent; gap: 18px; }
  .site-nav__action { padding: 0 18px; }
}
.store-hero { min-height: 0; }
.store-search input { align-self: stretch; margin: 0; padding: 0 18px !important; border: 0 !important; box-shadow: none; min-height: 0; }

/* Prices, timers, deal of the day, sort (2026-09-26) */
.tile__photo { position: relative; }
.tile__photo .tile__badge { position: absolute; top: 6px; left: 6px; }
.tile__badge { background: #d6001c; color: #fff; }
.tile__badge--past { background: var(--store-line); color: var(--store-muted); }
.price { display: grid; gap: 1px; margin: 2px 0; }
.price p { margin: 0; line-height: 1.25; }
.price__now { color: #1a7f37; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.price__cur, .price__cents { font-size: .6em; vertical-align: .55em; font-weight: 800; }
.price__cents { margin-left: 1px; }
.price__was { color: var(--store-muted); font-size: .82rem; }
.price__save { font-size: .82rem; font-weight: 700; color: var(--store-ink); }
.price__pct { display: inline-block; margin-right: 4px; padding: 0 6px; border-radius: 4px; background: #e6f4ea; color: #1a7f37; }
.price__low { color: #b3261e; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.price__asof { color: var(--store-muted); font-size: .74rem; }
.price--big .price__now { font-size: 2.6rem; }
.price--big .price__was, .price--big .price__save { font-size: 1rem; }
.tile__history { align-self: center; color: var(--store-blue); font-size: .78rem; font-weight: 600; }
.tile__cta { margin-top: auto; background: var(--store-yellow); color: var(--store-blue-deep); }
.tile__cta:hover { background: #ffb000; color: var(--store-blue-deep); }
.tile { gap: 4px; }

.store-clock { margin: 0 0 16px; padding: 10px 16px; border-radius: 12px; background: var(--store-blue-deep); color: #fff; font-size: .92rem; text-align: center; }
.store-clock strong { display: inline-block; min-width: 5.5em; color: var(--store-yellow); font-variant-numeric: tabular-nums; font-size: 1.05rem; }

.dotd { display: grid; gap: 16px; margin: 0 0 16px; padding: 16px; border: 3px solid var(--store-yellow); border-radius: 16px; background: #fff; }
.dotd__photo { display: grid; place-items: center; aspect-ratio: 1; max-height: 340px; }
.dotd__photo img { width: 100%; height: 100%; object-fit: contain; }
.dotd__eyebrow { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: #d6001c; color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.dotd h2 { margin: 0 0 8px; font-family: inherit; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; }
.dotd h2 a { color: var(--store-ink); text-decoration: none; }
.dotd__cta { display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; padding: 0 32px; border-radius: 999px; background: var(--store-yellow); color: var(--store-blue-deep); font-weight: 800; text-decoration: none; }
@media (min-width: 52rem) { .dotd { grid-template-columns: 340px 1fr; align-items: center; padding: 24px; } }

.sortbar { display: flex; align-items: center; gap: 12px; color: var(--store-muted); font-size: .9rem; }
.sortbar select { min-height: 36px; margin-left: 6px; padding: 0 10px; border: 1px solid var(--store-line); border-radius: 999px; background: #fff; font: inherit; color: var(--store-ink); }
.sortbar label { display: inline-flex; align-items: center; white-space: nowrap; }
.shelf__head { flex-wrap: wrap; }
