:root {
  --warm-white: #faf9f6;
  --soft-beige: #ede7dc;
  --sage: #82917d;
  --sage-dark: #506148;
  --charcoal: #252b28;
  --accent: #c99d78;
  --cream: #fffdf8;
  --line: #ddd5c9;
  --danger: #c61832;
  --shadow: 0 18px 48px rgba(37, 43, 40, 0.12);
  --radius: 8px;
  --max: 1480px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  min-width: 320px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(80, 97, 72, 0.45); outline-offset: 3px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 2000;
  top: 1rem;
  left: 1rem;
  background: var(--charcoal);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.announcement {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  padding: 0.55rem clamp(1rem, 3vw, 3rem);
  background: var(--sage-dark);
  color: #fff;
  font-size: 0.86rem;
}
.announcement span { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221, 213, 201, 0.8);
}
.header-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 3vw, 3rem) 0.85rem;
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.8rem; min-width: 0; }
.brand > span:last-child { min-width: 0; }
.brand-mark {
  width: 58px;
  height: 58px;
  color: var(--sage-dark);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  line-height: 1;
  font-weight: 700;
}
.brand small {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.77rem;
  text-transform: uppercase;
}
.search {
  display: grid;
  grid-template-columns: 1fr 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.search input {
  border: 0;
  padding: 0.95rem 1rem;
  min-width: 0;
  background: transparent;
}
.search button {
  border: 0;
  background: var(--sage-dark);
  color: white;
  display: grid;
  place-items: center;
}
.search svg, .quick-actions svg { width: 23px; height: 23px; }
.quick-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.icon-action, .mobile-menu-button {
  border: 0;
  background: transparent;
  color: var(--charcoal);
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  position: relative;
}
.icon-action span {
  font-size: 0.78rem;
  white-space: nowrap;
}
.cart-trigger b {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  background: var(--sage-dark);
  color: white;
  border-radius: 999px;
  min-width: 1.3rem;
  height: 1.3rem;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}
.mobile-menu-button { display: none; }
.primary-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem) 0.9rem;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 3rem);
  font-size: 0.97rem;
}
.primary-nav a {
  padding: 0.55rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-color: var(--sage-dark); }

main { min-height: 70vh; }
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 3rem);
}
.hero {
  min-height: clamp(420px, 40vw, 520px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250, 249, 246, 0.98) 0%, rgba(250, 249, 246, 0.94) 34%, rgba(250, 249, 246, 0.24) 66%, rgba(250, 249, 246, 0.02) 100%),
    #ede7dc;
  display: grid;
  align-items: center;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 1.4s ease, transform 5.5s ease;
}
.hero-image.active {
  opacity: 0.98;
  transform: scale(1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,249,246,0.96) 0%, rgba(250,249,246,0.88) 36%, rgba(250,249,246,0.26) 62%, rgba(250,249,246,0.04) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: 0;
  margin-right: auto;
}
.eyebrow {
  text-transform: uppercase;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
h1, h2, h3 { margin: 0; }
.hero h1 {
  margin-top: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.6vw, 4rem);
  line-height: 1.02;
  max-width: 12ch;
}
.hero p {
  max-width: min(540px, 100%);
  font-size: clamp(1.06rem, 2.3vw, 1.35rem);
  line-height: 1.55;
}
.hero-actions, .section-actions, .product-actions {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  border: 1px solid var(--sage-dark);
  border-radius: var(--radius);
  padding: 0.9rem 1.3rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
}
.button.primary { background: var(--sage-dark); color: white; }
.button.secondary, .button.ghost { background: rgba(255,255,255,0.72); color: var(--charcoal); }
.button.full { width: 100%; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-head h2, .collection-hero h1, .page-shell h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}
.section-head p { margin: 0.35rem 0 0; color: #5e655e; max-width: 720px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.category-card, .product-card, .benefit, .info-card {
  background: white;
  border: 1px solid rgba(221, 213, 201, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
}
.category-visual, .product-image, .spotlight-art {
  aspect-ratio: 16 / 10;
  background: var(--soft-beige);
  position: relative;
  overflow: hidden;
}
.photo-crop {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("./assets/photos/reference-homepage.png");
  background-repeat: no-repeat;
  background-color: var(--soft-beige);
}
.crop-hero { background-size: 203.175% 505.263%; background-position: 100% 11.364%; }
.crop-category-home { background-size: 445.217% 1137.778%; background-position: 4.156% 32.762%; }
.crop-category-bath { background-size: 445.217% 1137.778%; background-position: 34.887% 32.762%; }
.crop-category-cosmetics { background-size: 445.217% 1137.778%; background-position: 65.491% 32.762%; }
.crop-category-cleaning { background-size: 447.162% 1137.778%; background-position: 95.975% 32.762%; }
.crop-product-home { background-size: 706.207% 1172.519%; background-position: 4.892% 60.854%; }
.crop-product-soap { background-size: 706.207% 1172.519%; background-position: 23.208% 60.854%; }
.crop-product-rose { background-size: 706.207% 1172.519%; background-position: 41.524% 60.854%; }
.crop-product-argan { background-size: 706.207% 1172.519%; background-position: 59.954% 60.854%; }
.crop-product-cleaning { background-size: 706.207% 1172.519%; background-position: 78.271% 60.854%; }
.crop-product-bathset { background-size: 706.207% 1172.519%; background-position: 96.701% 60.854%; }
.crop-spotlight-cosmetics { background-size: 226.549% 925.301%; background-position: 95.280% 79.927%; }
.crop-promo-bath { background-size: 465.455% 1003.922%; background-position: 35.448% 92.263%; }
.crop-promo-cleaning { background-size: 435.745% 1003.922%; background-position: 96.324% 92.263%; }
.category-visual img,
.product-image img,
.spotlight-art img,
.promo-card img,
.category-visual .photo-crop,
.product-image .photo-crop,
.spotlight-art .photo-crop,
.promo-card .photo-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-image-link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}
.product-image-link img {
  display: block;
}
.category-card div:last-child { padding: 1.15rem; }
.category-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.category-card p { margin: 0 0 0.75rem; color: #5e655e; line-height: 1.45; }
.text-link { color: var(--sage-dark); font-weight: 800; }

.benefit-strip {
  background: var(--soft-beige);
  border-block: 1px solid var(--line);
}
.benefit-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}
.benefit {
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.7rem;
  align-items: center;
}
.benefit svg { width: 36px; height: 36px; color: var(--sage-dark); }
.benefit strong { display: block; font-size: 0.9rem; }
.benefit span { display: block; font-size: 0.78rem; color: #5e655e; }

.tabs, .toolbar, .filters {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.tab, .chip {
  border: 1px solid var(--line);
  background: white;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
}
.tab.active, .chip.active {
  background: var(--sage-dark);
  color: white;
  border-color: var(--sage-dark);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}
.product-image { aspect-ratio: 1 / 0.82; }
.product-image img,
.product-image .photo-crop { transition: transform 0.28s ease; }
.product-card:hover .product-image img,
.product-card:hover .product-image .photo-crop { transform: scale(1.035); }
.product-card-content {
  padding: 0.95rem;
  display: grid;
  gap: 0.55rem;
}
.product-title { font-weight: 800; line-height: 1.25; min-height: 2.6em; }
.muted { color: #657066; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-weight: 900;
  font-size: 1.1rem;
}
.compare { color: #8e918b; text-decoration: line-through; font-size: 0.9rem; font-weight: 600; }
.badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 3;
  background: var(--sage-dark);
  color: white;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.badge.sale { background: var(--danger); }
.wishlist {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 4;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.82);
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(37,43,40,0.08);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.wishlist.active {
  background: var(--sage-dark);
  color: white;
}
.wishlist:hover,
.wishlist:focus-visible {
  transform: scale(1.06);
  outline: 2px solid rgba(79,95,74,0.24);
  outline-offset: 2px;
}
.card-button {
  border: 0;
  border-radius: var(--radius);
  background: var(--sage-dark);
  color: white;
  padding: 0.75rem;
  font-weight: 800;
  min-height: 44px;
}
.editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
  background: var(--soft-beige);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.editorial-content { padding: clamp(1.5rem, 4vw, 3.5rem); }
.editorial h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0.5rem 0 1rem;
}
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.promo-card {
  min-height: 260px;
  display: grid;
  align-content: center;
  padding: 0;
  border-radius: var(--radius);
  background: var(--soft-beige);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.promo-card img,
.promo-card > .photo-crop {
  position: absolute;
  inset: 0;
}
.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,249,246,0.96), rgba(250,249,246,0.62) 48%, rgba(250,249,246,0.06));
}
.promo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding: clamp(1.3rem, 3vw, 2.6rem);
}
.promo-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  max-width: 11ch;
  line-height: 1.05;
}
.newsletter {
  display: grid;
  grid-template-columns: auto 1fr minmax(280px, 520px);
  gap: 1.4rem;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.newsletter-icon {
  width: 72px;
  height: 72px;
  border: 2px solid var(--charcoal);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}
.newsletter input, .field, select {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 0.75rem 0.9rem;
}
.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.55rem;
  align-items: start;
  color: #5e655e;
  font-size: 0.84rem;
}

.collection-hero {
  background: linear-gradient(135deg, rgba(237,231,220,0.95), rgba(250,249,246,0.9));
  border-bottom: 1px solid var(--line);
}
.collection-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}
.filters-panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 1rem;
  align-self: start;
  position: sticky;
  top: 164px;
}
.filter-group { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h3 { font-size: 1rem; margin-bottom: 0.7rem; }
.check-list { display: grid; gap: 0.5rem; }
.check-list label { display: flex; gap: 0.5rem; align-items: center; }
.range-row { display: grid; gap: 0.45rem; }
.collection-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.collection-topbar select { min-width: 210px; }
.load-more { margin: 1.5rem auto 0; display: flex; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.gallery {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
}
.thumbs { display: grid; gap: 0.8rem; align-content: start; }
.thumb {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 0;
  overflow: hidden;
}
.main-image { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.detail-info h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}
.detail-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }
.pill {
  border-radius: 999px;
  background: var(--soft-beige);
  padding: 0.42rem 0.65rem;
  font-size: 0.85rem;
}
.quantity {
  display: inline-grid;
  grid-template-columns: 44px 54px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.quantity button { border: 0; background: white; min-height: 44px; }
.quantity input { border: 0; text-align: center; min-width: 0; }
.accordion { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.accordion summary { font-weight: 800; cursor: pointer; }
.accordion p { color: #5e655e; line-height: 1.55; }

.page-shell {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 4rem);
  line-height: 1.65;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.info-card { padding: 1.1rem; }

.site-footer {
  margin-top: 3rem;
  background: var(--charcoal);
  color: white;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h2 { font-size: 1rem; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer p, .site-footer a { color: rgba(255,255,255,0.78); }
.brand-footer { color: white; }
.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 50%;
}
.legal-note {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 3rem) 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: none;
  background: rgba(37,43,40,0.34);
}
.cart-drawer.open { display: block; }
.drawer-panel {
  width: min(460px, 100%);
  height: 100%;
  margin-left: auto;
  background: var(--warm-white);
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: var(--shadow);
}
.drawer-panel header, .drawer-panel footer { padding: 1.1rem; border-bottom: 1px solid var(--line); }
.drawer-panel footer { border-top: 1px solid var(--line); border-bottom: 0; display: grid; gap: 0.8rem; }
.drawer-panel header { display: flex; align-items: center; justify-content: space-between; }
.close-button {
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}
.cart-items { overflow: auto; padding: 1rem; display: grid; gap: 1rem; align-content: start; }
.cart-line {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.8rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem;
}
.cart-line .product-image { aspect-ratio: 1; border-radius: 6px; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.55rem; }
.remove { border: 0; background: transparent; color: var(--danger); font-weight: 800; }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 1.2rem; }
.cart-subtotal { font-size: 0.96rem; color: #5e655e; }
.checkout-options {
  display: grid;
  gap: 0.85rem;
  max-height: 42vh;
  overflow: auto;
  padding-right: 0.2rem;
}
.checkout-options fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  background: rgba(255,255,255,0.72);
}
.checkout-options legend {
  padding-inline: 0.35rem;
  font-weight: 900;
  color: var(--charcoal);
}
.option-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  border: 1px solid rgba(221,213,201,0.9);
  border-radius: 7px;
  padding: 0.65rem;
  background: white;
}
.option-card input { margin-top: 0.15rem; accent-color: var(--sage-dark); }
.option-card span { display: grid; gap: 0.2rem; }
.option-card small {
  color: #657066;
  line-height: 1.35;
}
.checkout-note { margin: 0; color: #5e655e; font-size: 0.88rem; line-height: 1.4; }
.account-modal,
.favorites-modal {
  position: fixed;
  inset: 0;
  z-index: 1850;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(37,43,40,0.38);
}
.account-modal.open,
.favorites-modal.open { display: grid; }
.account-panel,
.favorites-panel {
  width: min(920px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.favorites-panel { width: min(720px, 100%); }
.account-panel header,
.favorites-panel header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
}
#account-content,
#favorites-content { padding: 1.2rem; }
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.account-form {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.account-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}
.facebook-button {
  border: 1px solid #1877f2;
  background: #1877f2;
  color: white;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 0.8rem 1rem;
  font-weight: 900;
}
.account-summary {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-dark);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 900;
}
.account-actions {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}
.favorite-list {
  display: grid;
  gap: 0.9rem;
}
.favorite-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
}
.favorite-line .product-image {
  aspect-ratio: 1;
  border-radius: 7px;
}
.favorite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.55rem;
}
.empty-state {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding: 1.2rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.icon-action { position: relative; }
.icon-action > b {
  position: absolute;
  top: 0.1rem;
  right: 0.45rem;
  min-width: 18px;
  height: 18px;
  padding-inline: 0.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-dark);
  color: white;
  font-size: 0.72rem;
  line-height: 1;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translate(-50%, 140%);
  background: var(--charcoal);
  color: white;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
  z-index: 2200;
}
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .header-main { grid-template-columns: 1fr auto; }
  .search { grid-column: 1 / -1; order: 3; }
  .category-grid, .product-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .announcement { grid-template-columns: 1fr; gap: 0.3rem; }
  .announcement span:nth-child(n+2) { display: none; }
  .header-main { grid-template-columns: minmax(0, 1fr) auto; padding-top: 0.75rem; gap: 0.65rem; }
  .header-main { position: relative; padding-right: 6.5rem; }
  .brand { gap: 0.5rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: clamp(1.2rem, 6vw, 1.45rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand small { display: none; }
  .icon-action:not(.cart-trigger) { display: none; }
  .cart-trigger span { display: none; }
  .icon-action, .mobile-menu-button { min-width: 40px; width: 40px; min-height: 42px; }
  .quick-actions { gap: 0.15rem; }
  .cart-trigger,
  .mobile-menu-button {
    position: fixed;
    top: 2.75rem;
    z-index: 2100;
    background: var(--warm-white);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(37, 43, 40, 0.08);
  }
  .cart-trigger { right: 3.65rem; }
  .mobile-menu-button { right: 0.85rem; }
  .mobile-menu-button { display: grid; }
  .primary-nav {
    display: none;
    padding-bottom: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }
  .primary-nav.open { display: flex; }
  .hero { min-height: 560px; align-items: end; }
  .hero-image {
    width: 100%;
    right: auto;
    left: 0;
    opacity: 0;
  }
  .hero-image.active { opacity: 0.42; }
  .hero h1 { max-width: 9ch; }
  .hero p { font-size: 1rem; max-width: 100%; }
  .hero-content { max-width: 100%; overflow: hidden; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .category-grid, .product-grid, .promo-grid, .newsletter, .footer-grid, .info-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .editorial .spotlight-art { min-height: 260px; }
  .newsletter form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .collection-topbar { align-items: stretch; flex-direction: column; }
  .collection-topbar select { width: 100%; }
  .account-grid,
  .favorite-line { grid-template-columns: 1fr; }
  .account-modal,
  .favorites-modal { align-items: end; padding: 0; }
  .account-panel,
  .favorites-panel { max-height: 90vh; border-radius: var(--radius) var(--radius) 0 0; }
}

@media (max-width: 420px) {
  .container { padding-inline: 1rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .hero-actions, .section-actions, .product-actions { align-items: stretch; }
  .button, .hero-actions .button, .product-actions .button { width: 100%; }
  .product-grid { gap: 0.85rem; }
}

@media (max-width: 520px) {
  .announcement,
  .header-main,
  .primary-nav,
  .container,
  .benefit-grid,
  .footer-grid,
  .legal-note {
    width: min(390px, 100vw);
    max-width: min(390px, 100vw);
    margin-left: 0;
    margin-right: auto;
  }
  .cart-trigger { left: calc(min(390px, 100vw) - 6rem); right: auto; }
  .mobile-menu-button { left: calc(min(390px, 100vw) - 3rem); right: auto; }
}

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