/* css/main.css */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --color-ink: #1c1917;
  --color-accent: #b45309;
  --color-soft: #f5f2eb;
  --page-bg: #f5f2eb;
  --color-muted: #78716c;
  --color-line: rgba(28, 25, 23, 0.1);
  --color-white: #fffcf8;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--page-bg, var(--color-soft));
  min-height: 100vh;
  line-height: 1.5;
}

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

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Announcement */
.announcement {
  background: var(--color-ink);
  color: var(--color-white);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.announcement a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement[hidden] {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 242, 0.88);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
}

.site-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  gap: 1.15rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: end;
}

.icon-btn {
  border: 1px solid var(--color-line);
  background: rgba(255, 252, 248, 0.7);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 83, 9, 0.35);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-accent);
  color: white;
  font-size: 0.6875rem;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-track {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-track .hero-media {
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-track .hero-media.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
}

.hero-controls > * {
  pointer-events: auto;
}

.hero-nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 16, 14, 0.35);
  color: #fff;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.hero-nav:hover {
  background: rgba(20, 16, 14, 0.55);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #fff;
  width: 1.35rem;
}

.hero-content.hero-content--swap {
  animation: riseIn 0.55s ease both;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-content {
  padding: 4.5rem 0 3.5rem;
  color: var(--color-white);
  max-width: 34rem;
  animation: riseIn 0.9s ease both;
}

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

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 0.95;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0 0 1.5rem;
  opacity: 1;
  font-size: 1.02rem;
  max-width: 28rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-ink);
}

.btn-primary:hover {
  background: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: white;
}

.btn-ghost {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

/* Trust */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: grid;
  place-items: center;
  background: rgba(255, 252, 248, 0.65);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.88rem;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
}

.section-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

/* Collection header — Nipura-style centered + carousel arrows */
.collection-head {
  position: relative;
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 0 4.5rem;
}

.collection-head h2 {
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
  color: var(--color-ink);
}

.collection-head p {
  margin: 0.55rem 0 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.shop-all-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--color-ink);
  padding-bottom: 0.12rem;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}

.shop-all-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.carousel-nav {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.carousel-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0.25rem;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-ink);
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
}

.carousel-btn:hover:not(:disabled) {
  color: var(--color-accent);
}

.carousel-btn.is-disabled,
.carousel-btn:disabled {
  color: #c4c0ba;
  cursor: default;
  opacity: 0.85;
}

.product-carousel {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-carousel .product-card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  max-width: 280px;
}

/* Price tiles */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 160px;
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.price-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(28, 25, 23, 0.72));
  z-index: -1;
}

.price-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: cardIn 0.55s ease both;
}

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

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

.product-media {
  position: relative;
  aspect-ratio: 1;
  background: #ffffff;
  overflow: hidden;
}

/* The whole photo, never cropped: a card's frame is CSS, not the shot. */
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

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

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--color-ink);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.badge.soldout {
  background: #991b1b;
}

.product-body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

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

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.price {
  font-weight: 700;
  font-size: 1.02rem;
}

.compare {
  color: var(--color-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}

.add-btn {
  margin-top: 0.65rem;
  width: 100%;
  border: 1px solid var(--color-ink);
  background: var(--color-ink);
  color: white;
  border-radius: 999px;
  padding: 0.65rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
}

.add-btn:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Testimonials */
.testimonials {
  background: rgba(28, 25, 23, 0.03);
  border-block: 1px solid var(--color-line);
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.testimonial-card {
  background: rgba(255, 252, 248, 0.8);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.testimonial-card p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
}

.testimonial-card strong {
  display: block;
  font-size: 0.88rem;
}

.testimonial-card small {
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 252, 248, 0.88);
  padding: 3rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.site-footer h4 {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.site-footer a:hover {
  color: white;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.newsletter {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.newsletter input {
  flex: 1;
  border: 1px solid rgba(255, 252, 248, 0.2);
  background: rgba(255, 252, 248, 0.06);
  color: white;
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.newsletter input::placeholder {
  color: rgba(255, 252, 248, 0.5);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 252, 248, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 80;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--color-white);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

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

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--color-line);
}

.drawer-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  color: var(--color-muted);
  text-align: center;
  padding: 2rem 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-line);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #ebe6dc;
}

.cart-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
}

.cart-option {
  font-size: 0.76rem;
  color: var(--color-muted);
  margin: 0 0 0.2rem;
}

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.qty-row button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: white;
  cursor: pointer;
}

.drawer-foot {
  padding: 1rem 1.25rem 1.4rem;
  border-top: 1px solid var(--color-line);
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Product modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  width: min(100%, 920px);
  height: min(90vh, 640px);
  max-height: min(90vh, 640px);
  overflow: hidden;
  background: var(--color-white);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-media {
  display: flex;
  flex-direction: column;
  background: #f3f0ea;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
}

.gallery-main {
  flex: 1;
  min-height: 0;
  position: relative;
  display: block;
  background: #ebe6de;
}

.gallery-main img,
.gallery-main video,
.gallery-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border: 0;
  display: block;
}

.gallery-main video,
.gallery-main iframe {
  background: #111;
}

.gallery-thumbs {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem;
  overflow-x: auto;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
}

.gallery-thumb.active {
  border-color: var(--color-accent, #b45309);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 0;
}

.gallery-thumb-video {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #1c1917;
  color: #fff;
  font-size: 0.85rem;
}

.modal-media > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.modal-info {
  padding: 1.75rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: #fffcf7;
  cursor: pointer;
}

.modal-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.modal-info .modal-actions {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
  padding-top: 1rem;
}

.modal-info .modal-actions .btn {
  width: 100%;
  border-radius: 999px;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

/* Quick View (Nipura-style) */
body.qv-open {
  overflow: hidden;
}

.qv-panel {
  max-width: 960px;
}

.qv-media {
  cursor: default;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.qv-gallery-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.qv-gallery-main {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #ffffff;
  cursor: zoom-in;
  touch-action: pan-y;
  user-select: none;
}

.qv-gallery-main.is-zoomed {
  cursor: grab;
  touch-action: none;
}

.qv-gallery-main img,
.qv-gallery-main video,
.qv-gallery-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  display: block;
  transition: transform 0.2s ease;
  background: #ffffff;
}

.qv-gallery-main video,
.qv-gallery-main iframe {
  object-fit: cover;
  background: #111;
  cursor: default;
}

.qv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.94);
  color: var(--color-ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
}

.qv-nav-prev { left: 0.55rem; }
.qv-nav-next { right: 0.55rem; }

.qv-gallery-count {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 252, 247, 0.92);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.qv-zoom-controls {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 3;
  display: inline-flex;
  gap: 0.15rem;
  background: rgba(255, 252, 247, 0.94);
  border-radius: 999px;
  padding: 0.15rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.qv-zoom-controls button {
  min-width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0.35rem;
}

.qv-thumbs {
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem;
  overflow-x: auto;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.qv-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
}

.qv-thumb.active {
  border-color: var(--color-accent, #b45309);
}

.qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qv-thumb-video {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #1c1917;
  color: #fff;
  font-size: 0.8rem;
}

.qv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qv-info {
  cursor: default;
  gap: 0.35rem;
}

.qv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.qv-badges-inline {
  margin: 0 0 0 0.35rem;
}

.qv-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  line-height: 1.2;
}

.qv-badge-save {
  background: #c41e3a;
  color: #fff;
  border-radius: 2px;
}

.qv-badge-offer {
  background: #7a1f2b;
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  padding-right: 0.85rem;
}

.qv-info h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0 0 0.35rem;
}

.qv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.qv-price-block {
  margin-bottom: 0.65rem;
}

.qv-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.qv-compare {
  text-decoration: line-through;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.qv-price {
  color: #c41e3a;
  font-size: 1.45rem;
  font-weight: 700;
}

.qv-off {
  color: #c41e3a;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.qv-unit-hint {
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.qv-details-link {
  display: inline-block;
  margin: 0.35rem 0 1rem;
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qv-details-link:hover {
  color: var(--color-accent);
}

.qv-option-block {
  margin: 0 0 1rem;
}

.qv-option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.qv-option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.qv-option-btn {
  border: 1px solid rgba(26, 22, 20, 0.18);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: inherit;
}

.qv-option-btn:hover {
  border-color: rgba(26, 22, 20, 0.4);
}

.qv-option-btn.active {
  background: var(--color-ink, #1c1917);
  border-color: var(--color-ink, #1c1917);
  color: #fff;
}

.qv-qty-row {
  margin-bottom: 0.85rem;
}

.qv-qty-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.qv-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qv-qty button {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-ink);
}

.qv-qty button:hover {
  background: rgba(0, 0, 0, 0.04);
}

.qv-qty input {
  width: 2.75rem;
  height: 2.25rem;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  -moz-appearance: textfield;
}

.qv-qty input::-webkit-outer-spin-button,
.qv-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qv-info .modal-actions {
  margin-top: 0.5rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(250, 247, 242, 0.98);
  padding: 5rem 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  display: block;
}

.mobile-nav nav {
  display: grid;
  gap: 1rem;
}

.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-ink);
  color: white;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 120;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.chat-bubble {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.35);
  animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.shop-toolbar select,
.shop-toolbar input {
  border: 1px solid var(--color-line);
  background: rgba(255, 252, 248, 0.8);
  border-radius: 999px;
  padding: 0.65rem 1rem;
}

.shop-toolbar input {
  min-width: min(100%, 240px);
}

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: center; }
  .trust-bar,
  .price-grid,
  .product-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-panel {
    grid-template-columns: 1fr;
    height: min(92vh, 720px);
    max-height: min(92vh, 720px);
  }

  .modal-media {
    min-height: 280px;
    max-height: 48%;
  }
  .collection-head {
    padding: 0 3.5rem;
  }
}

@media (max-width: 640px) {
  .trust-bar,
  .price-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  /* Product grids keep the phone at two across, like the category pages. */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.625rem;
  }
  .hero {
    min-height: 72vh;
  }
  .collection-head {
    padding: 0 0 2.5rem;
  }
  .carousel-nav {
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
  }
}

/* Nipura-style extras */
.save-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.25rem;
}

.price-row {
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.header-wish {
  position: relative;
}

.wish-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--color-accent, #b45309);
  color: #fff;
  font-size: 0.6875rem;
  line-height: 1rem;
  text-align: center;
}

.site-search-bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-search-form input[type='search'] {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font: inherit;
}

.popular-search {
  padding: 2rem 0 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #faf8f5;
}

.popular-search-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.popular-search-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem 2rem;
}

.popular-search-col h4 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
}

.popular-search-col p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.84rem;
  color: var(--color-muted, #6b7280);
}

.popular-search-col a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.popular-sep {
  opacity: 0.5;
}

@media (max-width: 720px) {
  .popular-search-grid {
    grid-template-columns: 1fr;
  }
}

/* css/home.css */
/**
 * Homepage elegance — readable type, clear alignment, calm jewellery look
 */

body.home {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--color-ink, #2a2622);
  background: var(--page-bg, var(--color-soft, #f5f0e8));
}

body.home .container {
  width: min(100% - 2.75rem, 1120px);
}

/* —— Header —— */
body.home .site-header {
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(16px);
}

body.home .nav-desktop a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.home .site-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* —— Hero: full-bleed photo, one action sits bottom-left —— */
body.home .hero {
  min-height: min(86vh, 720px);
  align-items: end;
}

body.home .hero-content {
  max-width: none;
  padding: 0 0 clamp(2rem, 5vw, 3rem);
  display: flex;
  justify-content: flex-start;
  text-align: left;
}

body.home .hero .btn-primary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  background: #fff;
  color: #1a1614;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

body.home .hero .btn-primary:hover {
  transform: translateY(-2px);
}

body.home .hero-controls {
  bottom: 1.5rem;
  justify-content: flex-end;
  padding-inline: max(1rem, calc((100% - var(--max)) / 2));
}

body.home .hero-controls[hidden] {
  display: none;
}

/* —— Trust strip: one slim lit shelf —— */
body.home .trust-bar {
  --trust-line: color-mix(in srgb, var(--color-accent, #904913) 12%, transparent);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 1.6rem 0 0.4rem;
  border: 1px solid color-mix(in srgb, var(--color-accent, #904913) 18%, rgba(26, 22, 20, 0.1));
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefc 0%, #faf4e9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 1px 2px rgba(26, 22, 20, 0.05),
    0 24px 50px -40px rgba(26, 22, 20, 0.65);
  overflow: hidden;
}

/* Fine gold foil along the top edge */
body.home .trust-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  z-index: 3;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--pmj-gold, #e6c893) 90%, transparent), transparent);
}

/* One-time light sweep across the shelf as the page settles */
body.home .trust-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.7) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: trustSheen 1.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s 1 both;
}

@keyframes trustSheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

body.home .trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.8rem 1.05rem;
  transition: background 260ms ease;
}

body.home .trust-item + .trust-item {
  border-inline-start: 1px solid var(--trust-line);
}

body.home .trust-item::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent, #904913), transparent);
  opacity: 0;
  transform: scaleX(0.2);
  transition: transform 420ms var(--pmj-ease-out, cubic-bezier(0.16, 1, 0.3, 1)), opacity 260ms ease;
}

body.home .trust-item:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 252, 246, 0.5));
}

body.home .trust-item:hover::before {
  opacity: 0.85;
  transform: scaleX(1);
}

body.home .trust-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--color-accent, #904913);
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #fdf7ee 58%, #f2e4d0 100%);
  border: 1px solid color-mix(in srgb, var(--color-accent, #904913) 24%, transparent);
  box-shadow:
    0 0 0 3px rgba(255, 253, 250, 0.9),
    0 6px 14px -8px rgba(26, 22, 20, 0.5);
  transition: transform 420ms var(--pmj-ease-out, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow 420ms ease;
}

body.home .trust-item:hover .trust-icon {
  transform: translateY(-1px) scale(1.07);
  box-shadow:
    0 0 0 3px rgba(240, 217, 168, 0.35),
    0 10px 20px -10px rgba(144, 73, 19, 0.55);
}

body.home .trust-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #1a1614;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home .trust-item span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  body.home .trust-bar::after {
    display: none;
  }

  body.home .trust-icon,
  body.home .trust-item::before {
    transition: none;
  }
}

/* —— Sections —— */
body.home .section {
  padding: 3.75rem 0;
}

body.home .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  gap: 0.4rem;
}

body.home .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  color: #1a1614;
}

body.home .section-head p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-muted);
  margin: 0;
  max-width: 32rem;
}

body.home .rating-pill {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5c534a;
  background: rgba(154, 107, 63, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* —— Shop by price —— */
body.home .price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body.home .price-card {
  position: relative;
  min-height: 200px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 22, 20, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.home .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 22, 20, 0.12);
}

body.home .price-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home .price-card span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  /* frame.css pads this label by a whole gutter; the tile already insets it. */
  padding: 0;
}

/* Every tile is a link, so it carries its own affordance. Drawn here rather than
   in the tile markup so the server and the browser render the same card. */
body.home .price-card::before {
  content: "";
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h14M12.5 6.5 18 12l-5.5 5.5'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

body.home .price-card:hover::before {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.95);
}

/* —— Collections —— */
body.home .collection-block {
  padding: 3.25rem 0;
}

body.home .collection-block:nth-child(even) {
  background: rgba(255, 252, 247, 0.55);
}

body.home .collection-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 0 4.5rem 0.25rem;
}

body.home .collection-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  color: #1a1614;
}

body.home .collection-head p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-muted);
  margin: 0.55rem 0 0;
  max-width: 28rem;
  line-height: 1.55;
}

body.home .shop-all-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1614;
  margin-top: 0.9rem;
  border-bottom: 1px solid rgba(26, 22, 20, 0.35);
  padding-bottom: 0.15rem;
  text-decoration: none;
}

body.home .shop-all-link:hover {
  color: #9a6b3f;
  border-bottom-color: #9a6b3f;
}

body.home .carousel-nav {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.45rem;
}

body.home .carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(26, 22, 20, 0.12);
  background: #fff;
  color: #1a1614;
  box-shadow: 0 6px 16px rgba(26, 22, 20, 0.06);
}

body.home .product-carousel {
  gap: 1.25rem;
  padding: 0.35rem 0.1rem 0.85rem;
  scroll-padding-inline: 0.25rem;
}

body.home .product-carousel .product-card {
  flex: 0 0 min(260px, 76vw);
  max-width: 280px;
}

/* —— Product cards —— */
body.home .product-card {
  background: #ffffff;
  border: 1px solid rgba(26, 22, 20, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(26, 22, 20, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.home .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 22, 20, 0.1);
}

/* Only the ratio is overridden here; the lit backdrop comes from
   product-image.css so a home card and the page it opens share one look. */
body.home .product-media {
  aspect-ratio: 1;
}

body.home .product-media img {
  width: 100%;
  height: 100%;
}

body.home .product-body {
  padding: 1rem 1rem 1.15rem;
}

body.home .product-body h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  color: #2a2622;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.home .product-body .reviews {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 0.45rem;
}

body.home .product-body .price {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1614;
}

body.home .product-body .compare {
  font-size: 0.85rem;
  color: var(--color-muted);
}

body.home .add-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  border-radius: 999px;
  min-height: 40px;
}

/* —— Testimonials —— */
body.home .testimonials .section-head {
  margin-bottom: 2.25rem;
}

body.home .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

body.home .testimonial-card {
  background: #fffcf7;
  border: 1px solid rgba(26, 22, 20, 0.06);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 24px rgba(26, 22, 20, 0.04);
}

body.home .testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 1rem;
  color: #2a2622;
}

body.home .testimonial-card strong {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
}

body.home .testimonial-card small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-muted);
}

body.home .home-partners {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.7;
}

body.home .home-partners strong {
  color: #1a1614;
  font-weight: 600;
}

/* —— Footer (homepage inherits polish; keep type consistent) —— */
body.home .site-footer {
  margin-top: 2.5rem;
}

body.home .site-footer,
body.home .site-footer a,
body.home .site-footer p,
body.home .footer-bottom,
body.home .footer-about,
body.home .footer-news-copy {
  font-family: var(--font-body);
}

body.home .footer-brand,
body.home .footer-brand .site-logo-text {
  font-family: var(--font-display);
}

/* —— Motion —— */
body.home .hero-content,
body.home .trust-bar,
body.home .section-head,
body.home .collection-head {
  animation: homeRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes homeRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Responsive —— */
@media (max-width: 1080px) {
  body.home .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .trust-item + .trust-item {
    border-inline-start: 0;
  }

  body.home .trust-item:nth-child(even) {
    border-inline-start: 1px solid var(--trust-line);
  }

  body.home .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--trust-line);
  }
}

/* Tab and phone: one lit row of four, the mark above the words. Four columns stay
   readable down to 360px because the label wraps instead of scrolling away. */
@media (max-width: 900px) {
  body.home .trust-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.home .trust-item {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 0.4rem;
    text-align: center;
  }

  body.home .trust-item,
  body.home .trust-item + .trust-item,
  body.home .trust-item:nth-child(n + 3) {
    border-top: 0;
    border-inline-start: 1px solid var(--trust-line);
  }

  body.home .trust-item:first-child {
    border-inline-start: 0;
  }

  body.home .trust-item strong {
    white-space: normal;
  }

  body.home .trust-item span {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  body.home .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* The title block keeps a full row of its own; Shop all and the arrows share
     the next one, centred, so nothing floats to a page edge under a centred
     heading. frame.css pushes the link to flex-end, which has to be undone. */
  body.home .collection-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1rem;
    padding: 0;
    margin-bottom: 1.35rem;
  }

  body.home .collection-head > div:first-child {
    flex: 1 1 100%;
  }

  /* The eyebrow and subtitle are capped at 28rem, and a capped block sits flush
     left unless it centres itself — which the wider tablet row then shows. */
  body.home .collection-head p {
    margin-inline: auto;
  }

  body.home .shop-all-link {
    align-self: center;
  }

  body.home .carousel-nav {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  body.home .trust-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
  }

  body.home .trust-item {
    gap: 0.3rem;
    padding: 0.7rem 0;
  }

  body.home .trust-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    box-shadow:
      0 0 0 2px rgba(255, 253, 250, 0.9),
      0 4px 10px -8px rgba(26, 22, 20, 0.5);
  }

  /* The longest admin title ("Authentication Certificate") is one 14-letter word:
     at four across on a phone it needs the whole column, so the type sits at the
     11px floor and the decorative sub-line steps out. */
  body.home .trust-item strong {
    font-size: 0.6875rem;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  body.home .trust-item span {
    display: none;
  }

  body.home .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }

  body.home .price-card {
    min-height: 0;
    aspect-ratio: 1;
    border-radius: 12px;
  }

  body.home .price-card span {
    font-size: 0.9375rem;
    left: 0.85rem;
    bottom: 0.8rem;
    max-width: calc(100% - 3.4rem);
  }

  body.home .price-card::before {
    width: 26px;
    height: 26px;
    right: 0.7rem;
    bottom: 0.7rem;
    background-size: 11px;
  }

  body.home .hero-content {
    padding: 0 0 5rem;
  }

  /* One rhythm: stacked bands used to meet at 104-120px of padding, which is the
     dead space under a card before the next heading. They now meet at 56px, and
     every band uses the same number. */
  body.home .section {
    padding: 2.25rem 0;
  }

  body.home .collection-block {
    padding: 1.75rem 0;
  }

  body.home .section-head {
    margin-bottom: 1.25rem;
  }

  body.home .collection-head {
    margin-bottom: 1rem;
    gap: 0.5rem 0.75rem;
  }

  body.home .collection-head h2 {
    font-size: 1.6rem;
  }

  body.home .collection-head p {
    font-size: 0.85rem;
    margin-top: 0.3rem;
  }

  body.home .shop-all-link {
    margin-top: 0;
  }

  body.home .carousel-btn {
    width: 40px;
    height: 40px;
  }

  /* Two cards to a view, the same row the category grid uses for the same card. */
  body.home .product-carousel {
    gap: 0.625rem;
    padding: 0.15rem 0 0.35rem;
  }

  body.home .product-carousel .product-card {
    flex: 0 0 calc((100% - 0.625rem) / 2);
    max-width: none;
  }

  /* Snap by pair, so the second card never comes to rest half off the edge. */
  body.home .product-carousel .product-card:nth-child(odd) {
    scroll-snap-align: start;
  }

  body.home .product-carousel .product-card:nth-child(even) {
    scroll-snap-align: none;
  }
}

/* Under 360px four columns cannot hold the longest admin title at the 11px floor,
   so the strip folds to two rows instead of shrinking the type or cutting a word. */
@media (max-width: 359.98px) {
  body.home .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .trust-item:nth-child(odd) {
    border-inline-start: 0;
  }

  body.home .trust-item:nth-child(even) {
    border-inline-start: 1px solid var(--trust-line);
  }

  body.home .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--trust-line);
  }
}

/* css/collection.css */
/* Collection listing pages + optional centered page header */

/* Optional page header — only when admin sets title/subtitle AND page has products */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.75rem 1.25rem 1.75rem;
  max-width: 40rem;
  margin: 0 auto;
}

.page-hero[hidden] {
  display: none !important;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  text-align: center;
  width: 100%;
  text-wrap: balance;
}

.page-hero h1[hidden] {
  display: none !important;
}

.page-hero p {
  margin: 0.85rem auto 0;
  max-width: 32rem;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  text-align: center;
  width: 100%;
}

.page-hero p[hidden] {
  display: none !important;
}

.collection-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  padding: 1.5rem 0 3.5rem;
  align-items: start;
}

.collection-layout.filters-hidden {
  grid-template-columns: 1fr;
}

.collection-layout.filters-hidden .filters-panel {
  display: none;
}

.filters-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 20, 0.35);
  z-index: 80;
}

.filters-overlay.open {
  display: block;
}

.filters-panel {
  background: transparent;
  padding: 0.25rem 0 1rem;
  position: sticky;
  top: 88px;
}

.filters-panel-top {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  padding: 0.85rem 0 0.95rem;
  border-bottom: 1px solid #e8e8e8;
}

.hide-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
}

.hide-filters-btn svg {
  width: 18px;
  height: 18px;
}

.filters-close-btn {
  display: none;
  border: none;
  background: none;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: auto;
}

.results-count {
  font-size: 0.88rem;
  color: #777;
}

.filter-count-badge {
  display: none;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

.filter-count-badge.show {
  display: inline-flex;
}

.filter-accordion {
  border-bottom: 1px solid #ececec;
}

.filter-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  color: var(--color-ink);
}

.filter-accordion-trigger .chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.55;
}

.filter-accordion.open .filter-accordion-trigger .chevron {
  transform: rotate(-135deg);
}

.filter-accordion-body {
  display: none;
  padding: 0 0 1rem;
}

.filter-accordion.open .filter-accordion-body {
  display: block;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: #444;
  cursor: pointer;
}

.filter-option input {
  accent-color: var(--color-ink);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-inputs input {
  width: 100%;
  min-width: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: #fff;
}

.products-col {
  min-width: 0;
}

.products-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 44px;
  padding: 0.85rem 0 0;
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #555;
}

.sort-wrap select {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
}

.collection-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.1rem;
  padding-top: 1.25rem;
}

.active-filters {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0.25rem;
}

.active-filters.has-filters {
  display: flex;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f3f0ea;
  font-size: 0.8rem;
  color: #444;
}

.filter-chip button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  color: #777;
}

.clear-filters {
  border: none;
  background: none;
  color: var(--color-accent, #9a6b3f);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.25rem 0;
}

.show-filters-fab {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: none;
  padding: 0;
  margin: 0 0 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
}

.collection-layout.filters-hidden .show-filters-fab {
  display: inline-flex;
}

.show-filters-fab svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 980px) {
  .collection-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .filters-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 320px);
    z-index: 90;
    background: #fffcf7;
    padding: 1.25rem 1.15rem 2rem;
    overflow: auto;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12);
  }

  .filters-panel.drawer-open {
    transform: translateX(0);
    visibility: visible;
    display: block;
    transition: transform 0.28s ease, visibility 0s;
  }

  .collection-layout.filters-hidden .filters-panel.drawer-open {
    display: block;
  }

  .filters-close-btn {
    display: inline-flex;
  }

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

  .collection-layout.filters-hidden .show-filters-fab,
  .show-filters-fab:not([hidden]) {
    display: inline-flex;
  }

  .hide-filters-btn .hide-label {
    /* on mobile label still useful inside drawer */
  }
}

/* Phone: the two-up row the tablet already gets, so a category and Browse all
   read as one grid at every width. The narrow-card skin lives in
   product-image.css, which every grid inherits. The extra class is needed
   because frame.css re-states this gap after this file. */
@media (max-width: 640px) {
  .products-col .collection-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.625rem;
    padding-top: 0.9rem;
  }
}

/* css/product.css */
/* Product detail — elegant jewellery PDP */
.pdp-main {
  padding: 1.25rem 0 4.5rem;
  min-height: 70vh;
}

.pdp-loading,
.pdp-error {
  padding: 4rem 0;
  text-align: center;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.pdp-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.pdp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pdp-back:hover {
  color: var(--color-ink);
}

.pdp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(26, 22, 20, 0.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(26, 22, 20, 0.04),
    0 28px 64px rgba(26, 22, 20, 0.08);
  animation: pdpIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* —— Gallery —— */
.pdp-media {
  display: grid;
  grid-template-rows: 1fr auto;
  background: #ffffff;
  min-height: 600px;
  border-right: 1px solid rgba(26, 22, 20, 0.05);
}

.pdp-gallery-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.pdp-gallery-main {
  position: relative;
  min-height: 520px;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  cursor: zoom-in;
  /* pan-y, not none: this stage covers most of a phone screen, and at zoom 1
     nothing here needs the finger — the page must still scroll through it. */
  touch-action: pan-y;
  user-select: none;
}

.pdp-gallery-main.is-zoomed {
  cursor: grab;
  touch-action: none;
}

.pdp-gallery-main.is-panning {
  cursor: grabbing;
}

.pdp-gallery-main img,
.pdp-gallery-main video,
.pdp-gallery-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  display: block;
  transition: transform 0.2s ease;
  will-change: transform;
  background: #ffffff;
}

.pdp-gallery-main video,
.pdp-gallery-main iframe {
  object-fit: cover;
  background: #14110f;
  cursor: default;
}

.pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  color: var(--color-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26, 22, 20, 0.12);
  display: grid;
  place-items: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

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

.pdp-nav-prev {
  left: 0.75rem;
}

.pdp-nav-next {
  right: 0.75rem;
}

.pdp-gallery-count {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  background: rgba(255, 252, 247, 0.9);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(26, 22, 20, 0.08);
}

.pdp-zoom-controls {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 252, 247, 0.94);
  border-radius: 999px;
  padding: 0.2rem;
  box-shadow: 0 6px 18px rgba(26, 22, 20, 0.12);
}

.pdp-zoom-controls button {
  min-width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0.45rem;
}

.pdp-zoom-controls button:hover:not(:disabled) {
  background: rgba(26, 22, 20, 0.06);
}

.pdp-zoom-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.pdp-thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.9rem 1rem 1.1rem;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(26, 22, 20, 0.05);
}

.pdp-thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd5c8;
  box-shadow: 0 2px 8px rgba(26, 22, 20, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pdp-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(26, 22, 20, 0.1);
}

.pdp-thumb.active {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #e8e0d4;
}

.pdp-thumb-video {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #1a1614;
  color: #fff;
  font-size: 0.9rem;
}

.pdp-qty-row {
  margin: 0 0 1.15rem;
}

.pdp-qty-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.pdp-qty button {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-ink);
}

.pdp-qty button:hover {
  background: rgba(0, 0, 0, 0.04);
}

.pdp-qty input {
  width: 2.75rem;
  height: 2.25rem;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  -moz-appearance: textfield;
}

.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-qty-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* —— Info column —— */
.pdp-info {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.6rem 2.4rem;
  background: #ffffff;
}

.pdp-info-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pdp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.pdp-badges-inline {
  display: inline-flex;
  align-self: center;
  margin: 0;
  gap: 0.35rem;
}

.pdp-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
  margin-bottom: 0;
  background: #1a1614;
  color: #fff;
}

.pdp-badge-save {
  background: #c41e3a;
  border-radius: 2px;
}

.pdp-badge-offer {
  background: #7a1f2b;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  padding-right: 0.85rem;
  border-radius: 0;
}

.pdp-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: var(--color-muted);
  font-size: 0.84rem;
  margin-top: 0.35rem;
}

.pdp-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--color-ink);
  text-wrap: balance;
}

.pdp-reviews {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-muted);
  font-size: 0.84rem;
  margin: 0.55rem 0 0;
}

.pdp-reviews::before {
  content: '★';
  color: #c4a574;
  font-size: 0.9rem;
}

.pdp-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin: 1.35rem 0 1.4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(26, 22, 20, 0.08);
}

.pdp-price {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #c41e3a;
}

.pdp-compare {
  color: var(--color-muted);
  text-decoration: line-through;
  font-size: 1.05rem;
  font-weight: 500;
}

.pdp-save {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #c41e3a;
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: 100%;
  margin-top: 0.15rem;
}

/* —— Breakup —— */
.pdp-breakup {
  border: 1px solid rgba(26, 22, 20, 0.08);
  border-radius: 16px;
  padding: 1.05rem 1.15rem 1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
}

.pdp-breakup h3 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

.pdp-breakup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.pdp-chip {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: #5c534a;
  background: rgba(26, 22, 20, 0.04);
  border: 1px solid rgba(26, 22, 20, 0.06);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.pdp-breakup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.42rem 0;
  color: #4a433c;
}

.pdp-breakup-row span:last-child {
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 500;
}

.pdp-breakup-row.total {
  border-top: 1px solid rgba(26, 22, 20, 0.1);
  margin-top: 0.45rem;
  padding-top: 0.75rem;
  font-weight: 700;
  color: var(--color-ink);
  font-size: 0.98rem;
}

.pdp-breakup-row.total span:last-child {
  font-weight: 700;
}

/* —— Actions —— */
.pdp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: auto;
}

.pdp-actions .btn {
  width: 100%;
  border-radius: 999px;
  min-height: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.pdp-actions .btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.pdp-actions .btn-accent {
  grid-column: 1 / -1;
  background: var(--color-ink);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 28px rgba(26, 22, 20, 0.18);
}

.pdp-actions .btn-accent:hover:not(:disabled) {
  background: #2a2420;
  box-shadow: 0 14px 32px rgba(26, 22, 20, 0.22);
}

.pdp-btn-buy {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid rgba(26, 22, 20, 0.85);
}

.pdp-btn-buy:hover:not(:disabled) {
  background: var(--color-ink);
  color: #fff;
}

.pdp-btn-wa {
  background: #0f766e;
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
}

.pdp-btn-wa:hover {
  background: #0d9488;
  color: #fff;
}

.pdp-btn-fav {
  background: #fff;
  border: 1px solid rgba(26, 22, 20, 0.12);
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.pdp-btn-fav:hover {
  border-color: rgba(154, 107, 63, 0.45);
  background: rgba(154, 107, 63, 0.06);
}

.pdp-btn-fav.is-fav {
  border-color: rgba(154, 107, 63, 0.55);
  color: #9a6b3f;
  background: rgba(154, 107, 63, 0.08);
}

.pdp-btn-fav .heart {
  font-size: 1.05rem;
  line-height: 1;
}

.pdp-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(26, 22, 20, 0.08);
}

.pdp-trust span {
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.35;
}

.pdp-trust strong {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
  text-transform: none;
}

/* —— Description —— */
.pdp-desc {
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  background: #fffcf7;
  border: 1px solid rgba(26, 22, 20, 0.06);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(26, 22, 20, 0.05);
  animation: pdpIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.pdp-desc h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

.pdp-desc-rule {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin: 0 0 1rem;
  border: 0;
}

.pdp-desc p {
  margin: 0;
  color: #5c534a;
  line-height: 1.75;
  font-size: 0.98rem;
  white-space: pre-wrap;
  max-width: 62ch;
}

@media (max-width: 960px) {
  .pdp-card {
    grid-template-columns: 1fr;
  }

  .pdp-media {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(26, 22, 20, 0.05);
  }

  .pdp-gallery-stage {
    min-height: 0;
  }

  .pdp-gallery-main {
    min-height: 0;
    aspect-ratio: 1;
  }

  .pdp-info {
    padding: 1.75rem 1.35rem 1.85rem;
  }

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

  .pdp-actions .btn-accent {
    grid-column: auto;
  }

  .pdp-trust {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.75rem;
  }

  .pdp-trust span {
    text-align: left;
  }

  .pdp-desc {
    padding: 1.4rem 1.25rem;
  }
}

/* Nipura-style PDP extras */
.nipura-pdp .pdp-info h1 {
  margin-bottom: 0.75rem;
}

.pdp-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0.65rem;
}

.pdp-share-label {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-right: 0.25rem;
}

.pdp-share-btn {
  border: 1px solid rgba(26, 22, 20, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  cursor: pointer;
}

.pdp-share-btn:hover {
  border-color: rgba(26, 22, 20, 0.35);
}

.pdp-option-block {
  margin: 1rem 0 1.15rem;
}

.pdp-option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.pdp-size-guide-link {
  border: 0;
  background: none;
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.pdp-option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pdp-option-btn {
  border: 1px solid rgba(26, 22, 20, 0.18);
  background: #fff;
  color: var(--color-ink);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 6.5rem;
  text-align: center;
}

.pdp-option-btn:hover {
  border-color: var(--color-ink);
}

.pdp-option-btn.active {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}

.pdp-tax-note {
  margin: 0.85rem 0 0.45rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.pdp-ship-lines {
  display: grid;
  gap: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.pdp-section {
  margin-top: 1.75rem;
  background: #fffcf7;
  border: 1px solid rgba(26, 22, 20, 0.06);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}

.pdp-section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.pdp-features-list {
  margin: 0;
}

.pdp-feature-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(26, 22, 20, 0.06);
  font-size: 0.92rem;
}

.pdp-feature-row:last-child {
  border-bottom: 0;
}

.pdp-feature-row dt {
  color: var(--color-muted);
  font-weight: 600;
}

.pdp-feature-row dd {
  margin: 0;
  color: var(--color-ink);
}

.pdp-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.15rem;
  background: #f7f2ea;
  border-radius: 16px;
  text-align: center;
}

.pdp-trust-strip span {
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.pdp-trust-strip strong {
  display: block;
  color: var(--color-ink);
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}

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

.pdp-related-card {
  display: grid;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
}

.pdp-related-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #ebe4d8;
}

.pdp-related-card strong {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.pdp-related-card span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #c41e3a;
}

.pdp-size-modal[hidden] {
  display: none !important;
}

.pdp-size-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.pdp-size-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.45);
}

.pdp-size-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.pdp-size-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
}

.pdp-size-guide-panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.pdp-size-guide-lead {
  margin: 0 0 0.85rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.pdp-size-table-wrap {
  overflow: auto;
  border: 1px solid rgba(26, 22, 20, 0.08);
  border-radius: 10px;
}

.pdp-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.pdp-size-table th,
.pdp-size-table td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid rgba(26, 22, 20, 0.06);
  text-align: left;
}

.pdp-size-table th {
  background: #f7f2ea;
  font-weight: 700;
}

.pdp-size-guide-note {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
  color: var(--color-muted);
}

@media (max-width: 960px) {
  .pdp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pdp-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .pdp-feature-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.pdp-trust-icons .pdp-trust-item {
  font-size: 0.78rem;
}

.pdp-review-section {
  margin-top: 2rem;
}

.pdp-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

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

.pdp-review-form .field {
  display: grid;
  gap: 0.3rem;
}

.pdp-review-form input,
.pdp-review-form textarea,
.pdp-review-form select {
  border: 1px solid rgba(26, 22, 20, 0.18);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.pdp-local-review {
  margin-top: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(26, 22, 20, 0.08);
}

.pdp-local-review p {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
}

.pdp-local-stars {
  margin-left: 0.5rem;
  color: #b45309;
  font-size: 0.85rem;
}

.pdp-sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 1rem;
  display: none;
}

.pdp-sticky-buy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pdp-sticky-info {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.pdp-sticky-info strong {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .pdp-sticky-buy {
    display: block;
  }
  body {
    padding-bottom: 4.5rem;
  }
  .pdp-review-grid {
    grid-template-columns: 1fr;
  }
}

/* css/checkout.css */
.checkout-page {
  padding: 2rem 0 4rem;
}

.checkout-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.35rem;
}

.checkout-sub {
  color: var(--color-muted);
  margin: 0 0 1.75rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.checkout-card {
  background: rgba(255, 252, 248, 0.85);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.checkout-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-grid .span-2 {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea {
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  font-weight: 400;
}

.pay-options {
  display: grid;
  gap: 0.65rem;
}

.pay-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.pay-option:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(180, 83, 9, 0.05);
}

/* The method is display:flex, which outranks the hidden attribute's own rule. */
.pay-option[hidden] {
  display: none;
}

.pay-option strong {
  display: block;
}

.pay-option small {
  color: var(--color-muted);
}

.checkout-submit {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
}

.checkout-error {
  color: #991b1b;
  margin-top: 0.75rem;
}

.summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.9rem;
}

.summary-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #ebe6dc;
}

.summary-rows {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.summary-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-rows .total {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-line);
  font-size: 1.1rem;
}

.success-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  /* minmax(0,…) so the track is never floored by the card's min-content width */
  grid-template-columns: minmax(0, 1fr);
  padding: 3rem 1rem;
}

.success-card {
  width: min(100%, 520px);
  text-align: center;
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 2.5rem 1.75rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #166534;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.success-card h1 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.success-meta {
  text-align: left;
  margin: 1.5rem 0;
  background: rgba(28, 25, 23, 0.03);
  border-radius: 12px;
  padding: 1rem;
}

.success-meta p {
  margin: 0.35rem 0;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

@media (max-width: 860px) {
  .checkout-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .span-2 {
    grid-column: auto;
  }
}

/* css/live-rates.css */
.live-rates-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  align-items: stretch;
  pointer-events: none;
}

.live-rates-sidebar-panel {
  width: min(240px, 72vw);
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 0.85rem 1rem;
  box-shadow: -8px 12px 32px rgba(28, 25, 23, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  pointer-events: auto;
}

.live-rates-sidebar.is-open .live-rates-sidebar-panel {
  transform: translateX(0);
}

.live-rates-sidebar-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f4842;
}

.live-rates-sidebar-chips {
  display: grid;
  gap: 0.5rem;
}

.jx-rate-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #1c1917;
}

.jx-rate-chip strong {
  margin-left: auto;
  font-weight: 650;
}

.jx-rate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.jx-rate-dot.gold {
  background: #d4a017;
}

.jx-rate-dot.silver {
  background: #94a3b8;
}

.jx-rate-live-tag {
  display: inline-flex;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}

.jx-rate-chip.jx-rate-updated,
.live-rates-sidebar-chip.jx-rate-updated,
.price.jx-price-updated,
.pdp-price.jx-price-updated {
  animation: jx-rate-flash 0.7s ease;
}

@keyframes jx-rate-flash {
  0% { background: rgba(180, 83, 9, 0.18); }
  100% { background: transparent; }
}

.live-rates-sidebar-tab {
  pointer-events: auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-right: none;
  border-radius: 0 10px 10px 0;
  background: #1c1917;
  color: #fafaf9;
  padding: 0.85rem 0.35rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-rates-sidebar-arrow {
  transform: rotate(180deg);
  transition: transform 0.28s ease;
}

.live-rates-sidebar.is-open .live-rates-sidebar-arrow {
  transform: rotate(0deg);
}

.live-rates-sidebar-tab-text {
  font-weight: 600;
}

@media (max-width: 768px) {
  .live-rates-sidebar {
    top: auto;
    bottom: 5.5rem;
    transform: none;
  }
}

/* Admin live-rate panel */
.lr-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.lr-stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fafafa;
}

.lr-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.lr-stat strong {
  font-size: 1.25rem;
}

.lr-stat em {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.lr-fixed-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  font-size: 0.9rem;
}

.lr-fixed-note strong {
  color: #065f46;
}

@media (max-width: 720px) {
  .lr-status-grid {
    grid-template-columns: 1fr;
  }
}

/* css/coupons.css */
.coupon-box-pmj {
  margin: 0.75rem 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.coupon-box-pmj.compact {
  margin: 0.45rem 0 0.65rem;
}

.coupon-open-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
  border: 1px dashed rgba(28, 25, 23, 0.22);
  border-radius: 12px;
  background: #fafaf8;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.coupon-open-btn:hover {
  border-color: var(--color-accent, #b45309);
  background: #fff;
}

.coupon-open-title {
  font-size: 0.95rem;
  color: var(--color-ink);
}

.coupon-open-link {
  font-size: 0.8rem;
  color: var(--color-accent, #b45309);
  font-weight: 600;
}

.coupon-applied-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: #f0fdfa;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.coupon-applied-info {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  min-width: 0;
}

.coupon-applied-check {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.coupon-applied-info strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.coupon-remove-x {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
  padding: 0.1rem 0.25rem;
}

.coupon-remove-x:hover {
  color: #1c1917;
}

.coupon-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  text-transform: uppercase;
  background: #fff;
}

.coupon-msg {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  min-height: 1.1em;
  color: var(--color-muted);
}

.coupon-msg.ok {
  color: #0f766e;
}

.coupon-msg.warn {
  color: #b45309;
}

.coupon-msg.err {
  color: #b91c1c;
}

.coupon-applied-info .coupon-msg {
  margin: 0.15rem 0 0;
}

body.coupon-modal-open {
  overflow: hidden;
}

.coupon-offers-modal[hidden] {
  display: none !important;
}

.coupon-offers-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.coupon-offers-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
}

.coupon-offers-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(88vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.coupon-offers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.coupon-offers-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
}

.coupon-offers-body {
  padding: 1rem 1.1rem 1.25rem;
}

.coupon-offers-apply-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.coupon-offers-list-title {
  margin: 1.1rem 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 700;
}

.coupon-offers-list {
  display: grid;
  gap: 0.55rem;
}

.coupon-offer-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  background: #fafaf8;
}

.coupon-offer-code {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-accent, #b45309);
  border: 1px dashed var(--color-accent, #b45309);
  border-radius: 6px;
  padding: 0.35rem 0.45rem;
  background: #fff;
}

.coupon-offer-meta strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #1c1917;
}

.coupon-offer-meta span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: var(--color-muted);
}

.coupon-offers-empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.bogo-suggest {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(28, 25, 23, 0.12);
}

.bogo-suggest-title {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #44403c;
}

.bogo-suggest-grid {
  display: grid;
  gap: 0.5rem;
}

.bogo-suggest-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.4rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e7e5e4;
}

.bogo-suggest-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.bogo-suggest-card strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.25;
}

.bogo-suggest-card span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.cart-coupon-line,
.summary-coupon-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #0f766e;
}

/* css/polish.css */
/**
 * Visual polish layer — elegant jewellery storefront
 * Loaded after main.css / collection.css / checkout.css
 */

:root {
  --color-ink: #1a1614;
  --color-accent: #9a6b3f;
  --color-soft: #f7f3ec;
  --page-bg: #f7f3ec;
  --color-muted: #7a7268;
  --color-line: rgba(26, 22, 20, 0.09);
  --color-white: #fffcf7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(26, 22, 20, 0.09);
  --shadow-soft: 0 8px 24px rgba(26, 22, 20, 0.06);
  --max: 1200px;
}

body {
  background: var(--page-bg, var(--color-soft));
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100% - 2.5rem, var(--max));
}

/* —— Announcement —— */
.announcement {
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  background: linear-gradient(90deg, #1a1614, #2a2420);
}

/* —— Header —— */
.site-header {
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(26, 22, 20, 0.06);
}

.header-inner {
  padding: 1rem 0;
}

.site-logo-text {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: 0.22em;
  font-weight: 600;
}

.nav-desktop {
  gap: 1.35rem;
}

.nav-desktop a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.nav-desktop a:hover {
  opacity: 1;
  color: var(--color-ink);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-color: rgba(26, 22, 20, 0.08);
  background: rgba(255, 252, 247, 0.85);
  box-shadow: var(--shadow-soft);
}

.icon-btn:hover {
  border-color: rgba(154, 107, 63, 0.35);
  box-shadow: 0 10px 28px rgba(26, 22, 20, 0.08);
}

.cart-count {
  background: var(--color-ink);
  font-size: 0.6875rem;
}

/* —— Hero —— */
.hero {
  min-height: min(90vh, 780px);
}

.hero-content {
  padding: 5rem 0 4rem;
  max-width: 36rem;
}

.brand-mark {
  font-size: clamp(3rem, 8vw, 5.2rem);
  letter-spacing: 0.14em;
  font-weight: 600;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 600;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.96;
  line-height: 1.6;
  max-width: 26rem;
}

.btn {
  padding: 0.95rem 1.65rem;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.btn-accent {
  background: var(--color-ink);
  box-shadow: 0 12px 28px rgba(26, 22, 20, 0.2);
}

.btn-accent:hover {
  background: #2a2420;
}

/* —— Trust —— */
.trust-bar {
  padding: 2rem 0;
  gap: 1.25rem;
  border-bottom-color: rgba(26, 22, 20, 0.07);
}

.trust-item {
  padding: 0.5rem 0.25rem;
}

.trust-icon {
  width: 46px;
  height: 46px;
  background: #fff;
  border-color: rgba(26, 22, 20, 0.08);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
  color: var(--color-accent);
}

.trust-item strong {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.trust-item span {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: 0.95rem;
  margin-top: 0.45rem;
}

.section-link {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* Collection carousel heads */
.collection-head {
  margin-bottom: 2rem;
  padding: 0 5rem;
}

.collection-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.collection-head p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.shop-all-link {
  margin-top: 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom-width: 1px;
  padding-bottom: 0.2rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(26, 22, 20, 0.1);
  background: rgba(255, 252, 247, 0.9);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #fff;
}

.product-carousel {
  gap: 1.35rem;
  padding: 0.25rem 0.15rem 0.75rem;
}

.product-carousel .product-card {
  flex: 0 0 min(270px, 78vw);
  max-width: 290px;
}

/* —— Price tiles —— */
.price-card {
  min-height: 180px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  left: 1.15rem;
  bottom: 1.15rem;
}

/* —— Product cards —— */
.product-grid {
  gap: 1.35rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(26, 22, 20, 0.06);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(26, 22, 20, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(154, 107, 63, 0.18);
}

.product-media {
  background: #ffffff;
  aspect-ratio: 1 / 1.05;
}

.product-media img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.07);
}

.badge {
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  background: var(--color-ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.badge.soldout {
  background: #7f1d1d;
}

.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  gap: 0.4rem;
}

.product-body h3 {
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  line-height: 1.4;
  min-height: 2.7em;
}

.reviews {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

.price {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.compare {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.add-btn {
  margin-top: 0.85rem;
  padding: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink);
  border: 1px solid rgba(26, 22, 20, 0.2);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.add-btn:hover:not(:disabled) {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
  transform: none;
}

/* —— Testimonials —— */
.testimonials {
  background: rgba(26, 22, 20, 0.025);
  border-block-color: rgba(26, 22, 20, 0.07);
}

.testimonial-card {
  background: #fffcf7;
  border: 1px solid rgba(26, 22, 20, 0.06);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card p {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-ink);
}

.rating-pill {
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

/* —— Footer —— */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 10% 0%, rgba(154, 107, 63, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(255, 252, 247, 0.04), transparent 45%),
    linear-gradient(180deg, #1f1a17 0%, #14110f 100%);
  color: rgba(255, 252, 247, 0.82);
  padding: 0;
  margin-top: 3rem;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 40%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 120, 0.55), transparent);
}

.footer-top {
  padding: 3.75rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 2.5rem 2rem;
  align-items: start;
}

.footer-col h4 {
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.92);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.footer-brand .site-logo-img {
  max-height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand .site-logo-text {
  color: #fff;
  letter-spacing: 0.16em;
}

.footer-about {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 252, 247, 0.96);
  max-width: 28rem;
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.35rem;
}

.footer-contact a {
  font-size: 0.92rem;
  color: rgba(255, 252, 247, 0.96);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #d4af78;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer ul a {
  font-size: 0.92rem;
  color: rgba(255, 252, 247, 0.95);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.site-footer ul a:hover {
  color: #fff;
  padding-left: 0.2rem;
}

.footer-news-copy {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 252, 247, 0.95);
}

.newsletter {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.newsletter input {
  flex: 1 1 160px;
  min-width: 0;
  border: 1px solid rgba(255, 252, 247, 0.14);
  background: rgba(255, 252, 247, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter input:focus {
  outline: none;
  border-color: rgba(212, 175, 120, 0.55);
  background: rgba(255, 252, 247, 0.09);
}

.newsletter input::placeholder {
  color: rgba(255, 252, 247, 0.42);
}

.newsletter .btn {
  box-shadow: none;
  background: #d4af78;
  color: #1a1614;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  white-space: nowrap;
}

.newsletter .btn:hover {
  background: #e0c08a;
  color: #1a1614;
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 0;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(255, 252, 247, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 252, 247, 0.92);
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-payments span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 252, 247, 0.14);
  background: rgba(255, 252, 247, 0.04);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.72);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    padding: 3rem 0 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Cart drawer —— */
.drawer {
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.18);
  background: #fffcf7;
}

.drawer-head h3 {
  font-size: 1.75rem;
  font-weight: 500;
}

.cart-item img {
  border-radius: 12px;
}

/* —— Modal —— */
.modal-panel {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.modal-info h2 {
  font-weight: 500;
}

/* —— Chat —— */
.chat-bubble {
  background: var(--color-ink);
  box-shadow: 0 14px 36px rgba(26, 22, 20, 0.3);
  letter-spacing: 0.03em;
}

/* —— Toast —— */
.toast {
  background: var(--color-ink);
  letter-spacing: 0.02em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* —— Collection page extras —— */
.collection-products .product-card {
  height: 100%;
}

.products-top {
  min-height: 44px;
}

.sort-wrap {
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid rgba(26, 22, 20, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  box-shadow: var(--shadow-soft);
}

/* —— Checkout polish —— */
.checkout-page {
  padding: 2.5rem 0 4.5rem;
}

.checkout-title {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.checkout-card {
  background: #fffcf7;
  border: 1px solid rgba(26, 22, 20, 0.07);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.checkout-card h2 {
  font-weight: 500;
  font-size: 1.55rem;
}

.form-grid input,
.form-grid textarea {
  border-radius: 10px;
  border-color: rgba(26, 22, 20, 0.1);
  background: #faf8f4;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(154, 107, 63, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(154, 107, 63, 0.12);
}

.pay-option {
  border-radius: 14px;
  border-color: rgba(26, 22, 20, 0.1);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pay-option:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(154, 107, 63, 0.06);
  box-shadow: 0 8px 24px rgba(154, 107, 63, 0.08);
}

.checkout-submit {
  margin-top: 0.35rem;
  padding: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.success-card {
  background: #fffcf7;
  border: 1px solid rgba(26, 22, 20, 0.07);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
}

.success-icon {
  background: #1c1917;
  width: 68px;
  height: 68px;
}

.success-card h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.2rem;
}

.success-meta {
  background: #f7f3ec;
  border-radius: 14px;
}

.shop-toolbar input,
.shop-toolbar select {
  border-radius: 999px;
  border-color: rgba(26, 22, 20, 0.1);
  background: #fffcf7;
  box-shadow: var(--shadow-soft);
}

/* Collection filters — align with polish theme */
.filters-panel-top {
  border-bottom-color: rgba(26, 22, 20, 0.09);
}

.filter-accordion {
  border-bottom-color: rgba(26, 22, 20, 0.09);
}

.filter-accordion-trigger {
  letter-spacing: 0.03em;
}

.filter-chip {
  background: #f0ebe3;
}

.price-inputs input {
  background: #faf8f4;
  border-color: rgba(26, 22, 20, 0.1);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .filters-panel {
    background: #fffcf7;
  }
}

@media (max-width: 640px) {
  .collection-head {
    padding: 0 0 2.75rem;
  }

  .carousel-nav {
    gap: 0.55rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }
}

/* css/frame.css */
/* ==========================================================================
   PMJ frame layer — the premium design system for the app shell.
   Loads last in the storefront bundle, so it refines main/polish/product.
   Scope: tokens, frame chrome (topbar, header, mega, drawer, footer), page
   transitions, skeletons and the shared section primitives every view uses.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — overridden inline by the frame from admin settings */
  --pmj-ink: var(--color-ink, #131211);
  --pmj-accent: var(--color-accent, #904913);
  --pmj-ivory: var(--color-soft, #f7f3ec);
  --pmj-paper: #fffdfa;

  /* Neutrals derived from the brand ink so admin colour changes cascade.
     Muted is a *secondary* tone, not a faded one: it stays dark enough to read
     as body copy on ivory instead of washing out. */
  --pmj-line: color-mix(in srgb, var(--pmj-ink) 12%, transparent);
  --pmj-line-strong: color-mix(in srgb, var(--pmj-ink) 24%, transparent);
  --pmj-muted: color-mix(in srgb, var(--pmj-ink) 76%, var(--pmj-ivory));
  --pmj-tint: color-mix(in srgb, var(--pmj-ivory) 70%, var(--pmj-paper));
  --pmj-gold: color-mix(in srgb, var(--pmj-accent) 82%, #f0d9a8);
  --pmj-ink-wash: color-mix(in srgb, var(--pmj-ink) 6%, transparent);
  /* main/polish/product still read this token for their grey text, so it now
     resolves to the frame's muted instead of the original light stone. */
  --color-muted: var(--pmj-muted);
  /* Copy on the dark footer / editorial band. */
  --pmj-on-ink: color-mix(in srgb, var(--pmj-paper) 95%, transparent);

  /* Spacing rhythm — 4pt base */
  --pmj-s-1: 0.25rem;
  --pmj-s-2: 0.5rem;
  --pmj-s-3: 0.75rem;
  --pmj-s-4: 1rem;
  --pmj-s-5: 1.5rem;
  --pmj-s-6: 2rem;
  --pmj-s-7: 3rem;
  --pmj-s-8: 4.5rem;
  --pmj-s-9: 6.5rem;
  --pmj-gutter: clamp(1rem, 4vw, 2.5rem);
  --pmj-section: clamp(var(--pmj-s-7), 7vw, var(--pmj-s-9));

  /* Type scale */
  --pmj-eyebrow: 0.7rem;
  --pmj-body: 0.95rem;
  --pmj-lead: clamp(1rem, 1.4vw, 1.15rem);
  --pmj-h4: clamp(1.15rem, 1.7vw, 1.35rem);
  --pmj-h3: clamp(1.5rem, 2.4vw, 1.95rem);
  --pmj-h2: clamp(1.85rem, 3.4vw, 2.75rem);
  --pmj-h1: clamp(2.1rem, 5vw, 3.6rem);
  --pmj-tracking: 0.16em;

  /* Elevation */
  --pmj-elev-1: 0 1px 2px rgba(20, 16, 12, 0.05);
  --pmj-elev-2: 0 6px 24px -12px rgba(20, 16, 12, 0.18);
  --pmj-elev-3: 0 22px 60px -28px rgba(20, 16, 12, 0.32);
  --pmj-elev-4: 0 40px 120px -48px rgba(20, 16, 12, 0.45);

  /* Radii */
  --pmj-r-sm: 8px;
  --pmj-r-md: 14px;
  --pmj-r-lg: 22px;
  --pmj-r-pill: 999px;

  /* Motion */
  --pmj-fast: 140ms;
  --pmj-base: 260ms;
  --pmj-slow: 520ms;
  --pmj-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pmj-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layers */
  --pmj-z-page: 1;
  --pmj-z-header: 60;
  --pmj-z-search: 65;
  --pmj-z-mega: 66;
  --pmj-z-mobile: 70;
  --pmj-z-overlay: 80;
  --pmj-z-drawer: 90;
  --pmj-z-modal: 95;
  --pmj-z-toast: 120;

  --pmj-header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Frame primitives
   -------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--pmj-header-h) + 1rem);
}

body.pmj-frame {
  background: var(--pmj-ivory);
  color: var(--pmj-ink);
  font-size: var(--pmj-body);
  /* Figtree Medium as the reading weight: the 400 cut looked thin at the small
     meta sizes this store uses everywhere. Long prose drops back to 400. */
  font-weight: 460;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.pmj-locked {
  overflow: hidden;
}

.pmj-main {
  position: relative;
  z-index: var(--pmj-z-page);
  min-height: 60vh;
  outline: none;
}

/* Off-canvas panels sit beyond the right edge at rest; clip keeps them out of
   the horizontal scroll area without turning the root into a scroll container. */
html[data-frame='1'] {
  overflow-x: clip;
}

.pmj-main > .container,
.pmj-main > section > .container {
  width: min(100% - 2 * var(--pmj-gutter), 1240px);
}

.skip-link {
  position: fixed;
  top: var(--pmj-s-2);
  left: var(--pmj-s-2);
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-ink);
  color: var(--pmj-paper);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--pmj-fast) var(--pmj-ease);
}

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

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

.pmj-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  stroke-width: 1.5;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--pmj-accent);
  outline-offset: 3px;
  border-radius: var(--pmj-r-sm);
}

/* Navigation progress (page load) + reading progress (document scroll) */
.pmj-page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 100%;
  z-index: 210;
  background: linear-gradient(90deg, var(--pmj-accent), var(--pmj-gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity var(--pmj-fast) linear;
}

.pmj-page-progress.is-active {
  opacity: 1;
  animation: pmjIndeterminate 1.1s var(--pmj-ease) infinite;
}

@keyframes pmjIndeterminate {
  0% { transform: scaleX(0); transform-origin: 0 50%; }
  45% { transform: scaleX(0.7); transform-origin: 0 50%; }
  55% { transform: scaleX(0.7); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

.pmj-header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--pmj-accent), var(--pmj-gold));
  transform: scaleX(var(--pmj-progress, 0));
  transform-origin: 0 50%;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   3. Page transitions + reveal
   -------------------------------------------------------------------------- */
.pmj-main.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 130ms var(--pmj-ease),
    transform 130ms var(--pmj-ease);
}

.pmj-main.is-entering {
  opacity: 0;
  transform: translateY(14px);
}

.pmj-main.is-entering.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--pmj-slow) var(--pmj-ease-out),
    transform var(--pmj-slow) var(--pmj-ease-out);
}

.pmj-reveal.pmj-pending {
  opacity: 0;
  transform: translateY(22px);
}

.pmj-reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 620ms var(--pmj-ease-out),
    transform 620ms var(--pmj-ease-out);
}

/* --------------------------------------------------------------------------
   4. Announcement + topbar
   -------------------------------------------------------------------------- */
.announcement {
  background: var(--pmj-ink);
  color: color-mix(in srgb, var(--pmj-paper) 92%, var(--pmj-gold));
  padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.announcement-inner {
  display: flex;
  justify-content: center;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.9rem;
  border-radius: var(--pmj-r-pill);
  transition: background var(--pmj-fast) var(--pmj-ease);
}

.announcement-link:hover {
  background: color-mix(in srgb, var(--pmj-paper) 12%, transparent);
}

.announcement-icon {
  color: var(--pmj-gold);
  width: 1rem;
  height: 1rem;
}

.announcement-cta {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: var(--pmj-r-pill);
  background: color-mix(in srgb, var(--pmj-gold) 26%, transparent);
}

.announcement-cta .pmj-icon {
  width: 0.8rem;
  height: 0.8rem;
}

.pmj-topbar {
  background: var(--pmj-tint);
  border-bottom: 1px solid var(--pmj-line);
  font-size: 0.76rem;
  color: var(--pmj-muted);
}

.pmj-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pmj-s-4);
  padding: 0.5rem 0;
}

.pmj-topbar-points {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  flex-wrap: wrap;
}

.pmj-dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pmj-accent);
  opacity: 0.55;
}

.pmj-topbar-side {
  display: flex;
  align-items: center;
  gap: var(--pmj-s-4);
}

.pmj-topbar-links {
  display: flex;
  gap: var(--pmj-s-4);
}

.pmj-topbar-links a {
  opacity: 0.96;
  transition: opacity var(--pmj-fast), color var(--pmj-fast);
}

.pmj-topbar-links a:hover {
  opacity: 1;
  color: var(--pmj-accent);
}

.pmj-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--pmj-ink);
}

@media (max-width: 900px) {
  .pmj-topbar-points {
    display: none;
  }
  .pmj-topbar-inner {
    justify-content: flex-end;
  }
}

@media (max-width: 560px) {
  .pmj-topbar-links {
    display: none;
  }
  /* On a phone the topbar is the call bar, so it gets a full thumb-height hit
     area instead of a 19px line of text. */
  .pmj-topbar-inner {
    padding: 0;
  }
  .pmj-topbar-phone {
    min-height: 40px;
    padding-inline: 0.5rem;
  }
}

/* --------------------------------------------------------------------------
   5. Header — two tiers, brand lockup always whole
   -------------------------------------------------------------------------- */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: var(--pmj-z-header);
  background: color-mix(in srgb, var(--pmj-paper) 88%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--pmj-line);
  transition:
    box-shadow var(--pmj-base) var(--pmj-ease),
    transform var(--pmj-base) var(--pmj-ease),
    background var(--pmj-base) var(--pmj-ease);
}

#siteHeader.is-stuck {
  box-shadow: var(--pmj-elev-2);
  background: color-mix(in srgb, var(--pmj-paper) 96%, transparent);
}

#siteHeader.is-hidden {
  transform: translateY(-100%);
}

/* The stuck tier only adds a shadow and a more solid ground. It must not resize
   the row: the header is sticky, so every pixel it sheds moved the nav, the
   mark and the whole page under it — which read as the bar shaking at the top. */
#siteHeader .header-inner {
  min-height: var(--pmj-header-h);
  padding: 0.375rem 0;
}

/* Brand lockup: wordmark + tagline never collapse into nothing at any width */
.brand {
  gap: 0.55rem;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
  min-width: 0;
}

/* The mark is a stacked lockup, so it is sized off the header row itself: it
   fills the 76px line edge to edge instead of shrinking to a small badge. */
.brand .site-logo-img {
  height: clamp(30px, 4.9vw, 62px);
  width: auto;
  max-width: 100%;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.75))
    drop-shadow(0 10px 18px rgba(28, 25, 23, 0.13));
}

.brand .site-logo-text {
  font-size: clamp(1.05rem, 2.6vw, 1.85rem);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: clamp(0.5rem, 1.05vw, 0.66rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pmj-muted);
  white-space: nowrap;
}

.footer-brand .brand-tagline,
.mobile-nav-head .brand-tagline {
  color: color-mix(in srgb, currentColor 92%, transparent);
}

.mobile-nav-head .site-logo-img {
  height: 38px;
  width: auto;
}

/* Footer: the mark keeps its colour on a pale plate. Flattening it to a white
   silhouette filled in the thin "925 Sterling Silver" engraving. */
.footer-brand .site-logo-img {
  height: 60px;
  max-height: none;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.7rem;
  border-radius: var(--pmj-r-sm);
  background: linear-gradient(165deg, #fff, var(--pmj-ivory));
  filter: none;
  opacity: 1;
}

.nav-desktop {
  gap: clamp(0.6rem, 1.6vw, 1.4rem);
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-item {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  /* Solid ink rather than a translucent wash: nav has to be readable at a
     glance. Weight stays at 600 so the row keeps fitting on one line. */
  color: color-mix(in srgb, var(--pmj-ink) 94%, transparent);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--pmj-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--pmj-base) var(--pmj-ease-out);
}

.nav-item:hover,
.nav-browse[aria-expanded='true'] {
  color: var(--pmj-ink);
}

.nav-item:hover::after,
.nav-item.is-active::after,
.nav-browse[aria-expanded='true']::after {
  transform: scaleX(1);
}

.nav-caret {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform var(--pmj-fast) var(--pmj-ease);
}

/* Mid-size laptops: keep the whole nav on one row instead of wrapping */
@media (min-width: 981px) and (max-width: 1159px) {
  .nav-desktop {
    gap: 0.55rem;
  }

  .nav-item,
  body.home .nav-desktop a {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}

.nav-browse[aria-expanded='true'] .nav-caret {
  transform: rotate(90deg);
}

.header-actions {
  gap: 0.4rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--pmj-r-pill);
  border: 1px solid var(--pmj-line);
  background: color-mix(in srgb, var(--pmj-paper) 70%, transparent);
  color: var(--pmj-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition:
    transform var(--pmj-fast) var(--pmj-ease),
    border-color var(--pmj-fast),
    background var(--pmj-fast),
    box-shadow var(--pmj-fast);
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--pmj-accent) 45%, transparent);
  background: var(--pmj-paper);
  box-shadow: var(--pmj-elev-1);
}

/* Narrow screens: the lockup stays whole, so the mark, tagline and icons shrink
   until burger + brand + actions fit one row without horizontal scroll. */
@media (max-width: 620px) {
  .header-inner {
    gap: 0.5rem;
  }
  .brand {
    gap: 0.4rem;
  }
  .brand .site-logo-text {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }
  .brand-tagline {
    font-size: clamp(0.42rem, 2.4vw, 0.52rem);
    letter-spacing: 0.08em;
  }
  .header-actions {
    gap: 0.2rem;
  }
  .icon-btn,
  #menuBtn {
    width: 40px;
    height: 40px;
  }
  .icon-btn {
    font-size: 0.95rem;
  }
  .brand {
    min-height: 40px;
  }
  .cart-count,
  .wish-count {
    min-width: 19px;
    height: 19px;
    font-size: 0.6875rem;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 1.5rem);
  }
  .brand-tagline {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }
  .header-inner {
    gap: 0.3rem;
  }
}

.cart-count,
.wish-count {
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0;
  border: 1px solid var(--pmj-paper);
}

.cart-count.is-empty,
.wish-count.is-empty {
  display: none;
}

.menu-toggle {
  display: none;
}

/* Header search drawer */
.site-search-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: var(--pmj-z-search);
  background: var(--pmj-paper);
  border-bottom: 1px solid var(--pmj-line);
  box-shadow: var(--pmj-elev-2);
  padding: var(--pmj-s-4) 0;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition:
    opacity var(--pmj-base) var(--pmj-ease),
    transform var(--pmj-base) var(--pmj-ease),
    visibility var(--pmj-base);
}

.site-search-bar.open {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.site-search-form input[type='search'] {
  border: 1px solid var(--pmj-line-strong);
  border-radius: var(--pmj-r-pill);
  padding: 0.85rem 1.2rem;
  background: var(--pmj-tint);
  font-size: 1rem;
}

.site-search-form input[type='search']:focus {
  outline: none;
  border-color: var(--pmj-accent);
  background: var(--pmj-paper);
}

/* --------------------------------------------------------------------------
   6. Mega menu
   -------------------------------------------------------------------------- */
.pmj-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: var(--pmj-z-mega);
  background: var(--pmj-paper);
  border-bottom: 1px solid var(--pmj-line);
  box-shadow: var(--pmj-elev-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity var(--pmj-base) var(--pmj-ease),
    transform var(--pmj-base) var(--pmj-ease-out),
    visibility var(--pmj-base);
}

.pmj-mega.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.pmj-mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--pmj-s-6);
  padding: var(--pmj-s-6) 0 var(--pmj-s-7);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--pmj-s-5);
}

.mega-title {
  margin: 0 0 var(--pmj-s-3);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.mega-list a {
  display: block;
  padding: 0.42rem 0.55rem;
  margin-inline: -0.55rem;
  border-radius: var(--pmj-r-sm);
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--pmj-ink) 95%, transparent);
  transition: background var(--pmj-fast), color var(--pmj-fast), transform var(--pmj-fast);
}

.mega-list a:hover {
  background: var(--pmj-tint);
  color: var(--pmj-accent);
  transform: translateX(2px);
}

.mega-feature {
  border-left: 1px solid var(--pmj-line);
  padding-left: var(--pmj-s-5);
}

.mega-feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pmj-s-3);
}

.mega-feature-tile {
  display: grid;
  gap: 0.4rem;
  border-radius: var(--pmj-r-md);
  overflow: hidden;
  background: var(--pmj-tint);
  padding-bottom: 0.6rem;
  transition: transform var(--pmj-base) var(--pmj-ease-out), box-shadow var(--pmj-base);
}

.mega-feature-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--pmj-elev-2);
}

.mega-feature-tile img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.mega-feature-tile span {
  padding: 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 1023px) {
  .pmj-mega {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Mobile navigation
   -------------------------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--pmj-z-mobile);
  background: var(--pmj-paper);
  transform: translateY(-100%);
  transition: transform var(--pmj-slow) var(--pmj-ease-out);
  overflow-y: auto;
  padding: 0;
}

.mobile-nav.open {
  display: block;
  transform: none;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pmj-s-4);
  padding: var(--pmj-s-4) var(--pmj-gutter);
  border-bottom: 1px solid var(--pmj-line);
  position: sticky;
  top: 0;
  background: var(--pmj-paper);
  z-index: 1;
}

.mobile-nav-list {
  display: grid;
  gap: 0;
  padding: var(--pmj-s-4) var(--pmj-gutter) var(--pmj-s-6);
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pmj-s-3);
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--pmj-line);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mobile-nav-list a .pmj-icon {
  color: var(--pmj-accent);
  opacity: 0.7;
}

.mobile-nav-foot {
  padding: var(--pmj-s-5) var(--pmj-gutter) var(--pmj-s-7);
  display: grid;
  gap: var(--pmj-s-3);
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  #siteHeader .menu-toggle {
    display: grid;
  }
  .nav-desktop {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. Shared section primitives
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--pmj-section);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--pmj-s-5);
  margin-bottom: var(--pmj-s-6);
}

.section-head h2 {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h2);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.section-head p:last-child {
  margin: 0.5rem 0 0;
  color: var(--pmj-muted);
  max-width: 46ch;
}

.section-eyebrow {
  margin: 0;
  font-size: var(--pmj-eyebrow);
  font-weight: 700;
  letter-spacing: var(--pmj-tracking);
  text-transform: uppercase;
  color: var(--pmj-accent);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--pmj-line-strong);
  padding-bottom: 0.25rem;
  transition: border-color var(--pmj-fast), color var(--pmj-fast);
}

.section-link:hover {
  color: var(--pmj-accent);
  border-color: var(--pmj-accent);
}

.pmj-empty-section {
  display: none;
}

/* Breadcrumbs */
.pmj-crumbs {
  border-bottom: 1px solid var(--pmj-line);
  background: color-mix(in srgb, var(--pmj-tint) 60%, transparent);
  font-size: 0.78rem;
  color: var(--pmj-muted);
}

.pmj-crumbs .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 0.7rem;
}

.pmj-crumbs a {
  opacity: 0.96;
  transition: opacity var(--pmj-fast), color var(--pmj-fast);
}

.pmj-crumbs a:hover {
  opacity: 1;
  color: var(--pmj-accent);
}

.pmj-crumb-sep {
  opacity: 0.4;
}

.pmj-crumbs [aria-current='page'] {
  color: var(--pmj-ink);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--pmj-r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--pmj-fast) var(--pmj-ease),
    box-shadow var(--pmj-base),
    background var(--pmj-base),
    color var(--pmj-base);
}

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

.btn-accent,
.btn-primary {
  background: var(--pmj-accent);
  color: var(--pmj-paper);
}

.btn-dark {
  background: var(--pmj-ink);
  color: var(--pmj-paper);
}

.btn-ghost {
  background: transparent;
  border-color: var(--pmj-line-strong);
  color: var(--pmj-ink);
}

.btn-ghost:hover {
  border-color: var(--pmj-ink);
}

.btn-block {
  width: 100%;
}

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--pmj-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Skeletons */
.pmj-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: var(--pmj-r-md);
  background: color-mix(in srgb, var(--pmj-ink) 8%, var(--pmj-paper));
  min-height: 120px;
}

.pmj-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    color-mix(in srgb, var(--pmj-paper) 80%, transparent) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  animation: pmjShimmer 1.4s var(--pmj-ease) infinite;
}

@keyframes pmjShimmer {
  to { transform: translateX(100%); }
}

.card-skeleton {
  aspect-ratio: 3 / 4;
}

.price-skeleton {
  aspect-ratio: 1 / 1;
}

.filter-skeleton {
  height: 22px;
  min-height: 22px;
  margin-block: 6px;
}

.review-skeleton {
  height: 150px;
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.popular-search {
  padding: var(--pmj-s-6) 0 var(--pmj-s-5);
  background: var(--pmj-paper);
  border-top: 1px solid var(--pmj-line);
}

.popular-search-title {
  margin: 0 0 var(--pmj-s-4);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

.popular-search-col {
  margin-bottom: var(--pmj-s-3);
}

.popular-search-col h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pmj-accent);
}

.popular-search-col p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--pmj-muted);
}

.popular-search-col a {
  padding: 0.15rem 0.5rem;
  border-radius: var(--pmj-r-pill);
  border: 1px solid var(--pmj-line);
  transition: border-color var(--pmj-fast), color var(--pmj-fast), background var(--pmj-fast);
}

.popular-search-col a:hover {
  border-color: var(--pmj-accent);
  color: var(--pmj-accent);
  background: var(--pmj-tint);
}

.popular-sep {
  display: none;
}

#siteFooter {
  background: var(--pmj-ink);
  color: var(--pmj-on-ink);
  font-size: 0.88rem;
}

#siteFooter .footer-top {
  padding-block: var(--pmj-s-8) var(--pmj-s-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.2fr;
  gap: var(--pmj-s-6);
}

.footer-col h4 {
  margin: 0 0 var(--pmj-s-4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pmj-gold);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  opacity: 0.86;
  transition: opacity var(--pmj-fast), color var(--pmj-fast);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--pmj-gold);
}

.footer-about {
  margin: var(--pmj-s-4) 0;
  max-width: 34ch;
  opacity: 0.95;
  line-height: 1.65;
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  opacity: 0.96;
}

.footer-address {
  margin: var(--pmj-s-3) 0 0;
  opacity: 0.88;
  line-height: 1.6;
}

.footer-news-copy {
  margin: 0 0 var(--pmj-s-3);
  opacity: 0.94;
}

#siteFooter .newsletter {
  display: grid;
  gap: 0.6rem;
}

#siteFooter .newsletter input {
  border: 1px solid color-mix(in srgb, var(--pmj-paper) 22%, transparent);
  background: color-mix(in srgb, var(--pmj-paper) 8%, transparent);
  color: var(--pmj-paper);
  border-radius: var(--pmj-r-pill);
  padding: 0.8rem 1.05rem;
}

#siteFooter .newsletter input::placeholder {
  color: color-mix(in srgb, var(--pmj-paper) 78%, transparent);
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--pmj-s-4);
  padding: 0.4rem 0.85rem;
  border-radius: var(--pmj-r-pill);
  background: color-mix(in srgb, var(--pmj-gold) 18%, transparent);
  color: var(--pmj-gold);
  font-weight: 700;
  font-size: 0.8rem;
}

.footer-meta {
  margin-top: var(--pmj-s-4);
  display: grid;
  gap: 0.35rem;
  font-size: 0.76rem;
  opacity: 0.88;
}

.footer-meta p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pmj-s-4);
  flex-wrap: wrap;
  padding-block: var(--pmj-s-5);
  border-top: 1px solid color-mix(in srgb, var(--pmj-paper) 14%, transparent);
  font-size: 0.78rem;
  opacity: 0.92;
}

.footer-payments {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-payments span {
  padding: 0.28rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--pmj-paper) 20%, transparent);
  border-radius: var(--pmj-r-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-trust {
  border-top: 1px solid color-mix(in srgb, var(--pmj-paper) 14%, transparent);
  background: color-mix(in srgb, var(--pmj-paper) 5%, transparent);
}

.footer-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pmj-s-4);
  padding-block: var(--pmj-s-5);
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-trust-item .pmj-icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--pmj-gold);
}

.footer-trust-item strong {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.footer-trust-item span {
  font-size: 0.74rem;
  opacity: 0.86;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--pmj-s-5);
  }
}

/* --------------------------------------------------------------------------
   10. Cart drawer, modal, toast, floating chrome
   -------------------------------------------------------------------------- */
.drawer {
  width: min(100%, 468px);
  background: var(--pmj-paper);
  box-shadow: -28px 0 90px rgba(26, 22, 20, 0.2);
  visibility: hidden;
  transition:
    transform var(--pmj-base) var(--pmj-ease-out),
    visibility 0s linear var(--pmj-base);
}

.drawer.open {
  visibility: visible;
  transition:
    transform var(--pmj-base) var(--pmj-ease-out),
    visibility 0s;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--pmj-s-4);
  padding: 1.15rem 1.35rem 1rem;
  border-bottom: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
}

.drawer-head-text {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.drawer-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.drawer-count {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

.drawer-head .icon-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}

.cart-meter {
  margin: 0.9rem 1.35rem 0;
  padding: 0.7rem 0.9rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fdf8ef, #f7efe1);
  border: 1px solid color-mix(in srgb, var(--pmj-gold) 28%, transparent);
}

.cart-meter-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.cart-meter-head .pmj-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--pmj-accent);
}

.cart-meter-copy {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--pmj-ink);
}

.cart-meter.is-complete .cart-meter-copy {
  color: var(--pmj-accent);
}

.cart-meter-track {
  height: 6px;
  border-radius: var(--pmj-r-pill);
  background: color-mix(in srgb, var(--pmj-ink) 9%, transparent);
  overflow: hidden;
}

.cart-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pmj-accent), var(--pmj-gold));
  transition: width var(--pmj-slow) var(--pmj-ease-out);
}

.drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.9rem 1.1rem 1.1rem;
  background: radial-gradient(140% 90% at 50% 0%, #fffdf9 0%, #f6f0e5 100%);
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--pmj-ink) 24%, transparent) transparent;
}

.drawer-body::-webkit-scrollbar {
  width: 8px;
}

.drawer-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background-color: color-mix(in srgb, var(--pmj-ink) 24%, transparent);
}

.cart-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.7rem;
  border: 1px solid color-mix(in srgb, var(--pmj-ink) 8%, transparent);
  border-radius: 16px;
  background: var(--pmj-paper);
  box-shadow: 0 1px 2px rgba(26, 22, 20, 0.04);
}

.cart-item-media {
  display: block;
  width: 84px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4ede0;
}

.cart-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  mix-blend-mode: multiply;
}

.cart-item-main {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  align-content: start;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cart-item-name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pmj-ink);
  text-decoration: none;
}

.cart-item-name:hover {
  color: var(--pmj-accent);
}

.cart-item-remove {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid transparent;
  border-radius: var(--pmj-r-pill);
  background: transparent;
  color: color-mix(in srgb, var(--pmj-ink) 68%, transparent);
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color var(--pmj-fast),
    background var(--pmj-fast),
    border-color var(--pmj-fast);
}

.cart-item-remove:hover {
  color: var(--pmj-ink);
  background: var(--pmj-tint);
  border-color: var(--pmj-line);
}

.cart-option {
  justify-self: start;
  padding: 0.15rem 0.5rem;
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-tint);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pmj-accent);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.15rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--pmj-line-strong);
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-paper);
}

.qty-stepper button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--pmj-ink);
  font-size: 0.95rem;
  cursor: pointer;
}

.qty-stepper button:hover {
  background: var(--pmj-tint);
  color: var(--pmj-accent);
}

.qty-stepper span {
  min-width: 1.6rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cart-item-price {
  display: grid;
  justify-items: end;
  gap: 0.05rem;
  text-align: right;
}

.cart-item-price strong {
  font-size: 0.92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--pmj-ink);
}

.cart-item-price span {
  font-size: 0.6875rem;
  color: var(--pmj-muted);
}

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.qty-row button,
.pdp-qty button {
  width: 28px;
  height: 28px;
  border-radius: var(--pmj-r-pill);
  border: 1px solid var(--pmj-line-strong);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color var(--pmj-fast), background var(--pmj-fast);
}

.qty-row button:hover,
.pdp-qty button:hover {
  border-color: var(--pmj-accent);
  background: var(--pmj-tint);
}

.drawer-foot {
  flex: 0 0 auto;
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1.35rem 1.1rem;
  border-top: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  box-shadow: 0 -18px 40px -32px rgba(26, 22, 20, 0.45);
}

.drawer-foot .coupon-box-pmj {
  margin: 0;
}

#cartDrawer .coupon-open-btn {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border: 1px dashed color-mix(in srgb, var(--pmj-accent) 38%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--pmj-gold) 9%, #fff);
}

#cartDrawer .coupon-open-title {
  font-size: 0.82rem;
  font-weight: 600;
}

#cartDrawer .coupon-open-link {
  font-size: 0.76rem;
  white-space: nowrap;
}

.drawer-lines {
  display: grid;
  gap: 0.35rem;
}

.drawer-lines[hidden],
.cart-coupon-line[hidden],
.cart-ship-line[hidden] {
  display: none;
}

.cart-ship-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--pmj-muted);
}

.cart-ship-line strong {
  color: var(--pmj-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

#cartDrawer .cart-coupon-line {
  font-size: 0.8rem;
  color: var(--pmj-muted);
}

#cartDrawer .cart-coupon-line strong {
  color: #0f766e;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

#cartTotal {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--pmj-ink);
  text-transform: none;
}

#checkoutBtn {
  min-height: 52px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drawer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.74rem;
  color: var(--pmj-muted);
}

.drawer-note .pmj-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--pmj-accent);
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2.6rem 1rem;
  color: var(--pmj-muted);
}

.cart-empty-mark {
  font-size: 1.5rem;
  color: var(--pmj-gold);
}

.cart-empty p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--pmj-ink);
}

.cart-empty-sub {
  font-size: 0.78rem;
}

.cart-empty .btn {
  margin-top: 0.75rem;
}

@media (max-width: 520px) {
  .drawer {
    width: 100%;
  }
  .drawer-head {
    padding-inline: 1.1rem;
  }
  .drawer-body {
    padding: 0.75rem 0.85rem 0.95rem;
  }
  .drawer-foot {
    padding-inline: 1.1rem;
  }
  .cart-meter {
    margin-inline: 1.1rem;
  }
  .cart-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .cart-item-media {
    width: 76px;
    height: 88px;
  }
}

/* Short viewports (small laptops, landscape phones): trim the chrome so the
   items themselves keep the room, instead of scrolling inside a 120px band. */
@media (max-height: 680px) {
  .drawer-head {
    padding-block: 0.85rem 0.75rem;
  }
  .drawer-head h3 {
    font-size: 1.25rem;
  }
  .drawer-body {
    padding-block: 0.7rem 0.8rem;
  }
  .cart-list {
    gap: 0.5rem;
  }
  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 0.55rem;
  }
  .cart-item-media {
    width: 68px;
    height: 78px;
  }
  .cart-item-name {
    font-size: 0.9rem;
  }
  .drawer-foot {
    gap: 0.55rem;
    padding-block: 0.75rem 0.9rem;
  }
  #cartTotal {
    font-size: 1.35rem;
  }
  #checkoutBtn {
    min-height: 46px;
  }
  .drawer-note {
    font-size: 0.7rem;
  }
}

/* Landscape phones: the trust note yields its row so the last item is not
   half-cut behind the checkout block. */
@media (max-height: 620px) {
  .drawer-note {
    display: none;
  }
}

.modal {
  z-index: var(--pmj-z-modal);
  padding: var(--pmj-gutter);
}

.modal-panel {
  border-radius: var(--pmj-r-lg);
  box-shadow: var(--pmj-elev-4);
  background: var(--pmj-paper);
}

.toast {
  z-index: var(--pmj-z-toast);
  bottom: calc(var(--pmj-s-5) + env(safe-area-inset-bottom));
  left: 50%;
  right: auto;
  transform: translate(-50%, 20px);
  background: var(--pmj-ink);
  color: var(--pmj-paper);
  border-radius: var(--pmj-r-pill);
  padding: 0.8rem 1.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--pmj-elev-3);
  opacity: 0;
  transition: opacity var(--pmj-base), transform var(--pmj-base) var(--pmj-ease-out);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.chat-bubble {
  position: fixed;
  right: var(--pmj-s-5);
  bottom: calc(var(--pmj-s-5) + env(safe-area-inset-bottom));
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-ink);
  color: var(--pmj-paper);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--pmj-elev-3);
  transition: transform var(--pmj-base) var(--pmj-ease-out), box-shadow var(--pmj-base);
}

.chat-bubble:hover {
  transform: translateY(-3px);
}

.chat-bubble .pmj-icon {
  color: var(--pmj-gold);
}

.pmj-to-top {
  position: fixed;
  right: var(--pmj-s-5);
  bottom: calc(var(--pmj-s-5) + 3.4rem + env(safe-area-inset-bottom));
  z-index: 74;
  width: 44px;
  height: 44px;
  border-radius: var(--pmj-r-pill);
  border: 1px solid var(--pmj-line-strong);
  background: color-mix(in srgb, var(--pmj-paper) 92%, transparent);
  color: var(--pmj-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity var(--pmj-base) var(--pmj-ease),
    transform var(--pmj-base) var(--pmj-ease-out),
    border-color var(--pmj-fast);
  backdrop-filter: blur(10px);
}

.pmj-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pmj-to-top:hover {
  border-color: var(--pmj-accent);
  color: var(--pmj-accent);
}

/* --------------------------------------------------------------------------
   11. Home
   -------------------------------------------------------------------------- */
.hero {
  min-height: min(86vh, 720px);
}

.hero-content {
  padding-block: var(--pmj-s-8) var(--pmj-s-7);
  max-width: 38rem;
}

.hero h1 {
  font-size: var(--pmj-h1);
  line-height: 1.02;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--pmj-line);
  border: 1px solid var(--pmj-line);
  border-radius: var(--pmj-r-lg);
  overflow: hidden;
  margin-block: var(--pmj-s-6);
  box-shadow: var(--pmj-elev-1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--pmj-s-3);
  padding: var(--pmj-s-5);
  background: var(--pmj-paper);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-tint);
  color: var(--pmj-accent);
  font-size: 1rem;
}

.trust-item strong {
  display: block;
  font-size: 0.88rem;
}

.trust-item span {
  font-size: 0.76rem;
  color: var(--pmj-muted);
}

@media (max-width: 900px) {
  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .trust-bar {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Category rail */
.pmj-cat-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: var(--pmj-s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--pmj-s-3);
  scrollbar-width: thin;
}

.pmj-cat-tile {
  position: relative;
  display: grid;
  align-content: end;
  aspect-ratio: 3 / 4;
  border-radius: var(--pmj-r-lg);
  overflow: hidden;
  background: var(--pmj-tint);
  scroll-snap-align: start;
  isolation: isolate;
  transition: transform var(--pmj-base) var(--pmj-ease-out), box-shadow var(--pmj-base);
}

.pmj-cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--pmj-elev-3);
}

.pmj-cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform var(--pmj-slow) var(--pmj-ease-out);
}

.pmj-cat-tile:hover img {
  transform: scale(1.06);
}

.pmj-cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 38%, rgba(18, 14, 12, 0.8));
}

.pmj-cat-tile-name {
  position: relative;
  padding: var(--pmj-s-4);
  color: var(--pmj-paper);
  font-family: var(--font-display);
  font-size: var(--pmj-h4);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 14px rgba(18, 14, 12, 0.5);
}

.pmj-cat-tile-ph {
  position: absolute;
  inset: 0;
  /* Behind the ::after scrim: at auto z-index the pale placeholder painted over
     it and the white label lost its contrast. */
  z-index: -2;
  background: linear-gradient(140deg, var(--pmj-tint), color-mix(in srgb, var(--pmj-accent) 22%, var(--pmj-paper)));
}

/* Price grid */
.price-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--pmj-s-4);
}

.price-card {
  display: grid;
  gap: 0;
  border-radius: var(--pmj-r-lg);
  overflow: hidden;
  background: var(--pmj-paper);
  border: 1px solid var(--pmj-line);
  box-shadow: var(--pmj-elev-1);
  cursor: pointer;
  transition:
    transform var(--pmj-base) var(--pmj-ease-out),
    box-shadow var(--pmj-base),
    border-color var(--pmj-base);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--pmj-accent) 35%, transparent);
  box-shadow: var(--pmj-elev-3);
}

.price-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.price-card span {
  padding: var(--pmj-s-4);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* Collection rails */
.collection-head {
  align-items: flex-end;
}

.shop-all-link {
  align-self: flex-end;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pmj-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--pmj-accent) 35%, transparent);
  padding-bottom: 0.2rem;
  white-space: nowrap;
}

.carousel-nav {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--pmj-r-pill);
  border: 1px solid var(--pmj-line-strong);
  background: var(--pmj-paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color var(--pmj-fast), color var(--pmj-fast), transform var(--pmj-fast);
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--pmj-accent);
  color: var(--pmj-accent);
  transform: translateY(-1px);
}

.carousel-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.product-carousel {
  gap: var(--pmj-s-4);
}

/* Editorial band */
.pmj-editorial {
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--pmj-accent) 8%, transparent), transparent 60%),
    var(--pmj-ink);
  color: var(--pmj-on-ink);
}

.pmj-editorial-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--pmj-s-7);
  align-items: center;
}

.pmj-editorial h2 {
  margin: 0.4rem 0 var(--pmj-s-4);
  font-family: var(--font-display);
  font-size: var(--pmj-h2);
  line-height: 1.05;
  color: var(--pmj-paper);
}

.pmj-editorial-copy > p {
  opacity: 0.95;
  line-height: 1.7;
  max-width: 48ch;
}

.pmj-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmj-s-3);
  margin-top: var(--pmj-s-5);
}

.pmj-editorial .btn-ghost {
  color: var(--pmj-paper);
  border-color: color-mix(in srgb, var(--pmj-paper) 40%, transparent);
}

.pmj-editorial .btn-dark {
  background: var(--pmj-gold);
  color: var(--pmj-ink);
}

.pmj-editorial-quote {
  margin: 0;
  padding: var(--pmj-s-6);
  border-left: 2px solid var(--pmj-gold);
  background: color-mix(in srgb, var(--pmj-paper) 7%, transparent);
  border-radius: 0 var(--pmj-r-lg) var(--pmj-r-lg) 0;
}

.pmj-editorial-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h3);
  line-height: 1.3;
  font-style: italic;
  color: var(--pmj-paper);
}

.pmj-editorial-quote cite {
  display: block;
  margin-top: var(--pmj-s-4);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .pmj-editorial-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--pmj-s-6);
  }
}

/* Testimonials */
.testimonial-card {
  display: grid;
  gap: var(--pmj-s-3);
  padding: var(--pmj-s-5);
  border-radius: var(--pmj-r-lg);
  border: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  box-shadow: var(--pmj-elev-1);
  transition: transform var(--pmj-base) var(--pmj-ease-out), box-shadow var(--pmj-base);
}

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

.testimonial-stars {
  color: var(--pmj-gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.testimonial-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.45;
}

.testimonial-card footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--pmj-s-3);
}

.testimonial-card strong {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-card small {
  color: var(--pmj-muted);
  font-size: 0.74rem;
}

.home-partners {
  margin-top: var(--pmj-s-5);
  font-size: 0.78rem;
  color: var(--pmj-muted);
  line-height: 1.8;
}

/* Product card links: the card is a destination, not a click target */
.pmj-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.pmj-card-name {
  color: inherit;
  text-decoration: none;
  transition: color var(--pmj-fast) var(--pmj-ease);
}

.pmj-card-name:hover,
.pmj-card-name:focus-visible {
  color: var(--pmj-accent);
}

.pmj-quick-btn {
  position: absolute;
  left: var(--pmj-s-2);
  right: var(--pmj-s-2);
  bottom: var(--pmj-s-2);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--pmj-line);
  border-radius: 999px;
  background: color-mix(in srgb, #fff 88%, transparent);
  color: var(--pmj-ink);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--pmj-fast) var(--pmj-ease), transform var(--pmj-fast) var(--pmj-ease);
}

.pmj-quick-btn:hover {
  background: var(--pmj-ink);
  color: #fff;
}

.product-card:hover .pmj-quick-btn,
.product-card:focus-within .pmj-quick-btn {
  opacity: 1;
  transform: none;
}

/* Wishlist heart stays reachable: touch devices never produce a hover. */
.card-wish {
  position: absolute;
  top: var(--pmj-s-2);
  right: var(--pmj-s-2);
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--pmj-line);
  border-radius: 50%;
  background: color-mix(in srgb, #fff 86%, transparent);
  color: var(--pmj-ink);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform var(--pmj-fast) var(--pmj-ease),
    background var(--pmj-fast) var(--pmj-ease),
    color var(--pmj-fast) var(--pmj-ease);
}

.card-wish:hover {
  transform: scale(1.08);
  background: #fff;
}

.card-wish.is-on {
  background: color-mix(in srgb, var(--color-accent) 14%, #fff);
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--pmj-line));
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   12. Collection page
   -------------------------------------------------------------------------- */
.pmj-collection-hero {
  padding-block: var(--pmj-s-6) var(--pmj-s-5);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--pmj-accent) 7%, transparent), transparent),
    var(--pmj-tint);
  border-bottom: 1px solid var(--pmj-line);
}

.pmj-collection-hero h1 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h1);
  line-height: 1;
}

.pmj-collection-hero p:last-child {
  margin: 0.6rem 0 0;
  color: var(--pmj-muted);
  max-width: 58ch;
}

.collection-layout {
  gap: clamp(var(--pmj-s-5), 3vw, var(--pmj-s-7));
  padding-block: var(--pmj-s-6) var(--pmj-section);
}

.filters-panel {
  border-radius: var(--pmj-r-lg);
  border: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  box-shadow: var(--pmj-elev-1);
}

.filters-panel-top {
  padding: var(--pmj-s-4);
  border-bottom: 1px solid var(--pmj-line);
}

.hide-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: none;
  padding: 0;
  min-height: 40px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.hide-filters-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.filters-close-btn {
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--pmj-r-pill);
}

.filter-count-badge {
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-accent);
  color: var(--pmj-paper);
  font-size: 0.6875rem;
  font-weight: 700;
  place-items: center;
}

.filter-count-badge.show {
  display: grid;
}

.results-count {
  font-size: 0.78rem;
  color: var(--pmj-muted);
  font-variant-numeric: tabular-nums;
}

.active-filters {
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: var(--pmj-s-3) var(--pmj-s-4);
  border-bottom: 1px solid var(--pmj-line);
  background: var(--pmj-tint);
}

.active-filters.has-filters {
  display: flex;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem 0.3rem 0.7rem;
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-paper);
  border: 1px solid var(--pmj-line-strong);
  font-size: 0.76rem;
}

.filter-chip button {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--pmj-muted);
  padding: 0 0.15rem;
}

.filter-chip button:hover {
  color: var(--pmj-accent);
}

.clear-filters {
  border: 0;
  background: none;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pmj-accent);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
}

.filter-accordion {
  border-bottom: 1px solid var(--pmj-line);
  padding-block: var(--pmj-s-3);
}

.filter-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: none;
  padding: 0.4rem var(--pmj-s-4);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--pmj-ink);
}

.filter-accordion .chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--pmj-fast) var(--pmj-ease);
  opacity: 0.6;
}

.filter-accordion.open .chevron {
  transform: rotate(-135deg);
}

.filter-accordion-body {
  display: none;
  padding: 0 var(--pmj-s-4) var(--pmj-s-3);
}

.filter-accordion.open .filter-accordion-body {
  display: block;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  cursor: pointer;
}

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

.filter-empty {
  margin: 0;
  font-size: 0.8rem;
  color: var(--pmj-muted);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-inputs input {
  width: 100%;
  border: 1px solid var(--pmj-line-strong);
  border-radius: var(--pmj-r-sm);
  padding: 0.55rem 0.7rem;
  background: var(--pmj-paper);
}

.products-top {
  margin-bottom: var(--pmj-s-4);
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--pmj-muted);
}

#sortSelect {
  border: 1px solid var(--pmj-line-strong);
  border-radius: var(--pmj-r-pill);
  padding: 0.5rem 1.9rem 0.5rem 0.9rem;
  background: var(--pmj-paper);
  font-size: 1rem;
  color: var(--pmj-ink);
  cursor: pointer;
}

.collection-products {
  gap: clamp(var(--pmj-s-3), 2vw, var(--pmj-s-5));
}

.pmj-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--pmj-s-7) 0;
  color: var(--pmj-muted);
}

.show-filters-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--pmj-s-4);
  padding: 0.65rem 1.1rem;
  border-radius: var(--pmj-r-pill);
  border: 1px solid var(--pmj-line-strong);
  background: var(--pmj-paper);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--pmj-elev-1);
}

.show-filters-fab svg {
  width: 1rem;
  height: 1rem;
}

.show-filters-fab[hidden] {
  display: none;
}

.pmj-collection-copy {
  padding-block: var(--pmj-section);
  border-top: 1px solid var(--pmj-line);
}

.pmj-collection-copy h2 {
  margin: 0 0 var(--pmj-s-4);
  font-family: var(--font-display);
  font-size: var(--pmj-h3);
}

.pmj-collection-copy p {
  margin: 0;
  max-width: 76ch;
  color: var(--pmj-muted);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   13. Simple pages: head, prose, size guide, empty states, success
   -------------------------------------------------------------------------- */
.pmj-page-head {
  padding-block: var(--pmj-s-7) var(--pmj-s-5);
  background: linear-gradient(180deg, var(--pmj-tint), transparent);
  border-bottom: 1px solid var(--pmj-line);
}

.pmj-page-head h1 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h1);
  line-height: 1.02;
}

.pmj-page-head p:last-child {
  margin: 0.6rem 0 0;
  color: var(--pmj-muted);
  max-width: 60ch;
}

.pmj-empty-state {
  display: grid;
  gap: var(--pmj-s-4);
  place-items: center;
  text-align: center;
  padding-block: var(--pmj-s-8);
  color: var(--pmj-muted);
}

.pmj-prose-shell {
  padding-block: var(--pmj-s-7) var(--pmj-section);
}

.pmj-prose-hero h1 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h1);
}

.pmj-prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: var(--pmj-s-7);
  padding-top: var(--pmj-s-6);
}

.pmj-prose {
  font-size: var(--pmj-lead);
  line-height: 1.78;
  /* Long-form reading keeps the lighter cut while still clearing AA contrast. */
  font-weight: 400;
  color: color-mix(in srgb, var(--pmj-ink) 96%, transparent);
}

.pmj-prose h2 {
  margin-top: var(--pmj-s-6);
  font-family: var(--font-display);
  font-size: var(--pmj-h3);
}

.pmj-prose-side {
  align-self: start;
  position: sticky;
  top: calc(var(--pmj-header-h) + var(--pmj-s-4));
  padding: var(--pmj-s-5);
  border-radius: var(--pmj-r-lg);
  background: var(--pmj-paper);
  border: 1px solid var(--pmj-line);
  box-shadow: var(--pmj-elev-1);
}

.pmj-prose-side h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: var(--pmj-h4);
}

.pmj-prose-side p {
  margin: 0 0 var(--pmj-s-4);
  font-size: 0.85rem;
  color: var(--pmj-muted);
}

.pmj-side-links {
  list-style: none;
  margin: 0 0 var(--pmj-s-4);
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.pmj-side-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pmj-accent);
}

.pmj-side-links a.is-current {
  color: var(--pmj-ink);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

@media (max-width: 900px) {
  .pmj-prose-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--pmj-s-6);
  }
  .pmj-prose-side {
    position: static;
  }
}

.pmj-size-shell {
  padding-block: var(--pmj-s-6) var(--pmj-section);
  display: grid;
  /* An implicit auto track sizes to the size table's max-content and pushes the
     page wide on a phone; minmax(0,…) hands the overflow to the table's own
     horizontal scroller instead. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pmj-s-6);
}

.success-page {
  padding-block: var(--pmj-s-7) var(--pmj-section);
}

.success-card {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(var(--pmj-s-5), 5vw, var(--pmj-s-7));
  border-radius: var(--pmj-r-lg);
  border: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  box-shadow: var(--pmj-elev-2);
}

.success-icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: var(--pmj-r-pill);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  background: color-mix(in srgb, var(--pmj-accent) 14%, var(--pmj-paper));
  color: var(--pmj-accent);
}

.success-card h1 {
  margin: var(--pmj-s-4) 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--pmj-h2);
}

.success-meta {
  margin-top: var(--pmj-s-5);
  display: grid;
  gap: 0.35rem;
  text-align: left;
  padding: var(--pmj-s-4);
  border-radius: var(--pmj-r-md);
  background: var(--pmj-tint);
}

.success-meta p {
  display: flex;
  justify-content: space-between;
  gap: var(--pmj-s-4);
  margin: 0;
  padding-block: 0.3rem;
  border-bottom: 1px dashed var(--pmj-line);
  font-size: 0.86rem;
}

.success-track {
  margin-top: var(--pmj-s-5);
  text-align: left;
}

.success-track label {
  display: block;
  margin-bottom: var(--pmj-s-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

.success-track-row {
  display: flex;
  gap: var(--pmj-s-3);
}

.success-track input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--pmj-line-strong);
  border-radius: var(--pmj-r-md);
  background: var(--pmj-paper);
  font: inherit;
  font-size: 1rem;
  color: var(--pmj-ink);
}

.success-track .btn {
  white-space: nowrap;
}

.success-track-hint {
  margin: var(--pmj-s-2) 0 0;
  font-size: 0.78rem;
  color: var(--pmj-muted);
}

.success-meta p:last-child {
  border-bottom: 0;
}

.success-meta span {
  color: var(--pmj-muted);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmj-s-3);
  justify-content: center;
  margin-top: var(--pmj-s-5);
}

.success-next {
  margin: var(--pmj-s-6) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  text-align: left;
  font-size: 0.85rem;
  color: var(--pmj-muted);
}

.success-next li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.success-next span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: var(--pmj-r-pill);
  background: var(--pmj-ink);
  color: var(--pmj-paper);
  font-size: 0.72rem;
  font-weight: 700;
}

.pmj-not-found {
  padding-block: var(--pmj-s-8) var(--pmj-section);
  text-align: center;
  display: grid;
  gap: var(--pmj-s-4);
  justify-items: center;
}

.pmj-not-found h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h1);
}

.pmj-not-found p {
  margin: 0;
  color: var(--pmj-muted);
  max-width: 46ch;
}

.pmj-not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmj-s-3);
  justify-content: center;
  margin-top: var(--pmj-s-4);
}

/* --------------------------------------------------------------------------
   14. Product page frame slot
   -------------------------------------------------------------------------- */
.pdp-shell {
  padding-block: var(--pmj-s-5) var(--pmj-section);
}

.pdp-error {
  text-align: center;
  padding-block: var(--pmj-s-8);
  color: var(--pmj-muted);
}

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------
   Gallery framing — product page + quick view
   The stage is plain white, so the blurred copy of the photo that used to fill
   the letterbox bands is switched off: it tinted the white with the shot's own
   colours and the block never read as white. The photo keeps its drop shadow,
   which is what separates it from the page.
--------------------------------------------------------------------------- */
.pdp-gallery-main .gallery-blur,
.qv-gallery-main .gallery-blur {
  display: none;
}

.pdp-gallery-main .gallery-photo,
.qv-gallery-main .gallery-photo {
  z-index: 1;
  object-fit: contain;
  object-position: center;
  padding: clamp(4px, 1.4vw, 16px);
  box-sizing: border-box;
  filter: drop-shadow(0 22px 44px rgba(26, 22, 20, 0.18));
}

.pdp-gallery-main.is-zoomed .gallery-photo,
.qv-gallery-main.is-zoomed .gallery-photo {
  filter: none;
}

.pdp-thumb img,
.qv-thumb img {
  object-fit: contain !important;
  background: #ffffff;
  padding: 3px;
}

/* A hairline inner ring + vignette gives the stage a framed, gallery-light feel. */
.pdp-gallery-main::after,
.qv-gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--pmj-ink) 7%, transparent),
    inset 0 30px 60px -60px rgba(20, 16, 12, 0.5);
}

/* ---------------------------------------------------------------------------
   Premium finish — shared storefront details
--------------------------------------------------------------------------- */
::selection {
  background: color-mix(in srgb, var(--pmj-accent) 26%, transparent);
  color: var(--pmj-ink);
}

:where(a, button, summary, [role='button']):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--pmj-accent) 72%, transparent);
  outline-offset: 3px;
  border-radius: 6px;
}

.nav-desktop a.is-active {
  opacity: 1;
  color: var(--pmj-ink);
}

.nav-desktop a.is-active::after {
  transform: scaleX(1);
}

#navMobile a[aria-current='page'] {
  color: var(--pmj-accent);
  background: color-mix(in srgb, var(--pmj-accent) 8%, transparent);
}

/* Prose pages: a plinth under the title and a classic opening letter. */
.pmj-prose-hero {
  position: relative;
  padding-bottom: var(--pmj-s-5);
  background:
    radial-gradient(ellipse 60% 120% at 8% 0%, color-mix(in srgb, var(--pmj-accent) 9%, transparent), transparent 70%),
    linear-gradient(180deg, var(--pmj-tint), transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--pmj-ink) 6%, transparent);
}

.pmj-prose-hero::after {
  content: '';
  position: absolute;
  left: max(var(--pmj-gutter), calc((100% - 1200px) / 2));
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--pmj-accent), transparent);
}

.pmj-prose > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 3.1em;
  line-height: 0.82;
  color: var(--pmj-accent);
}

/* Empty wishlist reads as a designed moment, not a blank grid. */
.pmj-empty-wish {
  grid-column: 1 / -1;
  padding-block: var(--pmj-s-8);
}

.pmj-empty-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  font-size: 1.9rem;
  color: var(--pmj-accent);
  background: color-mix(in srgb, var(--pmj-accent) 10%, var(--pmj-paper));
  border: 1px solid color-mix(in srgb, var(--pmj-accent) 18%, transparent);
}

.pmj-empty-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h3);
  color: var(--pmj-ink);
}

.pmj-empty-copy {
  margin: 0;
  max-width: 38ch;
}

.pmj-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--pmj-s-3);
}

.pmj-empty-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--pmj-s-2);
}

.pmj-empty-cats a {
  padding: 0.4rem 0.9rem;
  border-radius: var(--pmj-r-pill);
  border: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  font-size: 0.8rem;
  color: var(--pmj-ink);
  transition: border-color var(--pmj-fast) var(--pmj-ease), color var(--pmj-fast) var(--pmj-ease);
}

.pmj-empty-cats a:hover {
  border-color: var(--pmj-accent);
  color: var(--pmj-accent);
}

/* Touch screens never hover, so quick view stays reachable. */
@media (hover: none) {
  .pmj-quick-btn {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   Quick view — framed gallery left, editorial column right.
   The close button stays out of the grid flow so the two columns fill the panel.
--------------------------------------------------------------------------- */
.modal .modal-close {
  position: absolute;
  top: clamp(0.75rem, 1.2vw, 1.1rem);
  right: clamp(0.75rem, 1.2vw, 1.1rem);
  z-index: 6;
}

#productModal[data-quick-view] .modal-panel.qv-panel {
  width: min(100%, 1060px);
  max-width: min(100%, 1060px);
  height: min(88vh, 720px);
  max-height: min(88vh, 720px);
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  border-radius: 24px;
}

#productModal[data-quick-view] .qv-media {
  background: #ffffff;
}

#productModal[data-quick-view] .qv-gallery-stage {
  padding: clamp(10px, 1.2vw, 16px) clamp(10px, 1.2vw, 16px) 0;
}

#productModal[data-quick-view] .qv-gallery-main {
  border-radius: 18px;
  min-height: 0;
}

#productModal[data-quick-view] .qv-gallery-main .gallery-photo {
  padding: clamp(8px, 1.6vw, 22px);
}

#productModal[data-quick-view] .qv-gallery-main::after {
  border-radius: 18px;
}

#productModal[data-quick-view] .qv-thumbs {
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem 0.9rem;
  background: transparent;
  border-top: 0;
}

#productModal[data-quick-view] .qv-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--pmj-ink) 10%, transparent);
  background: var(--pmj-paper);
  transition: border-color var(--pmj-fast) var(--pmj-ease), transform var(--pmj-fast) var(--pmj-ease);
}

#productModal[data-quick-view] .qv-thumb:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--pmj-accent) 45%, transparent);
}

#productModal[data-quick-view] .qv-thumb.active {
  border-color: var(--pmj-accent);
}

#productModal[data-quick-view] .qv-zoom-controls,
#productModal[data-quick-view] .qv-gallery-count,
#productModal[data-quick-view] .qv-nav {
  z-index: 4;
}

#productModal[data-quick-view] .qv-info {
  padding: clamp(1.35rem, 2.2vw, 2.2rem);
  gap: 0.45rem;
  background: var(--pmj-paper);
}

#productModal[data-quick-view] .qv-badges {
  margin-bottom: 0.7rem;
  gap: 0.45rem;
}

#productModal[data-quick-view] .qv-badge {
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

#productModal[data-quick-view] .qv-badge-offer {
  clip-path: none;
  padding-right: 0.7rem;
}

#productModal[data-quick-view] .qv-info h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--pmj-ink);
}

#productModal[data-quick-view] .qv-meta {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

#productModal[data-quick-view] .qv-price-block {
  padding: 0.9rem 0;
  margin-bottom: 0.4rem;
  border-top: 1px solid color-mix(in srgb, var(--pmj-ink) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--pmj-ink) 8%, transparent);
}

#productModal[data-quick-view] .qv-price {
  color: var(--pmj-ink);
  font-size: clamp(1.4rem, 1.9vw, 1.75rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

#productModal[data-quick-view] .qv-compare {
  font-size: 0.9rem;
}

#productModal[data-quick-view] .qv-off {
  color: var(--pmj-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#productModal[data-quick-view] .qv-details-link {
  margin: 0.35rem 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pmj-accent);
}

#productModal[data-quick-view] .qv-details-link:hover {
  color: var(--pmj-ink);
}

#productModal[data-quick-view] .qv-option-head {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

#productModal[data-quick-view] .qv-option-head strong {
  color: var(--pmj-ink);
}

#productModal[data-quick-view] .qv-option-btn {
  padding: 0.45rem 0.95rem;
  border-color: var(--pmj-line-strong);
  background: var(--pmj-paper);
  font-weight: 600;
  transition: border-color var(--pmj-fast) var(--pmj-ease), background var(--pmj-fast) var(--pmj-ease),
    color var(--pmj-fast) var(--pmj-ease);
}

#productModal[data-quick-view] .qv-option-btn:hover {
  border-color: color-mix(in srgb, var(--pmj-accent) 50%, var(--pmj-line-strong));
}

#productModal[data-quick-view] .qv-option-btn.active {
  background: var(--pmj-ink);
  border-color: var(--pmj-ink);
  color: var(--pmj-paper);
}

#productModal[data-quick-view] .qv-qty {
  border-radius: 999px;
  border-color: var(--pmj-line-strong);
}

#productModal[data-quick-view] .qv-qty button {
  width: 2.4rem;
  height: 2.4rem;
}

#productModal[data-quick-view] .qv-qty input {
  height: 2.4rem;
  border-color: color-mix(in srgb, var(--pmj-ink) 10%, transparent);
}

#productModal[data-quick-view] .qv-qty-row {
  margin-bottom: 1rem;
}

#productModal[data-quick-view] .qv-qty-row label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

#productModal[data-quick-view] .modal-actions {
  gap: 0.6rem;
  padding-top: 1.1rem;
}

#productModal[data-quick-view] .modal-actions .btn {
  border-radius: 999px;
  min-height: 48px;
}

@media (max-width: 980px) {
  #productModal[data-quick-view] .modal-panel.qv-panel {
    width: min(100%, 560px);
    height: min(92vh, 780px);
    max-height: min(92vh, 780px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 44%) minmax(0, 56%);
  }

  #productModal[data-quick-view] .qv-thumb {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pmj-reveal.pmj-pending {
    opacity: 1;
    transform: none;
  }
  .pmj-main.is-leaving,
  .pmj-main.is-entering {
    opacity: 1;
    transform: none;
  }
  #siteHeader.is-hidden {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   16. Touch targets on phones and tablets
   Every control a thumb has to hit reaches 40px at these widths. Desktop
   pointer density is untouched, and nothing here re-skins a block.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .section-link,
  .auth-help,
  .auth-link,
  .pmj-side-links a,
  .popular-search-col a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .card-wish {
    width: 2.5rem;
    height: 2.5rem;
  }

  .pmj-quick-btn {
    min-height: 40px;
  }

  /* Breadcrumb links are one short line of text inside a bar that already has
     11px of its own padding above and below. The padding borrows that dead
     strip for the hit area, and the equal negative margin keeps the row at the
     height it had before, so nothing on the page shifts. */
  .pmj-crumbs a {
    padding-inline: 0.3rem;
    margin-inline: -0.3rem;
    padding-block: 11px;
    margin-block: -11px;
  }

  .filter-accordion-trigger {
    min-height: 40px;
  }

  .footer-contact a,
  .pdp-back {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  /* Stacked footer and info-page link lists read as thin lines of text; the
     transparent padding makes each row a full thumb target at the same cost in
     height as the row already occupies. */
  .footer-col a,
  .pmj-side-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-inline: 0.5rem;
    margin-inline: -0.5rem;
  }

  /* The product name is a text line inside a card whose photo link is already
     full-size, so only the line itself needs the extra reach; the negative
     margin keeps the card body at the height it had before. */
  .pmj-card-name {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-block: -11px;
  }

  #sortSelect,
  .pdp-qty input,
  #pdpQty {
    min-height: 40px;
  }

  .pdp-zoom-controls button,
  .pdp-qty button {
    min-width: 40px;
    height: 40px;
  }

  .pdp-review-form input,
  .pdp-review-form textarea,
  .pdp-review-form select {
    font-size: 1rem;
  }

  .pmj-empty-cats a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  /* Cart drawer: the item photo already makes each row taller than these
     controls, so thumb-size steppers, remove buttons and links add no height
     to the list. */
  .icon-btn,
  #menuBtn {
    min-width: 40px;
    min-height: 40px;
  }

  .cart-item-name {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .cart-item-remove,
  .qty-stepper button {
    width: 40px;
    height: 40px;
  }

  /* The utility strip is the same call bar on a tablet as on a phone, so its
     links get the bar's full height rather than a 19px line of text. */
  .pmj-topbar-inner {
    padding-block: 0;
    min-height: 40px;
  }

  .pmj-topbar-links a,
  .pmj-topbar-phone,
  .brand {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  /* A three-letter link can't reach 40px from its own text, so it borrows half
     of the gap on each side. The negative margin keeps the strip laid out. */
  .pmj-topbar-links a {
    padding-inline: 0.5rem;
    margin-inline: -0.5rem;
  }

  /* Quick view: the zoom pill floats over the photo and the qty stepper is its
     own chip, so 40px here costs no layout height anywhere on the page. */
  #productModal[data-quick-view] .qv-zoom-controls button {
    min-width: 40px;
    height: 40px;
  }

  #productModal[data-quick-view] .qv-qty button {
    width: 40px;
    height: 40px;
  }

  #productModal[data-quick-view] .qv-qty input {
    height: 40px;
    font-size: 1rem;
  }

  #productModal[data-quick-view] .qv-details-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  /* The live-rates tab is a vertical strip pinned to the screen edge; widening
     it to thumb size only covers a few more pixels of margin. */
  .live-rates-sidebar-tab {
    min-width: 40px;
  }
}

/* css/account.css */
/* ==========================================================================
   Customer account surfaces — sign in, register, My Account.
   Loaded after frame.css so it inherits the storefront tokens.
   ========================================================================== */

/* —— Sign in / register — one narrow centred vault card —— */
.auth-page {
  padding-block: clamp(var(--pmj-s-6), 5vw, 4rem) clamp(var(--pmj-s-7), 7vw, 5.5rem);
  background-image:
    radial-gradient(1100px 520px at 8% -10%, color-mix(in srgb, var(--pmj-gold) 12%, transparent), transparent 62%),
    radial-gradient(900px 480px at 100% -4%, color-mix(in srgb, var(--pmj-accent) 6%, transparent), transparent 58%);
  background-repeat: no-repeat;
}

.auth-stage {
  display: flex;
  justify-content: center;
}

.auth-panel {
  width: 100%;
  max-width: 448px;
  padding: clamp(var(--pmj-s-5), 4vw, 2.4rem);
  border-radius: var(--pmj-r-lg);
  border: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  box-shadow: var(--pmj-elev-3);
}

.auth-head {
  text-align: center;
  margin-bottom: var(--pmj-s-5);
}

.auth-brand {
  display: inline-flex;
  justify-content: center;
  margin-bottom: var(--pmj-s-4);
  color: inherit;
  text-decoration: none;
}

.auth-brand .brand-lockup {
  align-items: center;
}

.auth-brand .site-logo-img {
  height: clamp(52px, 8vw, 72px);
  width: auto;
  max-width: 100%;
}

.auth-brand .site-logo-text {
  font-size: 1.32rem;
  letter-spacing: 0.18em;
}

.auth-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pmj-ink);
}

.auth-sub {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--pmj-muted);
}

.auth-form {
  display: grid;
  gap: var(--pmj-s-4);
}

.auth-form[hidden] {
  display: none;
}

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

.auth-form .field > span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pmj-muted);
}

.auth-form .field input {
  width: 100%;
  min-height: 50px;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--pmj-line-strong);
  background: color-mix(in srgb, var(--pmj-tint) 65%, var(--pmj-paper));
  color: var(--pmj-ink);
  font: inherit;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(60, 32, 8, 0.045);
  transition: border-color var(--pmj-fast) var(--pmj-ease), background var(--pmj-fast) var(--pmj-ease),
    box-shadow var(--pmj-fast) var(--pmj-ease);
}

.auth-form .field input::placeholder {
  color: color-mix(in srgb, var(--pmj-muted) 72%, transparent);
}

.auth-form .field input:hover:not(:focus) {
  border-color: color-mix(in srgb, var(--pmj-gold) 55%, var(--pmj-line-strong));
}

.auth-form .field input:focus {
  outline: none;
  border-color: var(--pmj-gold);
  background: var(--pmj-paper);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pmj-gold) 30%, transparent);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: var(--pmj-s-3);
  margin-top: calc(var(--pmj-s-1) * -1);
  font-size: 0.74rem;
  font-weight: 700;
}

.auth-help {
  color: color-mix(in srgb, var(--pmj-accent) 88%, var(--pmj-ink));
  text-decoration: none;
  transition: color var(--pmj-fast) var(--pmj-ease);
}

.auth-help:hover {
  color: var(--pmj-ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.auth-submit {
  width: 100%;
  min-height: 52px;
  margin-top: var(--pmj-s-2);
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #5c142b 0%, #3c1021 100%);
  color: #f5edd3;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(40, 10, 20, 0.18), 0 12px 26px -12px rgba(60, 16, 33, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform var(--pmj-fast) var(--pmj-ease), box-shadow var(--pmj-fast) var(--pmj-ease),
    filter var(--pmj-fast) var(--pmj-ease);
}

.auth-submit:hover:not(:disabled) {
  filter: brightness(1.14);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(60, 16, 33, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.auth-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.auth-submit:disabled {
  cursor: progress;
  opacity: 0.72;
}

.auth-error {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: color-mix(in srgb, #b91c1c 8%, var(--pmj-paper));
  border: 1px solid color-mix(in srgb, #b91c1c 22%, transparent);
  color: #8f1d1d;
  font-size: 0.82rem;
}

.auth-success {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: color-mix(in srgb, #15803d 8%, var(--pmj-paper));
  border: 1px solid color-mix(in srgb, #15803d 22%, transparent);
  color: #166534;
  font-size: 0.82rem;
}

.auth-alt {
  margin: 0;
  padding-top: var(--pmj-s-4);
  border-top: 1px solid color-mix(in srgb, var(--pmj-ink) 7%, transparent);
  text-align: center;
  font-size: 0.8rem;
  color: var(--pmj-muted);
}

.auth-link {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-size: inherit;
  font-weight: 800;
  color: color-mix(in srgb, var(--pmj-accent) 88%, var(--pmj-ink));
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.auth-link:hover {
  color: var(--pmj-ink);
}

.auth-fineprint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--pmj-muted);
  text-align: center;
}

.auth-fineprint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* —— Forgot password —— */
.otp-sent-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.45rem;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--pmj-gold) 24%, transparent);
  background: color-mix(in srgb, var(--pmj-gold) 8%, var(--pmj-paper));
  font-size: 0.78rem;
  color: var(--pmj-muted);
}

.otp-sent-line strong {
  color: var(--pmj-ink);
  font-weight: 700;
  word-break: break-all;
}

.auth-form .field input.otp-code {
  font-size: 1.3rem;
  letter-spacing: 0.38em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.auth-form .field input.otp-code::placeholder {
  letter-spacing: 0.3em;
  opacity: 0.55;
}

.otp-resend {
  font-size: 0.74rem;
}

.otp-resend:disabled {
  color: var(--pmj-muted);
  text-decoration: none;
  cursor: progress;
}

.auth-support {
  padding-top: var(--pmj-s-4);
}

/* —— My account —— */
.account-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--pmj-s-4);
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: clamp(var(--pmj-s-5), 3vw, var(--pmj-s-7));
  align-items: start;
  padding-block: var(--pmj-s-6) var(--pmj-section);
}

.account-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--pmj-s-3);
  margin-bottom: var(--pmj-s-4);
}

.account-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--pmj-h3);
  font-weight: 600;
}

.account-orders {
  min-width: 0;
}

#accountOrders {
  display: grid;
  gap: var(--pmj-s-4);
}

.account-order {
  border: 1px solid var(--pmj-line);
  border-radius: var(--pmj-r-lg);
  background: var(--pmj-paper);
  box-shadow: var(--pmj-elev-1);
  overflow: hidden;
  transition: box-shadow var(--pmj-base) var(--pmj-ease), border-color var(--pmj-base) var(--pmj-ease);
}

.account-order:hover {
  border-color: color-mix(in srgb, var(--pmj-accent) 22%, var(--pmj-line));
  box-shadow: var(--pmj-elev-2);
}

.account-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--pmj-s-3);
  padding: var(--pmj-s-4) var(--pmj-s-5);
  border-bottom: 1px solid color-mix(in srgb, var(--pmj-ink) 6%, transparent);
}

.account-order-no {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--pmj-ink);
}

.account-order-date {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: var(--pmj-muted);
}

.account-status {
  padding: 0.3rem 0.7rem;
  border-radius: var(--pmj-r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-status.is-confirmed {
  background: color-mix(in srgb, #15803d 10%, transparent);
  color: #166534;
}

.account-status.is-shipped {
  background: color-mix(in srgb, #1d4ed8 10%, transparent);
  color: #1e40af;
}

.account-status.is-delivered {
  background: color-mix(in srgb, var(--pmj-ink) 8%, transparent);
  color: var(--pmj-ink);
}

.account-status.is-cancelled {
  background: color-mix(in srgb, #b91c1c 9%, transparent);
  color: #8f1d1d;
}

.account-order-body {
  display: flex;
  gap: var(--pmj-s-4);
  padding: var(--pmj-s-4) var(--pmj-s-5);
}

.account-order-thumbs {
  display: flex;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.account-order-thumbs img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--pmj-tint);
  border: 1px solid var(--pmj-line);
}

.account-order-more {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 1px dashed var(--pmj-line-strong);
  font-size: 0.8rem;
  color: var(--pmj-muted);
}

.account-order-items {
  min-width: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--pmj-ink);
}

.account-order-items p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-items span {
  color: var(--pmj-muted);
}

.account-order-items em {
  font-style: normal;
  color: var(--pmj-muted);
  font-size: 0.8rem;
}

.account-order-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pmj-s-3);
  padding: var(--pmj-s-3) var(--pmj-s-5);
  border-top: 1px solid color-mix(in srgb, var(--pmj-ink) 6%, transparent);
  background: color-mix(in srgb, var(--pmj-ivory) 45%, var(--pmj-paper));
  font-size: 0.82rem;
  color: var(--pmj-muted);
}

.account-order-foot strong {
  margin-left: auto;
  font-size: 1rem;
  color: var(--pmj-ink);
}

.account-order-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pmj-accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.account-profile {
  position: sticky;
  top: calc(var(--pmj-header-h) + var(--pmj-s-4));
  padding: clamp(var(--pmj-s-4), 3vw, var(--pmj-s-5));
  border-radius: var(--pmj-r-lg);
  border: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  box-shadow: var(--pmj-elev-2);
}

.account-profile h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: var(--pmj-h4);
  font-weight: 600;
}

.account-hint {
  margin: 0 0 var(--pmj-s-4);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--pmj-muted);
}

.auth-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pmj-s-3);
}

.account-email-note {
  margin: var(--pmj-s-4) 0 0;
  font-size: 0.78rem;
  color: var(--pmj-muted);
  word-break: break-word;
}

.account-skeleton {
  height: 168px;
  border-radius: var(--pmj-r-lg);
}

.account-empty {
  border: 1px dashed var(--pmj-line-strong);
  border-radius: var(--pmj-r-lg);
  background: color-mix(in srgb, var(--pmj-ivory) 50%, var(--pmj-paper));
}

.account-error {
  padding: var(--pmj-s-4);
  border-radius: var(--pmj-r-md);
  background: color-mix(in srgb, #b91c1c 7%, var(--pmj-paper));
  color: #8f1d1d;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .account-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-profile {
    position: static;
  }
}

@media (max-width: 620px) {
  .auth-panel {
    padding: var(--pmj-s-5) var(--pmj-s-4);
  }

  .account-order-body {
    padding: var(--pmj-s-3) var(--pmj-s-4);
  }

  .account-order-head,
  .account-order-foot {
    padding-inline: var(--pmj-s-4);
  }

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

  .account-order-foot strong {
    margin-left: 0;
  }
}

/* css/product-premium.css */
/* ==========================================================================
   PDP premium pass — loaded after frame.css so it owns the product page.
   Reading order: title → rating/stock → price → option → qty → actions →
   promises → share. The price breakup only renders when it has line items,
   so the same amount is never printed twice.
   ========================================================================== */
.pdp-info, .pdp-section, .pdp-review-section, .pdp-breakup {
  --pdp-muted: color-mix(in srgb, var(--pmj-ink) 72%, var(--pmj-ivory));
}

.nipura-pdp .pdp-card {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border-radius: 26px;
  background: #ffffff;
  border-color: var(--pmj-line);
}

.nipura-pdp .pdp-media {
  min-height: 620px;
  border-right: 1px solid var(--pmj-line);
}

.nipura-pdp .pdp-gallery-stage {
  min-height: 560px;
}

.nipura-pdp .pdp-info {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.5rem) clamp(1.3rem, 2.3vw, 2.4rem);
  background: #ffffff;
}

.pdp-info-top {
  display: grid;
  gap: 0.5rem;
}

.nipura-pdp .pdp-info h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--pmj-ink);
}

.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
}

.pdp-code {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pdp-muted);
}

.pdp-code strong {
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--pmj-ink);
}

.pdp-meta-row .pdp-reviews {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.pdp-meta-row .pdp-reviews::before {
  font-size: 0.78rem;
}

.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3f6b4f;
}

.pdp-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pdp-stock.is-low {
  color: var(--pmj-accent);
}

.pdp-stock.is-out {
  color: #9a2c2c;
}

.pdp-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.7rem;
  margin: 1.15rem 0 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pmj-line);
}

.nipura-pdp .pdp-price {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--pmj-ink);
  font-variant-numeric: tabular-nums;
}

.nipura-pdp .pdp-compare {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--pdp-muted);
}

.nipura-pdp .pdp-badge {
  align-self: center;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.nipura-pdp .pdp-badge-save {
  background: color-mix(in srgb, var(--pmj-gold) 22%, #fff);
  color: #7a4a17;
}

.nipura-pdp .pdp-badge-offer {
  background: transparent;
  color: var(--pmj-accent);
  border: 1px solid color-mix(in srgb, var(--pmj-accent) 38%, transparent);
  clip-path: none;
  padding-right: 0.62rem;
}

.pdp-option-block {
  margin: 1.15rem 0 0;
}

.pdp-option-head {
  margin-bottom: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pdp-muted);
}

.pdp-option-head span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.pdp-option-head strong {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--pmj-ink);
}

.pdp-option-grid {
  gap: 0.45rem;
}

.pdp-option-btn {
  min-width: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--pmj-line-strong);
  background: var(--pmj-paper);
  font-size: 0.8rem;
  font-weight: 600;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.pdp-option-btn:hover:not(:disabled) {
  border-color: var(--pmj-ink);
}

.pdp-option-btn.active {
  background: var(--pmj-ink);
  border-color: var(--pmj-ink);
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(26, 22, 20, 0.8);
}

.pdp-option-btn.is-soldout {
  opacity: 0.45;
  text-decoration: line-through;
}

.pdp-size-guide-link {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pmj-accent);
}

.pdp-buy-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
}

.pdp-tax-note {
  margin: 0.5rem 0 0;
  font-size: 0.74rem;
  color: var(--pdp-muted);
}

.pdp-buy-row .pdp-qty-row {
  margin: 0;
}

.pdp-buy-row .pdp-qty-row label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pdp-muted);
  margin-bottom: 0.4rem;
}

.pdp-info .pdp-qty {
  border: 1px solid var(--pmj-line-strong);
  border-radius: 999px;
  background: var(--pmj-paper);
}

.pdp-info .pdp-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pmj-ink);
  font-size: 1rem;
}

.pdp-info .pdp-qty button:hover {
  background: var(--pmj-tint);
  color: var(--pmj-accent);
}

.pdp-info .pdp-qty input {
  width: 2.4rem;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.pdp-actions {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.pdp-actions .btn {
  min-height: 50px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pdp-actions .btn-accent {
  grid-column: auto;
  background: linear-gradient(135deg, var(--pmj-accent), #8a4a12);
  box-shadow: 0 16px 32px -18px rgba(122, 74, 23, 0.85);
}

.pdp-actions .btn-accent:hover:not(:disabled) {
  background: linear-gradient(135deg, #a4560f, #7a3f0c);
  box-shadow: 0 18px 34px -16px rgba(122, 74, 23, 0.9);
}

.pdp-actions .pdp-btn-buy {
  min-height: 48px;
  border: 1px solid var(--pmj-ink);
  border-radius: 14px;
  background: transparent;
  color: var(--pmj-ink);
}

.pdp-actions .pdp-btn-buy:hover:not(:disabled) {
  background: var(--pmj-ink);
  color: #fff;
}

.pdp-actions .pdp-btn-fav {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--pdp-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.pdp-actions .pdp-btn-fav:hover,
.pdp-actions .pdp-btn-fav.is-fav {
  background: transparent;
  border: 0;
  color: var(--pmj-accent);
}

.pdp-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pmj-line);
}

.pdp-promises span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.77rem;
  color: var(--pdp-muted);
}

.pdp-ico {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--pmj-accent);
}

.pdp-share {
  margin: 0.9rem 0 0;
  gap: 0.4rem;
}

.pdp-share .pdp-share-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pdp-muted);
}

.pdp-share-btn {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--pmj-line);
  background: transparent;
  color: var(--pdp-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.pdp-share-btn:hover {
  border-color: var(--pmj-line-strong);
  color: var(--pmj-ink);
}

.pdp-breakup {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--pmj-line);
  background: color-mix(in srgb, var(--pmj-gold) 8%, #fff);
}

.pdp-breakup h3 {
  color: var(--pdp-muted);
}

.pdp-breakup-row {
  font-size: 0.86rem;
  color: #4a433c;
}

.pdp-breakup-note {
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--pmj-line);
  font-size: 0.74rem;
  color: var(--pdp-muted);
}

/* Sections below the card ------------------------------------------------ */
.pdp-section {
  margin-top: 1.5rem;
  padding: clamp(1.3rem, 2vw, 1.9rem) clamp(1.25rem, 2.2vw, 2rem);
  border: 1px solid var(--pmj-line);
  border-radius: 22px;
  background: var(--pmj-paper);
  box-shadow: 0 10px 30px -26px rgba(26, 22, 20, 0.4);
}

.pdp-section-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.pdp-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pmj-accent);
}

.pdp-section .pdp-section-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 600;
}

.pdp-desc-text {
  margin: 0;
  max-width: 74ch;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4a433c;
  white-space: pre-wrap;
}

.pdp-desc .pdp-desc-rule {
  display: none;
}

.pdp-desc .pdp-features-list {
  margin: 1.15rem 0 0;
  border-top: 1px solid var(--pmj-line);
}

.pdp-feature-row {
  font-size: 0.9rem;
  padding: 0.65rem 0;
}

.pdp-trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1.15rem;
  border: 1px solid var(--pmj-line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--pmj-gold) 7%, #fff);
  list-style: none;
}

.pdp-trust-item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.45rem;
  text-align: center;
}

.pdp-trust-item .pdp-ico {
  width: 1.15rem;
  height: 1.15rem;
}

.pdp-trust-item strong {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--pmj-ink);
  margin: 0;
}

.pdp-local-reviews {
  display: grid;
  gap: 0.7rem;
}

.pdp-local-reviews:empty {
  display: none;
}

.pdp-local-review {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--pmj-line);
  border-radius: 14px;
  background: var(--pmj-tint);
}

.pdp-local-review strong {
  font-size: 0.86rem;
}

.pdp-local-review p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a433c;
}

.pdp-review-form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pmj-line);
}

.pdp-review-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.pdp-review-form input,
.pdp-review-form textarea,
.pdp-review-form select {
  border-color: var(--pmj-line-strong);
  border-radius: 12px;
  background: var(--pmj-paper);
}

.pdp-review-form .btn {
  min-height: 44px;
  border-radius: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.pdp-related-card img {
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6px;
  border-radius: 14px;
  background: #f7f1e7;
}

.pdp-related-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.pdp-related-card span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--pmj-ink);
}

/* Sticky buy bar --------------------------------------------------------- */
.pdp-sticky-buy[hidden] {
  display: none !important;
}

.pdp-sticky-buy {
  background: rgba(255, 252, 247, 0.97);
  border-top: 1px solid var(--pmj-line);
  box-shadow: 0 -16px 40px -30px rgba(26, 22, 20, 0.6);
  padding: 0.6rem var(--pmj-gutter) calc(0.6rem + env(safe-area-inset-bottom));
}

.pdp-sticky-info strong {
  font-size: 0.78rem;
  font-weight: 600;
}

.pdp-sticky-info #pdpStickyPrice {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--pmj-ink);
}

.pdp-sticky-buy .btn {
  min-width: 128px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .nipura-pdp .pdp-card {
    grid-template-columns: 1fr;
  }
  .nipura-pdp .pdp-media {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--pmj-line);
  }
  .nipura-pdp .pdp-gallery-stage {
    min-height: 0;
  }
  .nipura-pdp .pdp-info {
    padding: 1.5rem 1.25rem 1.6rem;
  }
  .pdp-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.75rem;
    margin-top: 1rem;
  }
  .pdp-section {
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
    margin-top: 1.15rem;
  }
  .pdp-info .pdp-qty button {
    width: 40px;
    height: 40px;
  }
  .pdp-info .pdp-qty input {
    width: 2.6rem;
    height: 40px;
  }
  .pdp-share-btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

@media (max-width: 520px) {
  .pdp-tax-note {
    font-size: 0.7rem;
  }
  .pdp-actions .btn {
    min-height: 48px;
  }
  .pdp-promises {
    gap: 0.4rem 0.9rem;
  }
  .pdp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pdp-sticky-buy-inner {
    gap: 0.6rem;
  }
}

/* css/checkout-premium.css */
/* ==========================================================================
   Checkout premium pass — loaded after checkout.css so it owns the page.
   Reading order: progress → contact → shipping → payment → place order, with
   the order summary sticky beside the form (collapsed at the top on mobile).
   ========================================================================== */
.checkout-page {
  --c-muted: color-mix(in srgb, var(--pmj-ink) 70%, var(--pmj-ivory));
  --c-line: var(--pmj-line);
  padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(2rem, 5vw, 4rem);
}

/* --------------------------------------------------------------------------
   Header + progress
   -------------------------------------------------------------------------- */
.pmj-checkout-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.checkout-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pmj-accent);
}

.checkout-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
}

.checkout-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.05;
  margin: 0;
  color: var(--pmj-ink);
}

.checkout-sub {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: var(--c-muted);
}

.pmj-checkout-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pmj-checkout-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.7rem 0.34rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-muted);
  background: var(--pmj-paper);
}

.pmj-checkout-steps li span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pmj-ink-wash);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--c-muted);
}

.pmj-checkout-steps li.is-current {
  border-color: transparent;
  background: var(--pmj-ink);
  color: #fff;
}

.pmj-checkout-steps li.is-current span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.checkout-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.checkout-card {
  background: var(--pmj-paper);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: clamp(1.15rem, 2vw, 1.6rem);
  margin: 0;
  box-shadow: 0 18px 40px -34px rgba(26, 22, 20, 0.5);
}

.checkout-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.checkout-step {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pmj-accent) 12%, var(--pmj-paper));
  color: var(--pmj-accent);
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.checkout-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0;
  color: var(--pmj-ink);
}

.checkout-card-hint {
  margin: 0.2rem 0 0;
  font-size: 0.79rem;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Fields
   -------------------------------------------------------------------------- */
.checkout-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.checkout-form .form-grid label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.checkout-form .form-grid .span-2 {
  grid-column: 1 / -1;
}

.checkout-form .form-grid input,
.checkout-form .form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--pmj-line-strong);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pmj-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-form .form-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.checkout-form .form-grid input::placeholder,
.checkout-form .form-grid textarea::placeholder {
  color: color-mix(in srgb, var(--pmj-ink) 42%, var(--pmj-ivory));
}

.checkout-form .form-grid input:focus,
.checkout-form .form-grid textarea:focus {
  outline: none;
  border-color: var(--pmj-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pmj-accent) 16%, transparent);
}

/* --------------------------------------------------------------------------
   Payment
   -------------------------------------------------------------------------- */
.pay-options {
  display: grid;
  /* auto-fit, so the one method left when COD is switched off takes the whole row. */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.7rem;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--pmj-line-strong);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pay-option[hidden] {
  display: none;
}

.pay-option:hover {
  border-color: color-mix(in srgb, var(--pmj-accent) 45%, transparent);
}

.pay-option:has(input:checked) {
  border-color: var(--pmj-accent);
  background: color-mix(in srgb, var(--pmj-accent) 5%, var(--pmj-paper));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pmj-accent) 45%, transparent) inset;
}

.pay-option input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  border: 1.5px solid var(--pmj-line-strong);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.pay-option input::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pmj-accent);
  transform: scale(0);
  transition: transform 0.14s ease;
}

.pay-option input:checked {
  border-color: var(--pmj-accent);
}

.pay-option input:checked::before {
  transform: scale(1);
}

.pay-option input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--pmj-accent) 55%, transparent);
  outline-offset: 3px;
}

.pay-option span {
  display: grid;
  gap: 0.15rem;
}

.pay-option strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pmj-ink);
}

.pay-option small {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Submit + assurance
   -------------------------------------------------------------------------- */
.checkout-submit-wrap {
  display: grid;
  gap: 0.85rem;
}

.checkout-submit {
  width: 100%;
  min-height: 54px;
  margin: 0.15rem 0 0;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pmj-accent), #8a4a12);
  box-shadow: 0 18px 34px -22px rgba(122, 74, 23, 0.9);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.checkout-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #a4560f, #7a3f0c);
}

.checkout-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.checkout-error {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: color-mix(in srgb, #b42318 8%, var(--pmj-paper));
  border: 1px solid color-mix(in srgb, #b42318 30%, transparent);
  font-size: 0.84rem;
  color: #8f1d15;
}

.checkout-error[hidden] {
  display: none !important;
}

.checkout-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-assurance li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--c-muted);
}

.checkout-assurance li::before {
  content: '✓';
  font-size: 0.78rem;
  line-height: 1;
  color: var(--pmj-accent);
}

/* --------------------------------------------------------------------------
   Order summary
   -------------------------------------------------------------------------- */
.checkout-summary {
  position: sticky;
  top: 1rem;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border-color: color-mix(in srgb, var(--pmj-gold) 30%, var(--c-line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--pmj-gold) 8%, transparent), transparent 140px),
    var(--pmj-paper);
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.summary-head h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
  color: var(--pmj-ink);
}

.summary-count {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}

.summary-toggle {
  display: none;
}

.summary-body {
  min-width: 0;
}

.summary-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.86rem;
}

.summary-item:first-child {
  padding-top: 0.4rem;
}

.summary-item img {
  width: 58px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  background: #ebe4d8;
}

.summary-item strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pmj-ink);
}

.summary-qty {
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: var(--c-muted);
}

.summary-item > div:last-child {
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--pmj-ink);
}

.checkout-coupon-wrap {
  margin: 0.85rem 0 0;
}

.checkout-summary .coupon-box {
  margin: 0;
}

.summary-rows {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--c-line);
}

.summary-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.87rem;
  color: var(--c-muted);
}

.summary-rows > div strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--pmj-ink);
}

.summary-rows > div[hidden] {
  display: none !important;
}

.summary-rows .total {
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pmj-ink);
}

.summary-rows .total strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0;
}

.summary-note {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--c-muted);
}

/* The floating chat bubble is useful but was covering the summary row and the
   Place order button; keep it reachable as a compact circle on this page. */
.checkout-body .chat-bubble {
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.checkout-body .chat-bubble span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  }
  .pay-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  /* 16px keeps iOS from zooming the page when a field takes focus. */
  .checkout-form .form-grid input,
  .checkout-form .form-grid textarea {
    font-size: 16px;
  }

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

  .checkout-summary {
    position: static;
    order: -1;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-radius: 16px;
  }

  .summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--pmj-ink);
    text-align: left;
    cursor: pointer;
  }

  .summary-toggle-label {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
  }

  .summary-toggle-label em {
    font-family: var(--font-body, inherit);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
  }

  .summary-toggle-chevron {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid var(--c-muted);
    border-bottom: 1.5px solid var(--c-muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
  }

  .checkout-summary.is-open .summary-toggle-chevron {
    transform: rotate(225deg) translateY(-2px);
  }

  .summary-head {
    display: none;
  }

  .summary-body {
    display: none;
    padding: 0 1.1rem 1.1rem;
  }

  .checkout-summary.is-open .summary-body {
    display: block;
    padding-top: 0.2rem;
  }

  .summary-item:first-child {
    padding-top: 0.7rem;
  }

  .checkout-page {
    padding-top: 1.25rem;
  }

  .pmj-checkout-steps {
    gap: 0.3rem;
  }

  .pmj-checkout-steps li {
    font-size: 0.6875rem;
    padding: 0.28rem 0.6rem 0.28rem 0.32rem;
  }
}

@media (max-width: 520px) {
  .checkout-form .form-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .checkout-form .form-grid .span-2 {
    grid-column: auto;
  }

  .checkout-card {
    border-radius: 16px;
    padding: 1.05rem 1rem;
  }

  .checkout-card-head {
    gap: 0.6rem;
    margin-bottom: 0.95rem;
  }

  .checkout-card h2 {
    font-size: 1.16rem;
  }

  .checkout-title {
    font-size: 1.85rem;
  }

  .checkout-assurance {
    gap: 0.35rem 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   SMEPay UPI sheet — shown after the order is created, polls until paid
   -------------------------------------------------------------------------- */
.smepay-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--pmj-z-modal);
  display: grid;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--pmj-ink) 55%, transparent);
  backdrop-filter: blur(6px);
  animation: smepay-fade 180ms var(--pmj-ease-out);
}

.smepay-sheet {
  position: relative;
  width: min(24rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.9rem 1.6rem 1.6rem;
  border-radius: var(--pmj-r-lg);
  border: 1px solid var(--pmj-line);
  background: var(--pmj-paper);
  box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--pmj-ink) 45%, transparent);
  text-align: center;
  animation: smepay-rise 240ms var(--pmj-ease-out);
}

.smepay-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--pmj-line);
  border-radius: 50%;
  background: transparent;
  color: var(--pmj-muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--pmj-fast) var(--pmj-ease), border-color var(--pmj-fast) var(--pmj-ease);
}

.smepay-close:hover,
.smepay-close:focus-visible {
  color: var(--pmj-ink);
  border-color: var(--pmj-line-strong);
}

.smepay-eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: var(--pmj-tracking);
  text-transform: uppercase;
  color: var(--pmj-accent);
}

.smepay-sheet h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--pmj-ink);
}

.smepay-amount {
  margin: 0.35rem 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pmj-ink);
}

.smepay-qr {
  display: grid;
  place-items: center;
  width: min(15rem, 70vw);
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  padding: 0.7rem;
  border: 1px solid var(--pmj-line-strong);
  border-radius: var(--pmj-r-md);
  background: #fff;
}

.smepay-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.smepay-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--pmj-muted);
}

.smepay-open {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.smepay-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pmj-ink);
}

.smepay-status::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--pmj-accent);
  animation: smepay-pulse 1.4s var(--pmj-ease) infinite;
}

.smepay-note {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--pmj-muted);
}

@keyframes smepay-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes smepay-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes smepay-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

@media (max-width: 480px) {
  .smepay-sheet {
    padding: 1.7rem 1.15rem 1.35rem;
  }

  .smepay-qr {
    width: min(13rem, 72vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .smepay-overlay,
  .smepay-sheet,
  .smepay-status::before {
    animation: none;
  }
}

/* Typed fields must reach 16px on phones and tablets, or the browser zooms the
   whole checkout page the moment the shopper focuses a field. */
@media (max-width: 900px) {
  .checkout-form .form-grid input,
  .checkout-form .form-grid textarea {
    font-size: 1rem;
  }
}

/* css/offer.css */
/**
 * Exclusive offer banner — quiet luxury modal.
 * Loaded last so it can lean on the tokens defined in main.css / polish.css.
 */

.pmj-offer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(19, 17, 16, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.pmj-offer.is-open {
  opacity: 1;
}

.pmj-offer-card {
  position: relative;
  width: min(100%, 26rem);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  background: var(--color-white, #fffcf7);
  border: 1px solid rgba(26, 22, 20, 0.08);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(19, 17, 16, 0.28);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pmj-offer.is-open .pmj-offer-card {
  transform: none;
}

.pmj-offer-media {
  background: var(--color-soft, #f7f3ec);
  border-bottom: 1px solid rgba(26, 22, 20, 0.07);
}

.pmj-offer-media img {
  display: block;
  width: 100%;
  height: clamp(9rem, 24vh, 13rem);
  object-fit: cover;
}

.pmj-offer-inner {
  padding: 1.65rem 1.5rem 1.5rem;
  text-align: center;
}

.pmj-offer-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent, #9a6b3f);
  font-weight: 600;
}

.pmj-offer-title {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.45rem, 4.2vw, 1.9rem);
  line-height: 1.18;
  font-weight: 600;
  color: var(--color-ink, #1a1614);
}

.pmj-offer-text {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-muted, #7a7268);
}

.pmj-offer-code {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.1rem auto 0;
  padding: 0.55rem 1rem;
  border: 1px dashed rgba(154, 107, 63, 0.55);
  border-radius: 999px;
  background: rgba(154, 107, 63, 0.06);
  font: inherit;
  color: var(--color-ink, #1a1614);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pmj-offer-code:hover,
.pmj-offer-code:focus-visible {
  background: rgba(154, 107, 63, 0.11);
  border-color: rgba(154, 107, 63, 0.8);
  outline: none;
}

.pmj-offer-code-label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted, #7a7268);
}

.pmj-offer-code-value {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pmj-offer-code.is-copied .pmj-offer-code-value {
  color: var(--color-accent, #9a6b3f);
}

.pmj-offer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--color-ink, #1a1614);
  color: #fffcf7;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pmj-offer-cta:hover,
.pmj-offer-cta:focus-visible {
  background: #2b2522;
  transform: translateY(-1px);
  outline: none;
}

.pmj-offer-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  color: var(--color-ink, #1a1614);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(19, 17, 16, 0.14);
  transition: background 0.2s ease, transform 0.2s ease;
}

.pmj-offer-close:hover,
.pmj-offer-close:focus-visible {
  background: #fff;
  transform: rotate(90deg);
  outline: none;
}

@media (max-width: 480px) {
  .pmj-offer {
    padding: 1rem;
    align-items: end;
  }

  .pmj-offer-card {
    width: 100%;
    border-radius: 16px;
  }

  .pmj-offer-inner {
    padding: 1.4rem 1.15rem 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pmj-offer,
  .pmj-offer-card,
  .pmj-offer-close,
  .pmj-offer-cta {
    transition: none;
  }
}

/* css/product-image.css */
/* ---------------------------------------------------------------------------
   Product card media — the uploaded photo shown whole.

   Cards filled their box with object-fit: cover, which cropped a portrait
   ring shot's stone or a wide necklace's ends depending on the photo. Here the
   image is contained on a white backdrop with a hairline gold frame and the
   same drop shadow the product page gallery uses, so a card and the page it
   opens read as one family whatever aspect ratio was uploaded.
   --------------------------------------------------------------------------- */
.product-media {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(154, 107, 63, 0.12);
}

/* The photo sits inside an anchor, so the link has to carry the box height. */
.product-media .pmj-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-media img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(10px, 7%, 26px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 20px rgba(26, 22, 20, 0.14));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.05);
  filter: drop-shadow(0 18px 30px rgba(26, 22, 20, 0.19));
}

/* The photo's drop shadow paints it as its own layer, and it comes after the
   badge, heart and quick view in the card — so those need a level above it. */
.product-media .badge,
.product-media .card-wish,
.product-media .pmj-quick-btn {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .product-media img {
    transition: none;
  }
  .product-card:hover .product-media img,
  .product-card:focus-within .product-media img {
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   Compact card skin — phones.
   Two cards per row leaves each one about 159px wide, so the body can no longer
   wear the desktop's padding and type scale. Written against .product-card and
   not one page's grid, and anchored on body so it outranks home.css's
   body.home rules (which load earlier), this is the only place a narrow card is
   fitted: category, Browse all, wishlist and the home rails all inherit it.
   Type stops at 11px and the button keeps a 40px row.
   --------------------------------------------------------------------------- */
@media (max-width: 640px) {
  body .product-card .product-media {
    aspect-ratio: 1;
  }

  body .product-card .product-media img {
    padding: clamp(6px, 5%, 14px);
  }

  body .product-card .badge {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
    padding: 0.2rem 0.45rem;
    max-width: calc(100% - 3.6rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body .product-card .card-wish {
    top: 0.4rem;
    right: 0.4rem;
  }

  body .product-card .pmj-quick-btn {
    left: 0.4rem;
    right: 0.4rem;
    bottom: 0.4rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
  }

  body .product-card .product-body {
    padding: 0.6rem 0.65rem 0.7rem;
    gap: 0.25rem;
  }

  body .product-card .product-body h3 {
    font-size: 0.75rem;
    line-height: 1.35;
    min-height: 2.7em;
    margin-bottom: 0;
  }

  body .product-card .product-body .reviews {
    font-size: 0.6875rem;
    margin-bottom: 0;
  }

  body .product-card .price-row {
    gap: 0.15rem 0.4rem;
    padding-top: 0.15rem;
  }

  body .product-card .price-row .price {
    font-size: 0.85rem;
  }

  body .product-card .price-row .compare {
    font-size: 0.6875rem;
  }

  body .product-card .price-row .save-pill {
    font-size: 0.6875rem;
    padding: 0.12rem 0.4rem;
    margin-left: 0;
  }

  body .product-card .add-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 0.35rem;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    min-height: 40px;
  }
}
