:root {
  color-scheme: light;
  --ink: #1f2937;
  --muted: #667085;
  --line: #e4dfd3;
  --paper: #fffdf7;
  --cream: #f8f1df;
  --teal: #2ea89d;
  --teal-dark: #137f78;
  --coral: #ef5350;
  --sun: #ffca28;
  --blue: #5c6bc0;
  --green: #44a86f;
  --shadow: 0 18px 44px rgba(31, 41, 55, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.drawer-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 52px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid #233044;
  border-radius: var(--radius);
  background: var(--sun);
  color: #233044;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: #445067;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  border-color: var(--teal);
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.icon-button svg,
.button svg,
.search-box svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) clamp(16px, 5vw, 70px) clamp(30px, 5vw, 62px);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98), rgba(255, 253, 247, 0.74)),
    linear-gradient(135deg, #fff3d2, #e6f7f3);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 6vw, 5.35rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.hero-text {
  max-width: 570px;
  margin: 22px 0 0;
  color: #465167;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: #233044;
  color: #fff;
  box-shadow: 0 12px 24px rgba(35, 48, 68, 0.18);
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.full-width {
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  padding: 9px 11px;
  color: #3f4b5f;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.stats-band article {
  min-height: 128px;
  padding: 28px clamp(16px, 3vw, 34px);
  background: #fff;
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.stats-band span {
  margin-top: 4px;
  color: var(--muted);
}

.featured-product {
  display: grid;
  grid-template-columns: minmax(360px, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(16px, 4vw, 28px) clamp(42px, 7vw, 74px);
}

.featured-gallery {
  display: grid;
  gap: 12px;
}

.featured-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.featured-image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.saving-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 11px;
  border-radius: var(--radius);
  background: #233044;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(31, 41, 55, 0.18);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumb {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.07);
}

.gallery-thumb.is-active {
  border-color: var(--teal);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.featured-copy {
  min-width: 0;
}

.featured-copy h2 {
  max-width: 720px;
}

.product-lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: #465167;
  font-size: 1.08rem;
}

.featured-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.featured-price-row strong,
.featured-price-row span {
  display: block;
}

.featured-price-row strong {
  margin-top: 2px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.compare-price,
.card-compare,
.price-label {
  color: var(--muted);
}

.compare-price,
.card-compare {
  text-decoration: line-through;
}

.price-label {
  font-weight: 900;
}

.deal-note {
  flex: 0 0 auto;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: #fff4d6;
  color: #6b5200;
  font-weight: 950;
}

.feature-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-chip-grid span {
  padding: 9px 10px;
  border: 1px solid #d7e8e4;
  border-radius: var(--radius);
  background: #f4fbf9;
  color: #245b57;
  font-size: 0.88rem;
  font-weight: 900;
}

.product-bullets {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #465167;
}

.product-bullets li::marker {
  color: var(--teal);
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.product-detail-section {
  max-width: none;
  padding: clamp(54px, 8vw, 92px) clamp(16px, 4vw, 28px);
  background: #f6faf5;
}

.product-detail-section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.detail-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-grid article,
.review-grid article {
  padding: 20px;
  border: 1px solid #dfe9dc;
  border-radius: var(--radius);
  background: #fff;
}

.detail-grid strong,
.detail-grid p,
.review-grid strong,
.review-grid p {
  display: block;
  margin: 0;
}

.detail-grid p,
.review-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.review-ready {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.review-ready h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.new-arrivals-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) clamp(16px, 4vw, 28px);
}

.deal-product-grid {
  display: grid;
  gap: 18px;
}

.deal-product-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.07);
}

.deal-product-card > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f6f8;
}

.deal-product-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: start;
  padding: 6px 4px;
}

.deal-product-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  line-height: 1.08;
}

.deal-product-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: #465167;
}

.mini-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.mini-price-row span {
  color: var(--muted);
  font-weight: 800;
}

.mini-price-row strong {
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #233044;
  color: #fff;
  font-size: 1.08rem;
}

.deal-product-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding-left: 20px;
  color: #465167;
}

.deal-product-card li::marker {
  color: var(--coral);
}

.deal-product-card .button {
  margin-top: auto;
}

.shop-section,
.finder-section,
.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) clamp(16px, 4vw, 28px);
}

.price-list-section {
  margin-bottom: clamp(48px, 7vw, 78px);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.07);
}

.price-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: #f6faf5;
  color: #245b57;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child {
  color: #233044;
  font-weight: 950;
  white-space: nowrap;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.store-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.search-box input,
.checkout-form input,
.checkout-form textarea,
select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-box:focus-within,
.checkout-form label:focus-within,
.toolbar-controls label:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 168, 157, 0.12);
}

.toolbar-controls label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

select {
  min-width: 178px;
  color: var(--ink);
  font-weight: 800;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-button,
.text-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #465167;
  font-weight: 900;
}

.category-button {
  flex: 0 0 auto;
  padding: 10px 13px;
}

.category-button.is-active {
  border-color: #233044;
  background: #233044;
  color: #fff;
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 800;
}

.text-button {
  padding: 8px 11px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.07);
  overflow: hidden;
}

.product-image {
  position: relative;
  aspect-ratio: 1.18 / 1;
  background: #f5f6f8;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  border-radius: var(--radius);
  background: #fff;
  color: #233044;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card h3 {
  min-height: 3em;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price-block {
  display: grid;
  gap: 1px;
}

.card-compare {
  font-size: 0.82rem;
  font-weight: 800;
}

.price {
  font-size: 1.15rem;
  font-weight: 950;
}

.add-button {
  min-width: 44px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-weight: 950;
}

.add-button:hover,
.add-button:focus-visible {
  background: var(--teal-dark);
}

.finder-section {
  max-width: none;
  background: #f2f8f6;
}

.finder-section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.finder-card {
  min-height: 150px;
  padding: 20px;
  text-align: left;
  border: 1px solid #d7e8e4;
  border-radius: var(--radius);
  background: #fff;
}

.finder-card strong,
.finder-card span {
  display: block;
}

.finder-card strong {
  font-size: 1.15rem;
}

.finder-card span {
  margin-top: 8px;
  color: var(--muted);
}

.finder-card:nth-child(1) {
  border-top: 5px solid var(--coral);
}

.finder-card:nth-child(2) {
  border-top: 5px solid var(--sun);
}

.finder-card:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.finder-card:nth-child(4) {
  border-top: 5px solid var(--green);
}

.delivery-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
  padding: clamp(58px, 8vw, 92px) clamp(16px, 5vw, 70px);
  background: #233044;
  color: #fff;
}

.delivery-band .eyebrow {
  color: #91ded7;
}

.delivery-grid {
  display: grid;
  gap: 12px;
}

.delivery-grid article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.delivery-grid strong,
.delivery-grid span {
  display: block;
}

.delivery-grid span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.07);
}

.contact-panel p {
  margin: 0;
}

.contact-panel p + p {
  margin-top: 12px;
}

.contact-panel .button {
  margin-top: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  padding: 34px clamp(16px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #233044;
  color: #fff;
}

.site-footer p {
  max-width: 420px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 950;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff4d6;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) clamp(16px, 4vw, 28px);
}

.page-hero.slim {
  grid-template-columns: minmax(0, 760px);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 18px 0 0;
  color: #465167;
  font-size: 1.08rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.content-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 84px) clamp(16px, 4vw, 28px);
}

.content-band {
  max-width: none;
  padding: clamp(50px, 8vw, 88px) clamp(16px, 4vw, 28px);
  background: #f2f8f6;
}

.content-band > * {
  max-width: var(--max);
  margin-inline: auto;
}

.info-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card,
.policy-card,
.content-form,
.faq-list details,
.legal-copy article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.07);
}

.info-card,
.policy-card {
  padding: 22px;
}

.info-card strong,
.info-card p,
.policy-card h2,
.policy-card p {
  margin: 0;
}

.info-card p,
.policy-card p {
  margin-top: 10px;
  color: var(--muted);
}

.policy-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: start;
}

.content-form {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.content-form label {
  display: grid;
  gap: 6px;
}

.content-form span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.content-form input,
.content-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 12px 13px;
}

.content-form textarea {
  resize: vertical;
}

.content-form input:focus,
.content-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 168, 157, 0.12);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 950;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-copy {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.legal-copy article {
  padding: 22px;
}

.legal-copy h2 {
  margin: 0;
  font-size: 1.25rem;
}

.legal-copy p {
  margin: 10px 0 0;
  color: var(--muted);
}

.updated-note {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 900;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f0ede6;
  color: #233044;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(100%, 440px);
  height: 100%;
  padding: 22px;
  background: var(--paper);
  box-shadow: -16px 0 36px rgba(31, 41, 55, 0.18);
  transform: translateX(104%);
  transition: transform 220ms ease;
  overflow: auto;
}

.cart-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.drawer-header h2 {
  font-size: 2rem;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.empty-cart {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item h3 {
  margin: 0;
  font-size: 0.96rem;
}

.cart-item p {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 900;
}

.quantity-controls span {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.checkout-form label {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.checkout-form span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.checkout-form textarea {
  resize: vertical;
}

.cart-summary {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary .total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

.drawer-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  max-width: min(92vw, 420px);
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #233044;
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual img {
    height: auto;
  }

  .product-grid,
  .finder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .stats-band,
  .product-grid,
  .finder-grid,
  .detail-grid,
  .review-grid,
  .delivery-band,
  .contact-section,
  .site-footer,
  .info-grid,
  .policy-grid,
  .contact-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .review-ready {
    grid-template-columns: 1fr;
  }

  .deal-product-card {
    grid-template-columns: 1fr;
  }

  .deal-product-card > img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .section-heading,
  .store-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .toolbar-controls label {
    justify-content: space-between;
  }
}

@media (max-width: 580px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row span {
    flex: 1 1 100%;
  }

  .stats-band,
  .product-grid,
  .finder-grid,
  .detail-grid,
  .review-grid,
  .delivery-band,
  .contact-section,
  .site-footer,
  .info-grid,
  .policy-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .page-actions .button {
    width: 100%;
  }

  .featured-price-row {
    align-items: start;
    flex-direction: column;
  }

  .featured-actions .button {
    width: 100%;
  }

  .deal-product-card .button {
    width: 100%;
  }

  .stats-band article {
    min-height: auto;
  }

  .product-card h3 {
    min-height: auto;
  }

  .drawer-panel {
    padding: 18px;
  }
}
