/* ========================================
   Siaara — Premium Jewelry Homepage
   ======================================== */

:root {
  --primary: #000119;
  --primary-color: #000119;
  --primary-soft: #0c0d2a;
  --bs-primary: #000119;
  --bs-primary-rgb: 0, 1, 25;
  --bs-link-color: #000119;
  --bs-link-hover-color: #0c0d2a;
  --bs-link-color-rgb: 0, 1, 25;
  --bs-link-hover-color-rgb: 12, 13, 42;
  --bs-focus-ring-color: rgba(0, 1, 25, 0.25);
  --bg: #ffffff;
  --white-color: #ffffff;
  --bg-soft: #f7f6f4;
  --text: #0a0b1a;
  --text-muted: #6b6d7a;
  --border: rgba(0, 1, 25, 0.08);
  --gold: #b8956c;
  --gold-soft: #d4bc9a;
  --shadow: 0 10px 30px rgba(0, 1, 25, 0.06);
  --shadow-hover: 0 18px 40px rgba(0, 1, 25, 0.1);
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1180px;
  --header-top-h: 72px;
  --header-nav-h: 46px;
  --header-h: calc(var(--header-top-h) + var(--header-nav-h));
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

#categories,
#products,
#craftsmanship,
#testimonials,
#contact,
#home {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body) !important;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  max-width: var(--container);
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.25rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section-header h2,
.craft-content h2,
.final-cta-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--primary);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary-soft);
  --bs-btn-hover-border-color: var(--primary-soft);
  --bs-btn-focus-shadow-rgb: 0, 1, 25;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-soft);
  --bs-btn-active-border-color: var(--primary-soft);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
  --bs-btn-disabled-opacity: 1;
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary.active {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary:disabled,
.btn-primary.disabled {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-focus-shadow-rgb: 0, 1, 25;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-soft);
  --bs-btn-active-border-color: var(--primary-soft);
  --bs-btn-disabled-color: var(--primary);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--primary);
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: #fff;
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(0, 1, 25, 0.08);
}

.header-top {
  height: var(--header-top-h);
  background: #fff;
  border-bottom: 1px solid rgba(0, 1, 25, 0.04);
}

.header-top__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-logo-footer {
  height: 40px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: min(100%, 560px);
  margin-inline: auto;
  min-height: 46px;
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(0, 1, 25, 0.12);
  border-radius: 999px;
  background: #fafaf9;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.header-search:focus-within {
  background: #fff;
  border-color: rgba(184, 149, 108, 0.7);
  box-shadow: 0 0 0 3px rgba(184, 149, 108, 0.15);
}

.header-search__submit,
.header-search__hint {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.header-search__submit {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.header-search__submit:hover {
  color: var(--primary);
  background: rgba(0, 1, 25, 0.05);
}

.header-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.9rem;
  color: var(--text);
}

.header-search__input::placeholder {
  color: #9496a3;
}

.header-search__hint {
  font-size: 1.05rem;
  opacity: 0.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.gold-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.35rem;
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6efe4 0%, #efe2cf 100%);
  border: 1px solid rgba(184, 149, 108, 0.35);
  color: var(--primary);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gold-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(184, 149, 108, 0.18);
}

.gold-chip__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d8b88a, #b8956c);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.gold-chip__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.gold-chip__text small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7154;
}

.gold-chip__text strong {
  font-size: 0.78rem;
  font-weight: 600;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.15rem;
  transition: background 0.3s var(--ease);
}

.icon-btn:hover {
  background: var(--bg-soft);
}

.icon-btn__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c45a4a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.2rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 0.3s var(--ease);
}

.header-login i {
  font-size: 1.15rem;
}

.header-login:hover {
  background: var(--bg-soft);
}

.header-nav {
  height: var(--header-nav-h);
  background: var(--primary);
}

.nav {
  height: var(--header-nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2.1rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex-shrink: 0;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: #fff;
}

.nav a.is-active {
  color: #fff;
}

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

.menu-toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--primary);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(0, 1, 25, 0.05);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), width 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.menu-toggle.active {
  background: rgba(0, 1, 25, 0.06);
}

.menu-toggle.active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 8px;
}

.menu-toggle.active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- Hero Banner ---------- */

.hero-banner {
  margin-top: var(--header-h);
  padding: 1.35rem 0 1.6rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(184, 149, 108, 0.12), transparent 70%),
    linear-gradient(180deg, #f7f5f1 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-banner__stage {
  position: relative;
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.hero-banner__track {
  position: relative;
  display: grid;
  grid-template-areas: "slide";
  min-height: clamp(280px, 38vw, 420px);
  max-height: min(52vh, 460px);
  perspective: 1200px;
}

.hero-slide {
  grid-area: slide;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease),
    visibility 0.55s var(--ease), filter 0.55s var(--ease);
  pointer-events: none;
  box-shadow: 0 18px 48px rgba(0, 1, 25, 0.14);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 3;
  filter: none;
}

.hero-slide.is-prev,
.hero-slide.is-next {
  opacity: 0.55;
  visibility: visible;
  pointer-events: none;
  z-index: 1;
  filter: saturate(0.85) brightness(0.92);
}

.hero-slide.is-prev {
  transform: translateX(-78%) scale(0.9);
}

.hero-slide.is-next {
  transform: translateX(78%) scale(0.9);
}

.hero-slide__media {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 38vw, 420px);
  max-height: min(52vh, 460px);
  object-fit: cover;
  object-position: center;
}

.hero-slide__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 1, 25, 0.72) 0%, rgba(0, 1, 25, 0.38) 42%, rgba(0, 1, 25, 0.12) 70%, transparent 100%),
    linear-gradient(0deg, rgba(0, 1, 25, 0.28), transparent 45%);
  pointer-events: none;
}

.hero-slide__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 600px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
}

.hero-slide.is-prev .hero-slide__copy,
.hero-slide.is-next .hero-slide__copy,
.hero-slide:not(.is-active) .hero-slide__copy {
  opacity: 0;
}

.hero-slide.is-active .hero-slide__copy > * {
  animation: heroCopyIn 0.7s var(--ease) both;
}

.hero-slide.is-active .hero-slide__eyebrow { animation-delay: 0.05s; }
.hero-slide.is-active .hero-slide__title { animation-delay: 0.12s; }
.hero-slide.is-active .hero-slide__text { animation-delay: 0.2s; }
.hero-slide.is-active .hero-slide__cta { animation-delay: 0.28s; }

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

.hero-slide__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.hero-slide__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.hero-slide__text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
  max-width: 28ch;
}

.hero-slide__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(0, 1, 25, 0.18);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-slide__cta:hover {
  transform: translateY(-2px);
  background: #f7f2ea;
}

.hero-banner__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 1, 25, 0.12);
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-banner__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.hero-banner__nav--prev {
  left: clamp(0.35rem, 1.5vw, 1rem);
}

.hero-banner__nav--next {
  right: clamp(0.35rem, 1.5vw, 1rem);
}

.hero-banner__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.hero-banner__dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: rgba(0, 1, 25, 0.18);
  transform: rotate(45deg);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero-banner__dot.is-active {
  background: var(--primary);
  transform: rotate(45deg) scale(1.15);
}

/* ---------- Categories ---------- */

.categories {
  background: var(--bg);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.category-carousel {
  position: relative;
}

.category-progress {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.category-progress__track {
  position: relative;
  display: block;
  width: min(180px, 40%);
  height: 2px;
  background: rgba(0, 1, 25, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.category-progress__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: rgba(0, 1, 25, 0.45);
  border-radius: inherit;
  transition: left 0.12s linear, width 0.12s linear;
}

.category-scroller-wrap {
  position: relative;
}

.category-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0.35rem 0.15rem 0.5rem;
  outline: none;
}

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

.category-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: max-content;
}

.category-item {
  flex: 0 0 auto;
  width: 156px;
  text-align: center;
  color: var(--primary);
}

.category-item__image {
  position: relative;
  width: 156px;
  height: 156px;
  border-radius: 28px;
  overflow: hidden;
  background: #f3efe8;
  margin: 0 auto 0.9rem;
  transition: transform 0.4s var(--ease);
}

.category-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.category-item:hover .category-item__image {
  transform: translateY(-3px);
}

.category-item:hover .category-item__image img {
  transform: scale(1.05);
}

.category-item__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  border-radius: 999px;
  line-height: 1.2;
}

.category-item__name {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s var(--ease);
}

.category-item:hover .category-item__name {
  color: var(--gold);
}

.category-nav {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 0.85rem));
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(0, 1, 25, 0.08);
  box-shadow: 0 8px 22px rgba(0, 1, 25, 0.08);
  transition: background 0.3s var(--ease), opacity 0.3s var(--ease),
    box-shadow 0.3s var(--ease), visibility 0.3s var(--ease);
}

.category-nav:hover {
  background: var(--bg-soft);
  box-shadow: 0 10px 26px rgba(0, 1, 25, 0.12);
}

.category-nav:disabled,
.category-nav.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.category-nav--prev {
  left: -8px;
}

.category-nav--next {
  right: -8px;
}

/* ---------- Products ---------- */

.products {
  background: var(--bg);
  padding-top: clamp(2rem, 4vw, 3rem);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.products-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--primary);
  margin: 0;
}

.products-header__subtitle {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 300;
}

.products-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid rgba(0, 1, 25, 0.25);
  padding-bottom: 0.2rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.products-view-all:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  gap: 0.65rem;
}

.product-grid {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 1, 25, 0.06);
  border: 1px solid rgba(0, 1, 25, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 1, 25, 0.1);
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #f4f1ec;
  overflow: hidden;
}

.product-card__slider {
  position: absolute;
  inset: 0;
}

.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.7s var(--ease);
}

.product-card__image.is-active {
  opacity: 1;
  z-index: 1;
}

.product-card:hover .product-card__image.is-active {
  transform: scale(1.04);
}

.product-card__offer {
  position: absolute;
  top: 0.9rem;
  left: 0;
  z-index: 4;
  padding: 0.38rem 0.85rem 0.38rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #c4a574 0%, #a88655 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 4px 12px rgba(168, 134, 85, 0.28);
}

.product-card__prev,
.product-card__next {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease),
    background 0.3s var(--ease);
}

.product-card__prev { left: 0.65rem; }
.product-card__next { right: 0.65rem; }

.product-card:hover .product-card__prev,
.product-card:hover .product-card__next,
.product-card.has-gallery:focus-within .product-card__prev,
.product-card.has-gallery:focus-within .product-card__next {
  opacity: 1;
  visibility: visible;
}

.product-card:not(.has-gallery) .product-card__prev,
.product-card:not(.has-gallery) .product-card__next,
.product-card:not(.has-gallery) .product-card__indicators {
  display: none !important;
}

.product-card__prev:hover,
.product-card__next:hover {
  background: #fff;
}

.product-card__indicators {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card__indicators span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
  cursor: pointer;
}

.product-card__indicators span.active {
  width: 16px;
  background: #fff;
}

.product-card__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 1, 25, 0.1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.product-card__zoom:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1rem 1.15rem;
  background: #fff;
}

.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 1.35rem;
  margin-bottom: 0.35rem;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-card__price-current {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.product-card__price-old {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card__stock {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #b54747;
  white-space: nowrap;
  line-height: 1.4;
  padding-top: 0.15rem;
}

.product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary);
  margin: 0 0 1rem;
  min-height: 1.4em;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  width: 100%;
  min-width: 0;
}

.product-card__add-btn {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 1, 25, 0.18);
  background: #fff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card__add-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 1, 25, 0.14);
}

.product-card__add-btn-label--short {
  display: none;
}

.product-card__add-btn:focus-visible,
.product-card__wishlist:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.product-card__wishlist {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 1, 25, 0.18);
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.product-card__wishlist:hover,
.product-card__wishlist.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-zoom-modal {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.product-zoom-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 1, 25, 0.12);
}

.product-zoom-modal__image {
  width: 100%;
  max-height: min(75vh, 720px);
  object-fit: contain;
  background: #f7f5f1;
}

.product-zoom-modal__caption {
  margin: 0;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--primary);
}

/* ---------- Craftsmanship ---------- */

.craftsmanship {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #fff;
}

.craftsmanship__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    radial-gradient(ellipse 55% 65% at 88% 12%, rgba(184, 149, 108, 0.14), transparent 68%),
    radial-gradient(ellipse 45% 55% at 6% 88%, rgba(0, 1, 25, 0.045), transparent 62%),
    linear-gradient(165deg, #f8f6f2 0%, #ffffff 48%, #f5f2ec 100%);
}

.craftsmanship__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.craftsmanship__orb--one {
  width: min(38vw, 340px);
  height: min(38vw, 340px);
  top: -8%;
  right: -4%;
  background: radial-gradient(circle, rgba(184, 149, 108, 0.2), transparent 70%);
  animation: craft-float 12s ease-in-out infinite;
}

.craftsmanship__orb--two {
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  bottom: 4%;
  left: -3%;
  background: radial-gradient(circle, rgba(0, 1, 25, 0.06), transparent 72%);
  animation: craft-float 14s ease-in-out infinite reverse;
}

@keyframes craft-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -18px, 0);
  }
}

.craftsmanship__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2.25rem, 5.5vw, 5rem);
}

.craft-media {
  position: relative;
  min-height: 0;
  padding: 0 1.25rem 1.5rem 0;
}

.craft-media__frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px 32px 4px 32px;
  aspect-ratio: 4 / 5;
  max-height: 580px;
  box-shadow:
    0 28px 70px rgba(0, 1, 25, 0.14),
    0 0 0 1px rgba(0, 1, 25, 0.04);
}

.craft-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1s var(--ease);
}

.craft-media__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 1, 25, 0.35) 100%),
    linear-gradient(90deg, rgba(0, 1, 25, 0.08), transparent 40%);
  pointer-events: none;
}

.craft-media:hover .craft-media__frame img {
  transform: scale(1.06);
}

.craft-media__accent {
  position: absolute;
  inset: 1.5rem auto auto 1.5rem;
  width: calc(100% - 1.5rem);
  height: calc(100% - 1.5rem);
  border: 1px solid rgba(184, 149, 108, 0.5);
  border-radius: 4px 32px 4px 32px;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}

.craft-media:hover .craft-media__accent {
  transform: translate(-6px, -6px);
}

.craft-media__mark {
  position: absolute;
  left: 1.75rem;
  bottom: 2.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #fff;
  pointer-events: none;
}

.craft-media__mark span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.craft-media__mark small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.82;
}

.craft-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0;
  background: transparent;
  max-width: 540px;
}

.craft-content .eyebrow {
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.craft-content .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.craft-content h2 {
  margin-bottom: 1.25rem;
  position: relative;
}

.craft-content h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.craft-content h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.craft-content__lead {
  max-width: 42ch;
  color: var(--text);
  font-size: clamp(1.05rem, 1.55vw, 1.16rem);
  line-height: 1.78;
  margin-bottom: 0.9rem;
}

.craft-content__body {
  max-width: 40ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
  margin-bottom: 2rem;
}

.craft-points {
  display: grid;
  gap: 0;
  margin-bottom: 2.15rem;
  border-top: 1px solid rgba(0, 1, 25, 0.07);
}

.craft-points li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1.05rem 0.15rem 1.05rem 0;
  border-bottom: 1px solid rgba(0, 1, 25, 0.07);
  transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}

.craft-points li:hover {
  padding-left: 0.45rem;
}

.craft-points__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  min-width: 1.6rem;
  opacity: 0.9;
}

.craft-points__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f6eee4, #e9d7be);
  color: var(--primary);
  line-height: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.craft-points li:hover .craft-points__icon {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(184, 149, 108, 0.28);
}

.craft-points__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: auto;
}

.craft-points li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.12rem;
}

.craft-points li div span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.craft-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: flex-start;
  min-height: 50px;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease),
    gap 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.craft-cta i {
  font-size: 1rem;
  transition: transform 0.35s var(--ease);
}

.craft-cta:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
  gap: 0.95rem;
  box-shadow: 0 14px 32px rgba(0, 1, 25, 0.18);
}

.craft-cta:hover i {
  transform: translateX(4px);
}

/* ---------- Best Sellers ---------- */

.bestsellers {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 8% 35%, rgba(184, 149, 108, 0.16), transparent 68%),
    linear-gradient(180deg, #fbf8f4 0%, #ffffff 100%);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.bestsellers__glow {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  background: radial-gradient(circle, rgba(184, 149, 108, 0.18), transparent 70%);
  pointer-events: none;
}

.bestsellers__sparks {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  top: clamp(2.5rem, 6vw, 4.5rem);
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.bestsellers__sparks span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold-soft);
  opacity: 0.55;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.bestsellers__sparks span:nth-child(1) {
  top: 8px;
  left: 18px;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.bestsellers__sparks span:nth-child(2) {
  top: 42px;
  left: 58px;
  width: 11px;
  height: 11px;
  opacity: 0.45;
}

.bestsellers__sparks span:nth-child(3) {
  top: 70px;
  left: 12px;
  width: 8px;
  height: 8px;
  opacity: 0.35;
}

.bestsellers__sparks span:nth-child(4) {
  top: 18px;
  left: 78px;
  width: 7px;
  height: 7px;
  opacity: 0.4;
}

.bestsellers__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bestsellers__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.bestsellers__header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  color: var(--primary);
}

.bestsellers-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.bestsellers-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 0.35rem 1.75rem;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}

.bestsellers-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.bestsellers-scroller.is-dragging .bestseller-card {
  pointer-events: none;
}

.bestsellers-scroller::-webkit-scrollbar {
  display: none;
}

.bestsellers-list {
  display: flex;
  gap: 1.15rem;
  width: max-content;
}

.bestseller-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(180px, 18vw, 220px);
  aspect-ratio: 3 / 4.15;
  border-radius: 28px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 16px 36px rgba(0, 1, 25, 0.12);
  transform: rotate(-2.5deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.bestseller-card:nth-child(even) {
  transform: rotate(2.2deg);
}

.bestseller-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 22px 44px rgba(0, 1, 25, 0.16);
  z-index: 2;
}

.bestseller-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.bestseller-card:hover .bestseller-card__image {
  transform: scale(1.06);
}

.bestseller-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 1, 25, 0.78) 100%);
  pointer-events: none;
}

.bestseller-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.1rem 0.85rem 1.2rem;
  text-align: center;
  color: #fff;
}

.bestseller-card__name {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  opacity: 0.92;
}

.bestseller-card__price {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.1;
}

.bestsellers-nav {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(0, 1, 25, 0.1);
  box-shadow: 0 8px 20px rgba(0, 1, 25, 0.08);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease),
    opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.bestsellers-nav:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.bestsellers-nav:disabled,
.bestsellers-nav.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Features ---------- */

.features {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.feature-item:hover .feature-icon {
  border-color: var(--gold);
  color: var(--gold);
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 240px;
  margin-inline: auto;
}

/* ---------- Testimonials ---------- */

.testimonials {
  background: var(--bg-soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card strong {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.testimonial-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--primary);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
}

.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.final-cta-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(0, 1, 25, 0.92) 0%,
      rgba(0, 1, 25, 0.78) 55%,
      rgba(0, 1, 25, 0.88) 100%
    );
}

.final-cta-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.final-cta-content h2 {
  color: #fff;
  margin-bottom: 0.85rem;
}

.final-cta-content p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-brand p {
  max-width: 300px;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--gold-soft);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-col a,
.footer-col p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.mobile-app-nav {
  display: none;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }

/* ---------- Responsive ---------- */

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

  .gold-chip__text small {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 900px) {
  :root {
    --header-top-h: 68px;
    --header-nav-h: 0px;
  }

  .header-top__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    padding-block: 0;
  }

  .header-top__inner > .brand {
    min-width: 0;
  }

  .header-search {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
    justify-self: end;
    min-width: 0;
    gap: 0.35rem;
  }

  .header-nav {
    display: none;
  }

  .header-nav.is-open {
    display: block;
    height: auto;
    position: absolute;
    top: var(--header-top-h);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: calc(100vh - var(--header-top-h));
    overflow-y: auto;
    box-shadow: 0 16px 32px rgba(0, 1, 25, 0.14);
  }

  .nav {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav a {
    padding: 0.85rem 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-banner {
    padding: 0.85rem 0 1.15rem;
  }

  .hero-slide {
    border-radius: 20px;
  }

  .hero-slide.is-prev,
  .hero-slide.is-next {
    opacity: 0;
    visibility: hidden;
  }

  .category-item,
  .category-item__image {
    width: 136px;
  }

  .category-item__image {
    height: 136px;
    border-radius: 24px;
  }

  .category-list {
    gap: 20px;
  }

  .category-nav--prev {
    left: -4px;
  }

  .category-nav--next {
    right: -4px;
  }

  .products-header {
    align-items: flex-start;
  }

  .craftsmanship__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .craft-media {
    padding: 0 0.75rem 1rem 0;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .craft-media__frame {
    max-height: 440px;
    aspect-ratio: 5 / 4;
    border-radius: 4px 24px 4px 24px;
  }

  .craft-media__accent {
    inset: 1rem auto auto 1rem;
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    border-radius: 4px 24px 4px 24px;
  }

  .craft-media__mark {
    left: 1.35rem;
    bottom: 2.1rem;
  }

  .craft-content {
    max-width: none;
  }

  .craftsmanship__orb--one {
    width: 220px;
    height: 220px;
  }

  .craftsmanship__orb--two {
    width: 160px;
    height: 160px;
  }

  .bestsellers-carousel {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bestsellers-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
  }

  .bestsellers-nav--prev {
    left: 0;
  }

  .bestsellers-nav--next {
    right: 0;
  }

  .bestsellers-nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.05);
  }

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

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

@media (max-width: 760px) {
  .gold-chip {
    display: none;
  }

  .header-login span {
    display: none;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    background: #f8f6f2;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  :root {
    --header-top-h: 64px;
    --header-nav-h: 0px;
  }

  .brand-logo {
    height: 34px;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(0, 1, 25, 0.08);
    backdrop-filter: blur(14px);
  }

  .header-top {
    border-bottom: 0;
  }

  .header-top__inner {
    gap: 0.55rem;
  }

  .gold-chip {
    display: none;
  }

  .header-login span {
    display: none;
  }

  .header-actions .icon-btn:not(.icon-btn--bag):not(.icon-btn--fav) {
    display: none;
  }

  .header-login {
    display: none;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    display: block;
    width: 42px;
    height: 42px;
  }

  .mobile-app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 0.45rem 0.55rem calc(0.45rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 1, 25, 0.08);
    box-shadow: 0 -12px 30px rgba(0, 1, 25, 0.12);
    backdrop-filter: blur(14px);
  }

  .mobile-app-nav__item {
    display: flex;
    min-width: 0;
    min-height: 52px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    border-radius: 8px;
    color: #747682;
    font-size: 0.66rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
  }

  .mobile-app-nav__item i {
    font-size: 1.18rem;
    line-height: 1;
  }

  .mobile-app-nav__item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-app-nav__item.is-active {
    background: rgba(184, 149, 108, 0.12);
    color: var(--primary);
  }

  .mobile-app-nav__item:active {
    background: rgba(0, 1, 25, 0.07);
  }

  .mobile-app-nav__item.is-open {
    background: rgba(184, 149, 108, 0.12);
    color: var(--primary);
  }

  .page-product .pd-actions {
    position: sticky;
    bottom: calc(74px + env(safe-area-inset-bottom));
    z-index: 60;
    margin: 1rem -0.75rem 1.15rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 1, 25, 0.08);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 1, 25, 0.14);
    backdrop-filter: blur(14px);
  }

  .site-footer {
    padding-bottom: 4.25rem;
  }

  .hero-banner__stage {
    padding-inline: 0.65rem;
  }

  .hero-slide__copy {
    max-width: 100%;
    padding: 1.25rem;
  }

  .hero-slide__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero-banner__nav {
    width: 38px;
    height: 38px;
  }

  .hero-banner__nav--prev {
    left: 0.35rem;
  }

  .hero-banner__nav--next {
    right: 0.35rem;
  }

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

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .product-card__content {
    padding: 0.85rem 0.8rem 0.95rem;
  }

  .product-card__price-current {
    font-size: 0.92rem;
  }

  .product-card__title {
    font-size: 0.84rem;
    margin-bottom: 0.8rem;
  }

  .product-card__actions {
    gap: 0.45rem;
  }

  .product-card__add-btn {
    min-height: 40px;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.5rem;
  }

  .product-card__wishlist {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .product-card__prev,
  .product-card__next {
    opacity: 1;
    visibility: visible;
  }

  .product-card__stock {
    font-size: 0.65rem;
  }

  .category-item,
  .category-item__image {
    width: 118px;
  }

  .category-item__image {
    height: 118px;
    border-radius: 22px;
    margin-bottom: 0.75rem;
  }

  .category-item__name {
    font-size: 0.86rem;
  }

  .category-list {
    gap: 16px;
  }

  .category-nav {
    display: none;
  }

  .bestsellers__sparks {
    opacity: 0.55;
    transform: scale(0.85);
    transform-origin: left top;
  }

  .bestseller-card {
    width: 168px;
    border-radius: 22px;
  }

  .section {
    padding: 3.75rem 0;
  }

  .final-cta {
    min-height: 360px;
  }

  .craft-content {
    padding: 0;
  }

  .craft-media {
    padding: 0 0.5rem 0.85rem 0;
  }

  .craft-media__frame {
    max-height: 320px;
    border-radius: 4px 18px 4px 18px;
  }

  .craft-media__accent {
    border-radius: 4px 18px 4px 18px;
  }

  .craft-media__mark {
    left: 1.1rem;
    bottom: 1.75rem;
  }

  .craft-points li {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 0.95rem 0;
  }

  .craft-points__index {
    display: none;
  }

  .craft-points li:hover {
    padding-left: 0.25rem;
  }
}

@media (max-width: 420px) {
  .product-card__content {
    padding: 0.75rem 0.65rem 0.85rem;
  }

  .product-card__actions {
    gap: 0.4rem;
  }

  .product-card__add-btn {
    min-height: 38px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    padding: 0.45rem 0.55rem;
  }

  .product-card__add-btn-label--full {
    display: none;
  }

  .product-card__add-btn-label--short {
    display: inline;
  }

  .product-card__wishlist {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-slide,
  .hero-slide.is-active .hero-slide__copy > *,
  .category-item__image img,
  .product-card__image,
  .btn,
  .product-card,
  .category-item,
  .craftsmanship__orb {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Category Page ---------- */

.page-category main {
  margin-top: var(--header-h);
}

.category-hero {
  position: relative;
  min-height: clamp(260px, 38vw, 380px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--primary);
}

.category-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.category-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 1, 25, 0.35) 0%,
      rgba(0, 1, 25, 0.55) 45%,
      rgba(0, 1, 25, 0.88) 100%
    );
}

.category-hero__copy {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 2.4rem;
  color: #fff;
}

.category-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
}

.category-hero__text {
  max-width: 520px;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}

.category-hero__count {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.category-products {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 1, 25, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.category-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.category-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.category-shop {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.category-filters {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: #fff;
  border: 1px solid rgba(0, 1, 25, 0.07);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 1, 25, 0.04);
  max-height: calc(100vh - var(--header-h) - 2rem);
  max-height: calc(100dvh - var(--header-h) - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.category-filters__head,
.category-filters__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(0, 1, 25, 0.06);
  flex-shrink: 0;
}

.category-filters__foot {
  border-bottom: 0;
  border-top: 1px solid rgba(0, 1, 25, 0.06);
  flex-direction: row;
  justify-content: flex-start;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.category-filters__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--primary);
}

.category-filters__close {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(0, 1, 25, 0.04);
}

.category-filters form[data-filter-form] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.category-filters__body {
  padding: 0.85rem 1.1rem 1.1rem;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.filter-group {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 1, 25, 0.06);
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group h3 {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.filter-select,
.filter-price input {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(0, 1, 25, 0.12);
  border-radius: 10px;
  background: #fafaf9;
  color: var(--primary);
  outline: none;
}

.filter-select:focus,
.filter-price input:focus {
  border-color: rgba(184, 149, 108, 0.7);
  box-shadow: 0 0 0 3px rgba(184, 149, 108, 0.12);
  background: #fff;
}

.filter-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.filter-price label {
  display: grid;
  gap: 0.3rem;
}

.filter-price span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-range {
  width: 100%;
  accent-color: var(--gold);
}

.filter-hint {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.filter-options {
  display: grid;
  gap: 0.45rem;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--primary);
  cursor: pointer;
}

.filter-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.category-filters__reset {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  padding: 0;
}

.category-filters__reset:hover {
  color: var(--primary);
}

.category-filters-backdrop {
  display: none;
}

.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.category-filter-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(0, 1, 25, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 500;
}

.category-filter-toggle__count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  display: inline-grid;
  place-items: center;
}

.category-toolbar__count {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.category-empty {
  text-align: center;
  padding: 3rem 1rem 1rem;
}

.category-empty p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

body.filters-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .category-shop {
    grid-template-columns: 1fr;
  }

  .category-filter-toggle {
    display: inline-flex;
  }

  .category-filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(100%, 340px);
    max-height: 100vh;
    max-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    z-index: 1200;
    transform: translateX(-105%);
    transition: transform 0.3s var(--ease);
    box-shadow: 0 0 40px rgba(0, 1, 25, 0.18);
  }

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

  .category-filters__close {
    display: grid;
  }

  .category-filters-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(0, 1, 25, 0.45);
  }
}

@media (max-width: 767px) {
  .category-hero__copy {
    padding: 2.4rem 0 1.75rem;
  }

  .category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    margin-bottom: 1.6rem;
  }

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

  .category-pill {
    flex-shrink: 0;
  }

  .category-toolbar {
    flex-wrap: wrap;
  }

  .category-filters {
    width: min(100%, 100%);
  }
}

/* ---------- Product Detail Page ---------- */

.page-product main {
  margin-top: var(--header-h);
}

.product-missing {
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
}

.product-missing h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.product-missing p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pd-main {
  padding: 1.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(184, 149, 108, 0.08), transparent 55%),
    linear-gradient(180deg, #faf9f7 0%, #fff 45%);
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.pd-gallery {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.pd-gallery__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f1ed;
  border: 1px solid rgba(0, 1, 25, 0.05);
}

.pd-gallery__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.pd-gallery__viewport.is-dragging {
  cursor: grabbing;
}

.pd-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.pd-gallery__track.is-dragging {
  transition: none;
}

.pd-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.pd-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 1, 25, 0.12);
  transform: translateY(-50%);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.pd-gallery__nav:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.pd-gallery__nav:disabled {
  opacity: 0.38;
  cursor: default;
}

.pd-gallery__nav--prev {
  left: 0.85rem;
}

.pd-gallery__nav--next {
  right: 0.85rem;
}

.pd-gallery__offer {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 1, 25, 0.82);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.pd-gallery__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border: 1px solid rgba(0, 1, 25, 0.08);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.pd-gallery__zoom:hover {
  background: #fff;
  transform: scale(1.05);
}

.pd-gallery__thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.pd-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb:hover,
.pd-thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
}

.pd-info__sku {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.pd-info__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.pd-info__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.pd-info__price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
}

.pd-info__old {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pd-info__stock {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b4533a;
}

.pd-info__stock.is-available {
  color: #2f6b4f;
}

.pd-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.05rem;
}

.pd-quick-facts > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(184, 149, 108, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  font-size: 0.78rem;
  line-height: 1.2;
}

.pd-quick-facts i {
  color: var(--gold);
  font-size: 0.95rem;
}

.pd-info__desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.35rem;
  max-width: 36rem;
}

.pd-size {
  margin-bottom: 1.35rem;
}

.pd-size__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.pd-size__guide {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-size__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-option {
  min-width: 46px;
  min-height: 42px;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(0, 1, 25, 0.14);
  border-radius: 8px;
  background: #fff;
  font-size: 0.86rem;
  color: var(--primary);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.size-option:hover {
  border-color: var(--gold);
}

.size-option.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pd-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pd-actions__bag {
  flex: 1;
  min-height: 52px;
}

.pd-actions__bag.is-added {
  background: #2f6b4f;
}

.pd-actions__wish {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 1, 25, 0.14);
  border-radius: var(--radius-sm);
  color: var(--primary);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.pd-actions__wish:hover,
.pd-actions__wish.is-active {
  border-color: #b4533a;
  color: #b4533a;
  background: rgba(180, 83, 58, 0.06);
}

.pd-buy-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: -0.45rem 0 1.35rem;
}

.pd-buy-help a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 1, 25, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.pd-buy-help a:hover {
  border-color: rgba(184, 149, 108, 0.55);
  color: var(--gold);
  transform: translateY(-1px);
}

.pd-promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 1.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pd-promises li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pd-promises i {
  color: var(--gold);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.pd-style-note {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.6rem;
  padding: 1rem;
  border: 1px solid rgba(184, 149, 108, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(249, 245, 239, 0.82));
}

.pd-style-note__label {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.pd-style-note strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.35;
}

.pd-style-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pd-specs {
  margin-bottom: 1.25rem;
}

.pd-specs h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
  color: var(--primary);
}

.pd-specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
}

.pd-specs__grid > div {
  padding: 0.75rem 0.85rem;
  background: rgba(0, 1, 25, 0.025);
  border-radius: 8px;
}

.pd-specs__grid dt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.pd-specs__grid dd {
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}

.pd-accordion {
  border-bottom: 1px solid var(--border);
}

.pd-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pd-accordion summary::-webkit-details-marker {
  display: none;
}

.pd-accordion summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--gold);
}

.pd-accordion[open] summary::after {
  content: "–";
}

.pd-accordion p {
  padding: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.pd-related {
  background: var(--bg-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.pd-related-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -0.85rem 0 1.65rem;
}

.pd-related-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 1, 25, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pd-related-tabs a:hover,
.pd-related-tabs a.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.product-card__title-link {
  color: inherit;
}

.product-card__title-link:hover {
  color: var(--gold);
}

.product-card {
  cursor: pointer;
}

.size-guide-modal {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

.size-guide-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.size-guide-modal__head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}

.size-guide-modal__body {
  padding: 1.25rem;
}

.size-guide-modal__body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.size-guide-modal__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.size-guide-modal__body th,
.size-guide-modal__body td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.size-guide-modal__body th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.size-guide-modal__note {
  margin-bottom: 0 !important;
  font-size: 0.84rem !important;
}

@media (max-width: 991px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    position: static;
  }
}

@media (max-width: 767px) {
  .pd-promises {
    grid-template-columns: 1fr;
  }

  .pd-buy-help,
  .pd-style-note {
    grid-template-columns: 1fr;
  }

  .pd-quick-facts > span,
  .pd-buy-help a {
    width: 100%;
    justify-content: flex-start;
  }

  .pd-specs__grid {
    grid-template-columns: 1fr;
  }

  .pd-actions__bag {
    font-size: 0.75rem;
  }
}

/* ---------- Cart Page ---------- */

.page-cart main {
  margin-top: var(--header-h);
  background: linear-gradient(180deg, #fbfaf8 0%, #fff 28%);
}

.cart-hero {
  padding: clamp(2.4rem, 5vw, 3.5rem) 0 1.2rem;
}

.cart-hero__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.cart-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.cart-hero p {
  color: var(--text-muted);
  max-width: 44rem;
  margin: 0;
}

.cart-hero__count {
  flex-shrink: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.cart-section {
  padding: 0 0 2rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  gap: 1.5rem;
  align-items: start;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 1, 25, 0.06);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 1, 25, 0.04);
}

.cart-item__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f1ed;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cart-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cart-item__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cart-item__category {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.cart-item h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

.cart-item h3 a {
  color: var(--primary);
}

.cart-item h3 a:hover {
  color: var(--gold);
}

.cart-item__remove {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(0, 1, 25, 0.04);
  flex-shrink: 0;
}

.cart-item__remove:hover {
  color: #b4533a;
  background: rgba(180, 83, 58, 0.08);
}

.cart-item__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-item__meta span {
  margin-inline: 0.25rem;
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid rgba(0, 1, 25, 0.1);
  border-radius: 999px;
}

.cart-item__qty button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 1, 25, 0.04);
  color: var(--primary);
}

.cart-item__qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 500;
  color: var(--primary);
}

.cart-item__prices {
  text-align: right;
}

.cart-item__prices strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.cart-item__prices span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.cart-summary__card,
.cart-empty__card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 1, 25, 0.06);
  box-shadow: 0 16px 34px rgba(0, 1, 25, 0.05);
}

.cart-summary__card {
  padding: 1.35rem;
}

.cart-summary__card h2,
.cart-empty__card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 1, 25, 0.08);
}

.cart-summary__row strong {
  color: var(--primary);
}

.cart-summary__row--total {
  font-size: 1.02rem;
}

.cart-summary__note {
  margin: 1rem 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.cart-summary__checkout {
  width: 100%;
}

.cart-summary__continue {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.cart-empty {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cart-layout:has([data-cart-empty]:not([hidden])) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.cart-layout:has([data-cart-empty]:not([hidden])) .cart-main {
  width: 100%;
  max-width: 520px;
}

.cart-empty__card {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  padding: 2.2rem 1.3rem;
}

.cart-empty__card i {
  font-size: 2rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.cart-empty__card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cart-suggestions {
  background: var(--bg-soft);
}

@media (max-width: 991px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 767px) {
  .cart-hero__head,
  .cart-item,
  .cart-item__bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cart-hero__head {
    align-items: start;
  }

  .cart-item {
    gap: 0.9rem;
  }

  .cart-item__media {
    max-width: 180px;
  }

  .cart-item__bottom {
    gap: 0.8rem;
  }

  .cart-item__prices {
    text-align: left;
  }
}

/* ---------- Favorites Page ---------- */

.page-favorites main {
  margin-top: var(--header-h);
  background: linear-gradient(180deg, #fbfaf8 0%, #fff 30%);
}

.favorites-hero {
  padding: clamp(2.4rem, 5vw, 3.5rem) 0 1rem;
}

.favorites-hero__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.favorites-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.favorites-hero p {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0;
}

.favorites-hero__count {
  flex-shrink: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.favorites-section {
  padding-top: 1.5rem;
}

.favorites-empty__card {
  text-align: center;
  max-width: 420px;
  margin: 1rem auto 0;
  padding: 2.4rem 1.4rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 1, 25, 0.06);
  box-shadow: 0 16px 34px rgba(0, 1, 25, 0.05);
}

.favorites-empty__card i {
  font-size: 2rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.favorites-empty__card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.favorites-empty__card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.favorites-suggestions {
  padding-top: 0.5rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.icon-btn--fav .icon-btn__badge[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .favorites-hero__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Checkout / Place Order ---------- */

.page-checkout main {
  margin-top: var(--header-h);
  background: linear-gradient(180deg, #fbfaf8 0%, #fff 28%);
}

.checkout-hero {
  padding: clamp(2rem, 4vw, 3rem) 0 1rem;
}

.checkout-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 500;
  color: var(--primary);
  margin: 0.35rem 0 0.55rem;
}

.checkout-hero p {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0;
}

.checkout-section {
  padding: 1rem 0 3.5rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 1.15rem;
}

.checkout-card,
.checkout-summary__card,
.checkout-empty__card,
.checkout-success__card {
  background: #fff;
  border: 1px solid rgba(0, 1, 25, 0.06);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 1, 25, 0.04);
}

.checkout-card {
  padding: 1.35rem;
}

.checkout-card__head {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.checkout-step {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.checkout-card__head h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.2rem;
}

.checkout-card__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}

.checkout-field {
  display: grid;
  gap: 0.4rem;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-field span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(0, 1, 25, 0.12);
  border-radius: 10px;
  background: #fafaf9;
  color: var(--primary);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.checkout-field textarea {
  min-height: 96px;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  background: #fff;
  border-color: rgba(184, 149, 108, 0.7);
  box-shadow: 0 0 0 3px rgba(184, 149, 108, 0.14);
}

.checkout-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary);
  font-size: 0.92rem;
}

.checkout-same-bill {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(184, 149, 108, 0.08);
  border: 1px solid rgba(184, 149, 108, 0.22);
}

[data-delivery-fields].is-locked input:not([name="note"]):not([name="giftWrap"]),
[data-delivery-fields].is-locked select {
  opacity: 0.72;
  cursor: not-allowed;
  background: #f3f2f0;
}

.checkout-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.payment-options {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.payment-option {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 1, 25, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.payment-option input {
  margin: 0;
  accent-color: var(--primary);
}

.payment-option__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(184, 149, 108, 0.12);
  color: var(--gold);
  font-size: 1.1rem;
}

.payment-option__copy {
  display: grid;
  gap: 0.15rem;
}

.payment-option__copy strong {
  color: var(--primary);
  font-weight: 500;
}

.payment-option__copy small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.payment-option:hover,
.payment-option.is-active {
  border-color: rgba(184, 149, 108, 0.65);
  background: rgba(184, 149, 108, 0.06);
  box-shadow: 0 8px 20px rgba(0, 1, 25, 0.04);
}

.payment-panel__note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.checkout-form__error {
  margin: 0;
  color: #b4533a;
  font-size: 0.9rem;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.checkout-summary__card {
  padding: 1.35rem;
}

.checkout-summary__card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

.checkout-summary__items {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 1, 25, 0.08);
}

.checkout-line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.checkout-line img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f1ed;
}

.checkout-line h3 {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--primary);
}

.checkout-line p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-line strong {
  font-size: 0.9rem;
  color: var(--primary);
  white-space: nowrap;
}

.checkout-coupon {
  margin: 0.85rem 0 0.35rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(0, 1, 25, 0.08);
  border-bottom: 1px solid rgba(0, 1, 25, 0.08);
}

.checkout-coupon__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.checkout-coupon__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.checkout-coupon__input {
  width: 100%;
  border: 1px solid rgba(0, 1, 25, 0.12);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  background: #fff;
  color: var(--primary);
}

.checkout-coupon__input:focus {
  outline: none;
  border-color: rgba(0, 1, 25, 0.35);
}

.checkout-coupon__btn {
  white-space: nowrap;
  padding-inline: 1rem;
}

.checkout-coupon__applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.checkout-coupon__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.08);
  color: #2d6a4f;
  font-size: 0.86rem;
  font-weight: 600;
}

.checkout-coupon__remove {
  border: 0;
  background: transparent;
  color: #b4533a;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.checkout-coupon__remove:hover {
  text-decoration: underline;
}

.checkout-coupon__message {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: #2d6a4f;
}

.checkout-coupon__message.is-error {
  color: #b4533a;
}

.cart-summary__row--discount strong {
  color: #2d6a4f;
}

.cart-summary__row--discount small {
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-assurances {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.15rem;
}

.checkout-assurances li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.checkout-assurances i {
  color: var(--gold);
}

.checkout-place-btn {
  width: 100%;
}

.checkout-empty,
.checkout-success {
  padding: 2rem 0 4rem;
}

.checkout-empty__card,
.checkout-success__card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2.4rem 1.5rem;
}

.checkout-empty__card i,
.checkout-success__card i {
  font-size: 2.4rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.checkout-empty__card h2,
.checkout-success__card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.checkout-empty__card p,
.checkout-success__card p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.checkout-success__id {
  font-size: 0.95rem !important;
  color: var(--primary) !important;
}

.checkout-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.checkout-success__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(0, 1, 25, 0.14);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-success__link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

a.cart-summary__checkout {
  text-align: center;
  text-decoration: none;
}

/* ---------- Order Success Page ---------- */

.page-order-success main {
  margin-top: var(--header-h);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(184, 149, 108, 0.12), transparent 60%),
    linear-gradient(180deg, #fbfaf8 0%, #fff 40%);
}

.order-success {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.order-success__card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.6rem);
  background: #fff;
  border: 1px solid rgba(0, 1, 25, 0.06);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 1, 25, 0.06);
  text-align: center;
}

.order-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #efe2cf 0%, #d4bc9a 100%);
  color: var(--primary);
  font-size: 2rem;
  animation: orderSuccessPop 0.55s var(--ease) both;
}

.order-success__card h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary);
  margin: 0 0 0.65rem;
}

.order-success__lead {
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.order-success__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.order-success__meta > div {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(0, 1, 25, 0.03);
}

.order-success__meta span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.order-success__meta strong {
  color: var(--primary);
  font-size: 0.98rem;
  word-break: break-word;
}

.order-success__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-bottom: 1.4rem;
}

.order-success__block--full {
  grid-column: 1 / -1;
}

.order-success__block {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 1, 25, 0.07);
  background: #fafaf9;
}

.order-success__block h2,
.order-success__items-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.7rem;
}

.order-success__block p {
  margin: 0;
  display: grid;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.order-success__block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.order-success__block li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.order-success__block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.order-success__items-wrap {
  text-align: left;
  margin-bottom: 1.5rem;
}

.order-success__items {
  display: grid;
  gap: 0.7rem;
}

.order-success__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 1, 25, 0.07);
}

.order-success__item-media {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f1ed;
  flex-shrink: 0;
}

.order-success__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-success__item-copy {
  min-width: 0;
}

.order-success__item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  color: var(--primary);
}

.order-success__item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-success__item strong {
  white-space: nowrap;
  color: var(--primary);
}

.order-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.order-success__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(0, 1, 25, 0.14);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.order-success__link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.order-success__empty .order-success__card {
  max-width: 520px;
}

@keyframes orderSuccessPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .order-success__meta,
  .order-success__grid {
    grid-template-columns: 1fr;
  }

  .order-success__item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .order-success__item strong {
    grid-column: 2;
  }

  .order-success__item-media {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 991px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

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

  .checkout-line {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .checkout-line strong {
    grid-column: 2;
  }
}

/* ---------- Login / OTP ---------- */

.page-login {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(184, 149, 108, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfaf8 0%, #fff 42%);
}

.page-login .auth-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 1, 25, 0.05);
  backdrop-filter: blur(12px);
}

.auth-bar__back {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.auth-bar__back:hover {
  color: var(--gold);
}

.auth-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 2rem 1.25rem 3rem;
}

.auth-panel {
  width: min(100%, 420px);
}

.auth-panel .eyebrow {
  margin-bottom: 0.7rem;
}

.auth-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--primary);
  margin: 0 0 0.65rem;
}

.auth-panel__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.auth-form {
  display: grid;
  gap: 0.95rem;
}

.auth-field {
  display: grid;
  gap: 0.45rem;
}

.auth-field span {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-phone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(0, 1, 25, 0.12);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.auth-phone:focus-within {
  border-color: rgba(184, 149, 108, 0.7);
  box-shadow: 0 0 0 3px rgba(184, 149, 108, 0.14);
}

.auth-phone__code {
  padding: 0 0.95rem;
  border-right: 1px solid rgba(0, 1, 25, 0.08);
  color: var(--primary);
  font-weight: 500;
}

.auth-phone input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.95rem;
  border: 0;
  background: transparent;
  color: var(--primary);
  outline: none;
  letter-spacing: 0.08em;
}

.auth-form__submit {
  width: 100%;
}

.auth-error {
  margin: 0;
  color: #b4533a;
  font-size: 0.86rem;
}

.auth-otp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.auth-otp input {
  width: 100%;
  aspect-ratio: 1;
  max-height: 56px;
  border: 1px solid rgba(0, 1, 25, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  text-align: center;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.auth-otp input:focus {
  border-color: rgba(184, 149, 108, 0.75);
  box-shadow: 0 0 0 3px rgba(184, 149, 108, 0.14);
}

.auth-change,
.auth-signout,
.auth-resend__btn {
  padding: 0;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 500;
}

.auth-change {
  display: inline-flex;
  margin: -0.7rem 0 1.35rem;
}

.auth-resend {
  margin: 1.1rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-resend__btn:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.auth-demo {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(184, 149, 108, 0.1);
  color: var(--primary);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.auth-signout {
  display: block;
  margin: 1rem auto 0;
}

@media (max-width: 640px) {
  .page-login {
    padding-bottom: 0;
    background: linear-gradient(180deg, #fbfaf8 0%, #fff 40%);
  }

  .page-login .auth-bar {
    padding: 0 1.15rem;
  }

  .auth-otp {
    gap: 0.35rem;
  }

  .auth-otp input {
    font-size: 1.25rem;
  }
}

/* ---------- Mobile category sheet ---------- */

.cat-sheet {
  position: fixed;
  inset: 0;
  z-index: 1050;
  visibility: hidden;
  pointer-events: none;
}

.cat-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cat-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 1, 25, 0.46);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.cat-sheet.is-open .cat-sheet__backdrop {
  opacity: 1;
}

.cat-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(82vh, 680px);
  padding: 1.1rem 1.15rem calc(88px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 40px rgba(0, 1, 25, 0.14);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.cat-sheet.is-open .cat-sheet__panel {
  transform: translateY(0);
}

.cat-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.cat-sheet__head .eyebrow {
  margin-bottom: 0.35rem;
}

.cat-sheet__head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

.cat-sheet__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f3f0;
  color: var(--primary);
}

.cat-sheet__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.cat-sheet__item {
  display: grid;
  gap: 0.5rem;
  color: var(--primary);
}

.cat-sheet__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: #f3efe8;
}

.cat-sheet__item span {
  font-size: 0.88rem;
  font-weight: 500;
}

body.cat-sheet-open {
  overflow: hidden;
}

@media (min-width: 641px) {
  .cat-sheet {
    display: none;
  }
}

/* ---------- Profile ---------- */

.page-profile main,
.page-profile-order main {
  margin-top: var(--header-h);
  background: linear-gradient(180deg, #fbfaf8 0%, #fff 32%);
}

.icon-btn--profile {
  color: var(--primary);
}

.icon-btn--profile:hover,
.icon-btn--profile:focus-visible {
  background: var(--bg-soft);
  color: var(--primary);
}

.profile-hero {
  padding: clamp(2.2rem, 5vw, 3.4rem) 0 1rem;
}

.profile-hero--compact {
  padding-bottom: 0.35rem;
}

.profile-hero__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.profile-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.profile-hero p {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.profile-back:hover {
  color: var(--primary);
}

.profile-section {
  padding: 1.25rem 0 clamp(3rem, 6vw, 4.5rem);
}

.card-surface {
  background: #fff;
  border: 1px solid rgba(0, 1, 25, 0.06);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 1, 25, 0.04);
}

.profile-alert {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.profile-alert--success {
  background: rgba(46, 125, 50, 0.08);
  color: #1b5e20;
}

.profile-alert--error {
  background: rgba(198, 40, 40, 0.08);
  color: #b71c1c;
}

.profile-top {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1.25rem;
}

.profile-top__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.profile-top__identity--panel {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 1, 25, 0.06);
}

.profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  flex-shrink: 0;
}

.profile-top__identity h2,
.profile-top__identity h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.2rem;
}

.profile-top__identity h3 {
  font-size: 1.45rem;
}

.profile-top__identity p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.profile-form-grid__full {
  grid-column: 1 / -1;
}

.profile-field-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.profile-top__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.profile-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.profile-tabs {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.profile-tab {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.profile-tab i {
  font-size: 1.05rem;
  color: var(--gold);
}

.profile-tab:hover {
  background: var(--bg-soft);
}

.profile-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.profile-tab.is-active i {
  color: var(--gold-soft);
}

.profile-panel {
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.profile-panel:not(.is-active) {
  display: none;
}

.profile-panel__head {
  margin-bottom: 1.25rem;
}

.profile-panel__head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.3rem;
}

.profile-panel__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.profile-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.1rem;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.profile-check input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.profile-panel__actions {
  margin-top: 1.35rem;
}

.profile-empty {
  text-align: center;
  padding: 2rem 1rem 1.25rem;
}

.profile-empty i {
  font-size: 2rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.profile-empty h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.45rem;
}

.profile-empty p {
  color: var(--text-muted);
  margin: 0 0 1.15rem;
}

.profile-orders-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.profile-orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.profile-orders-table th,
.profile-orders-table td {
  padding: 0.9rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 1, 25, 0.06);
  vertical-align: middle;
  font-size: 0.9rem;
}

.profile-orders-table th {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.profile-orders-table tbody tr:hover {
  background: rgba(0, 1, 25, 0.015);
}

.profile-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 1, 25, 0.06);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: capitalize;
}

.profile-status--placed,
.profile-status--confirmed {
  background: rgba(184, 149, 108, 0.16);
  color: #8a6840;
}

.profile-status--shipped {
  background: rgba(25, 118, 210, 0.12);
  color: #1565c0;
}

.profile-status--delivered {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
}

.profile-status--cancelled {
  background: rgba(198, 40, 40, 0.1);
  color: #c62828;
}

.profile-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 1, 25, 0.16);
  background: #fff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.profile-view-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.profile-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 1.15rem;
  align-items: start;
}

.profile-order-card {
  padding: 1.25rem 1.3rem;
  margin-bottom: 1.15rem;
}

.profile-order-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.85rem;
  color: var(--primary);
}

.profile-order-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

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

.profile-order-meta span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.profile-order-meta strong {
  color: var(--primary);
  font-size: 0.98rem;
}

.profile-order-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.profile-order-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 1, 25, 0.06);
}

.profile-order-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-order-item__media {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f1ec;
}

.profile-order-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-order-item__copy h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: var(--primary);
}

.profile-order-item__copy p {
  margin: 0;
  font-size: 0.82rem;
}

.profile-order-item__price {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.profile-order-summary {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.profile-order-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.profile-order-summary__total {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(0, 1, 25, 0.08);
  font-size: 1rem;
}

.profile-order-note {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 1, 25, 0.06);
}

.profile-order-note span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

@media (max-width: 991px) {
  .profile-workspace,
  .profile-order-layout {
    grid-template-columns: 1fr;
  }

  .profile-tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .profile-tab {
    flex: 1 0 auto;
    justify-content: center;
  }

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

@media (max-width: 767px) {
  .profile-hero__head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .profile-orders-table {
    min-width: 0;
  }

  .profile-orders-table thead {
    display: none;
  }

  .profile-orders-table,
  .profile-orders-table tbody,
  .profile-orders-table tr,
  .profile-orders-table td {
    display: block;
    width: 100%;
  }

  .profile-orders-table tr {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0, 1, 25, 0.08);
  }

  .profile-orders-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 0;
    text-align: right;
  }

  .profile-orders-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
  }

  .profile-order-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .profile-order-item__price {
    grid-column: 2;
  }
}
