:root {
  color-scheme: light;
  --ink: #241927;
  --muted: #74606a;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #ead2d3;
  --rose: #ee6688;
  --rose-dark: #b93860;
  --mint: #2aa889;
  --sun: #f1aa38;
  --lavender: #7c66bd;
  --peach: #ffe0cc;
  --berry: #6b2444;
  --shadow: 0 22px 52px rgba(75, 40, 59, 0.14);
  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: #ffffff;
  color: var(--ink);
}

::selection {
  background: rgba(238, 102, 136, 0.22);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(42, 168, 137, 0.42);
  outline-offset: 3px;
}

body::before {
  display: none;
  content: none;
}

body.drawer-open,
body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 0.9rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(234, 210, 211, 0.9);
  background: rgba(255, 247, 241, 0.86);
  backdrop-filter: blur(18px);
  animation: headerDrop 520ms ease both;
}

.announcement-bar {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 0.58rem clamp(1rem, 4vw, 4.5rem);
  font-size: 0.82rem;
  font-weight: 850;
}

.announcement-bar span {
  position: relative;
  white-space: nowrap;
}

.announcement-bar span + span::before {
  position: absolute;
  left: calc(-0.5 * clamp(1rem, 4vw, 3rem));
  color: var(--sun);
  content: "•";
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(8.8rem, 14vw, 13.5rem);
  height: clamp(3.9rem, 6vw, 5.7rem);
  object-fit: contain;
  object-position: center;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 42%),
    var(--sun);
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow:
    4px 4px 0 rgba(37, 32, 54, 0.12),
    inset 0 0 0 3px rgba(255, 255, 255, 0.4);
}

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

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
  color: var(--muted);
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  place-items: center;
  gap: 0.22rem;
}

.mobile-menu-button span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.nav-links a {
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--rose-dark);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--rose);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links .active::after {
  transform: scaleX(1);
}

.mobile-category-menu {
  display: none;
}

.header-search {
  display: flex;
  width: min(100%, 34rem);
  align-items: center;
  justify-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(86, 52, 62, 0.07);
}

.header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.82rem 1rem 0.82rem 1.15rem;
  color: var(--ink);
  outline: 0;
}

.header-search button {
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--berry);
  color: #fff;
  padding: 0 1.05rem;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.icon-button,
.cart-button {
  display: inline-flex;
  min-width: 2.65rem;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.icon-button:hover,
.cart-button:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
}

.icon-button b,
.cart-button b {
  display: grid;
  min-width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
}

main {
  overflow: hidden;
  animation: pageIn 560ms ease both;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 7vw, 6.5rem) clamp(1rem, 4vw, 4.5rem) 2rem;
}

.hero-copy {
  position: relative;
  max-width: 44rem;
  border-left: 1px solid rgba(185, 56, 96, 0.16);
  padding-left: clamp(0rem, 2vw, 1.2rem);
}

.hero-copy::before {
  position: absolute;
  top: -1.3rem;
  left: -1.2rem;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px dashed rgba(185, 56, 96, 0.42);
  border-radius: 50%;
  content: "";
  opacity: 0.75;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--rose-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.85rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0;
}

.primary-link,
.secondary-link,
.primary-button,
.ghost-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.78rem 1.1rem;
  cursor: pointer;
  font-weight: 900;
}

.primary-link,
.primary-button {
  background: var(--ink);
  color: #fff;
}

.primary-link:hover,
.primary-button:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(198, 71, 104, 0.22);
}

.secondary-link,
.ghost-button {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.secondary-link:hover,
.ghost-button:hover {
  border-color: var(--mint);
  color: #176f5e;
  transform: translateY(-2px);
}

.primary-link,
.secondary-link,
.primary-button,
.ghost-button,
.icon-button,
.cart-button {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 35rem;
  margin: 0;
}

.hero-stats div {
  border: 1px solid rgba(234, 210, 211, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 24px rgba(54, 38, 62, 0.06);
  padding: 0.85rem;
}

.hero-stats dt {
  font-size: 1.5rem;
  font-weight: 950;
}

.hero-stats dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-media {
  position: relative;
  min-height: 33rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8e9ec;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 33rem;
  object-fit: cover;
}

.service-strip,
.collections,
.shop-section,
.custom-section,
.trust-section,
.faq-section,
.site-footer {
  padding-right: clamp(1rem, 4vw, 4.5rem);
  padding-left: clamp(1rem, 4vw, 4.5rem);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1rem clamp(1rem, 4vw, 4.5rem) 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.service-strip article {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.76);
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip span {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.5;
}

.collections,
.shop-section,
.custom-section,
.trust-section,
.faq-section {
  padding-top: clamp(3rem, 7vw, 6rem);
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.custom-section h2 {
  margin-bottom: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.custom-section p {
  color: var(--muted);
  line-height: 1.7;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(10rem, 1fr));
  gap: 1rem;
}

.collection-card {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.collection-card img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 220ms ease;
}

.collection-card:hover img {
  transform: scale(1.04);
}

.collection-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(37, 32, 54, 0.82));
}

.collection-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.collection-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.shop-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.result-count {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-weight: 800;
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(10rem, 15rem) minmax(10rem, 15rem);
  gap: 0.8rem;
  margin-bottom: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(54, 38, 62, 0.06);
  padding: 0.85rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -0.35rem 0 1.1rem;
}

.category-pills button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  cursor: pointer;
  padding: 0.65rem 0.9rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.category-pills button:hover,
.category-pills button.active {
  border-color: rgba(185, 56, 96, 0.32);
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.search-box,
.select-box,
.custom-form label,
.checkout-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 850;
}

.search-box input,
.select-box select,
.custom-form input,
.custom-form textarea,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  outline: none;
}

.custom-form input[type="file"] {
  cursor: pointer;
  padding: 0.72rem 0.75rem;
}

.custom-form input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  padding: 0.58rem 0.82rem;
  font-weight: 900;
}

.search-box input:focus,
.select-box select:focus,
.custom-form input:focus,
.custom-form textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(82, 185, 159, 0.16);
}

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

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(234, 210, 211, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(238, 102, 136, 0.4), rgba(42, 168, 137, 0.28), rgba(241, 170, 56, 0.34)) border-box;
  box-shadow: 0 10px 24px rgba(54, 38, 62, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.product-card:hover {
  border-color: rgba(239, 111, 143, 0.42);
  box-shadow: 0 22px 42px rgba(54, 38, 62, 0.13);
  transform: translateY(-6px);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 224, 204, 0.72), rgba(255, 255, 255, 0.9)),
    #f6eef1;
}

.product-card .primary-button,
.product-card .ghost-button {
  min-height: 2.8rem;
}

.product-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.38), transparent 65%);
  content: "";
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.product-card:hover .product-image::after {
  transform: translateX(120%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  max-width: calc(100% - 1.4rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose-dark);
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(37, 32, 54, 0.11);
}

.wish-toggle {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 900;
}

.wish-toggle.active {
  background: var(--rose);
  color: #fff;
}

.product-info {
  display: grid;
  gap: 0.7rem;
  padding: 1.05rem;
}

.product-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-meta h3 {
  margin-bottom: 0.25rem;
  font-size: 1.04rem;
  line-height: 1.25;
}

.product-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  min-width: max-content;
  color: var(--rose-dark);
  font-weight: 950;
}

.product-info p {
  min-height: 3rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.product-actions button {
  min-height: 2.65rem;
}

.custom-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.85fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.custom-form,
.checkout-form {
  display: grid;
  gap: 0.8rem;
}

.custom-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(238, 102, 136, 0.34), rgba(241, 170, 56, 0.35), rgba(42, 168, 137, 0.28)) border-box;
  padding: 1.15rem;
  box-shadow: 0 12px 28px rgba(54, 38, 62, 0.07);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 1.2rem;
}

.trust-grid h3 {
  margin-bottom: 0.45rem;
}

.trust-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 58rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 0.7rem 0 0;
}

.about-story {
  gap: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: 0 16px 42px rgba(86, 52, 62, 0.07);
}

.about-story p {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto minmax(14rem, 0.45fr);
  gap: 2rem;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 224, 204, 0.42)),
    rgba(255, 255, 255, 0.58);
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  gap: 0.55rem;
}

.float-whatsapp,
.float-top {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 28px rgba(54, 38, 62, 0.2);
  cursor: pointer;
  padding: 0.75rem 0.95rem;
  font-weight: 950;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.float-whatsapp {
  background: #168a67;
}

.float-whatsapp:hover,
.float-top:hover {
  transform: translateY(-3px);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.65;
}

.site-footer a {
  display: block;
}

.site-footer h2 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(37, 32, 54, 0.46);
}

.drawer[aria-hidden="false"],
.modal[aria-hidden="false"] {
  display: block;
}

.drawer-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 1rem;
  width: min(100%, 28rem);
  height: 100%;
  margin-left: auto;
  background: var(--paper);
  padding: 1rem;
  box-shadow: -20px 0 48px rgba(37, 32, 54, 0.22);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.drawer-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.6rem;
}

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

.cart-item h3 {
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.cart-item p {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.quantity-controls {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-controls button,
.remove-button {
  border: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.quantity-controls button {
  width: 2rem;
}

.quantity-controls span {
  display: grid;
  min-width: 2rem;
  place-items: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-weight: 900;
}

.remove-button {
  color: var(--rose-dark);
}

.cart-summary {
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
}

.cart-summary small,
.empty-state {
  color: var(--muted);
  line-height: 1.5;
}

.product-grid > .empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 1.2rem;
}

.modal {
  place-items: center;
  padding: 1rem;
}

.modal[aria-hidden="false"] {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(100%, 58rem);
  max-height: min(92vh, 45rem);
  overflow: auto;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 1;
}

.modal-product {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(16rem, 1fr);
}

.modal-product img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.modal-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2.4rem);
}

.modal-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.modal-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.modal-copy .price {
  font-size: 1.4rem;
}

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

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

@media (max-width: 840px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.85rem;
    left: 0.85rem;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 0.1rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 250, 247, 0.97);
    box-shadow: var(--shadow);
    padding: 0.55rem;
  }

  .site-header.menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    border-radius: 10px;
    padding: 0.8rem;
  }

  .nav-links a:hover,
  .nav-links .active {
    background: rgba(238, 102, 136, 0.1);
  }

  .mobile-menu-button {
    display: grid;
  }

  .hero-section,
  .custom-section,
  .modal-product {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 2rem;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-media,
  .hero-media img,
  .modal-product img {
    min-height: 24rem;
  }

  .service-strip,
  .shop-tools,
  .trust-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    position: static;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 0.75rem 0.85rem;
  }

  .brand small,
  .cart-button span {
    display: none;
  }

  .hero-section,
  .service-strip,
  .collections,
  .shop-section,
  .custom-section,
  .trust-section,
  .faq-section,
  .site-footer {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .service-strip {
    margin-right: 0.85rem;
    margin-left: 0.85rem;
  }

  .hero-stats,
  .collection-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .announcement-bar {
    justify-content: start;
    overflow-x: auto;
  }

  .floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .float-top {
    display: none;
  }

  .shop-heading {
    display: block;
  }

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

  .drawer-panel {
    width: 100%;
  }
}

/* Multi-page Kalatri storefront */
.nav-links .active {
  color: var(--rose-dark);
}

.nav-count {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
}

.home-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.home-hero h1 {
  position: relative;
}

.home-hero h1::after {
  display: block;
  width: min(17rem, 68vw);
  height: 0.65rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--sun), var(--mint));
  content: "";
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 12rem;
  gap: 0.8rem;
  position: relative;
  isolation: isolate;
}

.hero-collage::before {
  position: absolute;
  inset: 1.2rem -0.8rem -1rem 1.2rem;
  z-index: -1;
  border: 1px dashed rgba(185, 56, 96, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.hero-collage img {
  width: 100%;
  height: 100%;
  border: 6px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(54, 38, 62, 0.16);
  animation: floatTile 5.5s ease-in-out infinite;
}

.hero-collage img:nth-child(2) {
  transform: rotate(2deg);
}

.hero-collage img:nth-child(3) {
  transform: rotate(-2deg);
}

.brand-ribbon {
  display: flex;
  gap: 0.7rem;
  overflow: hidden;
  margin: 0 clamp(1rem, 4vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  white-space: nowrap;
}

.brand-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  animation: ribbonMove 18s linear infinite;
}

.brand-ribbon span::after {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rose);
  content: "";
}

.lookbook-section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(17rem, auto);
  gap: 1rem;
}

.lookbook-card {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.lookbook-card.large {
  grid-row: span 2;
  min-height: 36rem;
}

.lookbook-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 420ms ease;
}

.lookbook-card:hover img {
  transform: scale(1.06);
}

.lookbook-card div {
  position: absolute;
  inset: auto 1rem 1rem;
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 12px;
  background: rgba(255, 247, 241, 0.9);
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.lookbook-card span {
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lookbook-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.08;
}

.gift-finder {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  margin: 0 clamp(1rem, 4vw, 4.5rem) clamp(3rem, 7vw, 6rem);
  border: 1px solid rgba(234, 210, 211, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(241, 170, 56, 0.22), transparent 16rem),
    radial-gradient(circle at 90% 80%, rgba(42, 168, 137, 0.16), transparent 17rem),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 4vw, 2rem);
}

.gift-finder h2,
.love-notes h2 {
  margin-bottom: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
}

.gift-finder p {
  color: var(--muted);
  line-height: 1.7;
}

.gift-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.gift-options button {
  display: grid;
  gap: 0.35rem;
  min-height: 7.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  padding: 1rem;
  text-align: left;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.gift-options button:hover,
.gift-options button.active {
  border-color: rgba(185, 56, 96, 0.34);
  background: #fff;
  box-shadow: 0 18px 34px rgba(54, 38, 62, 0.12);
  transform: translateY(-5px) rotate(-0.4deg);
}

.gift-options strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.gift-options span {
  color: var(--muted);
  line-height: 1.45;
}

.gift-result {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed rgba(185, 56, 96, 0.35);
  border-radius: 16px;
  background: rgba(255, 247, 241, 0.82);
  padding: 1rem;
}

.gift-result strong,
.gift-result span {
  color: var(--berry);
  line-height: 1.45;
}

.love-notes {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(36, 25, 39, 0.94), rgba(107, 36, 68, 0.9)),
    var(--ink);
  color: #fff;
}

.love-notes .eyebrow,
.love-notes h2 {
  color: #fff;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.notes-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
  transition:
    transform 200ms ease,
    background 200ms ease;
}

.notes-grid article:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-5px);
}

.notes-grid span {
  display: inline-grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-weight: 950;
}

.notes-grid strong {
  display: block;
  margin: 1rem 0 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.notes-grid p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.hero-collage .tall {
  grid-row: span 2;
  animation-delay: 220ms;
}

.hero-collage .wide {
  grid-column: 1 / -1;
  animation-delay: 420ms;
}

.hero-collage img:nth-child(2) {
  animation-delay: 720ms;
}

.hero-collage img:nth-child(3) {
  animation-delay: 980ms;
}

.category-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 4.5rem) clamp(3rem, 6vw, 5rem);
}

.category-band a {
  position: relative;
  min-height: 11rem;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(54, 38, 62, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.category-band a:hover {
  box-shadow: 0 24px 44px rgba(54, 38, 62, 0.15);
  transform: translateY(-5px);
}

.category-band img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 220ms ease;
}

.category-band a:hover img {
  transform: scale(1.05);
}

.category-band span {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(37, 32, 54, 0.86));
  color: #fff;
  font-weight: 950;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
  background: rgba(255, 255, 255, 0.55);
}

.split-feature img {
  width: 100%;
  max-height: 34rem;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.split-feature h2,
.page-hero h1,
.custom-page h1,
.about-hero h1,
.product-detail h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.split-feature p,
.page-hero p,
.custom-page p,
.about-hero p,
.product-detail p {
  color: var(--muted);
  line-height: 1.75;
}

.compact-shop {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(1rem, 4vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.promise-grid article {
  display: grid;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 1.2rem;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.promise-grid article:hover {
  background: #fff;
  transform: translateY(-3px);
}

.promise-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.page-hero {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem) clamp(1rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  bottom: 1rem;
  width: 9rem;
  height: 9rem;
  border: 1px dashed rgba(185, 56, 96, 0.35);
  border-radius: 50%;
  content: "";
  opacity: 0.8;
}

.page-hero h1 {
  max-width: 11ch;
}

.shop-hero {
  background:
    linear-gradient(115deg, rgba(244, 184, 75, 0.2), rgba(82, 185, 159, 0.16)),
    rgba(255, 255, 255, 0.28);
}

.product-actions a,
.product-actions button {
  width: 100%;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5.5rem) clamp(1rem, 4vw, 4.5rem);
  background:
    linear-gradient(100deg, rgba(255, 224, 204, 0.42), transparent 45%),
    rgba(255, 255, 255, 0.2);
}

.product-detail-image img {
  width: 100%;
  max-height: 42rem;
  border: 8px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow);
  animation: imageSettle 720ms ease both;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.4rem, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.product-thumbnails button {
  overflow: hidden;
  min-height: 4.4rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 10px 24px rgba(86, 52, 62, 0.08);
}

.product-thumbnails button.active {
  border-color: var(--rose);
}

.product-thumbnails img {
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  animation: none;
}

.product-detail-copy {
  max-width: 42rem;
}

.color-picker {
  display: grid;
  gap: 0.75rem;
  margin: 1.1rem 0;
}

.color-picker > span {
  color: var(--muted);
  font-weight: 800;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.color-options button {
  width: 2.35rem;
  height: 2.35rem;
  border: 2px solid rgba(86, 52, 62, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 45%),
    var(--swatch);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(86, 52, 62, 0.1);
}

.color-options button.active {
  border-color: var(--ink);
  outline: 3px solid rgba(238, 102, 136, 0.26);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--rose-dark);
  font-weight: 900;
}

.detail-price {
  display: block;
  margin-bottom: 1rem;
  color: var(--rose-dark);
  font-size: 1.7rem;
}

.detail-list {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 27rem);
  gap: 1.2rem;
  align-items: start;
  padding: 1rem clamp(1rem, 4vw, 4.5rem) clamp(3rem, 6vw, 5rem);
}

.cart-page h2,
.checkout-card h2,
.custom-form h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.cart-items-page {
  display: grid;
  gap: 0.9rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.8rem;
}

.cart-line img {
  width: 7rem;
  height: 7rem;
  border-radius: 14px;
  object-fit: cover;
}

.cart-line h3 {
  margin-bottom: 0.25rem;
}

.cart-line p,
.checkout-card p,
.cart-empty p {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-card,
.cart-empty {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(54, 38, 62, 0.06);
}

.checkout-card {
  position: sticky;
  top: 6rem;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
  padding: 1rem 0;
  font-size: 1.15rem;
}

.payment-panel {
  display: grid;
  gap: 0.25rem;
  border: 1px solid rgba(42, 168, 137, 0.28);
  border-radius: 14px;
  background: rgba(42, 168, 137, 0.08);
  margin-bottom: 1rem;
  padding: 0.85rem;
}

.payment-panel strong {
  color: var(--ink);
}

.payment-panel span {
  color: var(--muted);
  line-height: 1.45;
}

.custom-page,
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem);
}

.custom-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.custom-gallery img,
.about-hero img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(54, 38, 62, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.custom-gallery img:hover,
.about-hero img:hover {
  box-shadow: 0 20px 42px rgba(54, 38, 62, 0.15);
  transform: translateY(-5px) rotate(1deg);
}

.custom-gallery img {
  aspect-ratio: 1 / 1.1;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 4.5rem) clamp(3rem, 6vw, 5rem);
}

.story-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1.2rem;
}

.story-grid h2 {
  font-size: 1.15rem;
}

.story-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.account-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 9rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem);
}

.account-intro h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.95;
}

.account-intro p {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.75;
}

.account-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.account-perks span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--berry);
  padding: 0.65rem 0.85rem;
  font-weight: 850;
}

.auth-card,
.profile-card {
  border: 1px solid rgba(234, 210, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(238, 102, 136, 0.42), rgba(241, 170, 56, 0.42), rgba(42, 168, 137, 0.3)) border-box;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: 14px;
  background: #fff7f1;
  padding: 0.35rem;
}

.auth-tabs button {
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.8rem;
  font-weight: 950;
}

.auth-tabs button.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 20px rgba(36, 25, 39, 0.16);
}

.auth-form,
.profile-form {
  display: none;
  gap: 0.85rem;
  padding-top: 1rem;
}

.auth-form.active,
.profile-form {
  display: grid;
}

.auth-form h2,
.profile-card h2 {
  margin-bottom: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.google-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 0.8rem 1rem;
  font-weight: 950;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.google-button:hover {
  border-color: rgba(185, 56, 96, 0.32);
  box-shadow: 0 12px 24px rgba(54, 38, 62, 0.1);
  transform: translateY(-2px);
}

.google-button span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
  color: #fff;
  font-weight: 950;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.auth-form label,
.profile-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
}

.auth-form input,
.auth-form textarea,
.profile-form input,
.profile-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 250, 247, 0.9);
  color: var(--ink);
  padding: 0.88rem 0.95rem;
  outline: none;
}

.auth-form input:focus,
.auth-form textarea:focus,
.profile-form input:focus,
.profile-form textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(42, 168, 137, 0.15);
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.form-note {
  min-height: 1.2rem;
  margin: 0;
  color: var(--rose-dark);
  font-weight: 800;
}

.admin-page {
  display: grid;
  gap: 1.2rem;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 34rem);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.92), rgba(255, 224, 204, 0.56)),
    rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.admin-hero h1 {
  max-width: 13ch;
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.98;
}

.admin-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-status {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid rgba(42, 168, 137, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--berry) !important;
  padding: 0.65rem 0.85rem;
  font-weight: 850;
}

.auth-debug {
  max-width: 44rem;
  margin-top: 0.9rem;
  border: 1px solid rgba(234, 210, 211, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  padding: 0.9rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-metrics article {
  border: 1px solid rgba(234, 210, 211, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 1rem;
}

.admin-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-metrics strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--berry);
  font-size: 1.65rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 247, 0.88));
  box-shadow: 0 16px 34px rgba(54, 38, 62, 0.08);
  padding: 1rem;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.admin-form {
  display: grid;
  gap: 0.8rem;
}

.admin-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-order select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 250, 247, 0.94);
  color: var(--ink);
  padding: 0.82rem 0.9rem;
  outline: none;
}

.admin-list,
.admin-product-list {
  display: grid;
  gap: 0.8rem;
}

.admin-order,
.admin-product-row {
  border: 1px solid rgba(234, 210, 211, 0.86);
  border-radius: 16px;
  background: #fff;
  padding: 0.95rem;
  box-shadow: 0 8px 18px rgba(54, 38, 62, 0.05);
}

.admin-order-top,
.admin-order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-order-top span,
.admin-order p,
.admin-order li,
.admin-order-bottom span,
.admin-product-row p,
.admin-product-row span {
  color: var(--muted);
  line-height: 1.5;
}

.admin-order ul {
  margin: 0.75rem 0;
  padding-left: 1.1rem;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1rem;
  align-items: center;
}

.admin-product-row img {
  width: 5rem;
  height: 5rem;
  border-radius: 12px;
  object-fit: cover;
}

.admin-product-row h3 {
  margin-bottom: 0.2rem;
}

.admin-row-actions {
  display: flex;
  gap: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

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

.toast {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: 1.2rem;
  z-index: 80;
  display: grid;
  gap: 0.15rem;
  max-width: min(22rem, calc(100vw - 2rem));
  border: 1px solid rgba(239, 111, 143, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 48px rgba(54, 38, 62, 0.18);
  padding: 0.9rem 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast strong {
  color: var(--ink);
}

.toast span {
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatTile {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }
}

@keyframes ribbonMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-4rem);
  }
}

@keyframes imageSettle {
  from {
    opacity: 0;
    transform: scale(0.96) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 980px) {
  .home-hero,
  .split-feature,
  .product-detail,
  .cart-page,
  .custom-page,
  .about-hero,
  .account-page,
  .admin-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .category-band,
  .promise-grid,
  .story-grid,
  .lookbook-grid,
  .gift-finder,
  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-finder > div:first-child,
  .gift-result {
    grid-column: 1 / -1;
  }

  .lookbook-card.large {
    grid-column: 1 / -1;
    min-height: 26rem;
  }
}

@media (max-width: 620px) {
  .hero-collage,
  .category-band,
  .promise-grid,
  .story-grid,
  .custom-gallery,
  .lookbook-grid,
  .gift-finder,
  .gift-options,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    grid-auto-rows: 13rem;
  }

  .cart-line {
    grid-template-columns: 5.5rem 1fr;
  }

  .cart-line img {
    width: 5.5rem;
    height: 5.5rem;
  }

  .cart-line > strong {
    grid-column: 2;
  }

  .lookbook-card.large,
  .lookbook-card {
    min-height: 21rem;
  }

  .brand-ribbon {
    margin-right: 0.85rem;
    margin-left: 0.85rem;
  }

  .gift-result {
    grid-column: 1;
  }

  .profile-actions {
    grid-template-columns: 1fr;
  }

  .admin-metrics,
  .admin-product-row {
    grid-template-columns: 1fr;
  }

  .admin-order-top,
  .admin-order-bottom,
  .panel-heading,
  .admin-row-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Boutique visual refresh */
:root {
  --ink: #251920;
  --muted: #7b6870;
  --line: #efdada;
  --rose: #e7a2a8;
  --rose-dark: #9b5961;
  --mint: #3ab493;
  --sun: #e8bd72;
  --peach: #fde7dc;
  --berry: #6f3b48;
  --blush: #fff0ed;
  --blush-strong: #efc2bd;
  --shadow: 0 24px 54px rgba(86, 52, 62, 0.12);
}

body {
  background: #fff;
}

.announcement-bar {
  background: #d89898;
  color: #fff;
  min-height: 2.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  grid-template-columns: auto minmax(16rem, 34rem) 1fr;
  border-bottom: 1px solid rgba(239, 218, 218, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 34px rgba(86, 52, 62, 0.06);
}

.brand {
  grid-column: 1;
  justify-self: start;
}

.brand-logo {
  width: clamp(9.5rem, 12vw, 12.5rem);
  height: clamp(4.2rem, 5.8vw, 5.5rem);
}

.brand-mark {
  border-color: #8d5f54;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), transparent 44%),
    #f2c46d;
  box-shadow: 0 10px 22px rgba(86, 52, 62, 0.12);
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand small {
  color: var(--rose-dark);
}

.nav-links {
  grid-column: 1 / -1;
  grid-row: 2;
  gap: clamp(0.85rem, 3vw, 2.5rem);
  padding-top: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a::after {
  bottom: 0;
  background: var(--rose-dark);
}

.home-hero {
  position: relative;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: center;
  margin: 0 clamp(0.85rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-bottom: 8px solid #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 39%, transparent 39%),
    var(--blush);
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.home-hero::before {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: 48%;
  height: 68%;
  border-radius: 56% 0 0 0;
  background: rgba(232, 162, 168, 0.28);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.eyebrow {
  color: var(--rose-dark);
  letter-spacing: 0.18em;
}

.home-hero h1,
.page-hero h1,
.section-heading h2,
.split-feature h2,
.custom-page h1,
.about-hero h1,
.product-detail h1,
.gift-finder h2,
.love-notes h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.home-hero h1 {
  max-width: 9ch;
  color: #7d5157;
  font-size: clamp(3.4rem, 9vw, 7.6rem);
  line-height: 0.9;
}

.home-hero h1::after {
  width: 7.5rem;
  height: 2px;
  background: var(--rose-dark);
}

.home-hero p {
  max-width: 34rem;
  color: #6f5e63;
  font-size: 1.03rem;
}

.primary-link,
.primary-button {
  border-radius: 0;
  background: #b97674;
  box-shadow: 0 14px 26px rgba(185, 118, 116, 0.22);
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-link:hover,
.primary-button:hover {
  background: #8f565a;
}

.secondary-link,
.ghost-button {
  border-color: #d7b9b6;
  border-radius: 0;
  color: #6f3b48;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stats {
  border-color: rgba(216, 152, 152, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.hero-collage {
  z-index: 1;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: minmax(12rem, 15vw);
}

.hero-collage::before {
  display: none;
}

.hero-collage img {
  border: 10px solid #fff;
  border-radius: 0;
  box-shadow: 0 28px 56px rgba(86, 52, 62, 0.16);
}

.category-band {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.35rem);
  background: #fff;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.category-band a {
  min-height: clamp(9rem, 17vw, 14rem);
  border: 0;
  border-radius: 0;
  background: #eab1ad;
  box-shadow: none;
}

.category-band a:nth-child(2n) {
  background: #f2cbc5;
}

.category-band a:nth-child(3n) {
  background: #c99290;
}

.category-band img {
  opacity: 0.18;
  filter: saturate(0.72) contrast(1.04);
}

.category-band span {
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 500;
  text-align: center;
}

.brand-ribbon {
  justify-content: center;
  border-color: rgba(216, 152, 152, 0.38);
  color: var(--rose-dark);
}

.split-feature,
.lookbook-section,
.shop-section,
.custom-page,
.about-hero,
.account-page,
.admin-page {
  background: #fff;
}

.split-feature {
  border-top: 1px solid rgba(239, 218, 218, 0.9);
  border-bottom: 1px solid rgba(239, 218, 218, 0.9);
}

.split-feature img,
.custom-gallery img,
.about-hero img,
.product-detail-image img {
  border-radius: 0;
}

.lookbook-section {
  padding-top: clamp(2rem, 5vw, 4.5rem);
}

.lookbook-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.lookbook-card {
  border-radius: 0;
  background: #f3dfdc;
  box-shadow: none;
}

.lookbook-card div {
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
}

.gift-finder {
  border: 0;
  border-radius: 0;
  background: #f7dfdc;
  box-shadow: none;
}

.gift-options button,
.gift-result,
.promise-grid article,
.shop-tools,
.auth-card,
.profile-card,
.admin-panel,
.checkout-card,
.custom-form {
  border-color: rgba(216, 152, 152, 0.32);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
}

.shop-section {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  color: #5b3c43;
  font-size: clamp(2rem, 4.3vw, 4rem);
}

.product-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.product-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.product-card:hover {
  box-shadow: 0 20px 42px rgba(86, 52, 62, 0.09);
}

.product-image {
  background: #f8eeee;
}

.product-image img {
  object-fit: cover;
}

.badge {
  top: 0.55rem;
  left: 0.55rem;
  border-radius: 0;
  background: #d89898;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info {
  padding: 0.95rem 0.25rem 0.25rem;
  text-align: center;
}

.product-meta {
  display: grid;
  justify-content: center;
  text-align: center;
}

.product-meta h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.product-meta span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  color: #9b5961;
  font-size: 0.95rem;
}

.product-info p {
  min-height: 0;
}

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

.page-hero {
  background: #fff5f3;
}

.shop-hero {
  background: #fff5f3;
}

.page-hero::after {
  border-color: rgba(216, 152, 152, 0.38);
}

.love-notes {
  background: #d89898;
}

.notes-grid article {
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 0;
}

.site-footer {
  background:
    linear-gradient(180deg, #fff, #fff4f2);
}

.success-page {
  display: grid;
  min-height: 68vh;
  place-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(216, 152, 152, 0.2), transparent 18rem),
    linear-gradient(180deg, #fff, #fff4f2);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
}

.success-card {
  width: min(58rem, 100%);
  border: 1px solid rgba(216, 152, 152, 0.32);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2.4rem);
  text-align: center;
}

.success-card h1 {
  max-width: 12ch;
  margin: 0 auto 1rem;
  color: #7d5157;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.success-card > p {
  max-width: 38rem;
  margin: 0 auto 1.4rem;
  color: var(--muted);
  line-height: 1.7;
}

.success-summary {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0;
  text-align: left;
}

.success-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.success-meta span,
.success-lines article {
  background: #fff;
  padding: 0.85rem;
}

.success-meta strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--berry);
  overflow-wrap: anywhere;
}

.success-lines {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.success-lines article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 620px) {
  .success-meta {
    grid-template-columns: 1fr;
  }

  .success-lines article {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }

  .brand {
    grid-column: auto;
    justify-self: start;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .nav-links {
    grid-column: auto;
    grid-row: auto;
    letter-spacing: 0;
    text-transform: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    background: var(--blush);
  }
}

@media (max-width: 620px) {
  .home-hero {
    margin: 0 0 1.5rem;
    padding: 2.3rem 0.85rem 1.5rem;
  }

  .home-hero h1 {
    max-width: 8.5ch;
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .brand-logo {
    width: 8.6rem;
    height: 4.2rem;
  }

  .category-band {
    display: grid;
    grid-auto-columns: minmax(9.5rem, 42vw);
    grid-auto-flow: column;
    grid-template-columns: none !important;
    overflow-x: auto;
    padding-right: 0.85rem;
    padding-left: 0.85rem;
    scroll-snap-type: inline mandatory;
  }

  .category-band a {
    scroll-snap-align: start;
  }

  .category-band::-webkit-scrollbar {
    display: none;
  }

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

@media (max-width: 620px) {
  .shop-tools {
    display: grid;
    grid-auto-columns: minmax(13.75rem, 74vw);
    grid-auto-flow: column;
    grid-template-columns: none !important;
    gap: 0.75rem;
    margin-right: -0.85rem;
    margin-left: -0.85rem;
    overflow-x: auto;
    padding: 0.75rem 0.85rem;
    scroll-padding-inline: 0.85rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .shop-tools::-webkit-scrollbar {
    display: none;
  }

  .shop-tools .search-box,
  .shop-tools .select-box {
    min-width: 0;
    scroll-snap-align: start;
  }

  .shop-tools input,
  .shop-tools select {
    min-height: 3.15rem;
  }

  .category-pills {
    flex-wrap: nowrap;
    margin-right: -0.85rem;
    margin-left: -0.85rem;
    overflow-x: auto;
    padding: 0.15rem 0.85rem 0.95rem;
    scroll-padding-inline: 0.85rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .category-pills button {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .hero-collage {
    display: grid;
    grid-auto-columns: minmax(16rem, 82vw);
    grid-auto-flow: column;
    grid-auto-rows: minmax(19rem, 62vh);
    grid-template-columns: none !important;
    gap: 0.85rem;
    margin-right: -0.85rem;
    margin-left: -0.85rem;
    overflow-x: auto;
    padding: 0.15rem 0.85rem 1rem;
    scroll-padding-inline: 0.85rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .hero-collage::-webkit-scrollbar {
    display: none;
  }

  .hero-collage::before {
    display: none;
  }

  .hero-collage img,
  .hero-collage .tall,
  .hero-collage .wide {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 840px) {
  .site-header.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(33, 21, 31, 0.38);
    backdrop-filter: blur(2px);
  }

  .site-header .nav-links {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: grid;
    align-content: start;
    width: min(88vw, 28rem);
    height: 100dvh;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    gap: 0;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 1.35rem 0 3.5rem rgba(53, 31, 43, 0.2);
    padding: 0 0 1.35rem;
    transform: translateX(-110%);
    transition: transform 240ms ease;
    pointer-events: none;
  }

  .site-header.menu-open .nav-links {
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-menu-button {
    position: relative;
    z-index: 75;
    display: grid;
  }

  .mobile-category-menu {
    display: grid;
    gap: 0;
    padding: 1.05rem 1.45rem 0.85rem;
  }

  .mobile-drawer-close {
    width: 2.6rem;
    height: 2.6rem;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 800 1.15rem/1 var(--font-body);
    cursor: pointer;
  }

  .mobile-category-menu details {
    border-bottom: 1px solid rgba(88, 62, 77, 0.12);
  }

  .mobile-menu-row,
  .mobile-category-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.45rem;
    border-radius: 0;
    color: #69626a;
    font-size: clamp(1.05rem, 5vw, 1.45rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu-row,
  .mobile-menu-row:hover,
  .mobile-category-menu summary,
  .mobile-category-menu summary:hover {
    background: transparent;
    padding: 0;
    text-decoration: none;
  }

  .mobile-category-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-category-menu summary::after {
    content: ">";
    margin-left: 1rem;
    color: #847c83;
    font-size: 1.4rem;
    font-weight: 500;
    transition: transform 180ms ease;
  }

  .mobile-category-menu details[open] summary::after {
    transform: rotate(90deg);
  }

  .mobile-category-menu details a {
    display: block;
    min-height: auto;
    margin: 0;
    border-radius: 0;
    border-top: 1px solid rgba(88, 62, 77, 0.08);
    padding: 0.95rem 0 0.95rem 1.2rem;
    color: var(--berry);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-header .nav-links > a:not(.mobile-menu-row) {
    display: none;
  }

  .site-header .nav-links a::after {
    display: none;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links .active {
    background: transparent;
    color: var(--berry);
  }
}
