:root {
  --ink: #111c4e;
  --blue: #233aa3;
  --yellow: #ffd84f;
  --coral: #ef6b5b;
  --pink: #f7b8cb;
  --sky: #c8e7f4;
  --paper: #fffdf8;
  --white: #ffffff;
  --muted: #616779;
  --line: #d7d9e3;
  --shadow: 0 18px 45px rgba(17, 28, 78, 0.12);
  --content: 1240px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.dialog-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.18em;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  min-height: 46px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.skip-link:focus {
  top: 1rem;
}

.promo {
  display: flex;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 1rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
}
.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 2rem), var(--content));
  min-height: 72px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  transform: rotate(-7deg);
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
}
.desktop-nav a {
  font-weight: 750;
  text-decoration: none;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

.button,
.purchase-form button,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 0.3rem;
  color: var(--white);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}
.button:hover,
.purchase-form button:hover,
.filter-chip:hover {
  background: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}
.button--light {
  color: var(--ink);
  background: var(--white);
}
.button--sun {
  color: var(--ink);
  background: var(--yellow);
}
.button--ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.button--small,
.header-shop {
  min-height: 42px;
  padding: 0.58rem 0.8rem;
  font-size: 0.9rem;
}
.purchase-form {
  display: inline-flex;
  margin: 0;
}
.purchase-form--full,
.purchase-form--full button {
  width: 100%;
}

main {
  min-height: 65vh;
}
.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}
.section {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}
.section--tight {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.section--blue {
  color: var(--white);
  background: var(--blue);
}
.section--yellow {
  background: var(--yellow);
}
.section--sky {
  background: var(--sky);
}
.section--pink {
  background: var(--pink);
}
.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  text-wrap: balance;
}
h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 6.7rem);
  letter-spacing: -0.055em;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
  letter-spacing: -0.04em;
}
h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.lede {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}
.section--blue .lede {
  color: #e6e8ff;
}
.section--blue .product-card__category {
  color: var(--ink);
}
.section--blue .stock {
  color: var(--white);
}
.section--blue .button--ghost {
  color: var(--white);
  border-color: var(--white);
}
.section--pink .lede {
  color: var(--ink);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head > div {
  max-width: 780px;
}

.hero {
  overflow: hidden;
  background: var(--yellow);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: min(780px, calc(100vh - 106px));
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7.5rem) max(1rem, calc((100vw - var(--content)) / 2));
  padding-right: clamp(1.5rem, 5vw, 4.5rem);
}
.hero-copy .lede {
  color: var(--ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}
.hero-note {
  margin: 1.2rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
}
.hero-visual {
  position: relative;
  min-width: 0;
  background: var(--white);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 260px;
  padding: 0.8rem 1rem;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.category-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.category-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 350ms ease;
}
.category-card:hover img {
  transform: scale(1.03);
}
.category-card__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 2px solid var(--ink);
  padding-top: 0.8rem;
}
.product-card[hidden] {
  display: none;
}
.product-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.product-card:hover .product-card__image img {
  transform: scale(1.035);
}
.product-card__category {
  display: inline-flex;
  align-self: flex-start;
  margin: 0.9rem 0 0.4rem;
  padding: 0.2rem 0.45rem;
  background: var(--sky);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-card h3 {
  flex: 1;
  margin-bottom: 0.8rem;
  font-family: inherit;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.product-card h3 a {
  text-decoration: none;
}
.product-card h3 a:hover {
  text-decoration: underline;
}
.product-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.price {
  font-size: 1.1rem;
  font-weight: 900;
}
.stock {
  color: #216238;
  font-size: 0.8rem;
  font-weight: 800;
}
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}
.product-card__actions .button {
  box-shadow: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  background: var(--white);
}
.step {
  padding: clamp(1.5rem, 3vw, 3rem);
}
.step + .step {
  border-left: 2px solid var(--ink);
}
.step-number {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1rem;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-weight: 950;
}
.step p {
  margin: 0;
  color: var(--muted);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 290px 290px;
  gap: 1rem;
}
.mosaic a {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--white);
}
.mosaic a:first-child {
  grid-row: 1 / 3;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0 2.5rem;
  border-bottom: 2px solid var(--ink);
}
.page-hero h1 {
  max-width: 1100px;
  font-size: clamp(3rem, 7vw, 6rem);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.breadcrumbs a {
  font-weight: 700;
}

.catalog-toolbar {
  position: sticky;
  top: 72px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 240px);
  gap: 0.8rem;
  margin: 0 0 2rem;
  padding: 0.9rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}
.catalog-toolbar input,
.catalog-toolbar select {
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.filter-chip {
  min-height: 38px;
  padding: 0.5rem 0.8rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
  font-size: 0.88rem;
}
.filter-chip[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
}
.result-count {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-weight: 750;
}
.empty-state {
  padding: 3rem;
  border: 2px dashed var(--ink);
  text-align: center;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.product-gallery {
  min-width: 0;
}
.gallery-main {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--white);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 48px;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
}
.gallery-thumbs {
  display: flex;
  min-width: 0;
  gap: 0.6rem;
  margin-top: 0.7rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.6rem;
}
.gallery-thumb {
  flex: 0 0 82px;
  width: 82px;
  min-height: 82px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--white);
  cursor: pointer;
}
.gallery-thumb[aria-current="true"] {
  border-color: var(--blue);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-summary {
  position: sticky;
  top: 106px;
}
.product-summary h1 {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.product-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tag {
  padding: 0.25rem 0.5rem;
  background: var(--sky);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.product-price {
  margin: 1.2rem 0 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
}
.snapshot {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.merchant-note {
  margin: 0.75rem 0 1.2rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--yellow);
  font-size: 0.9rem;
}
.summary-points {
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}
.summary-points li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.4rem;
}
.summary-points li::before {
  position: absolute;
  left: 0;
  content: "✦";
  color: var(--coral);
}
.product-reference {
  color: var(--muted);
  font-size: 0.8rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.detail-box {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 2px solid var(--ink);
  background: var(--white);
}
.detail-box ul {
  padding-left: 1.2rem;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 36%;
  font-size: 0.86rem;
}

.prose {
  max-width: 800px;
}
.prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}
.prose h3 {
  margin-top: 2rem;
  line-height: 1.1;
}
.prose li {
  margin: 0.45rem 0;
}
.callout {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
}
.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.help-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.help-link {
  padding: 1.4rem;
  border: 2px solid var(--ink);
  background: var(--white);
  text-decoration: none;
}
.help-link:hover {
  background: var(--yellow);
}

.faq-list {
  border-top: 2px solid var(--ink);
}
.faq-list details {
  border-bottom: 2px solid var(--ink);
}
.faq-list summary {
  padding: 1.15rem 0;
  font-weight: 850;
  cursor: pointer;
}
.faq-list details > div {
  max-width: 760px;
  padding: 0 0 1.2rem;
  color: var(--muted);
}

.image-dialog {
  width: min(94vw, 1100px);
  max-height: 94vh;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--white);
}
.image-dialog::backdrop {
  background: rgba(17, 28, 78, 0.84);
}
.image-dialog img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}
.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 48px;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
}

.sticky-buy {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 35;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 2rem), 760px);
  margin: 0 auto;
  padding: 0.75rem;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 7px 7px 0 var(--ink);
}
.sticky-buy.is-visible {
  display: grid;
}
.sticky-buy__title {
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-buy__price {
  display: block;
  font-size: 0.8rem;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  padding: 4rem 0 2.5rem;
}
.site-footer .brand {
  color: var(--white);
}
.site-footer .brand-mark {
  color: var(--ink);
}
.site-footer h3 {
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer nav {
  display: grid;
  gap: 0.45rem;
}
.site-footer a {
  color: var(--white);
}
.footer-note {
  max-width: 450px;
  color: #cfd3ea;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid #4e5684;
  color: #cfd3ea;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-shop {
    display: none;
  }
  .nav-shell {
    grid-template-columns: 1fr auto;
  }
  .menu-toggle {
    display: inline-flex;
    width: 46px;
    padding: 0;
    border: 2px solid var(--ink);
    background: var(--white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .mobile-menu {
    position: fixed;
    inset: 106px 0 0;
    z-index: 39;
    padding: 1.5rem 1rem 3rem;
    overflow-y: auto;
    color: var(--ink);
    background: var(--yellow);
  }
  .mobile-menu.is-open {
    display: block;
  }
  .mobile-menu nav {
    display: grid;
    gap: 0.2rem;
  }
  .mobile-menu a {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(17, 28, 78, 0.25);
    font-size: 1.2rem;
    font-weight: 850;
    text-decoration: none;
  }
  .mobile-menu .purchase-form {
    display: flex;
    margin-top: 1.2rem;
  }
  .mobile-menu .purchase-form button {
    width: 100%;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    min-height: 500px;
  }
  .hero-visual {
    min-height: 560px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-summary {
    position: static;
  }
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 340px 240px 240px;
  }
  .mosaic a:first-child {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / 3;
  }
}

@media (max-width: 700px) {
  .promo {
    font-size: 0.72rem;
  }
  .nav-shell {
    min-height: 66px;
  }
  .mobile-menu {
    inset-top: 100px;
  }
  .hero-copy {
    min-height: auto;
    padding-block: 4.5rem;
  }
  .hero-visual {
    min-height: 430px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .button,
  .hero-actions .purchase-form,
  .hero-actions .purchase-form button {
    width: 100%;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .category-grid,
  .product-grid,
  .steps,
  .detail-grid,
  .two-column,
  .help-links {
    grid-template-columns: 1fr;
  }
  .category-card,
  .category-card img {
    min-height: 380px;
  }
  .step + .step {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }
  .catalog-toolbar {
    top: 66px;
    grid-template-columns: 1fr;
  }
  .product-card__actions {
    grid-template-columns: 1fr;
  }
  .product-card__actions .button,
  .product-card__actions .purchase-form,
  .product-card__actions button {
    width: 100%;
  }
  .mosaic {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .mosaic a,
  .mosaic a:first-child {
    flex: 0 0 84vw;
    height: 420px;
    scroll-snap-align: start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .sticky-buy {
    grid-template-columns: 1fr;
  }
  .sticky-buy .purchase-form,
  .sticky-buy button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
