:root {
  color-scheme: light;
  --ink: #23166f;
  --muted: #625887;
  --paper: #f8f6fb;
  --sun: #fff3bf;
  --mint: #9ad6c6;
  --mint-hover: #83c9b8;
  --lavender: #d4b7ed;
  --lavender-light: #eee4f6;
  --line: #e4d8ee;
  --coral: #c84955;
  --radius: 20px;
  font-family: Comfortaa, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 280px; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .56; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 440; line-height: 1.13; letter-spacing: -.045em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.95rem, 4.35vw, 3.55rem); }
:focus-visible { outline: 3px solid #6e46a3; outline-offset: 4px; }
:where(main, h1)[tabindex="-1"]:focus { outline: none; }
.shell { width: min(92%, 1290px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 5;
  inset: .6rem auto auto .6rem;
  padding: .7em 1em;
  border-radius: .6rem;
  background: white;
}

.hero-background {
  background: radial-gradient(ellipse at 45% 6%, #fff7cd 0%, transparent 70%), var(--sun);
  padding-top: clamp(.6rem, 1.15vw, 1.05rem);
}
.site-header { position: relative; z-index: 2; }
.brand { display: block; width: fit-content; margin: 0 0 clamp(1.25rem, 3.15vw, 2.7rem) 3%; }
.brand-mark {
  display: block;
  width: clamp(10rem, 20vw, 17.7rem);
  aspect-ratio: 520 / 176;
  position: relative;
  overflow: hidden;
  mix-blend-mode: darken;
}
.brand-mark img { position: absolute; width: 142.3%; max-width: none; left: -9.8%; top: -110%; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.5vw, 1.4rem);
  padding: clamp(.25rem, .5vw, .45rem) clamp(.55rem, 2.4vw, 1.95rem);
  min-height: 48px;
  border-radius: 100px;
  background: #fcfaff;
}
.site-nav details { position: relative; }
.site-nav summary { list-style: none; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav .btn { font-size: clamp(.875rem, 1.7vw, 1.25rem); min-height: 36px; padding: .47em 1.4em; border-radius: 40px; }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: space-evenly; column-gap: .6rem; }
.nav-links a { font-size: clamp(.875rem, 1.64vw, 1.22rem); font-weight: 690; line-height: 1.12; text-align: center; }
.caret { width: 0; height: 0; border: .3em solid transparent; border-top-color: currentColor; transform: translateY(.16em); }
.menu-panel {
  position: absolute;
  top: calc(100% + .55rem);
  left: 0;
  width: min(18rem, 75vw);
  padding: .45rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 10px 35px #2c1e6120;
}
.menu-panel a { display: block; padding: .6em .7em; border-radius: .65rem; }
.menu-panel a:hover { background: var(--lavender-light); }
#catalog-menu { max-height: min(24rem, 55vh); overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
.nav-icon {
  display: inline-grid;
  place-items: center;
  width: clamp(2.7rem, 4.2vw, 3.8rem);
  aspect-ratio: 1;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8558b6;
}
.nav-icon:hover { background: var(--lavender-light); text-decoration: none; }
.search-icon { position: relative; display: block; width: 47%; aspect-ratio: 1; border: .17em solid currentColor; border-radius: 50%; margin: -12% 12% 0 0; }
.search-icon::after { content: ""; position: absolute; width: 65%; height: .17em; transform: rotate(45deg); transform-origin: left; top: 80%; left: 82%; background: currentColor; border-radius: 100px; }
.cart-icon {
  display: grid;
  place-items: center;
  width: 69%;
  height: 51%;
  margin-top: -8%;
  border: 1.5px solid currentColor;
  border-radius: .25em .25em .48em .48em;
  position: relative;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.cart-icon::before { content: ""; position: absolute; width: .45em; height: .43em; right: 100%; bottom: 85%; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: skewX(23deg); }
.cart-icon::after { content: ""; position: absolute; width: .34em; height: .34em; bottom: -.5em; left: .45em; border-radius: 50%; background: currentColor; box-shadow: .9em 0 currentColor; }
.mobile-menu { display: none; }
.menu-icon { display: block; width: 48%; height: .13em; border-radius: 1em; background: currentColor; box-shadow: 0 -.42em currentColor, 0 .42em currentColor; }

.hero {
  display: grid;
  align-items: stretch;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  padding-block: clamp(2.35rem, 5.7vw, 5.5rem) clamp(2rem, 4.8vw, 4.6rem);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; padding-left: 2.3%; }
.hero-copy h1 { font-size: clamp(2.25rem, 4.65vw, 4.35rem); font-weight: 340; line-height: 1.26; }
.hero-copy h1 span { color: var(--coral); }
.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: .95em 1em;
  width: 100%;
  margin: auto 0 0;
  padding: 1.35em 0 0;
  list-style: none;
  font-size: clamp(.98rem, 1.95vw, 1.48rem);
  line-height: 1.25;
  font-weight: 660;
}
.hero-list li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .52em; overflow-wrap: anywhere; }
.hero-list li::before { content: "✓"; font-weight: 850; color: #40816e; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  width: fit-content;
  min-height: 44px;
  padding: .55em 1.2em;
  border-radius: .72em;
  border: 1px solid transparent;
  background: none;
  color: var(--ink);
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--mint); }
.btn-primary:not(:disabled):hover { background: var(--mint-hover); }
.btn-secondary { background: var(--lavender-light); border-color: #d6b7f1; }
.btn-secondary:not(:disabled):hover { background: #e7d6f5; }
.btn-lavender { background: var(--lavender); }
.btn-lavender:not(:disabled):hover { background: #c7a6e4; }
.hero-order { margin-top: 1.65em; font-size: clamp(1.05rem, 2.25vw, 1.65rem); padding-inline: 1.55em; }
.hero-photo { position: relative; border-radius: clamp(1.35rem, 4vw, 3.2rem); overflow: hidden; min-width: 0; }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: .75; object-fit: cover; }
.hero-help {
  position: absolute;
  bottom: 4%;
  right: 3%;
  max-width: 94%;
  display: grid;
  gap: .15em;
  padding: .48em .8em .57em;
  border-radius: .72em;
  background: rgba(255, 252, 255, .94);
  text-align: center;
  font-size: clamp(1.1rem, 2.85vw, 2rem);
  letter-spacing: -.045em;
}
.hero-help strong { font-weight: 720; }
.hero-help small { font-size: .67em; font-weight: 690; }
.inner-header { padding-bottom: 1.15rem; }
.inner-header .brand { margin-bottom: 1.15rem; }

.home-section { width: min(95%, 1330px); text-align: center; padding-top: clamp(2rem, 4.6vw, 4.8rem); }
.home-section h2 { margin-bottom: clamp(1.85rem, 4.25vw, 3.75rem); }
.card-grid { display: grid; gap: clamp(.55rem, 1.55vw, 1.3rem); }
.category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category-card { display: flex; flex-direction: column; align-items: center; gap: .34em; font-size: clamp(.94rem, 2vw, 1.35rem); font-weight: 710; line-height: 1.18; text-align: center; overflow-wrap: anywhere; }
.category-photo, .product-photo {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: #ebe4f1;
}
.category-photo { aspect-ratio: .79; }
.category-photo img, .product-photo img { width: 100%; height: 100%; object-fit: cover; }
.category-photo img { transition: transform .25s ease; }
.category-card:hover img { transform: scale(1.035); }
.category-photo img[src="./assets/subcategory-numbers.webp"] {
  object-fit: contain;
  background: #f5eee2;
  transform: none;
}
.category-photo img[src="./assets/category-beads-nov19.webp"] {
  object-position: 38% center;
  transform: none;
}
.category-photo img[src="./assets/subcategory-figures-nov19.webp"] {
  object-fit: contain;
  background: #e5e1dd;
  transform: none;
}
.category-arrow {
  position: absolute;
  right: .34em;
  bottom: .34em;
  display: grid;
  place-items: center;
  width: clamp(1.85rem, 4.15vw, 3.3rem);
  aspect-ratio: 1;
  border: 1px solid white;
  border-radius: 50%;
  background: #d0b2eb;
  color: #371e6d;
}
.category-placeholder { background: linear-gradient(140deg, #f8eac3, #e8d4f4 67%, #d3ebe2); }
.popular-section { padding-bottom: clamp(3rem, 8vw, 8rem); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; display: grid; grid-template-rows: auto 1fr auto auto; gap: .55rem; text-align: center; }
.product-card h3 { font-size: clamp(1rem, 2.15vw, 1.35rem); font-weight: 720; }
.product-photo { aspect-ratio: .94; }
.product-price { font-size: 1.24rem; font-weight: 750; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .28rem; }
.product-actions .btn { width: 100%; padding: .43em .28em; font-size: clamp(.82rem, 1.34vw, 1rem); }
.product-purchase { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.empty-popular { margin-block: 1.5rem; color: var(--muted); }
.view-catalog { display: inline-block; margin-top: clamp(1.8rem, 5vw, 4.5rem); font-size: clamp(1.1rem, 2.5vw, 1.55rem); }
.text-link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 720; }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.75rem;
  align-items: center;
  justify-content: center;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
.site-footer :first-child { color: var(--ink); font-weight: 900; }

.page { min-height: 54vh; padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.page h1 { margin-bottom: clamp(1.4rem, 3.6vw, 3rem); }
.page > .card-grid + .card-grid { margin-top: 3rem; }
.page .breadcrumb { display: inline-block; margin-bottom: 1rem; color: var(--muted); }
.content-narrow { max-width: 50rem; }
.shop-contact { max-width: 38rem; }
.shop-contact h1 { margin-bottom: 1rem; }
.shop-contact p { margin-bottom: 1rem; }
.rich-text :is(p, ul, details) { margin-block: 0 .85em; }
.rich-text h2 { margin-block: 1em .35em; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.rich-text :is(p, ul) { font-size: clamp(1rem, 1.65vw, 1.23rem); }
.rich-text .btn { margin-top: 1rem; }
.notice {
  padding: .85rem 1rem;
  border-radius: .85rem;
  background: var(--lavender-light);
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.home-section .notice { grid-column: 1 / -1; }
.faq-item { border-block: 1px solid var(--line); }
.faq-item summary { padding: .9em .2em; font-weight: 750; }
.photo-category, .product-detail { display: grid; grid-template-columns: minmax(0, .83fr) 1fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.photo-category figure, .product-detail .product-photo { border-radius: var(--radius); overflow: hidden; }
.photo-category img { width: 100%; max-height: 640px; object-fit: cover; }
.photo-category p, .product-description { font-size: 1.15rem; margin-block: .8rem 1.6rem; }
.photobank-months { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.3rem; }
.product-description { white-space: pre-wrap; }
.product-gallery .product-photo img { object-fit: contain; }
.product-thumbnails { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.product-thumbnail {
  width: 56px;
  aspect-ratio: 1;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.product-thumbnail[aria-pressed="true"] { border-color: currentColor; }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.search-form { display: flex; align-items: end; gap: .7rem; margin-bottom: 2rem; }
.search-form .field { flex: 1; max-width: 39rem; }
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cart-photo { width: 100%; aspect-ratio: 1; border-radius: .8rem; overflow: hidden; background: var(--lavender-light); }
.cart-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo-contained { background: #fff; }
.product-photo-contained img { object-fit: contain; }
.cart-description { display: grid; gap: .15rem; overflow-wrap: anywhere; }
.quantity { display: flex; align-items: center; gap: .35em; }
.quantity button { width: 2.75rem; height: 2.75rem; border: 0; border-radius: .65rem; background: var(--lavender-light); }
.quantity span { min-width: 1.7em; text-align: center; }
.product-actions .product-quantity { grid-column: 1 / -1; justify-self: center; }
.product-quantity { width: min(100%, 8.75rem); }
.product-quantity button { flex: 0 0 2.75rem; }
.product-quantity button:hover { background: #e7d6f5; }
.product-quantity input {
  appearance: textfield;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .35rem 0;
  border: 1px solid #b58fcf;
  border-radius: .65rem;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  text-align: center;
}
.product-quantity input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.cart-checkout { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-block: 1.35rem; }
.cart-checkout strong { margin-left: .3rem; white-space: nowrap; }

.form-grid { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; font-weight: 720; }
.field small { color: var(--muted); font-weight: 550; }
.field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .55em .7em;
  border: 1px solid #b58fcf;
  border-radius: .65rem;
  background: white;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.order-dialog { width: min(94%, 32rem); max-height: 89dvh; border: 0; border-radius: 1.45rem; padding: clamp(1rem, 4vw, 1.7rem); color: var(--ink); background: var(--paper); }
.order-dialog::backdrop { background: #28134280; }
.dialog-head { display: flex; gap: .6rem; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.dialog-head h2 { font-size: clamp(1.65rem, 4.75vw, 2.05rem); }
.close-dialog { font-size: 1.65rem; line-height: 1; }
.order-contact-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr));
  gap: .5rem .75rem;
}
.order-contact-fields small { grid-column: 1 / -1; color: var(--muted); }
.cart-summary { font-weight: 760; margin-bottom: 1rem; }
.order-dialog [type="submit"] { margin-top: 1rem; }
.error { color: #a62e36; font-weight: 730; margin-top: .75rem; }
.shop-status:not(:empty) {
  position: fixed;
  z-index: 4;
  width: max-content;
  max-width: min(92vw, 28rem);
  inset: auto 4% 1.15rem auto;
  padding: .75rem 1rem;
  border-radius: 1rem;
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 20px #28134240;
}

.admin .site-nav { justify-content: space-between; }
.admin > header { padding-top: 1.1rem; }
.admin-store-link { font-weight: 850; }
.admin-page h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.admin-section { padding: clamp(1rem, 3vw, 1.7rem); margin-bottom: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fffaff; }
.admin-login { max-width: 31rem; }
.admin-links, .admin-actions, .admin-heading { display: flex; gap: .65rem 1rem; align-items: center; flex-wrap: wrap; }
.admin-heading { justify-content: space-between; margin-bottom: 1rem; }
.admin-section h2 { font-size: clamp(1.55rem, 3.3vw, 2.25rem); margin-bottom: .45rem; }
.admin-product-list, .admin-order-list { list-style: none; margin: .85rem 0 0; padding: 0; }
.admin-product-row { display: flex; gap: .85rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.admin-product-row img { width: 60px; height: 60px; border-radius: .7rem; object-fit: cover; }
.admin-product-details { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.admin-product-details > span, .admin-order-summary > span { display: block; font-weight: 620; font-size: .9em; }
.admin-order-summary > span { margin-left: 1em; }
.admin-login form > .btn, .admin-content > .admin-links, .admin-editor > .field, .admin-photo, .admin-checkbox { margin-top: 1rem; }
.admin-content > .admin-links { margin-bottom: 1rem; }
.admin-editor, .admin-actions { margin-top: 1rem; }
.admin-photo { display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; }
.admin-photo img { width: 88px; height: 88px; object-fit: cover; border-radius: .75rem; }
.admin-gallery-list { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 12px 0 0; list-style: none; }
.admin-gallery-list label { display: grid; justify-items: start; gap: 4px; font-size: .875rem; }
.admin-gallery-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.admin-checkbox { display: flex; gap: .55rem; align-items: center; }
.admin-order { border-bottom: 1px solid var(--line); }
.admin-order-summary { padding: .7rem 0; font-weight: 760; }
.admin-order-body { padding-bottom: .9rem; }
.admin-order-fields dt { font-weight: 750; }
.admin-order-fields dd { margin: 0 0 .5rem; overflow-wrap: anywhere; white-space: pre-wrap; }

@media (max-width: 920px) {
  .category-card:nth-child(6) .category-name { hyphens: auto; }
}
@media (max-width: 700px) {
  .shell { width: min(92%, 560px); }
  .brand { margin-inline: auto; }
  .nav-links { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu .menu-panel { inset-inline: auto 0; }
  .site-nav { gap: .3rem; }
  .hero { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 1.7rem 2.2rem; }
  .hero-copy { padding-left: 0; }
  .hero-copy h1 { font-size: clamp(2rem, 8.5vw, 3.9rem); }
  .hero-list { width: min(100%, 29rem); }
  .hero-order { margin-top: 1.25em; }
  .hero-photo img { aspect-ratio: .91; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .category-photo, .product-photo { border-radius: 14px; }
  .photo-category, .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; }
  .cart-row { grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .45rem; }
  .cart-row > :last-child { grid-column: 2 / -1; justify-self: start; min-height: 32px; }
  .product-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@font-face {
  font-family: Comfortaa;
  src: url('./assets/comfortaa.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
body { font-family: Comfortaa, sans-serif; font-size: 15px; line-height: 1.65; }
h1, h2, h3 { font-family: Comfortaa, sans-serif; font-weight: 400; letter-spacing: -.055em; }
.brand-mark { width: clamp(170px, 19vw, 245px); aspect-ratio: 2.8; mix-blend-mode: normal; }
.brand-mark img { position: static; width: 100%; max-width: 100%; height: 100%; object-fit: contain; }
.shell { max-width: 1200px; }
.hero-background { padding-top: 22px; }
.brand { margin-bottom: 24px; }
.hero { grid-template-columns: 1fr 1fr; padding-block: 48px; gap: 38px; }
.hero-copy h1 { font-family: Comfortaa, sans-serif; font-size: clamp(30px, 3.65vw, 49px); line-height: 1.27; font-weight: 300; }
.hero-photo { max-height: 660px; }
.hero-photo img { aspect-ratio: .85; }
.hero-list { font-size: clamp(14px, 1.4vw, 18px); font-weight: 500; padding-top: 24px; gap: 20px 16px; }
.hero-order { font-size: 18px; margin-top: 28px; }
.hero-help { font-size: clamp(18px, 2vw, 25px); }
.hero-help strong, .hero-help small { font-weight: 500; }
.nav-links a { font-size: 14px; font-weight: 500; }
.site-nav .btn { font-size: 14px; }
.btn { font-weight: 500; min-height: 44px; }
.category-card { font-size: clamp(13px, 1.3vw, 17px); font-weight: 500; line-height: 1.4; }
.home-section h2 { font-size: clamp(27px, 3.4vw, 42px); }
.product-card h3, .product-price, .text-link { font-weight: 500; }
.rich-text { font-family: Comfortaa, sans-serif; }
.rich-text h1, .rich-text h2 { font-family: Comfortaa, sans-serif; }
@media (min-width: 701px) and (max-width: 1000px) {
 .nav-links a { font-size: 11px; }
 .hero { gap: 24px; }
 .hero-copy h1 { font-size: clamp(25px, 3.6vw, 36px); }
 .hero-list { font-size: 12px; }
 .hero-order { margin-top: 20px; }
}
@media (max-width: 700px) {
 .hero-background { padding-top: 14px; }
 .brand { margin-bottom: 18px; }
 .brand-mark { width: 180px; }
 .hero { grid-template-columns: 1fr; padding-block: 28px 32px; gap: 26px; }
 .hero-copy h1 { font-size: clamp(25px, 6.9vw, 38px); line-height: 1.3; }
 .hero-list { font-size: 13px; gap: 16px 12px; padding-top: 24px; }
 .hero-order { width: 100%; margin-top: 24px; font-size: 16px; }
 .hero-photo { max-height: 490px; }
 .hero-photo img { aspect-ratio: .96; }
 .hero-help { font-size: 19px; padding: .65em .9em; }
 .hero-help small { font-size: 12px; }
 .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 12px; }
 .category-card { font-size: 13px; }
 .category-photo { aspect-ratio: .91; }
 .home-section { padding-top: 32px; }
 .home-section h2 { font-size: 26px; margin-bottom: 26px; }
 .cart-row { grid-template-columns: 3rem minmax(0,1fr) auto; gap: 8px; }
 .cart-row > :last-child { grid-column: 2 / -1; justify-self: start; min-height: 32px; }
 .field :is(input,select,textarea) { font-size: 16px; }
 .page h1 { font-size: 30px; }
}

/* Desktop hero sized for laptop viewports. */
@media (min-width: 701px) {
  .hero-background { padding-top: 16px; }
  .brand { margin-left: 0; margin-bottom: 16px; }
  .brand-mark { width: 174px; }
  .site-nav { min-height: 52px; padding: 4px 18px; gap: 12px; }
  .nav-icon { width: 40px; }
  .hero { padding-block: 28px 32px; gap: 44px; grid-template-columns: 1.08fr 1fr; align-items: stretch; }
  .hero-copy { padding-left: 0; }
  .hero-copy h1 { font-size: clamp(27px, 2.65vw, 37px); line-height: 1.22; }
  .hero-photo { height: clamp(400px, 59vh, 510px); max-height: none; }
  .hero-photo img { height: 100%; aspect-ratio: auto; object-position: center 58%; }
  .hero-list { padding-top: 18px; gap: 14px 16px; font-size: 14px; margin-top: auto; }
  .hero-order { font-size: 16px; margin-top: 20px; min-height: 44px; }
  .hero-help { font-size: 20px; }
  .home-section { padding-top: 32px; }
  .home-section h2 { font-size: 32px; margin-bottom: 30px; }
}
@media (min-width: 701px) and (max-height: 760px) {
  .hero-background { padding-top: 12px; }
  .brand-mark { width: 148px; }
  .brand { margin-bottom: 12px; }
  .hero { padding-block: 22px 26px; gap: 36px; }
  .hero-copy h1 { font-size: clamp(26px, 2.5vw, 33px); line-height: 1.19; }
  .hero-photo { height: 390px; }
  .hero-list { font-size: 13px; gap: 12px 16px; }
  .hero-order { margin-top: 16px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .hero { gap: 24px; }
  .hero-copy h1 { font-size: 27px; }
  .hero-list { font-size: 12px; }
}
