/* ============================================================
   PetriiArt — Design Tokens
   Switch the palette by editing these variables.
   ============================================================ */
:root {
  /* Brand palette — warm champagne & brushed gold on ivory */
  --bg: #fbf8f3;              /* warm ivory — the page itself */
  --bg-elevated: #f4ede0;     /* deeper ivory — section bands */
  --card: #ffffff;            /* pure white — product cards sit forward */
  --card-hover: #fbf8f3;      /* ivory tint when card is hovered */
  --text: #2a2520;            /* warm near-black, not cool slate */
  --text-muted: #7a6f63;      /* warm taupe for secondary copy */
  --accent: #b89465;          /* brushed champagne gold */
  --accent-hover: #a07e4f;    /* deeper gold for hover */
  --accent-deep: #6b4f2c;     /* dark bronze — text on light bg */
  --accent-soft: rgba(184, 148, 101, 0.10);
  --accent-glow: rgba(184, 148, 101, 0.20);
  --border: #e8e0d0;          /* warm sand hairline */
  --border-strong: #d6cab5;   /* stronger warm border */

  /* Status */
  --success: #10b981;
  --error: #ef4444;

  /* Typography — Cormorant Garamond display + Inter body */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia,
                "Times New Roman", serif;

  /* Spacing scale — same units, more generous where it matters below */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii — slightly softer for warmer feel */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Shadows — barely-there warmth, never blue-grey */
  --shadow-sm: 0 1px 2px rgba(58, 42, 24, 0.04);
  --shadow-md: 0 6px 20px rgba(58, 42, 24, 0.06);
  --shadow-lg: 0 18px 40px rgba(58, 42, 24, 0.08);

  /* Layout — wider stage, slower easing */
  --max-width: 1320px;
  --transition: 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-32) 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-muted);
  margin: 0 0 var(--space-12);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 620px;
}

/* ============================================================
   Header & nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 180px;
}

/* Keep link reset on .brand so neither header nor footer link gets an underline */
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  line-height: 0;
}
.brand:hover {
  color: var(--text);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-4);
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-md);
  z-index: 99;
}

.nav-links li {
  border-bottom: 1px solid var(--border);
}
.nav-links li:last-child {
  border-bottom: 0;
}
.nav-links a {
  display: block;
  padding: var(--space-3) 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

body.menu-open .nav-links {
  display: flex;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: var(--space-8);
  }
  .nav-links li {
    border-bottom: 0;
  }
  .nav-links a {
    padding: 0;
    font-size: 0.95rem;
  }
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 2px;
}

.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.lang-toggle button.active {
  background: var(--accent-deep);
  color: #ffffff;
}

.lang-toggle button:hover:not(.active) {
  color: var(--text);
}

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: var(--space-2);
  cursor: pointer;
  width: 36px;
  height: 36px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: var(--space-32) 0 var(--space-24);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center 30%, var(--accent-soft) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: var(--space-6);
  position: relative;
  padding: 0 var(--space-4);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.hero-eyebrow::before { left: -32px; }
.hero-eyebrow::after  { right: -32px; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 400;
  margin: 0 0 var(--space-6);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto var(--space-12);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ============================================================
   Product grid
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  grid-template-rows: masonry;
  align-items: start;
}

@supports not (grid-template-rows: masonry) {
  .products-grid {
    /* Must exit grid layout entirely — column-count is ignored on a
       display:grid element, so without this the fallback never engages
       and Chrome/Safari silently get a plain grid with ragged rows. */
    display: block;
    column-count: 1;
    column-gap: var(--space-6);
  }
  .product-card {
    break-inside: avoid;
    margin-bottom: var(--space-6);
    display: inline-block;
    width: 100%;
  }
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  @supports not (grid-template-rows: masonry) {
    .products-grid {
      display: block;
      column-count: 2;
    }
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  @supports not (grid-template-rows: masonry) {
    .products-grid {
      display: block;
      column-count: 3;
    }
  }
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.product-image {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, #ebe1cf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-info {
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  text-align: center;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.005em;
  /* 2-line clamp: Etsy titles are long; uniform title height keeps the
     description start aligned across the row. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}
.product-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 300;
  margin: 0;
  flex: 1;
  line-height: 1.6;
  /* Clamp to 3 lines with an ellipsis so every card's text block is the
     same height — prices + CTAs align across the row instead of floating
     at random baselines. Cache excerpt is word-boundary truncated, so this
     rarely truncates further; it's a layout guarantee, not a content cut. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Push the meta row to the card bottom so price + CTA align across
     every card in a row, regardless of title/description length. */
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--accent-soft);
}

.product-price {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
}

.product-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 400;
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card-link:hover,
.product-card-link:focus {
  color: inherit;
  text-decoration: none;
}
.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: var(--space-3);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
}
.products-source {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
}

/* ============================================================
   Category filter
   ============================================================ */
.category-filter {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  justify-content: center;
}

.category-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.category-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.category-btn.active {
  background: transparent;
  border-color: var(--accent-deep);
  color: var(--accent-deep);
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 var(--space-4);
  line-height: 1.8;
  font-weight: 300;
}

.about-image {
  aspect-ratio: 8 / 3;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, #ebe1cf 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-8);
}

.about-image img,
.about-image-logo {
  width: 80%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-1);
}

.contact-detail-value {
  font-weight: 500;
  margin: 0;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.95rem var(--space-4);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.10);
  color: #047857;
  border: 1px solid #10b981;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.10);
  color: #b91c1c;
  border: 1px solid #ef4444;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: var(--space-3) 0 0;
  max-width: 360px;
}

.footer-column h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin: 0 0 var(--space-4);
  font-weight: 500;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-column a {
  color: var(--text);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 300;
  text-align: center;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   Utility
   ============================================================ */
[hidden] {
  display: none !important;
}

/* Smooth focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
/* ============================================================
   Legal pages (Impressum, Datenschutz)
   ============================================================ */
.legal-page {
  max-width: 800px;
  padding: var(--space-12) var(--space-6) var(--space-16);
}
.legal-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: var(--space-2);
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: var(--space-2);
  color: var(--text);
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-8);
  font-style: italic;
}
.legal-section {
  margin-bottom: var(--space-6);
  padding: var(--space-6);
  background: #fbfaf7;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.legal-section:last-of-type {
  margin-bottom: 0;
}
.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 var(--space-4);
  color: var(--text);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-soft);
}
.legal-section h3 {
  font-size: 1rem;
  margin: var(--space-5) 0 var(--space-2);
  color: var(--accent-deep);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.legal-section p,
.legal-section ul {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--space-3);
  font-size: 0.97rem;
}
.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  padding-left: var(--space-6);
}
.legal-section li {
  margin-bottom: var(--space-2);
}
.legal-section a {
  color: var(--accent-deep);
  text-decoration: underline;
}
.legal-section a:hover {
  color: var(--accent);
}
.legal-optional {
  color: var(--text-muted);
  font-weight: normal;
  font-size: 0.85em;
}
.legal-back {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.legal-back a {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent-deep);
  text-decoration: none;
}
.legal-back a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.legal-back a {
  color: var(--accent-deep);
}
[data-fill] {
  /* Subtle warm marker so you can see unfilled placeholders at a glance */
  background: var(--accent-soft);
  padding: 0 0.25rem;
  border-radius: 3px;
}

/* --- account entry in nav (nav.js) --- */
.nav-links .nav-account {
  border-bottom: 1px solid var(--border);
}
.nav-links .nav-account:last-child {
  border-bottom: 0;
}
.nav-links .nav-account .nav-account-link {
  display: block;
  padding: var(--space-3) 0;
  color: var(--accent-deep);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links .nav-account .nav-logout-link {
  display: block;
  padding: var(--space-2) 0 var(--space-3);
  color: var(--text-muted);
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .nav-links .nav-account {
    border-bottom: 0;
  }
  .nav-links .nav-account .nav-account-link {
    padding: 0;
    font-size: 0.95rem;
  }
  .nav-links .nav-account .nav-logout-link {
    padding: 0;
    font-size: 0.8rem;
    opacity: 0.75;
  }
  .nav-links .nav-account .nav-logout-link:hover {
    opacity: 1;
  }
}

/* --- product image carousel (PDP) --- */
.carousel { position: relative; overflow: hidden; border-radius: 12px; background: #f6f3ee; }
.crs-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.crs-track::-webkit-scrollbar { display: none; }
.crs-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.crs-slide img { width: 100%; height: auto; display: block; object-fit: contain; max-height: 70vh; }
.crs-btn { position: absolute; top: 50%; transform: translateY(-50%); border: 1px solid #d8d2c8;
  background: rgba(255,255,255,.92); width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; line-height: 1; color: #4a443c; }
.crs-btn:hover { background: #fff; }
.crs-prev { left: 10px; }
.crs-next { right: 10px; }
.crs-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.crs-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(0,0,0,.25); cursor: pointer; padding: 0; }
.crs-dot.on { background: #4a443c; }
