:root {
  --ink: #281a23;
  --ink-soft: #5d5057;
  --paper: #f7f2ea;
  --paper-deep: #ede5d8;
  --white: #fffdf9;
  --gold: #b59662;
  --gold-pale: #dcc9a4;
  --rose: #b77772;
  --sage: #cbd2c2;
  --plum: #3a2633;
  --line: rgba(40, 26, 35, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(50, 32, 42, 0.14);
  --radius: 2px;
  --shell: min(1480px, calc(100vw - 64px));
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: Inter, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

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

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

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(36px, 3.7vw, 62px);
  line-height: 1.02;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.preview-flag {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ece7dc;
  color: #665a60;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.preview-flag span:first-child {
  color: var(--rose);
  font-weight: 700;
}

.promo-bar {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 7px 20px;
  background: var(--plum);
  color: #fff9f3;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.promo-bar p {
  margin: 0;
}

.promo-dot {
  margin: 0 9px;
  color: var(--gold-pale);
}

#countdown {
  color: var(--gold-pale);
  font-variant-numeric: tabular-nums;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.utility-row p {
  margin: 0;
}

.utility-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plain-select {
  max-width: 122px;
  padding: 4px 22px 4px 4px;
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-header {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: grid;
  grid-template-columns: 47px auto;
  align-items: center;
  width: fit-content;
  column-gap: 10px;
}

.brand img {
  grid-row: 1 / span 2;
}

.brand-word {
  align-self: end;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-sub {
  align-self: start;
  color: var(--gold);
  font-size: 7px;
  letter-spacing: 0.3em;
  line-height: 1.5;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(19px, 2.3vw, 38px);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding-block: 32px;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.desktop-nav .nav-sale {
  color: var(--rose);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 6px;
  background: transparent;
  border-radius: 99px;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(40, 26, 35, 0.06);
}

.icon-button svg,
.filter-trigger svg,
.search-row svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.action-label {
  display: none;
}

.action-count {
  position: absolute;
  top: 0;
  right: -1px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  background: var(--plum);
  border: 2px solid var(--white);
  border-radius: 99px;
  color: white;
  font-size: 9px;
  line-height: 1;
}

.mobile-only {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 122px));
  overflow: hidden;
  background: #e8dfd1;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(39, 26, 35, 0.12) 0%, transparent 44%), url("/assets/hero-editorial.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.002);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 122px));
}

.hero-card {
  width: min(600px, 48vw);
  padding: clamp(34px, 5vw, 76px);
  background: rgba(255, 253, 249, 0.89);
  box-shadow: 0 24px 70px rgba(42, 30, 36, 0.08);
  backdrop-filter: blur(12px);
}

.hero-card h1 {
  margin-bottom: 25px;
}

.hero-card > p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 16px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-dark {
  background: var(--plum);
  color: white;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #563c4c;
}

.button-outline {
  background: transparent;
  border-color: var(--ink);
}

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

.full-width {
  width: 100%;
}

.text-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  padding-block: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
  transform-origin: right;
}

.text-link:hover::after {
  transform: scaleX(0.4);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--plum);
  color: white;
}

.benefit-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  gap: 14px;
  padding: 20px;
  border-inline-end: 1px solid var(--line-light);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.benefit-strip > div:last-child {
  border: 0;
}

.benefit-strip svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold-pale);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.collection-section {
  padding-block: 60px 120px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 68px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.collection-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.collection-heading h2 {
  margin-bottom: 18px;
}

.collection-heading > p:last-child {
  max-width: 650px;
  margin-inline: auto;
  color: var(--ink-soft);
}

.intention-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 64px;
}

.intention-tab {
  min-width: 124px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.intention-tab:hover,
.intention-tab.is-active {
  background: var(--plum);
  border-color: var(--plum);
  color: white;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-bottom: 26px;
  border-block: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-toolbar p {
  margin: 0;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-actions label {
  color: var(--ink-soft);
}

.toolbar-actions select {
  min-width: 178px;
  padding: 10px 32px 10px 12px;
  background: var(--white);
  border: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-filter {
  display: none;
}

.collection-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 42px;
}

.filter-panel {
  position: sticky;
  top: 126px;
  align-self: start;
}

.filter-group {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.filter-group:first-child {
  padding-top: 0;
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-options {
  display: grid;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.filter-option span:first-of-type {
  display: flex;
  align-items: center;
  gap: 9px;
}

.filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--plum);
}

.filter-option small {
  color: #9d9498;
}

.filter-reset {
  margin-top: 19px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 20px;
}

.product-card {
  position: relative;
  min-width: 0;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.06;
  margin-bottom: 18px;
  background: var(--paper);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

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

.product-card[data-tone="cool"] .product-media img {
  filter: saturate(0.9) hue-rotate(3deg);
}

.product-card[data-tone="warm"] .product-media img {
  filter: saturate(0.96) sepia(0.03);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: calc(100% - 68px);
}

html[dir="rtl"] .product-badges {
  right: 12px;
  left: auto;
}

.badge {
  padding: 6px 9px;
  background: rgba(255, 253, 249, 0.93);
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-sale {
  background: var(--rose);
  color: white;
}

.wishlist-toggle {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: rgba(255, 253, 249, 0.92);
  border-radius: 50%;
  color: var(--ink);
  transition: 180ms ease;
}

html[dir="rtl"] .wishlist-toggle {
  right: auto;
  left: 10px;
}

.wishlist-toggle svg {
  width: 18px;
  height: 18px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.5;
}

.wishlist-toggle.is-active {
  background: var(--plum);
  color: white;
}

.wishlist-toggle.is-active svg {
  fill: currentColor;
}

.quick-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  min-height: 42px;
  background: rgba(43, 27, 37, 0.94);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(calc(100% + 18px));
  transition: transform 250ms ease;
}

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

.product-meta {
  display: grid;
  gap: 7px;
}

.product-intention {
  margin: 0;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.product-name-button {
  width: fit-content;
  padding: 0;
  background: transparent;
  text-align: start;
}

.product-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
}

.product-name-button:hover .product-name {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.product-stone {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.product-price del {
  color: #9b9297;
  font-size: 11px;
}

.product-swatches {
  display: flex;
  gap: 6px;
  margin-top: 3px;
}

.product-swatches span {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(40, 26, 35, 0.2);
  border-radius: 50%;
}

.empty-state {
  padding: 80px 20px;
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 20px;
  font-size: 30px;
}

.story-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 670px;
  background: var(--paper-deep);
}

.story-image {
  min-height: 670px;
  background-image: linear-gradient(90deg, rgba(40, 26, 35, 0.04), transparent), url("/assets/hero-editorial.jpg");
  background-position: 65% center;
  background-size: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 8vw, 130px);
}

.story-copy h2 {
  max-width: 490px;
  margin-bottom: 24px;
}

.story-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin-bottom: 30px;
  color: var(--ink-soft);
}

.newsletter-section {
  padding-block: 90px;
  background: var(--plum);
  color: white;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 0.8fr);
  align-items: end;
  gap: 80px;
}

.newsletter-inner h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(36px, 4vw, 58px);
}

.newsletter-inner > div > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}

.newsletter-inner form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-inner input {
  min-height: 50px;
  padding: 12px 15px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  color: white;
  outline: 0;
}

.newsletter-inner input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.newsletter-inner input:focus {
  border-color: var(--gold-pale);
}

.site-footer {
  padding-block: 75px 30px;
  background: #1d1319;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 70px;
  padding-bottom: 70px;
}

.brand-footer {
  color: white;
}

.brand-footer img {
  filter: invert(1) sepia(0.3);
}

.footer-brand p {
  max-width: 310px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid h3 {
  margin-bottom: 20px;
  color: var(--gold-pale);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-grid a:not(.brand) {
  font-size: 12px;
}

.footer-grid a:not(.brand):hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(25, 16, 21, 0.5);
  opacity: 0;
  transition: opacity 220ms ease;
}

.overlay.is-visible {
  opacity: 1;
}

.drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(460px, 94vw);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-right {
  right: 0;
  transform: translateX(105%);
}

.drawer-left {
  left: 0;
  transform: translateX(-105%);
}

html[dir="rtl"] .drawer-right {
  right: auto;
  left: 0;
  transform: translateX(-105%);
}

html[dir="rtl"] .drawer-left {
  right: 0;
  left: auto;
  transform: translateX(105%);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;
  font-size: 27px;
}

.drawer-header .icon-button,
.modal-close {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 200;
}

.mobile-settings {
  display: grid;
  gap: 8px;
  padding: 18px 24px 26px;
  border-top: 1px solid var(--line);
}

#mobile-menu {
  grid-template-rows: auto auto auto;
  overflow-y: auto;
}

.mobile-settings label {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-settings select,
.mobile-search-link {
  min-height: 42px;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: start;
}

.mobile-search-link {
  margin-bottom: 4px;
  background: var(--plum);
  border-color: var(--plum);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer-scroll {
  overflow: auto;
  padding: 24px;
}

.drawer-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 26px;
}

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

.free-shipping-meter {
  padding: 16px 24px;
  background: var(--paper);
}

.free-shipping-meter p {
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 11px;
}

.free-shipping-meter > div {
  height: 3px;
  overflow: hidden;
  background: rgba(40, 26, 35, 0.12);
}

.free-shipping-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width 250ms ease;
}

.cart-items {
  padding-top: 0;
}

.cart-empty,
.wishlist-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  color: var(--ink-soft);
  text-align: center;
}

.cart-item,
.wishlist-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 15px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-item img,
.wishlist-item img {
  width: 92px;
  height: 104px;
  object-fit: cover;
  background: var(--paper);
}

.cart-item-copy,
.wishlist-item-copy {
  min-width: 0;
}

.cart-item-copy h3,
.wishlist-item-copy h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.25;
}

.cart-item-copy p,
.wishlist-item-copy p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 30px 30px 30px;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  text-align: center;
}

.quantity-control button {
  height: 30px;
  background: transparent;
}

.quantity-control button:hover {
  background: var(--paper);
}

.remove-link {
  padding: 5px 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-transform: uppercase;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.cart-summary > p,
.checkout-note {
  color: var(--ink-soft);
  font-size: 10px;
}

.button-paypal {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 17px;
  background: #ffc439;
  color: #16325c;
  font-size: 17px;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
}

.button-paypal small {
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-note {
  margin: 9px 0 0;
  text-align: center;
}

.wishlist-item .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 8px;
}

.search-dialog {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 34px 0 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-105%);
  transition: 240ms ease;
}

.search-dialog.is-open {
  opacity: 1;
  transform: translateY(0);
}

.search-row {
  display: grid;
  grid-template-columns: 28px 1fr 44px;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--ink);
}

.search-row input {
  min-height: 58px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 38px);
}

.search-hint {
  margin: 11px 0 0 42px;
  color: var(--ink-soft);
  font-size: 11px;
}

.product-modal {
  position: fixed;
  z-index: 110;
  top: 50%;
  left: 50%;
  width: min(1080px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -47%) scale(0.98);
  transition: 220ms ease;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(255, 253, 249, 0.9);
  border-radius: 50%;
}

html[dir="rtl"] .modal-close {
  right: auto;
  left: 13px;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.modal-image-wrap {
  min-height: 650px;
  background: var(--paper);
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.modal-copy {
  padding: clamp(40px, 5vw, 74px);
}

.modal-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 3vw, 48px);
}

.modal-copy > p:not(.eyebrow, .modal-price) {
  color: var(--ink-soft);
}

.modal-price {
  margin-bottom: 26px;
  font-size: 16px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}

.trust-row span {
  padding: 7px 10px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.size-fieldset {
  padding: 0;
  margin: 24px 0;
  border: 0;
}

.size-fieldset legend,
.quantity-row > span {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#size-options {
  display: flex;
  gap: 8px;
}

.size-option {
  min-width: 64px;
  min-height: 42px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 11px;
}

.size-option.is-active {
  background: var(--plum);
  border-color: var(--plum);
  color: white;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.quantity-row > span {
  margin: 0;
}

.modal-copy details {
  padding-block: 17px;
  border-bottom: 1px solid var(--line);
}

.modal-copy details:first-of-type {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.modal-copy summary {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-copy details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100vw - 44px));
  padding: 14px 18px;
  background: var(--plum);
  box-shadow: var(--shadow);
  color: white;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 220ms ease;
}

html[dir="rtl"] .toast {
  right: auto;
  left: 22px;
}

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

@media (min-width: 1600px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 40px, 1180px);
  }

  .main-header {
    grid-template-columns: 210px 1fr auto;
  }

  .desktop-nav {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: 10px;
  }

  .desktop-action {
    display: none;
  }

  .collection-layout {
    grid-template-columns: 200px 1fr;
    gap: 28px;
  }

  .newsletter-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 920px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .utility-row {
    display: none;
  }

  .main-header {
    grid-template-columns: 44px 1fr auto;
    min-height: 72px;
    gap: 8px;
  }

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

  .desktop-nav,
  .desktop-filters {
    display: none;
  }

  .brand {
    justify-self: center;
  }

  .brand img,
  .brand-sub {
    display: none;
  }

  .brand-word {
    font-size: 19px;
  }

  .header-actions {
    gap: 1px;
  }

  .header-actions .icon-button {
    min-width: 36px;
  }

  .hero,
  .hero-copy {
    min-height: 670px;
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero-card {
    width: min(560px, 72vw);
  }

  .collection-layout {
    display: block;
  }

  .mobile-filter {
    display: inline-flex;
  }

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

  .quick-add {
    transform: translateY(0);
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 520px;
  }

  .story-copy {
    min-height: 480px;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .preview-flag {
    font-size: 8px;
  }

  .promo-bar {
    min-height: 44px;
    font-size: 9px;
  }

  .promo-dot {
    display: none;
  }

  #countdown {
    display: block;
    margin-top: 2px;
  }

  .main-header {
    min-height: 66px;
  }

  .header-actions .icon-button:nth-child(1),
  .header-actions .icon-button:nth-child(2) {
    display: none;
  }

  .hero {
    display: grid;
    min-height: auto;
    background: var(--paper);
  }

  .hero-image {
    position: relative;
    min-height: 470px;
    background-image: url("/assets/hero-editorial.jpg");
    background-position: 65% center;
  }

  .hero-copy {
    display: block;
    width: 100%;
    min-height: auto;
  }

  .hero-card {
    width: 100%;
    padding: 42px 24px 48px;
    background: var(--paper);
    box-shadow: none;
  }

  .hero-card h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .benefit-strip > div {
    min-height: 70px;
    justify-content: flex-start;
    padding-inline: 28px;
    border: 0;
    border-bottom: 1px solid var(--line-light);
    text-align: start;
  }

  .collection-section {
    padding-block: 35px 80px;
  }

  .breadcrumbs {
    margin-bottom: 44px;
  }

  .collection-heading {
    margin-bottom: 32px;
  }

  .collection-heading h2 {
    font-size: 43px;
  }

  .intention-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-right: -12px;
    margin-bottom: 42px;
    overflow-x: auto;
    padding: 0 12px 8px 0;
    scrollbar-width: none;
  }

  html[dir="rtl"] .intention-tabs {
    margin-right: 0;
    margin-left: -12px;
    padding: 0 0 8px 12px;
  }

  .intention-tabs::-webkit-scrollbar {
    display: none;
  }

  .intention-tab {
    min-width: 116px;
  }

  .collection-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
  }

  .collection-toolbar > p {
    padding: 4px 10px;
  }

  .toolbar-actions {
    justify-content: space-between;
  }

  .toolbar-actions label {
    display: none;
  }

  .toolbar-actions select {
    min-width: 0;
    max-width: 180px;
  }

  .product-grid {
    gap: 34px 10px;
  }

  .product-media {
    margin-bottom: 12px;
  }

  .product-badges {
    top: 8px;
    left: 8px;
  }

  html[dir="rtl"] .product-badges {
    right: 8px;
  }

  .badge {
    padding: 5px 6px;
    font-size: 7px;
  }

  .wishlist-toggle {
    top: 6px;
    right: 6px;
    width: 33px;
    height: 33px;
  }

  html[dir="rtl"] .wishlist-toggle {
    left: 6px;
  }

  .quick-add {
    right: 8px;
    bottom: 8px;
    left: 8px;
    min-height: 36px;
    font-size: 7px;
  }

  .product-intention {
    font-size: 8px;
  }

  .product-name {
    font-size: 17px;
  }

  .product-stone {
    display: none;
  }

  .story-image {
    min-height: 440px;
    background-position: 61% center;
  }

  .story-copy {
    min-height: 420px;
    padding: 48px 24px;
  }

  .newsletter-section {
    padding-block: 65px;
  }

  .newsletter-inner form {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-modal {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: none;
    transform: translateY(100%);
  }

  .product-modal.is-open {
    transform: translateY(0);
  }

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

  .modal-image-wrap,
  .modal-image-wrap img {
    min-height: 430px;
    height: 58vh;
  }

  .modal-copy {
    padding: 38px 22px 60px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

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