@font-face {
  font-family: Estedad;
  src: url(assets/Estedad-Regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Estedad;
  src: url(assets/Estedad-SemiBold.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Estedad;
  src: url(assets/Estedad-Black.woff2) format('woff2');
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sage: #CCD5AE;
  --beige: #E9EDC9;
  --cornsilk: #FEFAE0;
  --papaya: #FAEDCD;
  --bronze: #D4A373;
  --magnet-red: #ae2429;
  --magnet-silver: #a5a69e;
  --paper: var(--cornsilk);
  --ink: #2a3021;
  --muted: #555644;
  --line: #c9c4a5;
  --accent: #684725;
  --wash: var(--papaya);
  --gutter: clamp(20px, 4vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.85 Estedad, Tahoma, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
.frame { width: min(100%, 1600px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 3; padding: .6rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { width: 48px; min-height: 48px; display: grid; place-items: center; }
.brand img { width: 35px; mix-blend-mode: multiply; }
.masthead nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 68px); font-size: .86rem; font-weight: 600; }
.masthead .masthead-mobile { display: none; }
.masthead nav a, .footer a { padding-block: 10px; }
.masthead nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .4em; }
.masthead nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; text-underline-offset: .4em; }
.bag-trigger { justify-self: end; min-height: 44px; display: flex; align-items: center; gap: .55rem; padding: 0; border: 0; background: transparent; font-size: .85rem; }
.bag-icon { width: 14px; height: 12px; border: 1px solid currentColor; position: relative; margin-top: 3px; }
.bag-icon::before { content: ''; position: absolute; width: 6px; height: 5px; border: 1px solid currentColor; border-bottom: 0; border-radius: 3px 3px 0 0; top: -5px; left: 3px; }
.count { color: var(--accent); min-width: 1ch; font-weight: 600; }

.site-intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .show-site-intro .site-intro {
    --intro-duration: 1s;
    display: block;
    position: fixed;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
    animation: magnet-intro-hide var(--intro-duration) step-end forwards;
  }
  .site-intro::before {
    content: '';
    position: absolute;
    inset: 0 0 -32px;
    border-radius: 0 0 50% 50% / 0 0 26px 26px;
    border-bottom: 5px solid var(--beige);
    background: var(--paper);
    box-shadow: 0 8px 24px rgb(42 48 33 / .14);
    animation: magnet-intro-sheet var(--intro-duration) cubic-bezier(.58, .03, .21, 1) forwards;
  }
  .site-intro-magnet {
    position: absolute;
    top: clamp(38px, 13svh, 124px);
    left: 50%;
    width: clamp(52px, 14vw, 84px);
    aspect-ratio: 1;
    overflow: hidden;
    mix-blend-mode: multiply;
    transform: translateX(-50%);
    animation: magnet-intro-mark var(--intro-duration) ease-in forwards;
  }
}
@keyframes magnet-intro-hide { to { visibility: hidden; } }
@keyframes magnet-intro-sheet {
  0%, 22% { transform: translateY(0); }
  100% { transform: translateY(calc(-100% - 28px)); }
}
@keyframes magnet-intro-mark {
  0%, 12% { transform: translate(-50%, 0); }
  24% { transform: translate(-50%, -10px); }
  65%, 100% { transform: translate(-50%, calc(-16svh - 100%)); }
}

.title-line { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 17px; border-top: 1px solid var(--line); padding: clamp(24px, 3vw, 47px) 0 clamp(12px, 1.5vw, 25px); }
.display-word {
  color: var(--magnet-red);
  font: 900 clamp(70px, 13vw, 206px)/.83 Arial, sans-serif;
  letter-spacing: -.067em;
  padding-inline-end: .065em;
  user-select: none;
}
@supports (background-clip: text) {
  .display-word {
    background: linear-gradient(180deg, var(--magnet-red) 0 68%, var(--magnet-silver) 68% 100%);
    background-clip: text;
    color: transparent;
  }
}
.brand-context { font-size: .88rem; font-weight: 600; color: var(--muted); }
.edition { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); }
.campaign-photo { position: relative; isolation: isolate; display: grid; align-items: end; }
.campaign-photo::before {
  position: absolute;
  content: '';
  inset: 7% 11% 9% 16%;
  z-index: -2;
  border-radius: 70% 35% 54% 45% / 72% 50% 58% 45%;
  background: linear-gradient(150deg, var(--sage), var(--beige) 76%);
  transform: rotate(-5deg);
}
.campaign-photo::after {
  position: absolute;
  content: '';
  inset: auto 9% 4% 12%;
  z-index: -1;
  height: 18%;
  background: radial-gradient(ellipse, rgb(57 53 38 / .24), transparent 68%);
  transform: rotate(-8deg);
}
.campaign-photo img { width: 100%; height: auto; max-height: min(48vw, 620px); object-fit: contain; }
.campaign-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(22px, 3.4vw, 64px); }
.campaign-label { font-size: .86rem; color: var(--muted); }
.campaign-copy h2 { font-size: clamp(36px, 5.2vw, 85px); font-weight: 900; line-height: 1.22; margin: .26em 0 .45em; }
.campaign-copy h2 span { color: var(--bronze); }
.text-link { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 1em; border-bottom: 1px solid var(--ink); font-size: .9rem; font-weight: 600; }
.text-link:hover { color: var(--accent); border-color: currentColor; }

.categories { scroll-margin-top: 18px; }
.categories .section-head { align-items: flex-end; margin-bottom: 14px; }
.categories .section-head .text-link { flex-shrink: 0; }
.category-banners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 18px); }
.category-banner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  aspect-ratio: 1.76;
  background: var(--cover-tone, var(--beige));
  min-height: 0;
  border-radius: 22px 22px 22px 6px;
  overflow: hidden;
}
.category-photo {
  position: relative;
  overflow: hidden;
  container-type: size;
  background: color-mix(in srgb, var(--cover-tone) 64%, var(--paper));
}
.category-photo::before {
  content: '';
  position: absolute;
  inset: 16% 26%;
  border-radius: 52% 52% 6% 6% / 33% 33% 6% 6%;
  background: color-mix(in srgb, var(--cover-tone) 91%, var(--ink));
  opacity: .52;
}
.category-cutout {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(88cqw, calc(86cqh * var(--cutout-ratio)));
  aspect-ratio: var(--cutout-ratio);
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: transform .32s ease;
}
.category-cutout img {
  position: absolute;
  left: var(--atlas-left);
  top: var(--atlas-top);
  width: var(--atlas-width);
  max-width: none;
  height: auto;
}
/* Foreground bounds in each transparent category image sheet. */
.category-banner[data-category='tops'] {
  --cover-tone: var(--beige);
  --cutout-ratio: 573 / 531;
  --atlas-width: 309.5986%;
  --atlas-left: -5.4101%;
  --atlas-top: -33.8983%;
}
.category-banner[data-category='pants'] {
  --cover-tone: var(--sage);
  --cutout-ratio: 325 / 744;
  --atlas-width: 545.8462%;
  --atlas-left: -222.7692%;
  --atlas-top: -11.8280%;
}
.category-banner[data-category='sets'] {
  --cover-tone: var(--papaya);
  --cutout-ratio: 341 / 803;
  --atlas-width: 520.2346%;
  --atlas-left: -377.4194%;
  --atlas-top: -5.8531%;
}
.category-banner[data-category='knit'] {
  --cover-tone: var(--papaya);
  --cutout-ratio: 684 / 603;
  --atlas-width: 317.5439%;
  --atlas-left: -3.0702%;
  --atlas-top: -12.9353%;
}
.category-banner[data-category='scarves'] {
  --cover-tone: var(--sage);
  --cutout-ratio: 650 / 644;
  --atlas-width: 334.1538%;
  --atlas-left: -116.6154%;
  --atlas-top: -7.6087%;
}
.category-banner[data-category='eyewear'] {
  --cover-tone: var(--beige);
  --cutout-ratio: 670 / 243;
  --atlas-width: 324.1791%;
  --atlas-left: -220.2985%;
  --atlas-top: -104.1152%;
}
.category-banner[data-category='bags'] {
  --cover-tone: var(--sage);
  --cutout-ratio: 624 / 554;
  --atlas-width: 348.0769%;
  --atlas-left: -9.1346%;
  --atlas-top: -16.0650%;
}
.category-banner[data-category='hats'] {
  --cover-tone: var(--papaya);
  --cutout-ratio: 634 / 437;
  --atlas-width: 342.5868%;
  --atlas-left: -121.2934%;
  --atlas-top: -35.0114%;
}
.category-banner[data-category='jewelry'] {
  --cover-tone: var(--beige);
  --cutout-ratio: 641 / 327;
  --atlas-width: 338.8456%;
  --atlas-left: -230.2652%;
  --atlas-top: -70.9480%;
}
.category-caption { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .6rem; padding: clamp(12px, 2vw, 36px); }
.category-caption h3 { font-size: clamp(19px, 2.2vw, 34px); font-weight: 900; line-height: 1.35; }
.category-caption > span { display: flex; align-items: center; gap: .65em; width: fit-content; font-size: .76rem; font-weight: 600; padding-bottom: .24em; border-bottom: 1px solid var(--accent); }
.category-caption > span > span { color: var(--accent); }
.category-banner:is(:hover, :focus-visible) .category-cutout { transform: translate(-50%, -50%) scale(1.04); }
.home-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 52px);
  padding-top: clamp(8px, 1.5vw, 22px);
}
.featured-shelf { border-top: 1px solid var(--line); padding-top: 15px; scroll-margin-top: 18px; }
.featured-shelf .section-head { margin-bottom: 14px; }
.featured-shelf .section-head h2 { font-size: clamp(21px, 3vw, 43px); }
.featured-shelf .preview-note { flex-shrink: 0; }
.featured-shelf .product-rail {
  --rail-gap: clamp(8px, 1.4vw, 16px);
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--rail-gap)) / 4);
  align-items: stretch;
  gap: var(--rail-gap);
  overflow-x: auto;
  padding: 4px 3px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 3px;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--bronze) transparent;
}
.product-rail .product { min-width: 0; scroll-snap-align: start; }
.latest-link { flex-shrink: 0; font-size: clamp(.69rem, 1.2vw, .9rem); gap: .35em; }
.rail-controls { display: flex; justify-content: flex-end; gap: 6px; margin-top: 7px; }
.rail-controls:has(> [data-prev]:disabled):has(> [data-next]:disabled) { display: none; }
.rail-controls button { width: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.02rem; }
.rail-controls button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.rail-controls button:disabled { opacity: .4; cursor: default; }
.special-shelf {
  padding: clamp(8px, 1.1vw, 16px);
  border: 1px solid var(--magnet-red);
  border-radius: 20px 20px 20px 7px;
  background: var(--magnet-red);
  color: var(--paper);
}
.special-shelf .section-head { flex-direction: row; align-items: center; gap: 8px; margin-bottom: 8px; }
.special-shelf h2 { display: flex; align-items: center; gap: .48em; }
.special-shelf .preview-note { margin-top: 2px; color: var(--paper); }
.special-shelf :focus-visible { outline-color: var(--paper); }
.deal-tag { width: .66em; height: .66em; position: relative; display: inline-block; flex: none; background: var(--paper); transform: rotate(-43deg); border-radius: 45% 12% 12% 45%; }
.deal-tag::after { content: ''; position: absolute; inset: 25% 55% 55% 25%; background: var(--magnet-red); border-radius: 50%; }
.special-link {
  min-height: 44px;
  display: inline-flex;
  gap: .5em;
  align-items: center;
  justify-content: center;
  padding: 4px clamp(7px, 1vw, 13px);
  flex-shrink: 0;
  border-radius: 11px 11px 11px 4px;
  background: var(--paper);
  color: var(--magnet-red);
  font-size: clamp(.72rem, 1vw, .9rem);
  font-weight: 600;
}
.special-link:hover { background: var(--papaya); }
.special-shelf .product-rail { padding-block: 3px 5px; scrollbar-color: var(--papaya) transparent; }
.special-shelf .rail-controls { margin-top: 3px; }
.special-shelf .product-card[data-product] { --product-tone: var(--cornsilk); color: var(--ink); }
.special-shelf .product-image img { aspect-ratio: 9/8; }
.special-shelf .product-meta { padding-block: 7px 5px; }
.sale-badge {
  position: absolute;
  inset-block-start: clamp(9px, 8%, 18px);
  inset-inline: 0;
  margin-inline: auto;
  inline-size: max-content;
  border-radius: 8px 8px 8px 3px;
  background: var(--magnet-red);
  color: var(--paper);
  padding: 3px 7px;
  font-size: clamp(.66rem, 1vw, .82rem);
  font-weight: 600;
  line-height: 1.4;
}
.special-shelf .sale-price { width: fit-content; order: -1; border-radius: 7px; background: var(--papaya); padding: 2px 5px; color: var(--magnet-red); }
.special-shelf .original-price { padding-inline: 5px; }
.shop-entry { display: flex; justify-content: center; margin: clamp(28px, 5vw, 70px) 0; }
.collection { padding-block: clamp(60px, 8vw, 112px); scroll-margin-top: 18px; }
.shop-page .masthead { border-bottom: 1px solid var(--line); }
.shop-page .collection { min-block-size: 55vh; padding-top: clamp(32px, 5vw, 75px); }
.shop-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 18px; margin-bottom: 16px; }
.shop-heading h1 { font-size: clamp(30px, 5.2vw, 67px); font-weight: 900; line-height: 1.3; }
.shop-heading--branded { display: grid; justify-content: center; justify-items: center; gap: 5px; text-align: center; }
.shop-heading--branded h1 { font-size: clamp(26px, 7.8vw, 58px); }
.shop-title-brand {
  display: flex;
  align-items: center;
  gap: .28em;
}
.shop-title-label { font-size: .82em; font-weight: 600; }
.shop-title-name { color: var(--magnet-red); }
.shop-title-mark {
  position: relative;
  width: .93em;
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  mix-blend-mode: multiply;
  transform: translateY(-.15em);
}
.shop-title-mark img, .site-intro-magnet img {
  position: absolute;
  width: 132%;
  left: -16%;
  top: -6%;
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.section-head h2, .store h2 { font-size: clamp(29px, 4.2vw, 59px); font-weight: 900; line-height: 1.33; }
.preview-note { color: var(--accent); font-size: .79rem; font-weight: 600; }
.shelf-tools { border-top: 1px solid var(--line); margin-bottom: 14px; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.shelf-tools p { color: var(--muted); font-size: .78rem; }
.catalog-controls { display: flex; gap: 8px 18px; }
.catalog-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; padding-block: 10px; color: var(--muted); font-size: .82rem; }
.catalog-filter select { min-height: 44px; max-width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--beige); color: var(--ink); padding-inline: 10px 14px; font: 600 .88rem Estedad, sans-serif; }
.catalog-empty { padding: 24px 0; color: var(--muted); }
.sale-page-tools .text-link { margin-bottom: 7px; }
.link-button { padding-inline: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 25px); }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: clamp(5px, .7vw, 11px);
  text-align: start;
  border: 1px solid color-mix(in srgb, var(--product-tone) 82%, var(--ink));
  background: var(--product-tone);
  border-radius: 49% 49% 12px 30px / 18% 18% 12px 30px;
}
.product-card[data-product='graphite'] { --product-tone: var(--sage); }
.product-card[data-product='navy'] { --product-tone: var(--beige); }
.product-card[data-product='cream'] { --product-tone: var(--papaya); }
.product-card[data-product='black'] { --product-tone: color-mix(in srgb, var(--bronze) 30%, var(--cornsilk)); }
.product-image {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--wash);
  border-radius: 50% 50% 44% 44% / 23% 23% 10% 10%;
}
.product-image img { aspect-ratio: 10/11; object-fit: cover; object-position: center; transition: transform .35s ease; }
.product-card[data-product='graphite'] img { object-position: 56% center; }
.product-card[data-product='navy'] img { object-position: center 14%; }
.product-card[data-product='cream'] img { object-position: center 25%; }
.product-card[data-product='black'] img { object-position: center 22%; }
.product-card[data-product='pink'] { --product-tone: var(--papaya); }
.product-card[data-product='shoulder-bag'] { --product-tone: var(--beige); }
.product-card[data-product='sand'] { --product-tone: var(--beige); }
.product-card[data-product='denim'] { --product-tone: var(--sage); }
.product-card[data-product='pink'] img { object-position: center 30%; }
.product-card[data-product='shoulder-bag'] img { object-position: center 52%; }
.product-card[data-product='sand'] img { object-position: center 20%; }
.product-card:is(:hover, :focus-visible) img { transform: scale(1.035); }
.product-meta { width: 100%; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 7px; padding: 13px 10px 9px; }
.product-information { display: grid; gap: 2px; align-self: start; }
.product-title { font-size: 1.04rem; font-weight: 600; line-height: 1.5; }
.product-price { display: grid; font-size: .83rem; color: var(--muted); line-height: 1.5; }
.original-price { color: var(--muted); font-size: .9em; }
.sale-price { color: var(--accent); font-weight: 600; }
.product-action {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.45rem/1 Arial, sans-serif;
  transition: background-color .2s ease;
}
.product-card:is(:hover, :focus-visible) .product-action { background: var(--accent); }

.store { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .94fr); background: var(--beige); border-radius: 34px 34px 34px 10px; overflow: hidden; }
.store figure { height: clamp(310px, 36vw, 450px); overflow: hidden; }
.store img { width: 100%; height: 100%; object-fit: cover; }
.street-photo img { object-position: center 80%; }
.sign-photo img { object-position: right 54%; }
.store-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(25px, 3.3vw, 60px); }
.store h2 { font-size: clamp(27px, 3.3vw, 51px); margin: .32em 0 .5em; }
.store address { font-size: .92rem; }
.store .text-link { margin-top: .65rem; }
.footer { margin-top: clamp(50px, 8vw, 100px); margin-bottom: 26px; display: flex; gap: 18px; justify-content: space-between; align-items: center; }
.footer p, .footer a:last-child { font-size: .8rem; color: var(--muted); }
.footer .footer-brand { font: 900 clamp(23px, 4vw, 49px)/1 Arial, sans-serif; letter-spacing: -.067em; }

dialog { max-height: 94dvh; padding: 0; color: var(--ink); border: 0; background: var(--paper); overscroll-behavior: contain; }
dialog::backdrop { background: rgb(42 48 33 / .55); }
.close { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); background: var(--paper); font: 400 1.65rem/1 Arial, sans-serif; }
.close:hover { background: var(--ink); color: var(--paper); }
.product-dialog { width: min(880px, calc(100vw - 28px)); border-radius: 24px; }
.product-dialog > .close { position: absolute; z-index: 1; top: 12px; left: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
.detail-grid figure { background: var(--wash); align-content: center; }
.detail-grid figure img { width: 100%; height: 100%; max-height: 70dvh; min-height: 450px; object-fit: cover; }
.detail-grid figure img.is-wide { object-fit: contain; }
.detail-copy { padding: clamp(26px, 4vw, 55px); align-self: center; }
.detail-copy h2 { font-weight: 900; font-size: clamp(23px, 3vw, 38px); line-height: 1.45; margin: .45rem 0 .65rem; }
.detail-copy p:not(.preview-note) { font-size: .91rem; color: var(--muted); }
.detail-copy p.detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; font-size: 1.06rem; font-weight: 600; color: var(--ink); margin-top: .8rem; }
.sizes { margin: 1.4rem 0; padding: 0; border: 0; min-width: 0; }
.sizes legend { font-weight: 600; font-size: .83rem; padding: 0; }
.size-options { display: flex; gap: .55rem; margin-top: .5rem; }
.size-options label { position: relative; }
.size-options input { position: absolute; opacity: 0; }
.size-options span { min-width: 44px; min-height: 44px; padding: .2rem .5rem; display: grid; place-items: center; border: 1px solid var(--line); cursor: pointer; }
.size-options input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.solid { width: 100%; min-height: 49px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font-size: .86rem; font-weight: 600; padding: .55rem .7rem; }
.solid:hover { background: var(--accent); border-color: var(--accent); }

.cart-dialog { position: fixed; inset: 0 auto 0 0; width: min(100%, 455px); max-width: 100%; height: 100%; max-height: 100%; margin: 0; }
.cart-shell { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.35rem; font-weight: 900; }
.cart-items { overflow-y: auto; padding: 0 24px; }
.cart-empty { padding: 36px 0; }
.cart-empty .text-link { margin-top: .85rem; }
.cart-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row img { aspect-ratio: 3/4; object-fit: cover; }
.cart-row h3 { font-size: 1rem; font-weight: 600; }
.cart-row p { font-size: .82rem; color: var(--muted); }
.quantity { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: .45rem; }
.quantity button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: transparent; }
.quantity button:disabled { opacity: .45; cursor: default; }
.quantity span { text-align: center; min-width: 2ch; }
.quantity button.remove { border-color: transparent; text-decoration: underline; font-size: .78rem; margin-inline-start: 5px; }
.cart-summary { padding: 17px 24px 24px; border-top: 1px solid var(--line); }
.cart-summary div { display: flex; justify-content: space-between; gap: 12px; }
.cart-summary p { color: var(--muted); font-size: .82rem; margin: .45rem 0 .95rem; }

.mobile-nav { display: none; }
.service-dialog { width: min(440px, calc(100vw - 28px)); border-radius: 24px; }
.service-body { padding: 20px 24px 24px; }
.service-body h3 { font-size: 1.15rem; margin: .3rem 0; }
.service-body > p:not(.preview-note) { color: var(--muted); }
.service-body > .solid { margin-top: 16px; }
.service-body form { display: grid; gap: 8px; }
.service-body input { width: 100%; min-height: 46px; border: 1px solid var(--line); padding: 5px 12px; border-radius: 10px; background: var(--paper); color: var(--ink); }
.service-body .solid { border-radius: 10px; }
.tracking-message:empty { display: none; }
.tracking-message { margin-top: 10px; }
.tracking-steps { color: var(--ink); padding-inline-start: 22px; margin: 7px 0 0; }
.tracking-steps [aria-current='step'] { font-weight: 600; color: var(--accent); }

@media (min-width: 761px) {
  .categories .category-banner { block-size: clamp(82px, 8.5vw, 110px); aspect-ratio: auto; }
  .categories .category-caption { gap: .25rem; padding: 8px clamp(10px, 1.6vw, 24px); }
  .categories .category-caption h3 { font-size: clamp(15px, 1.65vw, 23px); }
}
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .masthead { min-height: 63px; grid-template-columns: 1fr auto; gap: 12px; }
  .masthead .masthead-nav, .masthead .bag-trigger { display: none; }
  .masthead .masthead-mobile { display: flex; gap: clamp(16px, 4.5vw, 28px); }
  .masthead-mobile a { display: flex; align-items: center; min-height: 44px; }
  .masthead .masthead-mobile .masthead-sale { color: var(--magnet-red); font-weight: 900; }
  .title-line { gap: 10px; padding: 24px 0 12px; }
  .display-word { font-size: clamp(65px, 17vw, 126px); }
  .edition { grid-template-columns: 1fr; }
  .campaign-photo img { max-height: none; }
  .campaign-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 2px 15px; }
  .campaign-label { grid-column: 1 / -1; }
  .campaign-copy h2 { font-size: clamp(25px, 7.1vw, 49px); margin: .1em 0 0; line-height: 1.5; }
  .campaign-copy h2 br { display: none; }
  .campaign-copy .text-link { align-self: end; white-space: nowrap; gap: .25em; }
  .categories .section-head { margin-bottom: 12px; }
  .category-banners { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .categories .category-banners { gap: 6px; }
  .category-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    aspect-ratio: auto;
    border-radius: 14px 14px 13px 4px;
  }
  .category-photo { grid-row: 1; block-size: clamp(68px, 20vw, 112px); }
  .category-caption { align-items: center; text-align: center; padding: 5px 4px; min-block-size: 34px; }
  .categories .category-photo { block-size: clamp(45px, 14vw, 72px); }
  .categories .category-caption { min-block-size: 30px; padding-block: 4px; }
  .category-caption h3 { font-size: clamp(.75rem, 3.3vw, .94rem); font-weight: 600; line-height: 1.45; }
  .category-caption > span { display: none; }
  .featured-shelf .product-rail { grid-auto-columns: min(45%, 220px); }
  .collection { padding-top: 40px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }
  .store { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store figure { height: auto; aspect-ratio: 4/5; }
  .store-copy { grid-column: 1 / -1; order: 1; }
  .footer { flex-wrap: wrap; }
  .footer p { width: 100%; order: 3; }
  .mobile-nav {
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    background: var(--paper);
    box-shadow: 0 -3px 16px rgb(42 48 33 / .08);
  }
  .mobile-nav a, .mobile-nav button {
    min-height: 52px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    border: 0;
    padding: 4px 0;
    background: transparent;
    color: var(--ink);
    border-radius: 14px;
    font-size: clamp(.625rem, 2.7vw, .8rem);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    position: relative;
  }
  .mobile-nav [aria-current='page'], .mobile-nav button:active { background: var(--beige); }
  .mobile-count { position: absolute; top: 2px; inset-inline-start: calc(50% - 19px); min-width: 17px; border-radius: 50%; background: var(--magnet-red); color: white; font-size: .69rem; line-height: 17px; text-align: center; }
  .mobile-icon { width: 24px; height: 24px; position: relative; display: block; }
  .mobile-icon::before, .mobile-icon::after { position: absolute; content: ''; }
  .icon-shop::before { inset: 8px 4px 3px; border: 1.5px solid; border-radius: 2px; }
  .icon-shop::after { inset: 4px 9px 15px; border: 1.5px solid; border-bottom: 0; border-radius: 4px 4px 0 0; }
  .icon-categories::before {
    inset: 4px;
    border: 1.5px solid;
    border-radius: 4px;
    background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat,
                linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  }
  .icon-person::before { width: 8px; height: 8px; top: 3px; left: 8px; border: 1.5px solid; border-radius: 50%; }
  .icon-person::after { inset: 13px 4px 3px; border: 1.5px solid; border-radius: 8px 8px 3px 3px; }
  .icon-cart::before { inset: 6px 3px 8px 5px; border: 1.5px solid; border-radius: 2px 2px 4px 3px; transform: skew(-9deg); }
  .icon-cart::after { width: 3px; height: 3px; top: 18px; left: 7px; border-radius: 50%; background: currentColor; box-shadow: 9px 0 currentColor; }
  .icon-parcel::before { inset: 4px; border: 1.5px solid; border-radius: 3px; }
  .icon-parcel::after { inset: 5px 9px 12px; border: 1.5px solid; border-top: 0; border-radius: 0 0 2px 2px; }
  .category-dialog {
    position: fixed;
    inset: auto 0 0;
    margin: 0 auto;
    width: min(100%, 520px);
    max-width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
    border-radius: 26px 26px 0 0;
  }
  .category-dialog .cart-head { padding: 9px 16px; }
  .category-dialog .close { border-radius: 50%; }
  .category-menu-grid {
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .category-menu-grid .category-photo { block-size: clamp(60px, 18vw, 88px); }
  .cart-summary { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .category-dialog[open] { animation: category-dialog-enter .22s ease-out; }
}
@keyframes category-dialog-enter {
  from { transform: translateY(100%); }
}
@media (max-width: 550px) {
  .catalog-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1; gap: 8px; }
  .catalog-controls .catalog-filter { display: grid; min-width: 0; gap: 3px; }
  .catalog-controls select { width: 100%; }
  .shelf-tools p { flex-shrink: 0; align-self: end; padding-bottom: 12px; }
  .featured-shelf .section-head h2 { font-size: clamp(1rem, 5vw, 1.35rem); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid figure img { height: 39dvh; min-height: 215px; object-position: center 24%; }
  .detail-copy { padding: 20px; }
  .product-meta { gap: 4px; padding: 9px 4px 6px; }
  .product-title { font-size: .83rem; }
  .product-price { font-size: .75rem; }
  .product-action { width: 31px; height: 31px; font-size: 1.15rem; }
}
@media (max-width: 360px) {
  .display-word { font-size: 56px; }
  .campaign-copy { grid-template-columns: 1fr; }
  .campaign-copy .text-link { font-size: .8rem; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .categories .section-head { flex-direction: row; align-items: flex-end; }
  .featured-shelf .section-head { flex-direction: row; align-items: baseline; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
