/* ===================================================================
   URARTOO — Redesign · Mobile-First Stylesheet
   Font: Cormorant + Instrument Sans
   Palette: Stone-derived — #FAF8F5, #1B1D1C, #0C0E0D, #B8860B
   =================================================================== */

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  --obsidian: #0C0E0D;
  --basalt: #1B1D1C;
  --graphite: #2C2F2E;
  --tuff: #8A8578;
  --silver: #D0D0CC;
  --pumice: #E2DCD2;
  --bone: #E8E2DA;
  --warm-light: #EDE7DE;
  --sand: #F2EDE6;
  --snow: #F5F2EE;
  --surface: #FAF8F5;
  --amber: #B8860B;
  --garnet: #2D6B4F;
  --patina: #3D5C52;

  /* Legacy aliases for shop.html / contact.html */
  --green: #0B3B30;
  --green-2: #123F35;
  --ink: #0C0E0D;
  --cream: #FAF8F5;
  --cream-2: #F5F2EE;
  --cream-3: #EDE7DE;
  --gold: #B8860B;

  --font: 'Instrument Sans', 'Noto Sans Armenian', sans-serif;
  --font-serif: 'Instrument Sans', 'Noto Sans Armenian', sans-serif;
  --mono: 'Instrument Sans', 'Noto Sans Armenian', sans-serif;
  --gutter: 24px;
  --max: 1280px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 44px; }
}

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

/* ═══════════════════════════════════════════════════════════════════
   SITE-WIDE CUSTOM STONE LOADER OVERLAY
   ═══════════════════════════════════════════════════════════════════ */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--basalt);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  pointer-events: all;
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

/* 3D Rotating Stone Facet Icon */
.stone-spinner {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 400px;
}

.stone-facet {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--garnet) 60%, var(--obsidian) 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  box-shadow: 0 0 24px rgba(184, 134, 11, 0.4);
  animation: stoneSpin 1.8s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.stone-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.3) 0%, rgba(27, 29, 28, 0) 70%);
  animation: stonePulse 1.8s infinite ease-in-out;
}

@keyframes stoneSpin {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(0.9);
  }
  50% {
    transform: rotateX(180deg) rotateY(180deg) rotateZ(90deg) scale(1.12);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg) scale(0.9);
  }
}

@keyframes stonePulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 0.95; transform: scale(1.25); }
}

.loader-brand {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.1em;
  color: var(--bone);
  font-weight: 400;
}

.loader-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tuff);
}

/* ─── Animations ────────────────────────────────────────────────── */
@keyframes uraReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

[data-reveal] {
  animation: uraReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}

@supports not (animation-timeline: view()) {
  [data-reveal] { animation: none; opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

::selection { background: var(--amber); color: var(--surface); }

/* ─── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--obsidian);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--amber); }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0;
}

h3, p { margin: 0; }

button {
  font-family: var(--font);
  cursor: pointer;
}

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

input { font-family: var(--font); }

/* ─── Layout Helper ─────────────────────────────────────────────── */
.pad {
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2));
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2));
}

.site-wrapper {
  background: var(--surface);
  color: var(--obsidian);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════════════
   1A. HEADER 1 — STATIC DARK HEADER (Stays static at top of page)
   ═══════════════════════════════════════════════════════════════════ */
.hdr-static {
  position: relative;
  width: 100%;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--basalt);
  color: var(--bone);
  z-index: 30;
}

.hdr-hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  z-index: 30;
}

.hdr-static .logo img,
.hdr-hero .logo img {
  height: 30px;
  width: auto;
  display: block;
  filter: invert(1) brightness(1.1);
}

.hdr-static .nav-link,
.hdr-static .util-link,
.hdr-hero .nav-link,
.hdr-hero .util-link {
  color: var(--bone);
}

.hdr-static .burger span,
.hdr-hero .burger span {
  background: var(--snow);
}

@media (min-width: 900px) {
  .hdr-static,
  .hdr-hero {
    padding: 18px max(var(--gutter), calc((100% - var(--max)) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   1B. HEADER 2 — STICKY LIGHT HEADER (Slides down smoothly on scroll)
   ═══════════════════════════════════════════════════════════════════ */
.hdr-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 16px var(--gutter);
  display: none; /* hidden on mobile by default */
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--pumice), 0 4px 20px rgba(12, 14, 13, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.hdr-sticky.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.hdr-sticky .logo img {
  height: 30px;
  width: auto;
  display: block;
}

.hdr-sticky .nav-link,
.hdr-sticky .util-link {
  color: var(--obsidian);
}

.hdr-sticky .burger span {
  background: var(--obsidian);
}

@media (min-width: 900px) {
  .hdr-sticky {
    padding: 18px max(var(--gutter), calc((100% - var(--max)) / 2));
    display: grid; /* only visible on desktop */
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
}

/* Common Header Elements */
.logo {
  order: 1;
  flex-shrink: 0;
}

.burger {
  order: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Force dark burger X on light overlay */
.burger[aria-expanded="true"] span {
  background: var(--obsidian) !important;
}

/* Scroll lock when nav overlay is open */
body.nav-open {
  overflow: hidden;
}

/* Nav — Mobile Overlay */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100dvh;
  background: var(--surface, #FAF9F6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 48px;
  gap: 28px;
  font-size: 21px;
  font-weight: 500;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.nav.open {
  opacity: 1;
  pointer-events: all;
}

.nav.open .nav-link {
  color: var(--obsidian, #191B1A) !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav.open .nav-link:hover,
.nav.open .nav-link.active {
  color: var(--amber, #A4442B) !important;
}

.mobile-only-nav-link {
  display: block;
}

.hdr-utils {
  order: 2;
  display: none;
  align-items: center;
  gap: 14px;
}

.util-link {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Desktop Header Grid */
@media (min-width: 900px) {
  .mobile-only-nav-link {
    display: none !important;
  }
  .hdr-hero,
  .hdr-static,
  .hdr-sticky {
    padding: 18px max(var(--gutter), calc((100% - var(--max)) / 2));
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    gap: 28px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
  }
  .burger {
    display: none !important;
  }
  .nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 26px;
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
    pointer-events: all;
    order: 0;
    padding: 0 !important;
  }
  .logo {
    order: 1;
    justify-self: center;
    text-align: center;
  }
  .hdr-utils {
    order: 2;
    display: flex !important;
    justify-self: end;
    align-items: center;
    gap: 22px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   2. HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  background: var(--basalt);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(44, 47, 46, 0.9) 0%, rgba(27, 29, 28, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px var(--gutter) 80px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin: 0 0 26px;
  max-width: 18ch;
  animation: uraReveal 0.8s ease-out 0.2s both;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(232, 226, 218, 0.7);
  margin: 0 0 40px;
  max-width: 52ch;
  animation: uraReveal 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: uraReveal 0.8s ease-out 0.6s both;
}

@media (min-width: 900px) {
  .hero-inner {
    padding: 80px max(var(--gutter), calc((100% - var(--max)) / 2)) 100px;
  }
  .hero-sub { font-size: 17px; }
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--surface);
  padding: 18px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  background: var(--garnet);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45, 107, 79, 0.25);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(232, 226, 218, 0.3);
  background: transparent;
  color: var(--bone);
  padding: 17px 34px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-underline-dark {
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--silver);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn-underline-dark:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.btn-underline-light {
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(232, 226, 218, 0.35);
  padding-bottom: 3px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn-underline-light:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* ═══════════════════════════════════════════════════════════════════
   3. STATS & TRUST BAR
   ═══════════════════════════════════════════════════════════════════ */
.trust-bar {
  border-bottom: 1px solid var(--pumice);
  background: var(--surface);
  padding: 38px var(--gutter);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 8px 16px;
}

@media (min-width: 768px) {
  .trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--pumice);
  }
}

.stat-number {
  font-family: 'Instrument Sans', 'Noto Sans Armenian', sans-serif;
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 500;
  color: var(--obsidian);
  line-height: 1;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  letter-spacing: -0.01em;
}

.stat-number .stat-accent {
  color: var(--amber);
  margin-left: 2px;
}

.stat-title {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--obsidian);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.stat-desc {
  font-family: var(--font);
  font-size: 13px;
  color: var(--tuff);
  line-height: 1.5;
  max-width: 28ch;
}

/* ═══════════════════════════════════════════════════════════════════
   4. CATEGORIES
   ═══════════════════════════════════════════════════════════════════ */
.categories {
  padding: 56px var(--gutter) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.category-card {
  display: block;
  cursor: pointer;
}

.category-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--warm-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.category-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: var(--obsidian);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.category-card:hover .category-badge {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .categories {
    padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
  }
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
  .category-img {
    aspect-ratio: 16/7;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   5. PRODUCTS (1-Row Slider)
   ═══════════════════════════════════════════════════════════════════ */
.products {
  padding: 56px var(--gutter) 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
}

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

.slider-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--pumice);
  background: var(--surface);
  color: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.slider-arrow:hover {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: var(--snow);
}

.products-slider-wrap {
  position: relative;
  width: 100%;
}

.products-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  margin-bottom: -16px;
  scrollbar-width: none;
}
.products-grid::-webkit-scrollbar {
  display: none;
}

/* Product Card Sizing in 1-Row Slider */
.products-grid .product-card {
  flex: 0 0 72vw;
  min-width: 220px;
  max-width: 280px;
  scroll-snap-align: start;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
}
.product-card.sold {
  opacity: 0.55;
  pointer-events: none;
}

.product-card .media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--sand);
}

.product-card .media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .media-inner {
  transform: scale(1.04);
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Heart button */
.product-card .heart {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(12, 14, 13, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  z-index: 3;
}
.product-card:hover .heart,
.product-card .heart.saved {
  opacity: 1;
}
.product-card .heart:hover {
  transform: scale(1.1);
  background: #FFFFFF;
}
.product-card .heart.saved {
  background: #FFFFFF;
  opacity: 1;
}
.product-card .heart.saved svg,
.heart.saved svg,
.pdp-wish-btn.pdp-wished svg {
  fill: #A4442B !important;
  stroke: #A4442B !important;
}
.product-card .heart:hover svg {
  stroke: #A4442B;
}

/* Add to cart button */
.product-card .add-btn {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 44px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  background: var(--obsidian);
  color: var(--bone);
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  z-index: 2;
}
.product-card:hover .add-btn {
  transform: translateY(0);
}
.product-card .add-btn.added {
  background: var(--patina);
}

/* Sold badge */
.product-card .sold-badge {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--obsidian);
  color: var(--bone);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  z-index: 2;
}

/* Card info */
.product-card .card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.product-card .card-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.product-card .card-price {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.product-card .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}

.product-card .stone-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  display: block;
}

.product-card .card-stone {
  font-size: 12.5px;
  color: var(--tuff);
}

@media (min-width: 600px) {
  .products-grid .product-card {
    flex: 0 0 45vw;
  }
}

@media (min-width: 768px) {
  .products {
    padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
  }
  .products-grid .product-card {
    flex: 0 0 calc((100% - 2 * 20px) / 3);
  }
  .product-card .card-name { font-size: 14.5px; }
}

@media (min-width: 1024px) {
  .products-grid .product-card {
    flex: 0 0 calc((100% - 3 * 20px) / 4);
    min-width: 240px;
    max-width: 320px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   6. STONES
   ═══════════════════════════════════════════════════════════════════ */
.stones {
  padding: 56px var(--gutter) 0;
}

.stones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stone-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 22px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(12, 14, 13, 0.05);
  transition: box-shadow 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stone-card:hover {
  box-shadow: 0 14px 40px rgba(12, 14, 13, 0.1);
  transform: translateY(-3px);
  color: inherit;
}

.stone-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stone-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--graphite);
}

.stone-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform 0.4s ease;
}
.stone-card:hover .stone-chevron {
  transform: scale(1.08);
}

.stone-headline {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}

.stone-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--graphite);
  margin-bottom: 28px;
}

.stone-swatch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 20px;
  padding: 10px 0;
  min-height: 120px;
}

.stone-swatch {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 12px 30px rgba(12, 14, 13, 0.22),
              inset 0 -8px 20px rgba(0, 0, 0, 0.28),
              inset 0 8px 18px rgba(255, 255, 255, 0.16);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stone-card:hover .stone-swatch {
  transform: scale(1.06);
}

.stone-img {
  width: 118px;
  height: 118px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(12, 14, 13, 0.24));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.stone-card:hover .stone-img {
  transform: scale(1.08) translateY(-4px);
}

.stone-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--pumice);
  padding-top: 14px;
}

.stone-region {
  font-size: 12.5px;
  color: var(--tuff);
}

.stone-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--obsidian);
}

@media (min-width: 768px) {
  .stones {
    padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
  }
  .stones-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .stone-headline { font-size: 22px; }
  .stone-swatch { width: 92px; height: 92px; }
  .stone-card { padding: 26px 26px 22px; }
}

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

/* ═══════════════════════════════════════════════════════════════════
   7. THE MAKER
   ═══════════════════════════════════════════════════════════════════ */
.maker {
  padding: 56px var(--gutter) 0;
}

.maker-card {
  background: var(--basalt);
  color: var(--bone);
  display: flex;
  flex-direction: column;
}

.maker-portrait {
  min-height: 280px;
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.maker-portrait .placeholder-text {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  color: rgba(232, 226, 218, 0.3);
  max-width: 210px;
}

.maker-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maker-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
}

.maker-copy h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 20ch;
}

.maker-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(232, 226, 218, 0.72);
  margin: 0 0 30px;
  max-width: 52ch;
}

.maker-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid rgba(232, 226, 218, 0.2);
  padding-top: 22px;
  margin-bottom: 30px;
}

.maker-stat-num {
  font-size: 22px;
  font-weight: 500;
}

.maker-stat-label {
  font-size: 12px;
  color: rgba(232, 226, 218, 0.55);
  margin-top: 5px;
}

@media (min-width: 768px) {
  .maker {
    padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
  }
}

@media (min-width: 1024px) {
  .maker-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
  .maker-portrait { min-height: 380px; }
  .maker-copy {
    padding: 56px;
  }
  .maker-copy p { font-size: 15.5px; }
}

/* ═══════════════════════════════════════════════════════════════════
   8. TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════
   8. TESTIMONIALS SLIDER
   ═══════════════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: 56px var(--gutter) 48px;
}
@media (min-width: 900px) {
  .testimonials-section {
    padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 56px;
  }
}

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

/* Arrows */
.testimonials-arrows {
  display: flex;
  gap: 8px;
}
.testi-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pumice);
  background: var(--surface);
  color: var(--obsidian);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.testi-arrow:hover {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: var(--bone);
}
.testi-arrow:hover svg { stroke: var(--bone); }
.testi-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Slider Viewport */
.testi-slider-viewport {
  overflow: hidden;
  position: relative;
  padding: 2px;
  margin: -2px;
}

/* Track */
.testi-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Card */
.testi-card {
  flex: 0 0 calc(100% - 0px);
  min-width: 0;
}
@media (min-width: 640px) {
  .testi-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (min-width: 1024px) {
  .testi-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

.testi-card-inner {
  background: var(--surface);
  border: 1px solid var(--pumice);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.testi-card-inner:hover {
  box-shadow: 0 8px 32px rgba(12, 14, 13, 0.06);
  border-color: rgba(45, 107, 79, 0.2);
}

.testi-quote-icon {
  flex-shrink: 0;
  opacity: 0.4;
}

.testi-text {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.75;
  color: var(--graphite);
  margin: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--tuff);
  padding-top: 16px;
  border-top: 1px solid var(--pumice);
}
.testi-who-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* Pagination Dots */
.testi-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--pumice);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.testi-dot.active {
  background: var(--amber);
  transform: scale(1.3);
}
.testi-dot:hover { background: var(--tuff); }


/* ═══════════════════════════════════════════════════════════════════
   9. FIELD NOTES
   ═══════════════════════════════════════════════════════════════════ */
.field-notes {
  padding: 56px var(--gutter) 0;
}

.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.note-card {
  display: block;
  cursor: pointer;
}

.note-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.note-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.note-meta {
  font-size: 12px;
  color: var(--tuff);
  margin: 14px 0 8px;
}

.note-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 28ch;
}

@media (min-width: 768px) {
  .field-notes {
    padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
  }
  .notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   10. NEWSLETTER
   ═══════════════════════════════════════════════════════════════════ */
.newsletter {
  padding: 56px var(--gutter) 0;
}

.newsletter-inner {
  background: var(--sand);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.newsletter-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.newsletter-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--graphite);
  margin: 0;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--silver);
  border-right: none;
  outline: none;
  color: var(--obsidian);
  font-size: 14.5px;
  padding: 13px 14px;
}

.newsletter-form input:focus {
  border-color: var(--amber);
}

.newsletter-form button {
  background: var(--obsidian);
  border: none;
  color: var(--surface);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 26px;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--amber);
}

.newsletter-status {
  font-size: 12px;
  color: var(--tuff);
  margin-top: 10px;
}

@media (min-width: 768px) {
  .newsletter {
    padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
  }
  .newsletter-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 44px 48px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   11. FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  margin-top: 56px;
  background: var(--basalt);
  color: var(--bone);
  padding: 56px var(--gutter) 28px;
  border-top: 1px solid rgba(232, 226, 218, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 992px) {
  .site-footer {
    margin-top: 72px;
    padding: 64px max(var(--gutter), calc((100% - var(--max)) / 2)) 28px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 48px;
  }
}

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

.footer-logo-link {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-link .footer-logo,
.footer-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
  filter: invert(1) brightness(1.1);
  align-self: flex-start;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(232, 226, 218, 0.62);
  margin: 0;
  max-width: 32ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tuff);
  margin-bottom: 6px;
}

.footer-col a:not(.footer-social-btn) {
  color: rgba(232, 226, 218, 0.72);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
  max-width: max-content;
}
.footer-col a:not(.footer-social-btn):hover {
  color: var(--amber);
  transform: translateX(2px);
}

/* Social Icon Circles */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-social-btn,
.footer-col .footer-social-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(232, 226, 218, 0.22);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--bone);
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0;
  text-decoration: none;
}
.footer-social-btn:hover,
.footer-col .footer-social-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(194, 163, 121, 0.12);
  transform: translateY(-2px);
}
.footer-social-btn svg,
.footer-col .footer-social-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

/* Contact Info list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: rgba(232, 226, 218, 0.7);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 226, 218, 0.75);
  line-height: 1.5;
  transition: all 0.25s ease;
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--amber);
}
.footer-contact-item a {
  color: rgba(232, 226, 218, 0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-contact-item a:hover {
  color: var(--amber);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 226, 218, 0.1);
  font-size: 11.5px;
  color: rgba(232, 226, 218, 0.45);
  flex-wrap: wrap;
}

.footer-motto {
  letter-spacing: 0.14em;
  font-size: 10.5px;
  text-transform: uppercase;
  color: rgba(232, 226, 218, 0.5);
  text-align: center;
}

.footer-guarantee {
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-motto {
    text-align: left;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   LEGACY STYLES — for shop.html and contact.html (.hdr)
   ═══════════════════════════════════════════════════════════════════ */
.hdr {
  position: relative;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--pumice);
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hdr .logo img {
  height: 30px;
  width: auto;
  display: block;
}
.hdr .burger span { background: var(--obsidian); }
.hdr .nav-link, .hdr .util-link { color: var(--obsidian); }

@media (min-width: 900px) {
  .hdr {
    position: sticky;
    padding: 16px max(var(--gutter), calc((100% - var(--max)) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
}

.announcement-bar {
  background: var(--obsidian);
  color: rgba(232, 226, 218, 0.9);
  padding: 9px var(--gutter);
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  flex-wrap: wrap;
}
.announcement-links { display: none; }
@media (min-width: 768px) {
  .announcement-bar {
    justify-content: space-between;
    font-size: 11.5px;
    padding: 9px max(var(--gutter), calc((100% - var(--max)) / 2));
  }
  .announcement-links { display: flex; gap: 22px; }
}

.shop-intro { text-align: center; padding: 48px var(--gutter) 32px; }
.shop-intro h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 46px); font-weight: 400; margin-bottom: 12px; }
.shop-intro p { font-size: 15px; color: var(--tuff); max-width: 52ch; margin: 0 auto; line-height: 1.65; }

.shop-layout { display: flex; flex-direction: column; gap: 32px; padding: 0 var(--gutter) 64px; }
.shop-sidebar { position: static; }
.shop-sidebar-inner { display: flex; flex-direction: column; gap: 24px; }
.filter-group-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tuff); margin-bottom: 10px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--pumice); background: var(--surface); font-size: 13px; cursor: pointer; transition: border-color 0.25s ease; }
.filter-chip:hover { border-color: var(--amber); }
.filter-chip.active { background: var(--obsidian); border-color: var(--obsidian); color: var(--bone); }
.stone-color-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid rgba(12, 14, 13, 0.15); }
.price-range-inputs { display: flex; gap: 10px; align-items: center; }
.price-input { width: 80px; padding: 8px 10px; border: 1px solid var(--pumice); background: var(--surface); font-size: 13px; font-family: var(--mono); outline: none; }
.price-input:focus { border-color: var(--amber); }
.shop-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.results-count { font-size: 13px; color: var(--tuff); }
.sort-select { padding: 8px 12px; border: 1px solid var(--pumice); background: var(--surface); font-size: 13px; font-family: var(--font); cursor: pointer; outline: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--warm-light); font-size: 12px; cursor: pointer; }
.active-chip .remove { font-weight: 700; opacity: 0.5; }
.shop-products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.shop-empty-state { grid-column: 1 / -1; text-align: center; padding: 64px 24px; }
.shop-empty-state p { font-size: 15px; color: var(--tuff); margin-bottom: 16px; }
.mobile-filter-toggle { display: block; width: 100%; padding: 14px; background: var(--obsidian); color: var(--bone); border: none; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; margin-bottom: 24px; }
.mobile-filter-drawer { display: none; }
.mobile-filter-drawer.open { display: block; }
.filter-clear-btn { background: none; border: 1px solid var(--pumice); padding: 8px 16px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; }
.filter-clear-btn:hover { border-color: var(--amber); color: var(--amber); }

@media (min-width: 900px) {
  .shop-layout { flex-direction: row; padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2)) 64px; }
  .shop-sidebar { width: 240px; flex-shrink: 0; }
  .shop-main { flex: 1; }
  .mobile-filter-toggle { display: none; }
  .mobile-filter-drawer { display: block; }
  .shop-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
}
@media (min-width: 1024px) {
  .shop-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.contact-section { padding: 48px var(--gutter) 64px; }
.contact-intro { text-align: center; margin-bottom: 40px; }
.contact-intro h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 46px); font-weight: 400; margin-bottom: 12px; }
.contact-intro p { font-size: 15px; color: var(--tuff); max-width: 48ch; margin: 0 auto; line-height: 1.65; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.topic-chip { padding: 8px 16px; border: 1px solid var(--pumice); background: var(--surface); font-size: 13px; cursor: pointer; transition: border-color 0.25s ease; }
.topic-chip:hover { border-color: var(--amber); }
.topic-chip.active { background: var(--obsidian); border-color: var(--obsidian); color: var(--bone); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-field-group { display: flex; flex-direction: column; margin: 0; padding: 0; width: 100%; box-sizing: border-box; }
.contact-form label, .contact-field-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tuff); margin-bottom: 6px; display: block; line-height: 1.3; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; height: 48px; padding: 12px 14px; border: 1px solid var(--pumice); background: var(--surface); font-family: var(--font); font-size: 14px; outline: none; box-sizing: border-box; border-radius: 0; line-height: 22px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--amber); }
.contact-form textarea { height: auto; min-height: 130px; resize: vertical; }
.contact-form button[type="submit"] { background: var(--obsidian); color: var(--bone); border: none; padding: 16px 32px; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; align-self: flex-start; }
.contact-form button[type="submit"]:hover { background: var(--amber); }
.studio-info { background: var(--sand); padding: 32px 24px; }
.studio-img { aspect-ratio: 4/3; background: var(--warm-light); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.studio-details h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.studio-address { font-size: 14px; line-height: 1.7; color: var(--graphite); margin-bottom: 16px; }
.studio-hours { border-top: 1px solid var(--pumice); padding-top: 16px; }
.studio-hours h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tuff); margin-bottom: 8px; }
.studio-hours p { font-size: 14px; color: var(--graphite); line-height: 1.7; }

@media (min-width: 768px) {
  .contact-section { padding: 48px max(var(--gutter), calc((100% - var(--max)) / 2)) 64px; }
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MY ACCOUNT & AUTHENTICATION STYLES
   ═══════════════════════════════════════════════════════════════════ */
.nav-account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}
.nav-account-icon:hover {
  color: var(--amber) !important;
  transform: translateY(-1px);
}
.nav-account-icon .user-icon-svg {
  display: block;
}
.nav-account-icon.is-logged-in::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--surface);
}

.nav-cart-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}
.nav-cart-icon:hover {
  color: var(--amber) !important;
  transform: translateY(-1px);
}
.nav-cart-icon .cart-icon-svg {
  display: block;
}
.cart-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--amber);
  color: var(--basalt);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  line-height: 1;
}

.account-section {
  padding: 40px var(--gutter) 80px;
  min-height: 70vh;
}
@media (min-width: 900px) {
  .account-section {
    padding: 56px max(var(--gutter), calc((100% - var(--max)) / 2)) 96px;
  }
}

.account-intro {
  text-align: center;
  margin-bottom: 40px;
}
.account-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 400;
  color: var(--obsidian);
  margin-bottom: 12px;
}
.account-intro p {
  font-size: 15.5px;
  color: var(--tuff);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* Auth Card & Tabs */
.auth-card-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--pumice);
  box-shadow: 0 12px 36px rgba(12, 14, 13, 0.05);
  overflow: hidden;
}

.auth-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--pumice);
  background: var(--sand);
}
.auth-tab-btn {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tuff);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
}
.auth-tab-btn:hover {
  color: var(--obsidian);
}
.auth-tab-btn.active {
  color: var(--obsidian);
  background: var(--surface);
}
.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
}

.auth-card-body {
  padding: 32px 28px 36px;
}
@media (min-width: 480px) {
  .auth-card-body { padding: 40px 36px 44px; }
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-form.hidden { display: none; }

.form-group-acc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group-acc label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tuff);
}
.input-acc {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--pumice);
  background: var(--surface);
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--obsidian);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}
.input-acc:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(193, 143, 85, 0.12);
}

.form-row-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.checkbox-acc {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--graphite);
}
.checkbox-acc input {
  accent-color: var(--amber);
}

.btn-acc-submit {
  width: 100%;
  padding: 15px 24px;
  background: var(--obsidian);
  color: var(--bone);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 6px;
}
.btn-acc-submit:hover {
  background: var(--amber);
}

.demo-login-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--pumice);
  text-align: center;
}
.btn-demo-quick {
  background: var(--warm-light);
  border: 1px solid var(--pumice);
  color: var(--obsidian);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.btn-demo-quick:hover {
  border-color: var(--amber);
  background: var(--surface);
}

.acc-alert {
  padding: 12px 16px;
  font-size: 13.5px;
  border-left: 3px solid;
  margin-bottom: 16px;
  display: none;
}
.acc-alert.visible { display: block; }
.acc-alert.error {
  background: #FDF2F2;
  border-color: #D9534F;
  color: #A94442;
}
.acc-alert.success {
  background: #F2F9F4;
  border-color: #4B9E66;
  color: #276A3C;
}

/* User Dashboard Layout */
.dashboard-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.user-banner-card {
  background: var(--basalt);
  color: var(--bone);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  border-left: 4px solid var(--amber);
}
@media (min-width: 640px) {
  .user-banner-card {
    flex-direction: row;
    align-items: center;
    padding: 32px 36px;
  }
}

.user-profile-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.user-avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--basalt);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.user-info-text h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--bone);
  margin-bottom: 4px;
}
.user-info-text p {
  font-size: 13.5px;
  color: rgba(232, 226, 218, 0.75);
}
.user-member-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  margin-top: 4px;
}

.btn-logout-acc {
  background: transparent;
  border: 1px solid rgba(232, 226, 218, 0.3);
  color: var(--bone);
  padding: 9px 20px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn-logout-acc:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(193, 143, 85, 0.1);
}

.dash-nav-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--pumice);
  padding-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dash-nav-btn {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--pumice);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.dash-nav-btn:hover { border-color: var(--amber); }
.dash-nav-btn.active {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: var(--bone);
}

.dash-panel { display: none; }
.dash-panel.active { display: block; }

/* Dashboard Cards & Panels */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--pumice);
  padding: 28px 24px;
}
@media (min-width: 640px) {
  .panel-card { padding: 36px; }
}

.panel-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--obsidian);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pumice);
}

.empty-dash-state {
  text-align: center;
  padding: 48px 20px;
}
.empty-dash-state p {
  font-size: 15px;
  color: var(--tuff);
  margin-bottom: 20px;
}

/* Orders List */
.orders-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order-card-item {
  border: 1px solid var(--pumice);
  padding: 20px;
  background: var(--surface);
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pumice);
  margin-bottom: 14px;
}
.order-id-code {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--obsidian);
}
.order-date-str {
  font-size: 12.5px;
  color: var(--tuff);
}
.order-status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
}
.status-pending { background: #FFF8E7; color: #8C6D1F; border: 1px solid #F0D999; }
.status-processing { background: #EBF3FE; color: #1E5BB0; border: 1px solid #B8D4FB; }
.status-completed { background: #EEF8F1; color: #1C6B37; border: 1px solid #B2E2C0; }

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.order-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--pumice);
  font-weight: 600;
  font-size: 15px;
}

/* Wishlist Grid inside Account */
.account-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}
@media (min-width: 768px) {
  .account-wishlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.wishlist-card {
  border: 1px solid var(--pumice);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.wishlist-card-media {
  aspect-ratio: 1;
  background: var(--warm-light);
  overflow: hidden;
  position: relative;
}
.wishlist-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wishlist-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.wishlist-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--obsidian);
}
.wishlist-card-price {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--amber);
  font-weight: 600;
}
.wishlist-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.btn-wish-add {
  flex: 1;
  padding: 8px;
  background: var(--obsidian);
  color: var(--bone);
  border: none;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.btn-wish-add:hover { background: var(--amber); }
.btn-wish-remove {
  padding: 8px 10px;
  background: transparent;
  border: 1px solid var(--pumice);
  color: var(--tuff);
  font-size: 12px;
  cursor: pointer;
}
.btn-wish-remove:hover { border-color: var(--obsidian); color: var(--obsidian); }

/* Utility Helper */
.hidden {
  display: none !important;
}

/* Cart Overlay & Slide-Out Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 13, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  box-shadow: -4px 0 24px rgba(12, 14, 13, 0.15);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--pumice);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--obsidian);
  margin: 0;
}
.cart-close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--tuff);
  cursor: pointer;
}
.cart-close:hover { color: var(--obsidian); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--pumice);
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}
.cart-total-price {
  font-family: var(--mono);
  color: var(--amber);
  font-size: 16px;
}
.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--obsidian);
  color: var(--bone);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.cart-checkout-btn:hover {
  background: var(--amber);
}

/* Profile Panel 2-Column Side-by-Side Grid */
.profile-grid-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 840px) {
  .profile-grid-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
.profile-col {
  display: flex;
  flex-direction: column;
}


/* ===================================================================
   PRODUCT DETAIL PAGE (PDP)
   =================================================================== */

.pdp-section {
  padding: 24px var(--gutter) 80px;
}
@media (min-width: 900px) {
  .pdp-section {
    padding: 32px max(var(--gutter), calc((100% - var(--max)) / 2)) 96px;
  }
}

/* Breadcrumb */
.pdp-breadcrumb {
  font-size: 13px;
  color: var(--tuff);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pdp-breadcrumb a {
  color: var(--tuff);
  text-decoration: none;
  transition: color 0.2s;
}
.pdp-breadcrumb a:hover { color: var(--amber); }
.pdp-bc-sep { color: var(--pumice); }

/* Main Grid: Image + Info */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .pdp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}

/* Gallery */
.pdp-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pdp-img-wrap {
  position: relative;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  border: none;
  user-select: none;
}
.pdp-main-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  box-sizing: border-box;
}
.pdp-img-wrap:hover .pdp-main-img {
  transform: scale(1.05);
}
.pdp-sold-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--obsidian);
  color: var(--bone);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  z-index: 6;
}
.pdp-sold-badge.hidden { display: none; }

/* PDP Gallery Controls: Navigation Arrows */
.pdp-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--obsidian, #1F1D1A);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0.95;
  padding: 0;
}
.pdp-gallery-arrow:hover {
  background: #FFFFFF;
  color: var(--amber, #C9A227);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  opacity: 1;
}
.pdp-gallery-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.pdp-gallery-arrow--prev {
  left: 12px;
}
.pdp-gallery-arrow--next {
  right: 12px;
}
.pdp-gallery-arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* PDP Gallery Counter */
.pdp-gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 5;
}

/* PDP Gallery Pagination Dots */
.pdp-gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}
.pdp-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.pdp-gallery-dot:hover {
  background: rgba(0, 0, 0, 0.45);
}
.pdp-gallery-dot.active {
  width: 22px;
  border-radius: 11px;
  background: var(--amber, #C9A227);
}

/* PDP Gallery Thumbnails */
.pdp-gallery-thumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: thin;
}
.pdp-gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}
.pdp-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}
.pdp-thumb-item {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #F9F9F8;
  cursor: pointer;
  padding: 2px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.pdp-thumb-item:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-2px);
}
.pdp-thumb-item.active {
  border-color: var(--amber, #C9A227);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.25);
}
.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Hide controls if product has only 1 image */
.pdp-gallery.single-image .pdp-gallery-arrow,
.pdp-gallery.single-image .pdp-gallery-counter,
.pdp-gallery.single-image .pdp-gallery-pagination,
.pdp-gallery.single-image .pdp-gallery-thumbs {
  display: none !important;
}

/* Product Info */
.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pdp-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 400;
  color: var(--obsidian);
  line-height: 1.25;
  margin-bottom: 16px;
}

/* Price Row */
.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pumice);
}
.pdp-price {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--obsidian);
  letter-spacing: -0.02em;
}
.pdp-status {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}
.pdp-status-available {
  background: #EEF8F1;
  color: #1C6B37;
  border: 1px solid #B2E2C0;
}
.pdp-status-sold {
  background: #FDF2F2;
  color: #A94442;
  border: 1px solid #E8C4C4;
}

/* Meta Grid */
.pdp-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.pdp-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pdp-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tuff);
}
.pdp-meta-value {
  font-size: 14.5px;
  color: var(--obsidian);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdp-stone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Description */
.pdp-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 28px;
}

/* Action Buttons */
.pdp-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.pdp-btn-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--obsidian);
  color: var(--bone);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.pdp-btn-cart:hover { background: var(--garnet); transform: translateY(-1px); }
.pdp-btn-cart.pdp-btn-added { background: var(--garnet); }
.pdp-btn-cart.pdp-btn-disabled {
  background: var(--pumice);
  color: var(--tuff);
  cursor: not-allowed;
}
.pdp-btn-wish {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--pumice);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}
.pdp-btn-wish:hover { border-color: var(--amber); }
.pdp-btn-wish.pdp-wished { border-color: var(--garnet); background: rgba(45, 107, 79, 0.06); }

/* FAQ Section (Full Width, Two-Column) */
.pdp-faq-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--pumice);
}
.pdp-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .pdp-faq-grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
  }
}

/* Left: Title + CTA */
.pdp-faq-intro {
  position: relative;
}
@media (min-width: 768px) {
  .pdp-faq-intro {
    position: sticky;
    top: 100px;
  }
}
.pdp-faq-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--obsidian);
  line-height: 1.25;
  margin-bottom: 16px;
}
.pdp-faq-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--tuff);
  margin-bottom: 24px;
}
.pdp-faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-decoration: none;
  transition: gap 0.3s ease;
}
.pdp-faq-cta:hover { gap: 14px; }
.pdp-faq-cta span { font-size: 16px; transition: transform 0.3s ease; }
.pdp-faq-cta:hover span { transform: translateX(4px); }

/* Right: FAQ Accordion */
.pdp-faq-section .pdp-details {
  border-top: none;
}
.pdp-details {
  border-top: 1px solid var(--pumice);
}
.pdp-detail-block {
  border-bottom: 1px solid var(--pumice);
}
.pdp-detail-block summary {
  display: none;
}

/* Button-based FAQ summary */
.pdp-faq-summary {
  width: 100%;
  padding: 20px 0;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  user-select: none;
  transition: color 0.2s ease;
}
.pdp-faq-summary:hover { color: var(--amber); }

/* Animated +/- icon */
.pdp-faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.pdp-faq-icon::before,
.pdp-faq-icon::after {
  content: '';
  position: absolute;
  background: var(--tuff);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.pdp-faq-icon::before {
  /* horizontal line */
  top: 50%;
  left: 2px;
  right: 2px;
  height: 1.5px;
  transform: translateY(-50%);
}
.pdp-faq-icon::after {
  /* vertical line (rotates to 0 when open) */
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 1.5px;
  transform: translateX(-50%);
}
.pdp-faq-summary[aria-expanded="true"] .pdp-faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* FAQ body - animated with max-height */
.pdp-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}
.pdp-faq-body.open {
  opacity: 1;
}
.pdp-faq-body-inner {
  padding-bottom: 24px;
}
.pdp-faq-body-inner p,
.pdp-faq-body-inner ul {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--graphite);
  margin: 0;
}
.pdp-detail-block p,
.pdp-detail-block ul {
  padding: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--graphite);
}
.pdp-care-list {
  list-style: none;
  padding-left: 0;
}
.pdp-care-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.pdp-care-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* Related Products */
.pdp-related {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--pumice);
}
.pdp-related-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--obsidian);
  margin-bottom: 32px;
  text-align: center;
}
.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .pdp-related-grid { grid-template-columns: repeat(4, 1fr); }
}
.pdp-rel-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.pdp-rel-card:hover { transform: translateY(-4px); }
.pdp-rel-img {
  position: relative;
  background: var(--warm-light);
  overflow: hidden;
  aspect-ratio: 1;
}
.pdp-rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pdp-rel-card:hover .pdp-rel-img img { transform: scale(1.06); }
.pdp-rel-sold {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--obsidian);
  color: var(--bone);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.pdp-rel-body {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pdp-rel-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--obsidian);
  line-height: 1.35;
}
.pdp-rel-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber);
  font-weight: 600;
}
.pdp-rel-stone {
  font-size: 12px;
  color: var(--tuff);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===================================================================
   CART PAGE
   =================================================================== */

.cart-page {
  padding: 32px var(--gutter) 80px;
}
@media (min-width: 900px) {
  .cart-page {
    padding: 40px max(var(--gutter), calc((100% - var(--max)) / 2)) 96px;
  }
}

.cart-page-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  color: var(--obsidian);
  margin-bottom: 40px;
}

.cart-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .cart-page-grid {
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: start;
  }
}

/* Table Header */
.cart-table-head {
  display: none;
}
@media (min-width: 768px) {
  .cart-table-head {
    display: grid;
    grid-template-columns: 40px 80px 1fr 100px 120px 100px;
    gap: 16px;
    align-items: center;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--pumice);
    margin-bottom: 0;
  }
  .cart-th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tuff);
  }
  .cart-th-product { grid-column: 2 / 4; }
}
.cart-table-head.hidden { display: none; }

/* Cart Item Row */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  grid-template-rows: auto auto;
  gap: 12px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pumice);
  align-items: center;
  position: relative;
}
@media (min-width: 768px) {
  .cart-item {
    grid-template-columns: 40px 80px 1fr 100px 120px 100px;
    grid-template-rows: auto;
    gap: 16px;
    padding: 20px 0;
  }
}

/* Remove Button */
.cart-item-remove {
  position: absolute;
  top: 20px;
  left: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tuff);
  padding: 4px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .cart-item-remove {
    position: static;
  }
}
.cart-item-remove:hover { color: #c0392b; }

/* Product Image */
.cart-item-img {
  width: 80px;
  height: 80px;
  background: var(--warm-light);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Name */
.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--obsidian);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}
.cart-item-name:hover { color: var(--amber); }

/* Price */
.cart-item-price {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--graphite);
  grid-column: 2 / 3;
}
@media (min-width: 768px) {
  .cart-item-price { grid-column: auto; }
}

/* Quantity Controls */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--pumice);
  width: fit-content;
}
.qty-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--obsidian);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--warm-light); }
.qty-val {
  width: 36px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--obsidian);
  border-left: 1px solid var(--pumice);
  border-right: 1px solid var(--pumice);
  line-height: 32px;
}

/* Subtotal */
.cart-item-subtotal {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--obsidian);
  text-align: right;
}
@media (max-width: 767px) {
  .cart-item-subtotal {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .cart-item-remove {
    top: 50%;
    left: -4px;
    transform: translateY(-50%);
  }
  .cart-item {
    padding-left: 28px;
  }
}

/* Empty State */
.cart-page-grid.cart-is-empty {
  grid-template-columns: 1fr;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  gap: 16px;
  min-height: 40vh;
}
.cart-empty.hidden { display: none; }
.cart-empty p {
  font-size: 16px;
  color: var(--tuff);
}
.cart-continue-btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  margin-top: 8px;
}

/* Cart Totals Sidebar */
.cart-totals-col {
  background: var(--warm-light);
  padding: 32px;
}
.cart-totals-col.hidden { display: none; }
@media (min-width: 768px) {
  .cart-totals-col {
    position: sticky;
    top: 100px;
  }
}
.cart-totals-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--obsidian);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pumice);
}
.cart-totals-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--pumice);
  font-size: 14px;
  color: var(--graphite);
}
.cart-totals-row:last-child {
  border-bottom: none;
}
.cart-totals-val {
  font-weight: 600;
  color: var(--obsidian);
}
.cart-shipping-val {
  font-weight: 400;
  font-size: 13px;
  color: var(--tuff);
}
.cart-totals-total {
  padding-top: 16px;
  margin-top: 4px;
  border-top: 2px solid var(--obsidian);
  border-bottom: none;
}
.cart-totals-total span:first-child {
  font-weight: 600;
  font-size: 15px;
  color: var(--obsidian);
}
.cart-totals-total .cart-totals-val {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}
.cart-checkout-btn-full {
  width: 100%;
  padding: 16px;
  margin-top: 24px;
  background: var(--obsidian);
  color: var(--bone);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}
.cart-checkout-btn-full:hover { background: var(--garnet); }
.cart-checkout-btn-full:disabled {
  background: var(--pumice);
  color: var(--tuff);
  cursor: not-allowed;
}

/* ===================================================================
   URARTOO — WooCommerce-Style Admin Panel Styles
   =================================================================== */
.admin-view {
  min-height: 100vh;
  background: #F4F3EF;
  color: var(--ink);
  font-family: var(--font);
}

body.in-admin-mode > *:not(#view-admin):not(#product-editor-modal):not(#stone-editor-modal):not(#blog-editor-modal):not(#delete-user-modal) {
  display: none !important;
}

.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--green);
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  padding: 40px 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  border-radius: 4px;
}

.admin-login-card h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}

.admin-login-card p {
  font-size: 13.5px;
  color: var(--tuff);
  text-align: center;
  margin-bottom: 28px;
}

.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tuff);
  margin-bottom: 8px;
}

.admin-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pumice);
  background: #FFFFFF;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.admin-input:focus {
  border-color: var(--gold);
}

.admin-btn {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--green);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.admin-btn:hover {
  background: #b59120;
}

/* Dashboard Header & Layout */
.admin-dashboard-header {
  background: #191B1A;
  color: #FFFFFF;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-header-brand img {
  height: 28px;
  filter: brightness(0) invert(1);
}

.admin-role-badge {
  background: var(--gold);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.admin-header-actions a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-header-actions a:hover {
  color: var(--gold);
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 60px);
}

.admin-sidebar {
  width: 240px;
  background: #191B1A;
  color: #C0C5C2;
  flex-shrink: 0;
  padding: 24px 0;
}

.admin-nav-group {
  margin-bottom: 24px;
}

.admin-nav-title {
  padding: 0 24px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.admin-nav-item * {
  pointer-events: none !important;
}

.admin-nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: #FFFFFF;
}

.admin-nav-item.active {
  background: var(--green);
  color: var(--gold);
  border-left: 4px solid var(--gold);
}

.admin-main-content {
  flex: 1;
  padding: 32px var(--gutter);
  overflow-y: auto;
}

/* Stat Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: #FFFFFF;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.admin-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tuff);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.admin-stat-val {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
}

/* Tables */
.admin-card {
  background: #FFFFFF;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 32px;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.admin-table th {
  background: #F8F7F4;
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tuff);
  border-bottom: 1px solid var(--pumice);
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--pumice);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: #FAFAF8;
}

.admin-status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
}

.badge-pending { background: #FFF4E5; color: #B76E00; }
.badge-processing { background: #E6F4EA; color: #137333; }
.badge-completed { background: #E8F0FE; color: #1A73E8; }
.badge-failed { background: #FCE8E6; color: #C5221F; }

/* Product Editor Overlay */
.product-editor-page {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: #F4F3EF;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.pe-topbar {
  background: var(--green);
  color: #FFFFFF;
  padding: 12px 28px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 12px;
}

.pe-topbar-title {
  font-family: var(--font-serif);
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.pe-content {
  display: flex;
  gap: 24px;
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.pe-main {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
}

.pe-sidebar {
  width: 340px;
  max-width: 100%;
  flex-shrink: 0;
  min-width: 0;
}

.pe-metabox {
  background: #FFFFFF;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.pe-metabox h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tuff);
  margin: 0 0 16px;
  border-bottom: 1px solid var(--pumice);
  padding-bottom: 10px;
}

/* ===================================================================
   ADMIN PANEL RESPONSIVE MOBILE OPTIMIZATION (@media max-width 768px)
   =================================================================== */
@media (max-width: 768px) {
  .admin-dashboard-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 16px !important;
  }

  .admin-header-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .admin-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  #admin-user-profile-name {
    display: none !important; /* Hide long email on mobile to keep header clean */
  }

  #btn-sync-google {
    font-size: 11px !important;
    padding: 6px 10px !important;
    margin: 0 !important;
  }

  #btn-sync-google {
    width: auto !important;
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  .admin-layout {
    flex-direction: column !important;
    min-height: auto !important;
    width: 100% !important;
  }

  .admin-sidebar {
    width: 100% !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    background: #191B1A !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }

  .admin-nav-group {
    display: flex !important;
    overflow-x: auto !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    padding: 4px 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .admin-nav-title {
    display: none !important;
  }

  .admin-nav-item {
    padding: 8px 16px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    border-left: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 4px !important;
  }

  .admin-nav-item.active {
    border-left: none !important;
    border-bottom: 3px solid var(--gold) !important;
    background: rgba(255,255,255,0.08) !important;
  }

  .admin-main-content {
    width: 100% !important;
    padding: 16px 12px !important;
    box-sizing: border-box !important;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .admin-stat-card {
    padding: 14px !important;
  }

  .admin-stat-val {
    font-size: 22px !important;
  }

  .admin-card {
    padding: 16px 12px !important;
    margin-bottom: 20px !important;
  }

  .admin-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .admin-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .admin-table th, .admin-table td {
    padding: 10px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  /* Product Editor Mobile First Responsive Overlay */
  .pe-topbar {
    padding: 12px 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .pe-topbar-title {
    font-size: 17px !important;
  }

  .pe-content {
    flex-direction: column !important;
    padding: 16px 12px !important;
    gap: 16px !important;
  }

  .pe-main, .pe-sidebar {
    width: 100% !important;
  }

  .pe-metabox {
    padding: 16px 14px !important;
    margin-bottom: 16px !important;
  }

  .admin-input, select.admin-input, textarea.admin-input {
    font-size: 16px !important; /* Prevents auto-zoom on iOS mobile */
    padding: 12px 14px !important;
  }
}

@media (max-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr !important;
  }

  #btn-pe-save, #btn-pe-delete {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ===================================================================
   MOBILE INVENTORY PRODUCT CARDS (STRICT MOBILE-FIRST INVENTORY UX)
   =================================================================== */
.admin-mobile-cards-grid {
  display: none;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .admin-table-wrap-desktop {
    display: none !important;
  }
  .admin-mobile-cards-grid {
    display: flex !important;
  }
}

.admin-prod-mobile-card {
  background: #FFFFFF;
  border-radius: 6px;
  border: 1px solid var(--pumice);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-prod-mobile-header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.admin-prod-mobile-img {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
  background: #FAF8F5;
  flex-shrink: 0;
  border: 1px solid var(--pumice);
}

.admin-prod-mobile-meta {
  flex: 1;
}

.admin-prod-mobile-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.admin-prod-mobile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.admin-prod-mobile-price {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
}

.admin-prod-mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--pumice);
}

.admin-prod-mobile-actions button {
  flex: 1;
  padding: 10px 12px !important;
  font-size: 13px !important;
  text-align: center;
}

/* ===================================================================
   UNIVERSAL LUXURY CUSTOM DROPDOWN (<select>) STYLING SYSTEM
   =================================================================== */
select,
.admin-input select,
#admin-bulk-action-select,
#admin-prod-filter-cat,
#sort-select,
.shop-filter-select,
.pdp-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B1D1C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding: 10px 38px 10px 14px !important;
  border: 1px solid #D0CEC5 !important;
  border-radius: 6px !important;
  font-family: var(--font, 'Instrument Sans', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #1B1D1C !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
  vertical-align: middle !important;
  line-height: 1.4 !important;
}

select:hover,
.admin-input select:hover {
  border-color: #B8860B !important;
  background-color: #FCFBF9 !important;
}

select:focus,
.admin-input select:focus {
  border-color: #B8860B !important;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.18) !important;
  background-color: #FFFFFF !important;
}

/* Custom Dropdown Option Styling */
select option {
  background-color: #FFFFFF !important;
  color: #1B1D1C !important;
  padding: 12px 14px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

select option:hover,
select option:focus,
select option:active,
select option:checked {
  background-color: #F5F0E8 !important;
  color: #1B1D1C !important;
  font-weight: 600 !important;
}

/* ===================================================================
   BESPOKE CUSTOM SELECT DROPDOWN COMPONENT (NATIVE & JS ENHANCED)
   — Merged into single clean block. White option backgrounds everywhere.
   =================================================================== */
select, .admin-card select, .admin-input-group select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%232C2A29%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding: 10px 38px 10px 14px !important;
  border: 1px solid #D8D5CB !important;
  border-radius: 6px !important;
  font-family: var(--font, 'Instrument Sans', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #17181A !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all 0.2s ease !important;
}

.ura-custom-select {
  position: relative;
  display: block;
  width: 100%;
  user-select: none;
  font-family: var(--font, 'Instrument Sans', sans-serif);
  font-size: 13.5px;
  text-transform: none !important;
  letter-spacing: normal !important;
  vertical-align: middle;
}

#ura-custom-admin-prod-filter-cat {
  max-width: 200px;
  width: 100%;
}

#ura-custom-admin-bulk-action-select,
#ura-custom-admin-journal-bulk-action {
  min-width: 270px;
  max-width: 320px;
  width: 100%;
}

.ura-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--pumice, #D8D5CB);
  border-radius: 0px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink, #17181A);
  cursor: pointer;
  box-shadow: none;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-form .ura-custom-select {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.contact-form .ura-select-trigger {
  height: 48px;
  background: var(--surface, #FAF9F6);
  border: 1px solid var(--pumice, #D0CEC5);
  font-family: var(--font, 'Instrument Sans', sans-serif);
  font-size: 14px;
  box-sizing: border-box;
  border-radius: 0;
  line-height: 22px;
}

.ura-custom-select:hover .ura-select-trigger {
  border-color: var(--amber, #C2A379);
}

.ura-custom-select.active .ura-select-trigger {
  border-color: var(--amber, #C2A379);
  box-shadow: 0 0 0 3px rgba(194, 163, 121, 0.2);
}

.ura-select-text {
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--ink, #17181A);
  white-space: nowrap;
}

.ura-select-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--ink, #17181A);
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ura-custom-select.active .ura-select-arrow {
  transform: rotate(180deg);
}

.ura-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  color: var(--ink, #17181A);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--pumice, #D8D5CB);
  padding: 6px;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  max-height: 260px;
  overflow-y: auto;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.ura-custom-select.active .ura-select-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===================================================================
   CHECKOUT MODAL & ORDER CONFIRMATION SYSTEM
   =================================================================== */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 14, 13, 0.82);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.checkout-modal-card {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding: 32px;
  position: relative;
  border: 1px solid var(--pumice);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-overlay.open .checkout-modal-card {
  transform: translateY(0);
}

.checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--pumice);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.checkout-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.checkout-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--tuff);
  transition: color 0.2s ease;
}
.checkout-modal-close:hover { color: var(--ink); }

.checkout-user-badge {
  background: #F8F5EE;
  border: 1px solid #E2D9C7;
  border-radius: 6px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #8C6F3E;
  font-weight: 600;
  margin-bottom: 24px;
}
.user-badge-icon {
  background: #2D6B4F;
  color: #FFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

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

.chk-section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F0EDE6;
}
.chk-section:last-child {
  border-bottom: none;
}

.chk-sec-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 16px 0;
}

.chk-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.chk-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--charcoal);
}

.chk-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--pumice);
  border-radius: 6px;
  font-size: 13.5px;
  outline: none;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chk-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(194, 163, 121, 0.2);
}
.uppercase-input { text-transform: uppercase; }

.chk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.chk-summary-card {
  background: #F9F8F5;
  border: 1px solid var(--pumice);
  border-radius: 8px;
  padding: 22px;
}

.chk-summary-title {
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 0 0 16px 0;
  color: var(--ink);
}

.chk-items-preview {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.chk-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #ECE8DF;
}

.chk-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
  color: var(--charcoal);
}

.chk-grand-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--pumice);
  padding-top: 12px;
  margin-top: 8px;
}

.chk-submit-btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--green);
  color: #FFF;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.chk-submit-btn:hover {
  background: #1E4D38;
}

/* Success Modal */
.checkout-success-card {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--pumice);
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  background: #E8F3EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.success-subtitle {
  font-size: 14px;
  color: var(--tuff);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.success-order-box {
  background: #F9F8F5;
  border: 1px solid var(--pumice);
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
}

.success-order-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
}

.success-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  color: var(--charcoal);
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 540px) {
  .success-actions {
    flex-direction: column;
  }
}

.ura-select-option {
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: #17181A;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ura-select-option:hover {
  background: #F4F3EF;
  color: #17181A;
}

.ura-select-option.selected {
  background: #C2A379;
  color: #FFFFFF;
  font-weight: 700;
}

/* Hide admin link from header navigation */
.nav-link-admin {
  display: none !important;
}

/* Hide newsletter banner across all pages */
.newsletter, .journal-nl-banner {
  display: none !important;
}

@keyframes urartooSpin {
  100% { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE BLOG POST PAGE STYLES (.journal-post-page)
   ═══════════════════════════════════════════════════════════════════════════ */

.journal-post-article {
  padding: 44px max(var(--gutter), calc((100% - var(--max)) / 2)) 0;
}

.journal-post-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tuff);
  margin-bottom: 18px;
}

.journal-post-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}

.journal-post-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--obsidian);
  margin: 0 0 20px;
  max-width: 22ch;
}

.journal-post-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--graphite);
  margin: 0 0 32px;
  max-width: 60ch;
}

.journal-post-hero-wrap {
  aspect-ratio: 21/9;
  background: var(--warm-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  overflow: hidden;
  border-radius: 2px;
}

.journal-post-hero-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-post-hero-placeholder {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  color: rgba(12, 14, 13, 0.4);
  max-width: 260px;
  text-align: center;
}

/* Main 2-Column Grid Layout */
.journal-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 992px) {
  .journal-post-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 72px;
  }
}

.journal-post-body {
  min-width: 0;
}

.journal-post-block {
  margin-bottom: 22px;
}

.journal-post-block h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--obsidian);
  margin: 44px 0 18px;
  scroll-margin-top: 110px;
}

.journal-post-block p {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--graphite);
  margin: 0;
  max-width: 66ch;
}

.journal-post-block blockquote {
  border-left: 2px solid var(--amber);
  margin: 34px 0;
  padding: 4px 0 4px 28px;
}

.journal-post-block blockquote span {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--obsidian);
  max-width: 34ch;
}

.journal-post-block figure {
  margin: 36px 0;
}

.journal-post-figure-img {
  aspect-ratio: 3/2;
  background: var(--warm-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2px;
}

.journal-post-figure-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-post-figure-caption {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--tuff);
  margin-top: 12px;
}

/* Bench Author Box */
.bench-author-box {
  border-top: 1px solid var(--obsidian);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.bench-author-avatar {
  width: 54px;
  height: 54px;
  background: var(--warm-light);
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-weight: 600;
  font-size: 18px;
  border: 1px solid var(--pumice);
}

.bench-author-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--obsidian);
}

.bench-author-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--tuff);
  margin-top: 4px;
  max-width: 52ch;
}

/* Sticky Sidebar — desktop only */
.journal-post-sidebar {
  min-width: 0;
}
@media (min-width: 768px) {
  .journal-post-sidebar {
    position: sticky;
    top: 96px;
  }
}

.journal-sidebar-box {
  border-top: 1px solid var(--obsidian);
  padding-top: 18px;
}

.journal-sidebar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tuff);
  margin-bottom: 16px;
}

.journal-toc-nav {
  display: flex;
  flex-direction: column;
}

.journal-toc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--tuff);
  text-decoration: none;
  transition: color 0.3s ease;
}

.journal-toc-link:hover,
.journal-toc-link.active {
  color: var(--obsidian);
  font-weight: 500;
}

.journal-toc-mark {
  width: 10px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--pumice);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.journal-toc-link.active .journal-toc-mark {
  width: 18px;
  background: var(--amber);
}

/* Share Block */
.journal-share-box {
  border-top: 1px solid var(--pumice);
  margin-top: 28px;
  padding-top: 18px;
}

.journal-share-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.journal-share-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--pumice, #D8D5CB);
  background: var(--surface, #FAF9F6);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--obsidian, #191B1A);
}

.journal-share-btn:hover {
  background: var(--obsidian, #191B1A);
  border-color: var(--obsidian, #191B1A);
  color: var(--gold, #C2A379);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.journal-share-status {
  font-size: 12.5px;
  color: var(--gold, #C2A379);
  margin-top: 10px;
  min-height: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* From This Trip Featured Product Card */
.journal-from-trip-card {
  background: var(--surface);
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--pumice);
}

.journal-from-trip-img {
  aspect-ratio: 1/1;
  background: var(--warm-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}

.journal-from-trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-from-trip-title {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--obsidian);
}

.journal-from-trip-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.journal-from-trip-badge {
  font-size: 12.5px;
  color: var(--tuff);
}

.journal-from-trip-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--obsidian);
  font-weight: 500;
}

.journal-from-trip-cta {
  display: block;
  text-align: center;
  background: var(--obsidian);
  color: var(--bone);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 0;
  margin-top: 16px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.journal-from-trip-cta:hover {
  background: var(--amber);
  color: var(--obsidian);
}

/* Related Field Notes Section */
/* Single Blog Dark CTA Banner */
.blog-post-cta-banner {
  background: var(--obsidian);
  color: var(--bone);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 36px;
  margin: 80px max(var(--gutter), calc((100% - var(--max)) / 2)) 80px;
}

@media (min-width: 768px) {
  .blog-post-cta-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    padding: 52px 48px;
  }
}

.blog-cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: 24ch;
  color: var(--bone);
}

.blog-cta-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(232, 226, 218, 0.7);
  margin: 0;
  max-width: 54ch;
}

.blog-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-cta-btn-primary {
  background: var(--amber);
  color: var(--obsidian);
  padding: 15px 30px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.blog-cta-btn-primary:hover {
  background: var(--bone);
  color: var(--obsidian);
}

.blog-cta-link-secondary {
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(232, 226, 218, 0.35);
  padding-bottom: 3px;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.blog-cta-link-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
}


/* ===================================================================
   ADMIN PRODUCTS SUBTAB BAR & CONTENT
   =================================================================== */
.admin-subtab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--pumice, #D0CEC5);
}

.admin-subtab {
  padding: 12px 24px;
  font-family: var(--font, 'Instrument Sans', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tuff, #888);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-subtab:hover {
  color: var(--ink, #17181A);
  background: rgba(194, 163, 121, 0.06);
}

.admin-subtab.active {
  color: var(--green, #2D6B4F);
  border-bottom-color: var(--gold, #C2A379);
  font-weight: 700;
}

/* Stones Grid */
.admin-stones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding-top: 16px;
}

.admin-stone-card {
  background: #FFFFFF;
  border: 1px solid var(--pumice, #D0CEC5);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-stone-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--gold, #C2A379);
}

.admin-stone-swatch {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.admin-stone-info {
  flex: 1;
  min-width: 100px;
}

.admin-stone-name {
  font-family: 'Instrument Sans', 'Noto Sans Armenian', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink, #17181A);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-stone-color-hex {
  font-family: var(--mono, monospace);
  font-size: 12px;
  color: var(--tuff, #888);
  letter-spacing: 0.04em;
}

.admin-stone-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.admin-stone-actions button {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: var(--font, 'Instrument Sans', sans-serif);
}

.stone-btn-edit {
  background: var(--surface, #F4F3EF);
  border: 1px solid var(--pumice, #D0CEC5);
  color: var(--ink, #17181A);
}

.stone-btn-edit:hover {
  background: var(--gold, #C2A379);
  color: #FFF;
  border-color: var(--gold, #C2A379);
}

.stone-btn-delete {
  background: #FFF;
  border: 1px solid #E8C4C4;
  color: #C5221F;
}

.stone-btn-delete:hover {
  background: #C5221F;
  color: #FFF;
  border-color: #C5221F;
}

/* Trash table row styling */
.trash-restore-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: var(--green, #2D6B4F);
  color: #FFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font, 'Instrument Sans', sans-serif);
}

.trash-restore-btn:hover {
  background: #1F5038;
}

.trash-delete-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: #FFF;
  color: #C5221F;
  border: 1px solid #E8C4C4;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font, 'Instrument Sans', sans-serif);
}

.trash-delete-btn:hover {
  background: #C5221F;
  color: #FFF;
  border-color: #C5221F;
}

.stone-default-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  background: var(--surface, #F4F3EF);
  color: var(--tuff, #888);
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 6px;
}

/* ===================================================================
   ACF / SCF BLOG POST EDITOR & JOURNAL ADMIN SECTION
   =================================================================== */

/* Meta Box Container (WordPress / ACF Reference Style) */
.scf-metabox {
  background: #FFFFFF;
  border: 1px solid #E2E0D8;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.scf-metabox:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.scf-metabox-header {
  padding: 14px 20px;
  background: #FAFAFA;
  border-bottom: 1px solid #EAE8E2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.scf-metabox-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #2C3338;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scf-metabox-toggle-icon {
  font-size: 12px;
  color: #787C82;
  transition: transform 0.2s ease;
}

.scf-metabox.collapsed .scf-metabox-toggle-icon {
  transform: rotate(-90deg);
}

.scf-metabox.collapsed .scf-metabox-body {
  display: none;
}

.scf-metabox-body {
  padding: 20px;
}

/* Thumbnail Box (Reference Image Top Section) */
.scf-thumbnail-wrapper {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #F0F2F4;
  border: 1px solid #DCDCDE;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scf-thumbnail-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.scf-thumbnail-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 6px;
}

.scf-thumb-action-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.scf-thumb-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Rich Content Editor Frame (Reference Image Description Box) */
.scf-editor-box {
  border: 1px solid #DCDCDE;
  border-radius: 6px;
  background: #FFFFFF;
  overflow: hidden;
}

.scf-editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F6F7F7;
  border-bottom: 1px solid #DCDCDE;
  flex-wrap: wrap;
  gap: 10px;
}

.scf-add-media-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #2271B1;
  background: #FFFFFF;
  border: 1px solid #2271B1;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scf-add-media-btn:hover {
  background: #F0F6FC;
}

.scf-mode-tabs {
  display: flex;
  gap: 2px;
  background: #EAEBED;
  padding: 2px;
  border-radius: 4px;
}

.scf-mode-tab {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: none;
  color: #50575E;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.15s ease;
}

.scf-mode-tab.active {
  background: #FFFFFF;
  color: #1D2327;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.scf-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #F0F0F1;
  border-bottom: 1px solid #DCDCDE;
  flex-wrap: wrap;
}

.scf-tool-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #50575E;
  cursor: pointer;
  transition: all 0.15s ease;
}

.scf-tool-btn:hover {
  background: #FFFFFF;
  border-color: #C3C4C7;
  color: #1D2327;
}

.scf-tool-select {
  height: 28px;
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 500;
  background: #FFFFFF;
  border: 1px solid #C3C4C7;
  border-radius: 3px;
  color: #2C3338;
  cursor: pointer;
  outline: none;
}

.scf-tool-sep {
  width: 1px;
  height: 18px;
  background: #DCDCDE;
  margin: 0 4px;
}

.scf-editor-content {
  min-height: 320px;
  max-height: 600px;
  overflow-y: auto;
  padding: 18px 20px;
  font-family: var(--font, 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 15px;
  line-height: 1.7;
  color: #2C3338;
  outline: none;
}

.scf-editor-content:empty:before {
  content: attr(data-placeholder);
  color: #A7AAAD;
  pointer-events: none;
}

.scf-editor-content h2 {
  font-family: 'Instrument Sans', 'Noto Sans Armenian', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--obsidian, #17181A);
  margin: 20px 0 10px;
}

.scf-editor-content blockquote {
  border-left: 3px solid var(--amber, #D4AF37);
  padding: 8px 16px;
  margin: 16px 0;
  background: #FAF8F5;
  color: #4A4E51;
  font-style: italic;
}

.scf-editor-content figure,
.scf-editor-content .journal-post-block figure {
  margin: 24px 0;
  text-align: center;
  position: relative;
  background: transparent;
  padding: 0;
  border: none;
}

.scf-editor-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.scf-editor-content .journal-post-figure-img,
.scf-editor-content .journal-post-hero-placeholder {
  min-height: 120px;
  max-width: 480px;
  margin: 16px auto;
  background: #FAF8F5;
  border: 1.5px dashed #D0CEC5;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.scf-editor-content .journal-post-figure-img:hover,
.scf-editor-content .journal-post-hero-placeholder:hover {
  background: #F4F1EA;
  border-color: #191B1A;
}

.scf-editor-content .journal-post-hero-placeholder::before {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: #191B1A;
  background: #FFFFFF;
  border: 1px solid #D8D5CB;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 8px;
}

.scf-editor-content figcaption,
.scf-editor-content .journal-post-figure-caption {
  font-size: 12px;
  color: #787C82;
  margin-top: 8px;
  font-style: italic;
  text-align: center;
}

.scf-editor-html {
  width: 100%;
  min-height: 320px;
  padding: 16px 20px;
  font-family: var(--mono, Consolas, Monaco, monospace);
  font-size: 13px;
  line-height: 1.6;
  border: none;
  outline: none;
  resize: vertical;
  background: #FFFFFF;
  color: #1D2327;
  box-sizing: border-box;
}

/* FAQ Repeater Rows */
.scf-faq-item {
  background: #F9F9FB;
  border: 1px solid #E2E0D8;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 12px;
  position: relative;
}

.scf-faq-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FFF;
  border: 1px solid #DCDCDE;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #C5221F;
  font-size: 11px;
  transition: all 0.2s ease;
}

.scf-faq-remove-btn:hover {
  background: #C5221F;
  color: #FFF;
  border-color: #C5221F;
}

/* Star / Featured Toggle in Post Table */
.journal-featured-star {
  cursor: pointer;
  font-size: 18px;
  color: #DCDCDE;
  transition: color 0.2s ease, transform 0.15s ease;
  user-select: none;
}

.journal-featured-star.active {
  color: #E3A008;
}

.journal-featured-star:hover {
  transform: scale(1.15);
}



/* === GLOBAL INSTRUMENT SANS ENFORCEMENT === */
html, body, *, *::before, *::after,
h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, label, div, td, th {
  font-family: 'Instrument Sans', 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
