/* ============================================
   E-commerce storefront — theme via CSS variables
   ============================================ */

:root {
  /* Theme tokens — burgundy jewelry brand */
  --color-primary: #720D25;
  --color-primary-hot: #A51F43;
  --color-primary-deep: #450817;
  --color-secondary: #450817;
  --color-accent: #D7A5AE;
  --color-surface: #FFFDFC;
  --color-surface-soft: #F8F1EE;
  --color-surface-muted: #F3E6E8;
  --color-text: #26191B;
  --color-text-strong: #26191B;
  --color-text-muted: #78676A;
  --color-border: rgba(114, 13, 37, 0.14);
  --shadow: 0 12px 36px rgba(69, 8, 23, 0.12);
  --gold: #C9A46A;
  --wine: #30050F;
  --font-family: "Outfit", system-ui, sans-serif;
  --container: 1440px;
  --container-gutter: 32px;
  --radius: 14px;
  --radius-btn: 4px;

  /* Legacy aliases used by existing components */
  --powder: var(--color-surface-soft);
  --blush: var(--color-surface-muted);
  --pastel: var(--color-accent);
  --soft: var(--color-secondary);
  --pink: var(--color-primary);
  --hot: var(--color-primary-hot);
  --deep: var(--color-primary-deep);
  --white: var(--color-surface);
  --ink: var(--color-text-strong);
  --text: var(--color-text);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --font: var(--font-family);
  --header-h: 82px;
  --bar-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.35s var(--ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
ul { list-style: none; }

.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;
}

.container,
.header__inner,
.header .nav .nav__list {
  width: min(calc(100% - (var(--container-gutter) * 2)), var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

/* ---------- Type ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  max-width: none;
}

.section__title {
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
}

.section__sub {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 1rem;
}

.section__link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  white-space: nowrap;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.25s;
}

.section__link:hover { color: var(--deep); }

.text-link {
  display: inline-flex;
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--pink);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.text-link:hover { color: var(--deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.55rem;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.btn:disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
  box-shadow: none;
}

.btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.btn--block { width: 100%; }

.btn--lg {
  min-height: 52px;
  font-size: 0.78rem;
}

.btn--sm {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
}

.btn--pink {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(114, 13, 37, 0.28);
}

.btn--pink:hover {
  background: var(--hot);
  transform: translateY(-2px);
}

.btn--hero {
  background: var(--color-primary, #720D25);
  color: #FFFDFC;
  box-shadow: 0 10px 24px rgba(48, 5, 15, 0.28);
}

.btn--hero:hover {
  background: var(--color-primary-hot, #A51F43);
  transform: translateY(-2px);
}

.btn--outline,
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(38, 25, 27, 0.2);
}

.btn--outline:hover,
.btn--ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(114, 13, 37, 0.06);
}

.btn--white {
  background: #fff;
  color: var(--deep);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  background: #fff;
  color: var(--pink);
  border-color: #fff;
}

/* ---------- Icons / Logo ---------- */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: inherit;
  transition: background 0.25s, color 0.25s;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: rgba(114, 13, 37, 0.08);
  color: var(--pink);
}

.header .icon-btn {
  color: var(--header-fg, #FFFDFC);
}
.header .icon-btn:hover,
.header .icon-btn:focus-visible {
  background: rgba(255, 253, 252, 0.12);
  color: #FFFDFC;
}

.badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold, #C9A46A);
  color: #30050F;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.logo__img--footer {
  width: 48px;
  height: 48px;
}

.logo__img--wordmark {
  width: auto;
  height: 48px;
  max-width: min(220px, 58vw);
  border-radius: 0;
  filter: drop-shadow(0 1px 2px rgba(48, 5, 15, 0.18));
}

.logo__picture {
  display: inline-flex;
  line-height: 0;
}

.logo__img--wordmark.logo__img--footer {
  height: 56px;
  max-width: min(260px, 72vw);
}

.logo__img--custom {
  width: auto;
  height: 48px;
  max-width: min(220px, 58vw);
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}

.logo__img--custom.logo__img--footer {
  height: 56px;
  max-height: 56px;
  max-width: min(260px, 72vw);
}

.logo__heart {
  color: var(--pink);
  margin: 0 0.1em;
}

/* ---------- Announcement ---------- */
.announce {
  background: var(--wine, #30050F);
  color: #F8F1EE;
  overflow: hidden;
  min-height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 110;
}

.announce__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  animation: announceScroll 22s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.announce__static {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.announce__static::-webkit-scrollbar { display: none; }

.announce__track span,
.announce__static span,
.announce__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  white-space: nowrap;
}
.announce__item svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.announce__track span {
  padding-right: 3rem;
}

@keyframes announceScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 700px) {
  .announce__track {
    animation-duration: 16s;
  }

  .announce__track span,
  .announce__static span {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .announce__track span {
    padding-right: 2.25rem;
  }

  .announce__static { gap: 1.15rem; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 120;
  --header-fg: #FFFDFC;
  background: var(--color-primary, #720D25);
  color: var(--header-fg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

.header.is-scrolled,
.header.has-mega {
  background: var(--color-primary-deep, #450817);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(48, 5, 15, 0.28);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem 1.15rem;
  transition: min-height var(--t);
}

.header__search {
  flex: 1 1 16rem;
  display: flex;
  align-items: stretch;
  max-width: 28rem;
  min-width: 0;
  margin-inline: 0 auto;
  border: 0;
  background: #FFFDFC;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(48, 5, 15, 0.12);
}

.header__search-icon {
  display: inline-flex;
  align-items: center;
  padding-left: 0.85rem;
  color: var(--muted);
}

.header__search-icon svg { width: 16px; height: 16px; }

.header__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.62rem 0.7rem;
  font: inherit;
  font-size: 0.86rem;
  color: var(--ink);
}

.header__search input:focus {
  outline: none;
}

.header__search-btn {
  flex: 0 0 auto;
  border: 0;
  background: var(--color-primary-deep, #450817);
  color: #fff;
  margin: 4px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  cursor: pointer;
}
.header__search-btn:hover,
.header__search-btn:focus-visible {
  background: var(--hot);
}

.header__search-toggle { display: none; }

.header .logo {
  color: #FFFDFC;
}
.header .logo__img--wordmark {
  filter: brightness(0) invert(1);
}
.header .logo__img:not(.logo__img--wordmark):not(.logo__img--custom) {
  box-shadow: 0 0 0 2px rgba(255, 253, 252, 0.28);
}

.header .nav {
  border-top: 1px solid rgba(255, 253, 252, 0.12);
}

.header .nav .nav__list {
  min-height: 42px;
  align-items: center;
}

.header.is-scrolled .header__inner { min-height: 76px; }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
}

.header__burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--header-fg, #FFFDFC);
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.15rem 1.05rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__list::-webkit-scrollbar { display: none; }
.nav__item--end { margin-left: auto; }

.nav__link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 253, 252, 0.78);
  padding: 0.35rem 0;
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold, #C9A46A);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: #FFFDFC; }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link--campaign {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--hot);
  color: #fff !important;
  padding: 0.42rem 0.9rem;
  border-radius: 6px;
  letter-spacing: 0.06em;
}
.nav__link--campaign svg { width: 14px; height: 14px; }
.nav__link--campaign::after { display: none; }
.nav__link--campaign:hover,
.nav__link--campaign.is-active {
  background: var(--gold, #C9A46A);
  color: #30050F !important;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.1rem 0.2rem;
  flex: 0 0 auto;
}

.header__account-wrap { position: relative; }

.header__account-btn,
.header__wish,
.header__cart,
.header__support {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  min-height: 48px;
  min-width: 0;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 8px;
  color: var(--header-fg, #FFFDFC);
  background: transparent;
  box-shadow: none;
  transition: background 0.22s, color 0.22s;
}

.header__account-btn:hover,
.header__account-btn:focus-visible,
.header__wish:hover,
.header__wish:focus-visible,
.header__cart:hover,
.header__cart:focus-visible,
.header__support:hover,
.header__support:focus-visible,
.header__account-wrap.is-open .header__account-btn {
  background: rgba(255, 253, 252, 0.1);
  color: #FFFDFC;
}

.header__account-icon,
.header__wish-icon,
.header__cart-icon,
.header__support-icon {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.header__account-icon svg,
.header__wish-icon svg,
.header__cart-icon svg,
.header__support-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.header__account-text,
.header__wish-text,
.header__cart-copy,
.header__support-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.12em;
  min-width: 0;
  line-height: 1.2;
}

.header__account-text strong,
.header__wish-label,
.header__cart-label,
.header__support-text strong {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--header-fg, #FFFDFC);
  white-space: nowrap;
}

.header__account-text small,
.header__support-text small,
.header__wish-text small,
.header__cart-total {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 253, 252, 0.78);
  white-space: nowrap;
}

.header__wish-text small {
  visibility: hidden;
}

.header__cart-total {
  color: var(--gold, #C9A46A);
  font-variant-numeric: tabular-nums;
}

.header__wish-icon .badge,
.header__cart-icon .badge {
  top: -7px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 0.58rem;
  padding: 0 4px;
}

.header__account-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 13rem;
  max-width: min(18rem, calc(100vw - 1.25rem));
  max-height: min(22rem, calc(100vh - 6rem));
  overflow: auto;
  padding: 0.45rem 0;
  background: #FFFDFC;
  color: #26191B;
  border: 1px solid rgba(114, 13, 37, 0.14);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(48, 5, 15, 0.18);
  z-index: 130;
  box-sizing: border-box;
}
.header__account-menu[hidden] { display: none; }

.header__account-hello {
  padding: 0.4rem 0.95rem 0.6rem;
  margin: 0 0 0.15rem;
  border-bottom: 1px solid rgba(114, 13, 37, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: #78676A;
}

.header .header__account-menu a,
.header .header__account-menu a:link,
.header .header__account-menu a:visited {
  display: block;
  padding: 0.58rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #26191B;
  background: transparent;
}

.header .header__account-menu a:hover,
.header .header__account-menu a:focus-visible {
  background: #F3E6E8;
  color: #720D25;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.35rem;
  padding: 0.35rem 0.6rem;
  max-width: 11.5rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.25s, color 0.25s;
}

.header__phone svg { flex: 0 0 auto; }

.header__phone-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__phone:hover,
.header__phone:focus-visible {
  background: var(--blush);
  color: var(--pink);
}

.header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.3rem 0.75rem;
  margin-right: 0.15rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.header__login:hover,
.header__login:focus-visible {
  background: var(--blush);
  color: var(--pink);
  border-color: var(--pink);
}

@media (min-width: 901px) {
  .header__account--guest { display: none; }
}

/* ---------- Drawers / Search ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 22, 0.35);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.drawer.is-open .drawer__overlay { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(100%, 380px);
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease);
  outline: none;
}

.drawer--cart .drawer__panel {
  width: min(100vw, 420px);
  max-width: 100%;
}

.drawer--left .drawer__panel { left: 0; transform: translateX(-105%); }
.drawer--right .drawer__panel { right: 0; transform: translateX(105%); }
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer--nav .drawer__panel {
  width: min(100%, 400px);
  overflow: hidden;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.drawer__head--nav {
  min-height: 60px;
  padding: 0.7rem 0.85rem 0.7rem 1.1rem;
}

.drawer__head--nav .logo {
  min-width: 0;
}

.drawer__head--nav .logo__img--wordmark,
.drawer__head--nav .logo__img--custom {
  height: 36px;
  max-height: 36px;
  max-width: min(180px, 58vw);
  filter: brightness(0);
}

.drawer__head--nav .icon-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--ink);
}

.drawer__head--nav .icon-btn:hover,
.drawer__head--nav .icon-btn:focus-visible {
  background: rgba(114, 13, 37, 0.08);
  color: var(--pink);
}

.drawer__title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav > a {
  min-height: 48px;
  padding: 0.95rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-nav > a:hover {
  background: var(--blush);
  color: var(--pink);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(255, 247, 250, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.search-overlay__form {
  width: min(100%, 560px);
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--line);
}

.search-overlay__form input {
  flex: 1;
  min-width: 0;
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 700;
  outline: none;
  background: transparent;
}

.search-overlay__form input::placeholder { color: #ddb8c6; }

.cart-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1.15rem 1.2rem;
  -webkit-overflow-scrolling: touch;
}

.cart-panel__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.cart-panel__ship {
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--powder);
}

.cart-panel__ship-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.cart-panel__ship-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.cart-panel__ship-fill {
  display: block;
  height: 100%;
  background: var(--pink);
  border-radius: inherit;
  transition: width 0.35s var(--ease);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 260px;
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 0.5rem;
}

.cart-empty[hidden],
.cart-panel__foot[hidden],
.cart-panel__ship[hidden],
.cart-panel__count[hidden] {
  display: none !important;
}

.cart-empty__icon {
  color: var(--soft);
  margin-bottom: 0.25rem;
}

.cart-empty__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.cart-empty__sub {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.cart-qty__btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--ink);
}

.cart-qty__btn:hover:not(:disabled),
.cart-qty__btn:focus-visible:not(:disabled) { color: var(--pink); }
.cart-qty__btn:disabled { opacity: 0.35; cursor: not-allowed; }

.cart-qty__input {
  width: 42px;
  border: 0;
  text-align: center;
  font-weight: 700;
  background: transparent;
  -moz-appearance: textfield;
}

.cart-qty__input::-webkit-outer-spin-button,
.cart-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.22s, transform 0.22s;
}

.cart-item.is-loading { opacity: 0.55; }
.cart-item.is-removing {
  opacity: 0;
  transform: translateX(12px);
}

.cart-item__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--blush);
}

.cart-item img,
.cart-item__ph {
  width: 72px;
  height: 90px;
  object-fit: cover;
  display: block;
  background: var(--blush);
}

.cart-item__name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item__name a {
  color: inherit;
  text-decoration: none;
}

.cart-item__name a:hover { color: var(--pink); }

.cart-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.35rem;
}

.cart-item__attr,
.cart-item__sku {
  font-size: 0.75rem;
  color: var(--muted);
}

.cart-item__prices {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.cart-item__unit {
  font-size: 0.86rem;
  font-weight: 700;
}

.cart-item__old {
  font-size: 0.76rem;
  color: var(--muted);
  text-decoration: line-through;
}

.cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.cart-item__remove {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.15rem;
  text-align: left;
}

.cart-item__line {
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  padding-top: 0.15rem;
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.cart-panel__foot {
  padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #fff;
}

.cart-panel__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cart-panel__actions .btn,
.cart-panel__continue {
  min-height: 44px;
}

.cart-panel__continue {
  font-size: 0.82rem;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.cart-summary__row--muted {
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-summary__row--total {
  font-size: 1.02rem;
  margin-top: 0.2rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

@media (max-width: 640px) {
  .drawer--cart .drawer__panel {
    width: min(100vw, 100%);
    max-width: 100%;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-item img,
  .cart-item__ph {
    width: 64px;
    height: 80px;
  }

  .cart-item__line {
    grid-column: 2;
    justify-self: start;
  }

  .cart-qty__btn {
    width: 44px;
    height: 44px;
  }
}

.cart-total strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--deep);
}

/* ---------- HERO — fashion campaign / boutique vitrine ---------- */
.hero {
  --h-powder: #F8F1EE;
  --h-blush: #F3E6E8;
  --h-soft: #D7A5AE;
  --h-pink: #720D25;
  --h-hot: #A51F43;
  --h-ink: #26191B;
  position: relative;
  background: var(--h-powder);
  overflow: hidden;
}

.hero__stage {
  position: relative;
  width: 100%;
  min-height: clamp(640px, 86svh, 920px);
  max-width: 1680px;
  margin-inline: auto;
  padding: 0;
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(52%, 58vw, 68%);
  margin: 0;
  overflow: hidden;
  background: var(--h-soft);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 25%;
}

.hero__media-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(95deg, rgba(255, 248, 251, 0.88) 0%, rgba(255, 248, 251, 0.35) 14%, transparent 32%),
    linear-gradient(to top, rgba(253, 230, 239, 0.2) 0%, transparent 28%);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 18px 18px 18px 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
}

.hero__copy {
  position: relative;
  z-index: 4;
  max-width: min(560px, 46%);
  padding: clamp(3rem, 10vh, 6.5rem) clamp(1.5rem, 4vw, 3.75rem) 3rem;
}

.hero__brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--h-pink);
  margin-bottom: 1.15rem;
}

.hero__title {
  font-weight: 800;
  font-size: clamp(3.4rem, 8.5vw, 6.85rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero__line {
  display: block;
  color: var(--h-ink);
}

.hero__line--glow {
  color: var(--h-hot);
  text-shadow:
    0 0 20px rgba(165, 31, 67, 0.5),
    0 0 48px rgba(114, 13, 37, 0.3);
}

.hero__text {
  font-size: 1.08rem;
  color: #6e5a64;
  max-width: 20rem;
  margin-bottom: 1.9rem;
  font-weight: 400;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__shot {
  position: absolute;
  z-index: 5;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(36, 27, 32, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.85);
}

.hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__shot--earring {
  width: clamp(118px, 13vw, 158px);
  aspect-ratio: 4 / 5;
  top: 11%;
  right: clamp(3%, 5vw, 6%);
  transform: rotate(3.5deg);
}

.hero__shot--necklace {
  width: clamp(128px, 14vw, 176px);
  aspect-ratio: 4 / 5;
  bottom: 12%;
  right: clamp(22%, 30vw, 36%);
  transform: rotate(-2.5deg);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero__shot--necklace img {
  border-radius: 12px;
  box-shadow:
    0 20px 48px rgba(36, 27, 32, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

.hero__shot-pedestal {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 92%;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(114, 13, 37, 0.4), transparent 72%);
  filter: blur(3px);
  z-index: 0;
}

.hero__shot-badge,
.hero__shot-price {
  position: absolute;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: #fff;
  color: var(--h-hot);
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(36, 27, 32, 0.1);
}

.hero__shot-badge {
  top: 0.55rem;
  left: 0.55rem;
}

.hero__shot-price {
  bottom: 0.55rem;
  right: 0.55rem;
  letter-spacing: 0.04em;
  color: var(--h-ink);
}

.hero__neon {
  position: absolute;
  z-index: 3;
  left: clamp(1.5rem, 4vw, 3.75rem);
  bottom: 8%;
  font-size: clamp(0.68rem, 1.1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201, 164, 106, 0.45);
  text-shadow:
    0 0 14px rgba(201, 164, 106, 0.35),
    0 0 28px rgba(114, 13, 37, 0.25);
  pointer-events: none;
  white-space: nowrap;
}

.hero-strip {
  background: var(--pink, #720D25);
  color: #fff;
  overflow: hidden;
  height: 42px;
  display: flex;
  align-items: center;
}

.hero-strip__track {
  display: flex;
  width: max-content;
  animation: heroStrip 36s linear infinite;
}

.hero-strip__track span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 1.5rem;
}

@keyframes heroStrip {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-strip__track { animation: none; }
}

/* ---------- Trust ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--powder);
  padding: 1.15rem 0;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust__item {
  text-align: center;
  padding: 0.35rem 0.5rem;
}

.trust__item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.trust__item span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Categories ---------- */
.cats { background: linear-gradient(180deg, #fff, var(--powder)); }

.cat-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  grid-template-rows: 240px 240px;
  gap: 0.9rem;
}

.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--blush);
}

.cat-card--tall {
  grid-row: span 2;
}

.cat-card--wide {
  /* single row */
}

.cat-card img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease);
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  background: linear-gradient(to top, rgba(26, 18, 22, 0.55), transparent 55%);
  color: #fff;
  transition: background var(--t);
}

.cat-card__overlay h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: transform 0.35s var(--ease);
}

.cat-card__overlay span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 0.25rem;
  transition: transform 0.3s var(--ease);
}

.cat-card:hover img { transform: scale(1.07); }

.cat-card:hover .cat-card__overlay {
  background: linear-gradient(to top, rgba(255, 45, 122, 0.55), rgba(26, 18, 22, 0.15) 60%);
}

.cat-card:hover .cat-card__overlay h3 { transform: translateY(-2px); }
.cat-card:hover .cat-card__overlay span { transform: translateX(4px); }

/* ---------- Products ---------- */
.products { background: var(--powder); }
.products--clean { background: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(160deg, #FFFDFC, var(--blush));
  margin-bottom: 0.85rem;
}

.product-card--pedestal .product-card__media {
  background:
    radial-gradient(ellipse 70% 35% at 50% 78%, rgba(114, 13, 37, 0.12), transparent 70%),
    linear-gradient(160deg, #FFFDFC, var(--blush));
}

.product-card--glow .product-card__media {
  box-shadow: inset 0 0 40px rgba(215, 165, 174, 0.28);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.4s var(--ease), transform 0.7s var(--ease);
}

.product-card__media img.is-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card__media img:first-of-type {
  transform: scale(1.04);
}

.product-card:hover .product-card__media img.is-hover {
  opacity: 1;
}

.product-card__tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.22rem 0.5rem;
  border-radius: var(--radius-btn);
  background: var(--color-primary);
  color: #FFFDFC;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__wish {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: color 0.25s, transform 0.3s var(--ease);
}

.product-card__wish:hover,
.product-card__wish.is-active { color: var(--pink); }

.product-card__wish.is-active {
  animation: heartPop 0.4s var(--ease);
}

.product-card__wish.is-active svg { fill: var(--pink); }

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.product-card__add {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  min-height: 42px;
  border-radius: var(--radius-btn);
  background: var(--color-primary, #720D25);
  color: #FFFDFC;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.25s;
}

.product-card__add:hover {
  background: var(--color-primary-hot, #A51F43);
}

.product-card__add.is-adding {
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.product-card__add.is-added {
  opacity: 1;
  transform: none;
  background: #2b261e;
}

.product-card:hover .product-card__add,
.product-card:focus-within .product-card__add {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-card__name {
  font-weight: 650;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product-card__name a {
  color: inherit;
  text-decoration: none;
}

.product-card__price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
  font-size: 0.9rem;
  margin-top: auto;
}

.product-card__price .current {
  font-weight: 700;
  color: var(--deep);
}

.product-card__price .off {
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-card__price .old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.8rem;
}

/* ---------- Campaign ---------- */
.campaign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: linear-gradient(135deg, var(--hot), var(--pink) 50%, var(--deep));
  color: #fff;
  overflow: hidden;
}

.campaign__media {
  position: relative;
  min-height: 360px;
}

.campaign__media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.campaign__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
}

.campaign__title {
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.campaign__text {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

/* ---------- Era ---------- */
.era { background: var(--powder); }

.era__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.era__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--blush);
}

.era__media img {
  width: 100%;
  height: 100%;
}

.era__neon {
  position: absolute;
  bottom: 8%;
  right: 6%;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  text-shadow:
    0 0 14px rgba(201, 164, 106, 0.9),
    0 0 30px rgba(114, 13, 37, 0.6);
  transform: rotate(-6deg);
}

.era__text {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.7;
}

/* ---------- Social ---------- */
.social { background: #fff; }

.social__handle {
  margin-top: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--pink);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 0.7rem;
}

.social-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--blush);
}

.social-item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.social-item--wide {
  grid-column: span 2;
}

.social-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.social-item__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 45, 122, 0.42);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.social-item:hover img { transform: scale(1.06); }
.social-item:hover .social-item__icon { opacity: 1; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(160deg, var(--blush), var(--pastel));
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
}

.newsletter__inner {
  text-align: center;
  max-width: 32rem;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1.1rem;
  outline: none;
  background: transparent;
  border-radius: 999px;
}

.newsletter__note {
  margin-top: 0.75rem;
  min-height: 1.2rem;
  font-weight: 600;
  color: var(--deep);
  font-size: 0.88rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--wine, #30050F);
  color: rgba(255, 253, 252, 0.72);
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: calc(var(--bar-h) + 1.5rem);
}

.footer .logo { color: #fff; }
.footer .logo__heart { color: var(--soft); }
.footer .logo__img:not(.logo__img--wordmark) {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.footer .logo__img--wordmark,
.footer .logo__img--custom {
  box-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s;
}

.footer__links a:hover { color: var(--soft); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.footer__legal a:hover { color: var(--soft); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.4rem 1.05rem 0.4rem 0.4rem;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(18, 140, 70, 0.32);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), filter 0.2s, box-shadow 0.2s;
}
.wa-float:hover,
.wa-float:focus-visible,
.wa-float:visited {
  color: #fff;
}
.wa-float:hover,
.wa-float:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(18, 140, 70, 0.4);
  outline: none;
}
.wa-float:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.35), 0 10px 26px rgba(18, 140, 70, 0.4);
}
.wa-float__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.wa-float__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}
.wa-float__label {
  padding-right: 0.2rem;
  white-space: nowrap;
}
.page-checkout .wa-float,
.page-auth .wa-float {
  display: none;
}

@media (max-width: 900px) {
  .wa-float {
    left: 16px;
    bottom: calc(var(--bar-h, 56px) + 12px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    min-height: 52px;
    min-width: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .wa-float__label { display: none; }
  .wa-float__icon {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 740px) {
  .page-product .wa-float {
    bottom: calc(var(--bar-h, 56px) + 76px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- Mobile bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  height: auto;
  min-height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0.32rem 0.15rem calc(0.32rem + env(safe-area-inset-bottom, 0px));
  background: var(--color-primary, #720D25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255, 253, 252, 0.12);
  box-shadow: 0 -10px 28px rgba(48, 5, 15, 0.28);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.14rem;
  color: rgba(255, 253, 252, 0.62);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0;
  min-height: 0;
  min-width: 0;
  position: relative;
  padding: 0.18rem 0.08rem 0.12rem;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.mobile-bar__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  flex: 0 0 24px;
}

.mobile-bar__item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.mobile-bar__label {
  max-width: 100%;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
}

.mobile-bar__item .mobile-bar__badge,
.mobile-bar__item .badge {
  position: absolute;
  top: -5px;
  right: -7px;
  left: auto;
  min-width: 16px;
  height: 16px;
  font-size: 0.58rem;
  z-index: 1;
}

.mobile-bar__item.is-active {
  color: #FFFDFC;
}

.mobile-bar__item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold, #C9A46A);
  transform: translateX(-50%);
}

@media (hover: hover) and (pointer: fine) {
  .mobile-bar__item:hover { color: #FFFDFC; }
}

/* ---------- Toast / Reveal ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar-h) + 1.1rem);
  transform: translate(-50%, 14px);
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  max-width: min(90vw, 320px);
  text-align: center;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 901px) {
  .toast { bottom: 1.75rem; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header,
  .header__account-btn,
  .header__wish,
  .header__cart,
  .header__search-btn,
  .drawer__overlay,
  .drawer__panel,
  .cart-item,
  .cart-panel__ship-fill {
    transition: none !important;
  }
  .product-card:hover .product-card__media img:first-of-type { transform: none; }
  .product-card:hover .product-card__media img.is-hover { opacity: 0; }
  .product-card__wish.is-active { animation: none; }
  .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  /* Duyuru şeridi bilgilendirme amaçlı yavaş kaymaya devam eder */
  .announce__track {
    animation-duration: 40s !important;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1280px) {
  .header__support-text { display: none; }
  .header__search { max-width: 24rem; }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px 200px 280px;
  }
  .cat-card--tall { grid-row: span 1; min-height: 280px; }
  .cat-card--wide { min-height: 200px; }
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 140px;
  }
  .header__phone-text { display: none; }
  .header__phone { max-width: 2.4rem; padding-inline: 0.45rem; }
  .header__search { max-width: 20rem; }
  .header__account-btn,
  .header__wish,
  .header__cart,
  .header__support {
    padding: 0 0.4rem;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
    --bar-h: 56px;
  }

  .header__burger { display: flex; }
  .nav,
  .header__search,
  .header__login,
  .header__phone,
  .header__account-text,
  .header__wish,
  .header__wish-text,
  .header__wish-label,
  .header__cart-copy,
  .header__cart-label,
  .header__support-text,
  .header__support,
  .header__search-icon { display: none; }
  .header__search-toggle { display: inline-flex; }
  .header__actions {
    position: relative;
    gap: 0.05rem;
    justify-self: end;
  }
  .header__account-wrap { position: static; }
  .header__account-menu {
    right: 0;
    left: auto;
    top: calc(100% + 0.35rem);
  }
  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: stretch;
    gap: 0.2rem;
    width: 100%;
    max-width: none;
    min-height: var(--header-h);
    padding-inline: 0.45rem;
  }
  .header.is-scrolled .header__inner { min-height: var(--header-h); }
  .header__burger {
    justify-self: start;
    width: 44px;
    height: 44px;
    padding: 11px 10px;
  }
  .header .logo {
    justify-self: center;
    margin: 0;
    min-width: 0;
    max-width: min(168px, 46vw);
  }
  .header .logo__img--wordmark,
  .header .logo__img--custom {
    height: 34px;
    max-height: 34px;
    max-width: min(168px, 46vw);
  }
  .header .header__search-toggle,
  .header .header__account-btn,
  .header .header__cart {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    gap: 0;
    border-radius: 8px;
    justify-content: center;
  }
  .header__cart-icon {
    width: 22px;
    height: 22px;
  }
  .header__cart-icon svg {
    width: 22px;
    height: 22px;
  }
  .header__cart-icon .badge {
    top: -7px;
    right: -8px;
  }

  .hero__stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero__media {
    position: relative;
    width: 100%;
    height: min(62vw, 440px);
    min-height: 300px;
    clip-path: none;
    border-radius: 0 0 28px 28px;
    order: -1;
  }

  .hero__media::after {
    inset: 12px;
  }

  .hero__media-glow {
    background: linear-gradient(to top, rgba(255, 248, 251, 0.75) 0%, transparent 42%);
  }

  .hero__copy {
    max-width: none;
    padding: 1.75rem 1.35rem 2.25rem;
  }

  .hero__title {
    font-size: clamp(2.7rem, 11.5vw, 3.65rem);
  }

  .hero__shot--earring {
    top: 6%;
    right: 1rem;
    width: 92px;
  }

  .hero__shot--necklace {
    display: none;
  }

  .hero__neon {
    display: none;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .campaign { grid-template-columns: 1fr; }
  .campaign__media { min-height: 320px; aspect-ratio: 16 / 10; }
  .campaign__copy { text-align: center; align-items: center; }

  .era__grid { grid-template-columns: 1fr; }
  .era__media { max-width: 480px; width: 100%; }

  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-bar { display: grid; }
  .footer {
    padding-bottom: calc(var(--bar-h) + 2rem + env(safe-area-inset-bottom, 0px));
  }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .drawer--nav .drawer__panel {
    width: min(100vw, 400px);
  }

  .search-overlay {
    justify-content: flex-start;
    padding: 4.25rem 1rem calc(var(--bar-h) + 1.25rem + env(safe-area-inset-bottom, 0px));
    background: #FFFDFC;
  }
  .search-overlay__form {
    width: 100%;
  }
  .search-overlay__form input {
    font-size: 1.05rem;
  }
}

@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }

  .product-card__add {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    position: static;
    margin-top: 0.6rem;
    width: 100%;
    background: var(--blush);
    color: var(--deep);
  }

  .product-card:hover .product-card__media img.is-hover { opacity: 0; }

  .trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .cat-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    grid-template: none;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .cat-card,
  .cat-card--tall,
  .cat-card--wide {
    flex: 0 0 min(72vw, 260px);
    height: 320px;
    scroll-snap-align: start;
    grid-row: auto;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .social-item--lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .social-item--wide { grid-column: span 2; }

  .newsletter__form {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.75rem;
  }

  .newsletter__form .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.5rem, 12vw, 3.15rem);
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__shot--earring {
    width: 76px;
    top: 5%;
    right: 0.75rem;
  }

  .hero__media {
    height: min(74vw, 380px);
    border-radius: 0 0 22px 22px;
  }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .search-overlay__form { flex-direction: column; }
}

.legal-page {
  padding: 2.5rem 0 4rem;
}
.legal-page__inner {
  max-width: 44rem;
}
.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 .4rem;
  color: var(--ink);
}
.legal-page__meta {
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.legal-page p {
  margin: 0 0 1rem;
}
.legal-page__notice {
  background: var(--blush);
  color: var(--deep);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  font-size: .92rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  :root { --container-gutter: 22px; }
}

@media (max-width: 768px) {
  :root { --container-gutter: 16px; }
}

@media (max-width: 480px) {
  :root { --container-gutter: 12px; }
}

@media (max-width: 430px) {
  .drawer--nav .drawer__panel { width: 100%; }
}

@media (max-width: 360px) {
  .mobile-bar__label { font-size: 0.54rem; }
  .header .logo { max-width: min(132px, 38vw); }
  .header .logo__img--wordmark,
  .header .logo__img--custom {
    height: 30px;
    max-height: 30px;
  }
  .header .header__search-toggle,
  .header .header__account-btn,
  .header .header__cart {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
}
