:root {
  --ink: #161514;
  --muted: #6d675f;
  --paper: #fbf7f0;
  --ivory: #fffdf8;
  --line: #ded5c9;
  --oxblood: #7d2029;
  --sage: #9aa88c;
  --teal: #366f78;
  --rose: #c9828e;
  --blue: #8fb5cf;
  --shadow: 0 22px 50px rgba(22, 21, 20, 0.14);
  --serif: "Times New Roman", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 36px;
  color: var(--ivory);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.topbar__item {
  padding: 8px 14px;
  color: inherit;
  font-size: 12px;
  letter-spacing: 0;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar__item:last-child {
  border-right: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 0 34px;
  background: rgba(251, 247, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  min-width: 170px;
  letter-spacing: 0.08em;
}

.brand-mark span {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.brand-mark small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark--footer {
  align-items: flex-start;
  min-width: 0;
}

.primary-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-nav {
  justify-self: start;
}

.primary-nav > a,
.nav-group > a,
.text-action,
.bag-button {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.primary-nav > a::after,
.nav-group > a::after,
.text-action::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.primary-nav > a:hover::after,
.nav-group:hover > a::after,
.text-action:hover::after {
  transform: scaleX(1);
}

.lang-toggle {
  min-width: 46px;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  line-height: 1;
}

.lang-toggle::after {
  display: none;
}

.lang-toggle:hover {
  color: var(--oxblood);
}

.header-actions {
  justify-self: end;
}

.bag-button {
  min-width: 70px;
  padding: 9px 14px;
  color: var(--ivory);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.nav-group {
  position: relative;
  padding: 28px 0;
}

.mega-menu {
  position: absolute;
  top: 74px;
  left: -28px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr)) 210px;
  gap: 36px;
  width: min(760px, calc(100vw - 48px));
  padding: 26px;
  pointer-events: none;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-group:hover .mega-menu,
.nav-group:focus-within .mega-menu {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.mega-title {
  margin: 0 0 14px;
  color: var(--oxblood);
  font-family: var(--serif);
  font-size: 19px;
}

.mega-menu a {
  display: block;
  margin: 11px 0;
  color: var(--muted);
  font-size: 14px;
}

.mega-menu a:hover {
  color: var(--ink);
}

.mega-menu img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

.mega-menu figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
}

.icon-button span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
}

.mobile-only {
  display: none;
}

.hero {
  position: relative;
  min-height: min(82svh, 760px);
  display: flex;
  align-items: flex-end;
  padding: clamp(42px, 8vw, 86px);
  color: white;
  background:
    linear-gradient(90deg, rgba(13, 13, 12, 0.55), rgba(13, 13, 12, 0.14) 55%, rgba(13, 13, 12, 0.04)),
    url("assets/products/rose-daisy-set.jpg") center 88% / cover no-repeat;
}

.hero__copy {
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3d9cc;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 10vw, 122px);
  font-weight: 400;
  line-height: 0.95;
}

.hero p:not(.eyebrow) {
  width: min(520px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 19px);
}

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

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--light {
  color: var(--ink);
  background: var(--ivory);
}

.button--ghost-light {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.button--dark {
  color: var(--ivory);
  background: var(--ink);
}

.button--full {
  width: 100%;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.category-strip a {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.category-strip a:last-child {
  border-right: 0;
}

.category-strip img {
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.category-strip a:hover img {
  transform: scale(1.035);
}

.category-strip span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: white;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.editorial-band,
.gift-section,
.atelier-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(52px, 8vw, 94px) clamp(20px, 6vw, 80px);
}

.editorial-band {
  background: #f3eadf;
}

.editorial-band__media img {
  max-height: 780px;
  object-fit: cover;
  object-position: center top;
}

.editorial-band__text h2,
.section-heading h2,
.gift-section h2,
.atelier-section h2,
.newsletter h2,
.small-modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.02;
}

.editorial-band__text p:not(.eyebrow),
.section-heading p,
.gift-section p,
.atelier-section p,
.newsletter p,
.small-modal p {
  color: var(--muted);
  font-size: 16px;
}

.text-link,
.button-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding-bottom: 3px;
  color: var(--oxblood);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.shop-section {
  padding: clamp(52px, 8vw, 92px) clamp(18px, 5vw, 58px);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.section-heading p {
  margin: 0;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 7px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
}

.filter-chip.is-active,
.filter-chip:hover {
  color: var(--ivory);
  background: var(--oxblood);
  border-color: var(--oxblood);
}

.select-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

select,
input {
  min-height: 42px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
}

select {
  padding: 0 38px 0 12px;
}

input {
  width: 100%;
  padding: 0 12px;
}

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

.product-card {
  position: relative;
  background: var(--ivory);
  border: 1px solid rgba(222, 213, 201, 0.9);
  border-radius: 4px;
  overflow: hidden;
}

.product-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #efe7dc;
}

.product-card__image img {
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.86);
  font-size: 11px;
  text-transform: uppercase;
}

.wishlist-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(22, 21, 20, 0.08);
  border-radius: 50%;
}

.wishlist-button.is-active {
  color: var(--oxblood);
}

.quick-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  opacity: 1;
  transform: translateY(0);
}

.quick-add button {
  flex: 1;
  min-height: 38px;
  color: var(--ivory);
  background: rgba(22, 21, 20, 0.88);
  border-radius: 2px;
  font-size: 12px;
}

.product-card__meta {
  padding: 14px;
}

.product-card__meta h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.08;
}

.product-card__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.stock-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px !important;
  padding: 4px 7px;
  color: #35624d !important;
  background: #e8f0e8;
  border: 1px solid #cddccd;
  border-radius: 999px;
  font-size: 11px !important;
}

.stock-note.is-low {
  color: var(--oxblood) !important;
  background: #f6e8e8;
  border-color: #e1baba;
}

.swatches {
  display: flex;
  gap: 5px;
}

.swatch {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(22, 21, 20, 0.22);
  border-radius: 50%;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.service-row div {
  padding: clamp(28px, 5vw, 46px);
  border-right: 1px solid var(--line);
}

.service-row div:last-child {
  border-right: 0;
}

.service-row span {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 18px;
}

.service-row h3 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.gift-section {
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1fr);
  background: #f7f0f1;
}

.gift-section__gallery {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: end;
}

.gift-section__gallery img {
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  object-position: center top;
}

.gift-section__gallery img:first-child {
  margin-top: 72px;
}

.atelier-section {
  grid-template-columns: minmax(300px, 0.62fr) minmax(300px, 0.7fr);
  background: var(--ink);
  color: var(--ivory);
}

.atelier-section .eyebrow {
  color: #d2aaa1;
}

.atelier-section p {
  color: rgba(255, 253, 248, 0.76);
}

.journal-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.journal-section article {
  padding: clamp(24px, 4vw, 46px);
  background: var(--paper);
}

.journal-section img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 18%;
  margin-bottom: 22px;
}

.journal-section h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
}

.newsletter {
  padding: clamp(48px, 8vw, 86px) 20px;
  text-align: center;
  background: #e6efe6;
}

.newsletter form {
  display: flex;
  gap: 10px;
  width: min(560px, 100%);
  margin: 28px auto 0;
}

.newsletter label {
  flex: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding: 48px clamp(20px, 5vw, 58px);
  color: var(--ivory);
  background: #20201e;
}

.site-footer p,
.site-footer a,
.site-footer button,
.site-footer span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 253, 248, 0.72);
  text-align: left;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.brand-mark--footer small,
.brand-mark--footer span {
  color: var(--ivory);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(22, 21, 20, 0);
  transition: background 200ms ease;
}

.drawer.is-open {
  pointer-events: auto;
  background: rgba(22, 21, 20, 0.36);
}

.drawer--left {
  justify-content: flex-start;
}

.drawer__panel {
  width: min(460px, 100%);
  height: 100%;
  padding: 26px;
  overflow-y: auto;
  background: var(--ivory);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.drawer--left .drawer__panel {
  transform: translateX(-100%);
}

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

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer__header h2,
.product-detail__info h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.icon-close {
  position: relative;
  width: 38px;
  height: 38px;
}

.icon-close::before,
.icon-close::after {
  position: absolute;
  top: 18px;
  left: 8px;
  width: 22px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.cart-empty {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.cart-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.cart-item p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  border: 1px solid var(--line);
}

.qty-row button {
  width: 30px;
  height: 30px;
}

.remove-button {
  margin-left: 10px;
  color: var(--oxblood);
  font-size: 12px;
  text-decoration: underline;
}

.gift-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 14px;
  background: #f4ebe0;
  border: 1px solid var(--line);
}

.gift-wrap input {
  width: auto;
  min-height: auto;
}

.cart-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

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

.cart-recommendations {
  margin: 18px 0;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-recommendations:empty {
  display: none;
}

.cart-recommendations__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-recommendations__header .eyebrow {
  margin: 0;
  font-size: 10px;
}

.cart-recommendations__header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.cart-recommendations__list {
  display: grid;
  gap: 12px;
}

.cart-recommendation {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}

.cart-recommendation img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.cart-recommendation h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.cart-recommendation p {
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.cart-recommendation button[data-cart-recommend-add] {
  padding-bottom: 2px;
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.fine-print {
  color: var(--muted);
  font-size: 12px;
}

.search-box input {
  min-height: 50px;
  font-size: 18px;
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.search-result {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.search-result img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}

.search-result h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.search-result p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mobile-nav {
  display: grid;
  gap: 16px;
}

.mobile-nav a {
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 28px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__staff {
  margin-top: 8px;
  padding-top: 20px;
  font-size: 20px;
  color: var(--oxblood);
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(22, 21, 20, 0.46);
}

.product-detail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.72fr);
  width: min(1100px, 100%);
  max-height: min(880px, 92svh);
  overflow: auto;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.product-detail__close,
.small-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255, 253, 248, 0.84);
  border-radius: 50%;
}

.product-detail__media {
  position: relative;
  overflow: hidden;
  background: #efe7dc;
}

.product-detail__media img {
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center top;
}

.product-media-carousel {
  position: relative;
  height: 100%;
  min-height: 640px;
  overflow: hidden;
}

.product-media-carousel__track {
  display: flex;
  height: 100%;
  min-height: inherit;
  transition: transform 420ms ease;
}

.product-media-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.product-media-carousel__slide img {
  width: 100%;
}

.media-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(22, 21, 20, 0.1);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.media-arrow--prev {
  left: 14px;
}

.media-arrow--next {
  right: 14px;
}

.media-dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.media-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(22, 21, 20, 0.25);
  border-radius: 50%;
}

.media-dots button.is-active {
  background: var(--ink);
  border-color: var(--ink);
}

.product-detail__info {
  padding: clamp(26px, 5vw, 54px);
}

.product-detail__price {
  margin: 10px 0 22px;
  font-size: 20px;
  font-weight: 700;
}

.product-detail__desc {
  color: var(--muted);
}

.option-block {
  margin: 24px 0;
}

.option-block legend,
.option-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0;
  border: 0;
}

.size-options label {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
}

.size-options input {
  position: absolute;
  opacity: 0;
}

.size-options label:has(input:checked) {
  color: var(--ivory);
  background: var(--ink);
  border-color: var(--ink);
}

.detail-list {
  padding-left: 18px;
  color: var(--muted);
}

.small-modal {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 34px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.size-table {
  display: grid;
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.size-table div {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1fr;
}

.size-table span {
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-modal form {
  display: grid;
  gap: 14px;
}

.account-modal label,
.checkout-modal label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.checkout-modal form {
  display: grid;
  gap: 14px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 16px;
  color: var(--ivory);
  background: var(--ink);
  border-radius: 4px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-header {
    padding: 0 20px;
  }

  .primary-nav,
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-grid;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .topbar__item:not(:first-child) {
    display: none;
  }

  .site-header {
    grid-template-columns: 44px 1fr auto;
    min-height: 66px;
  }

  .brand-mark {
    min-width: 0;
  }

  .brand-mark span {
    font-size: 23px;
  }

  .header-actions {
    gap: 8px;
  }

  .text-action {
    display: none;
  }

  .hero {
    min-height: 78svh;
    padding: 34px 20px;
    background-position: center, center 88%;
  }

  .hero h1 {
    font-size: clamp(48px, 17vw, 82px);
  }

  .category-strip,
  .service-row,
  .journal-section,
  .site-footer,
  .editorial-band,
  .gift-section,
  .atelier-section,
  .section-heading,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .category-strip a,
  .category-strip img {
    min-height: 220px;
  }

  .service-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-row div:last-child {
    border-bottom: 0;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .product-card__meta {
    padding: 12px;
  }

  .product-card__meta h3 {
    font-size: 18px;
  }

  .quick-add {
    position: static;
    padding: 0 12px 12px;
    opacity: 1;
    transform: none;
  }

  .gift-section__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter form {
    flex-direction: column;
  }

  .product-detail__media img {
    min-height: 420px;
  }

  .product-media-carousel {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0 12px;
  }

  .bag-button {
    min-width: 58px;
    padding: 8px 10px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .filter-buttons {
    width: 100%;
  }

  .filter-chip {
    flex: 1 1 auto;
  }

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

  .modal {
    padding: 0;
  }

  .product-detail,
  .small-modal {
    width: 100%;
    max-height: 100svh;
    min-height: 100svh;
  }

  .drawer__panel {
    width: 100%;
  }
}
