:root {
  --bg: #0b0b0f;
  --text: #f6f2e9;
  --muted: #c0b8a8;
  --accent: #d4a848;
  --accent-2: #b8860b;
  --card: #131317;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --font: "Manrope", "Poppins", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --spacing: 20px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.2;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 11, 15, 0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}
.my-element {
    -webkit-backdrop-filter: blur(10px); /* Safari */
    backdrop-filter: blur(10px);         /* Other browsers */
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(212, 168, 72, 0.12);
  color: var(--text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #926a16);
  color: #0b0b0f;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.btn-secondary {
  background: #1a1a21;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
}

.lang-switch select {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a1a21;
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 700;
  color: #f4f4f7;
  min-width: 90px;
}

.lang-switch select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a1a21;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #1a1a21;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 60px 0 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

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

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.badge-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 168, 72, 0.12);
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.hero-visual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Gallery in hero-visual should match about.html style exactly */
.hero-visual .about-gallery-container {
  width: 100% !important;
  height: 100% !important;
  min-height: 340px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  position: relative;
}

.hero-visual .about-gallery-track {
  height: 100% !important;
}

.hero-visual .about-gallery-item {
  height: 100% !important;
}

.hero-visual .about-gallery-item img {
  border-radius: 20px;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* Ensure hero-visual doesn't interfere with gallery */
.hero-visual {
  position: relative;
  min-height: 340px;
  overflow: visible;
}

.hero-visual > img {
  display: none; /* Hide direct img if gallery is present */
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(212, 168, 72, 0.12);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

section {
  padding: 40px 0;
}

.care-hero-section {
  padding-bottom: 0;
}

/* Ensure h1 in care hero matches h2 size - desktop */
.care-hero-section .section-header h1,
.care-hero-section .care-hero-header h1,
.section-header.care-hero-header h1 {
  font-size: 28px !important;
  font-weight: 600;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .care-hero-section .section-header h1,
  .care-hero-section .care-hero-header h1,
  .section-header.care-hero-header h1 {
    font-size: clamp(24px, 3.5vw, 28px) !important;
  }
}

.care-section-tight {
  padding-top: 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.care-section-spacing .section-header {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
}

.section-header p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.materials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.step {
  display: grid;
  gap: 6px;
}

.reviews {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.reviews:active {
  cursor: grabbing;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 12px;
  transition: transform 0.4s ease;
}

.review-card {
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto;
}

.review-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.review-nav .ghost-btn {
  pointer-events: all;
}

/* Highlights section - Vertical stack with split layout */
/* Highlights carousel container */
.highlights-container {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.highlights-container:active {
  cursor: grabbing;
}

.highlights-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
  width: 100%;
}

/* Desktop: products side by side with image on top, text below - show 1 at a time */
#highlights .product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 100%;
  flex-shrink: 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

#highlights .highlight-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#highlights .highlight-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

#highlights .highlight-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#highlights .highlight-content h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

#highlights .highlight-content .muted {
  font-size: 15px !important;
  line-height: 1.5;
}

#highlights .highlight-content .price {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--text);
}

.highlights-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex; /* Show on desktop for slider */
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.highlights-nav .ghost-btn {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.highlights-nav .ghost-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Mobile: stack vertically (one product at a time) */
@media (max-width: 768px) {
  .highlights-container {
    overflow: hidden;
    padding: 0 12px;
  }

  .highlights-track {
    gap: 12px;
  }

  #highlights .product-card {
    min-width: calc(76vw - 32px);
    width: calc(76vw - 32px);
    gap: 14px;
  }

  #highlights .highlight-image img {
    aspect-ratio: 4 / 3;
    max-height: 300px;
  }

  #highlights .highlight-content {
    gap: 10px;
  }

  #highlights .highlight-content h3 {
    font-size: 17px;
  }

  #highlights .highlight-content .muted {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .highlights-nav {
    display: flex;
    padding: 0 12px;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .highlights-container {
    padding: 0 10px;
  }

  #highlights .product-card {
    min-width: calc(80vw - 28px);
    width: calc(80vw - 28px);
  }

  #highlights .highlight-image img {
    max-height: 250px;
  }

  #highlights .highlight-content h3 {
    font-size: 16px;
  }

  #highlights .highlight-content .muted {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .highlights-nav {
    padding: 0 10px;
  }
}

/* Values section - Desktop: grid, Mobile: carousel */
.values-container {
  position: relative;
}


.ghost-btn {
  border: 2.5px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(255, 255, 255, 0.2) inset;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.8);

  /* keep button size fixed */
  height: 40px;
  width: 40px;

  /* center the arrow */
  display: flex;
  align-items: center;
  justify-content: center;

  /* smooth hover animation */
  transition: all 0.2s ease;
  transform-origin: center;
}

.ghost-btn:hover {
  transform: scale(1.1) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)) !important;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  color: white;
}

/* arrow size */
.ghost-btn[data-review="prev"],
.ghost-btn[data-review="next"],
.ghost-btn[data-value="prev"],
.ghost-btn[data-value="next"],
.ghost-btn[data-highlight="prev"],
.ghost-btn[data-highlight="next"] {
  font-size: 26px;
  line-height: 1;
}

.review-nav .ghost-btn,
.values-nav .ghost-btn,
.highlights-nav .ghost-btn {
  position: relative;
  transform-origin: center;
}

.review-nav .ghost-btn:hover,
.values-nav .ghost-btn:hover,
.highlights-nav .ghost-btn:hover {
  transform: scale(1.1) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)) !important;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  color: white;
}

footer {
  background: #050507;
  color: #f0e8d6;
  padding: 40px 0;
  margin-top: auto;
}

footer a {
  color: #f0e8d6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #1c1c22;
  cursor: pointer;
  font-weight: 700;
  color: #e9e3d4;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-btn.active {
  background: var(--accent);
  color: #e9e3d4;
  border-color: var(--accent);
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex; 
  flex-direction: column; /* stack vertically */
}

/* Align add-to-cart button to bottom of card */
.product-card .add-to-cart {
  margin-top: auto;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212, 168, 72, 0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: rgba(22, 22, 29, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  padding: 20px;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.modal-content:active {
  cursor: grabbing;
}

.modal-body {
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
  min-height: 400px;
}

.modal-content img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  pointer-events: none;
  display: block;
}

/* Modal navigation arrows */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 28px;
  line-height: 1;
  z-index: 10;
  transition: all 0.2s ease;
  pointer-events: all;
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-prev {
  left: 10px;
}

.modal-nav-next {
  right: 10px;
}

.modal-nav .arrow {
  display: block;
  font-weight: bold;
}


@media (max-width: 600px) {
  .modal-content {
    max-width: 380px;
    padding: 16px;
  }

  .modal-content h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  .modal-content p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  .modal-content p strong {
    font-size: 15px !important;
  }

  .modal-content img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }
  
  .modal-nav {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  
  .modal-nav-prev {
    left: 5px;
  }
  
  .modal-nav-next {
    right: 5px;
  }

  .modal-content .btn {
    font-size: 14px !important;
    padding: 10px 14px !important;
    margin-top: 12px !important;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
  .modal-content {
    padding: 12px;
  }

  .modal-content h3 {
    font-size: 16px !important;
  }

  .modal-content p {
    font-size: 12px !important;
  }

  .modal-content p strong {
    font-size: 14px !important;
  }

  .modal-content img {
    height: 200px !important;
    object-fit: cover !important;
  }
  
  .modal-nav {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}


.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--text);
  font-weight: bold;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  background: #1a1a21;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
}

.accordion-body {
  padding: 0 16px 14px;
  display: none;
  color: var(--muted);
}

.accordion-item.active .accordion-body {
  display: block;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f0f14;
  font-family: var(--font);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(212, 168, 72, 0.35);
  border-color: var(--accent);
}

.error {
  color: #b00020;
  font-size: 14px;
}

.success {
  background: rgba(212, 168, 72, 0.12);
  border: 1px solid rgba(212, 168, 72, 0.35);
  color: var(--text);
  padding: 12px;
  border-radius: 12px;
  display: none;
}

.success.show {
  display: block;
}

.hidden {
  display: none !important;
}

/* Toast notification styles */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1a1a1e;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  pointer-events: none;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-left: 4px solid #c39a3d;
}

.toast.error {
  border-left: 4px solid #c94444;
}

.configurator {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.extras-list {
  display: grid;
  gap: 10px;
}

.extras-list label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.extras-list input[type="checkbox"] {
  width: auto;
}

.topic-extra {
  display: none;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.preview {
  min-height: 220px;
  border-radius: 16px;
  background: #0f0f14;
  display: grid;
  place-items: center;
  position: relative;
}

.shape-preview {
  width: 180px;
  height: 120px;
  border-radius: 14px;
  background: var(--accent);
  transition: background 0.3s ease, border-radius 0.3s ease, width 0.3s ease, height 0.3s ease;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.quote-message {
  margin-top: 10px;
}

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .mobile-nav.show {
    display: flex;
  }

  .review-track {
    grid-auto-columns: minmax(240px, 80vw);
  }
}

@media (max-width: 600px) {
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 40px;
  }
}

/* ============================
   FIX: Prevent header overflow
   ============================ */

/* Make nav-bar responsive */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    flex-wrap: wrap; /* allow wrapping on small screens */
}

/* Mobile: stack elements if needed */
@media (max-width: 480px) {
    .nav-bar {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ============================
   LOGO FIX
   ============================ */

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
}

@media (max-width: 480px) {
    .logo-img {
        height: 34px;
    }
}

/* ============================
   BUTTON FIX
   ============================ */

.btn {
    padding: 10px 14px;
    font-size: 15px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* Make logo larger on mobile when it wraps above the menu */
@media (max-width: 580px) {
    .logo-img {
        height: 100px;   /* bigger than before */
    }

    .logo {
        width: 100%;            /* full width row */
        justify-content: center; /* center the logo */
        margin-bottom: 6px;      /* spacing above menu */
    }

    .nav-bar {
        justify-content: center; /* center menu + button under logo */
        gap: 10px;
    }
}
.add-to-cart {
  background-color: #b8860b !important; /* your new color */
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.add-to-cart:hover {
  background-color: #333 !important; /* darker hover */
}
.shop-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
}
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card:hover img {
  transform: scale(1.05);
}
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.overlay-content {
  background: rgba(22, 22, 29, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 80%;
  max-width: 900px;
  position: relative;
  animation: fadeIn 0.25s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.overlay-content:active {
  cursor: grabbing;
}

.overlay-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 10px;
}

.overlay-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
}

.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }

/* Product overlay navigation arrows (for navigating between products) */
.overlay-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 28px;
  line-height: 1;
  z-index: 10;
  transition: all 0.2s ease;
  pointer-events: all;
}

.overlay-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.overlay-nav-prev {
  left: 10px;
}

.overlay-nav-next {
  right: 10px;
}

.overlay-nav .arrow {
  display: block;
  font-weight: bold;
}

@media (max-width: 768px) {
  .overlay-gallery img {
    height: 300px;
  }
  
  .overlay-nav {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  
  .overlay-nav-prev {
    left: 5px;
  }
  
  .overlay-nav-next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .overlay-gallery img {
    height: 250px;
  }
  
  .overlay-nav {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

.overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* ===========================
   PRODUCT OVERLAY (SAFE BLOCK)
   =========================== */

#product-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#product-overlay .overlay-content {
  background: rgba(0,0,0,0.3); 
  color: #ffffff !important;
  opacity: 1 !important;
  padding: 20px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 80%;
  max-width: 900px;
  position: relative;
  animation: fadeIn 0.25s ease;
}
.backdrop {
    -webkit-backdrop-filter: blur(10px); /* Safari */
    backdrop-filter: blur(10px);         /* Other browsers */
}

#product-overlay .overlay-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#product-overlay .overlay-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  transition: opacity 0.2s ease;
  opacity: 1;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;

  /* Safari/iOS fix — correct order */
  -webkit-mask-image: radial-gradient(#fff, #fff);
  mask-image: radial-gradient(#fff, #fff);
}

.overlay-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.overlay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.overlay-dot:hover {
  transform: scale(1.5);
  background: rgba(255, 255, 255, 0.6);
}

.overlay-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.overlay-dot.active:hover {
  transform: scale(1.6);
}

#product-overlay .overlay-gallery img:active {
  cursor: grabbing;
}

/* Hidden Admin link in footer */
.admin-footer-link {
  color: rgba(192, 184, 168, 0.5) !important;
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.admin-footer-link:hover {
  opacity: 0.8;
  color: rgba(192, 184, 168, 0.8) !important;
}

/* Mobile */
@media (max-width: 600px) {
  #product-overlay .overlay-gallery img {
    height: 180px; /* smaller for phones */
  }
}

#product-overlay .gallery-arrow {
  color: #d4af37;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10; /* <-- THIS FIXES THE PROBLEM */
}

#product-overlay .gallery-arrow.left { left: 10px; }
#product-overlay .gallery-arrow.right { right: 10px; }

#product-overlay .overlay-info {
  font-size: 14px;
  color: #444;
}

#product-overlay #overlay-title {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
}

#product-overlay #overlay-desc {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

#product-overlay #overlay-specs {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
  font-size: 13px;
}

#product-overlay #overlay-price {
  font-size: 18px;
  margin-top: 12px;
  font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  #product-overlay .overlay-info {
    font-size: 13px !important;
  }

  #product-overlay #overlay-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  #product-overlay #overlay-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  #product-overlay #overlay-specs {
    margin-top: 8px !important;
    font-size: 11px !important;
  }

  #product-overlay #overlay-specs li {
    margin-bottom: 4px !important;
    font-size: 11px !important;
  }

  #product-overlay #overlay-price {
    font-size: 16px !important;
    margin-top: 10px !important;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
  #product-overlay #overlay-title {
    font-size: 16px !important;
  }

  #product-overlay #overlay-desc {
    font-size: 11px !important;
  }

  #product-overlay #overlay-specs {
    font-size: 10px !important;
  }

  #product-overlay #overlay-specs li {
    font-size: 10px !important;
  }

  #product-overlay #overlay-price {
    font-size: 15px !important;
  }

  #product-overlay .overlay-info {
    font-size: 12px !important;
  }
}

#product-overlay #overlay-specs li {
  margin-bottom: 6px;
}

#product-overlay #overlay-specs .spec-label {
  display: block;
  margin-bottom: 2px;
}

#product-overlay #overlay-specs .spec-value {
  display: block;
  margin-left: 0;
  color: var(--text-muted, #666);
}

#product-overlay .overlay-close {
  color: white;
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
#product-overlay .overlay-content *,
#product-overlay .overlay-content {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
#product-overlay .gallery-arrow {
  color: #d4af37 !important;
}
#cart-total {
  margin-top: 15px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .grid.grid-3:not(.values-grid-desktop),
  .grid-3:not(.values-grid-desktop) {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .values-grid-desktop.grid.grid-3 {
    display: none !important;
  }
  
  .product-card {
    min-width: 0; /* prevent overflow */
  }
  
  .product-card img {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
  }
  
  .product-card h3 {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  
  .product-card .muted {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  
  .product-card .price {
    font-size: 13px !important;
  }
  
  .tag {
    font-size: 10px !important;
    padding: 4px 7px !important;
  }
}

/* For very small screens, ensure cards stay readable */
@media (max-width: 480px) {
  .grid.grid-3,
  .grid-3 {
    gap: 10px !important;
  }
  
  .product-card img {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
  }
  
  .product-card h3 {
    font-size: 12px !important;
  }
  
  .product-card .muted {
    font-size: 10px !important;
  }
}
@media (max-width: 600px) {
  #product-overlay .overlay-content {
    grid-template-columns: 1fr !important;
  }
}

/* ============================
   MOBILE TYPOGRAPHY - Global text size reduction
   ============================ */
@media (max-width: 768px) {
  /* Base body text */
  body {
    font-size: 14px;
  }

  /* Hero section */
  .hero h1 {
    font-size: clamp(24px, 4vw, 42px) !important;
  }

  .hero p {
    font-size: 15px !important;
  }

  .eyebrow {
    font-size: 12px !important;
  }

  /* Section headings */
  h1 {
    font-size: clamp(24px, 4vw, 36px) !important;
  }

  h2 {
    font-size: clamp(20px, 3.5vw, 28px) !important;
  }

  h3 {
    font-size: clamp(16px, 3vw, 22px) !important;
  }

  h4 {
    font-size: clamp(14px, 2.5vw, 18px) !important;
  }

  /* Section headers */
  .section-header h2 {
    font-size: clamp(20px, 3.5vw, 28px) !important;
  }

  /* Ensure care hero h1 matches h2 size on mobile */
  .care-hero-section .section-header h1,
  .care-hero-section .care-hero-header h1,
  .section-header.care-hero-header h1,
  section.care-hero-section h1 {
    font-size: clamp(20px, 3.5vw, 28px) !important;
  }

  .section-header p {
    font-size: 12px !important;
  }

  /* Paragraphs and text */
  p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .muted {
    font-size: 13px !important;
  }

  /* Navigation */
  .nav-links a {
    font-size: 14px !important;
  }

  .mobile-nav a {
    font-size: 14px !important;
  }

  /* Buttons */
  .btn {
    font-size: 14px !important;
    padding: 10px 14px !important;
  }

  /* Hero actions - make buttons stretch full width on mobile */
  .hero-actions {
    gap: 5px !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }

  .hero-actions .btn {
    font-size: 10px !important;
    padding: 10px 3px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
  }

  /* Cards (excluding product cards which have specific styles) */
  .card:not(.product-card) h3 {
    font-size: clamp(15px, 2.5vw, 18px) !important;
  }

  .card:not(.product-card) p {
    font-size: 13px !important;
  }

  /* Price */
  .price {
    font-size: 15px !important;
  }

  /* Footer */
  footer {
    font-size: 13px !important;
  }

  footer h3,
  footer h4 {
    font-size: 16px !important;
  }

  /* Shop title */
  .shop-title {
    font-size: clamp(26px, 4.5vw, 48px) !important;
  }

  /* Review cards */
  .review-card h4 {
    font-size: 15px !important;
  }

  .review-card p {
    font-size: 13px !important;
  }

  /* Hero list */
  .hero-list li {
    font-size: 14px !important;
  }

  /* Form elements */
  label {
    font-size: 14px !important;
  }

  input,
  select,
  textarea {
    font-size: 14px !important;
  }

  /* Tags */
  .tag {
    font-size: 11px !important;
  }

  .pill {
    font-size: 11px !important;
  }
}

/* Extra small screens - even smaller text */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(22px, 4vw, 36px) !important;
  }

  .hero p {
    font-size: 14px !important;
  }

  h1 {
    font-size: clamp(22px, 4vw, 32px) !important;
  }

  h2 {
    font-size: clamp(18px, 3.5vw, 24px) !important;
  }

  /* Ensure care hero h1 matches h2 size on extra small screens */
  .care-hero-section .section-header h1,
  .care-hero-section .care-hero-header h1,
  .section-header.care-hero-header h1,
  section.care-hero-section h1 {
    font-size: clamp(18px, 3.5vw, 24px) !important;
  }

  h3 {
    font-size: clamp(15px, 3vw, 20px) !important;
  }

  h4 {
    font-size: clamp(13px, 2.5vw, 16px) !important;
  }

  p {
    font-size: 13px !important;
  }

  .btn {
    font-size: 13px !important;
    padding: 9px 12px !important;
  }

  /* Hero actions - even smaller buttons for very small screens */
  .hero-actions {
    gap: 5px !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }

  .hero-actions .btn {
    font-size: 10px !important;
    padding: 9px 3px !important;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  .shop-title {
    font-size: clamp(24px, 4vw, 42px) !important;
  }
}

/* Success page specific styles */
.success-page-body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #333;
}

.success-page-body .success-container {
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 450px;
  width: 90%;
}

.success-page-body .success-logo {
  width: 320px;
  margin-bottom: 20px;
}

.success-page-body h1 {
  color: #D4AF37;
  margin-bottom: 10px;
  font-size: 28px;
}

.success-page-body p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #000;
}

.success-page-body .success-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #D4AF37;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.2s;
}

.success-page-body .success-btn:hover {
  background: #b8962f;
}

/* Epoxy Care page specific styles */
.care-section-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.care-caption {
  font-size: 14px;
  margin-top: 0;
}

.care-section-spacing {
  margin-top: 32px;
}

/* Specific spacing for values section after "Today" - add margin-bottom to "Today" grid */
#story .grid.grid-2 {
  margin-bottom: 40px;
}

/* Remove margin-top from values fields since we're using margin-bottom on the grid above */
#story .values-grid-desktop.care-section-spacing,
#story .values-container-mobile.care-section-spacing {
  margin-top: 0;
}


.care-list-decimal {
  list-style-type: decimal;
  padding-left: 24px;
}

.care-text-spacing {
  margin-top: 16px;
}

.care-text-spacing-small {
  margin-top: 8px;
}

.care-hero-header {
  margin-bottom: 4px;
}

.care-section-header-tight {
  margin-top: 0;
}

.care-footer-note {
  margin-top: 12px;
  font-size: 14px;
}

.care-gallery-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

/* Care page link buttons */
.care-link-button {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(212, 168, 72, 0.12);
  border: 1px solid rgba(212, 168, 72, 0.3);
  transition: all 0.2s ease;
  margin: 0 4px;
}

.care-link-button:hover {
  background: rgba(212, 168, 72, 0.2);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 168, 72, 0.2);
}

.care-links-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

/* About Gallery Styles */
.about-gallery-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
  cursor: grab;
  touch-action: pan-x pan-y; /* Allow both horizontal and vertical scrolling */
  -webkit-user-select: none;
  user-select: none;
  aspect-ratio: 4 / 3;
}

.about-gallery-container:active {
  cursor: grabbing;
}

.about-gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  height: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
}

.about-gallery-item {
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  flex-grow: 0;
  opacity: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  pointer-events: none;
}

.about-gallery-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.about-gallery-nav .ghost-btn {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.about-gallery-nav .ghost-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.about-gallery-nav .ghost-btn[data-gallery="prev"],
.about-gallery-nav .ghost-btn[data-gallery="next"] {
  font-size: 26px;
  line-height: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  /* Hide gallery arrows on mobile */
  .about-gallery-nav {
    display: none !important;
  }
  
  /* Zoom effect for gallery images on touch - more visible to indicate swipeability */
  .about-gallery-container:active .about-gallery-item img {
    transform: scale(0.92);
    transition: transform 0.15s ease;
  }
  
  /* Add a subtle scale hint on touch start */
  .about-gallery-item img {
    transition: transform 0.15s ease;
  }
  
  .about-gallery-container {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Zoom effect for ALL clickable elements on mobile when pressed - more visible zoom */
  .btn:active,
  button:active,
  .ghost-btn:active,
  .filter-btn:active,
  .add-to-cart:active,
  .checkout-btn:active,
  .modal-close:active,
  .overlay-close:active,
  .overlay-nav:active,
  .gallery-arrow:active,
  a.btn:active,
  a:active,
  .mobile-nav a:active,
  .nav-links a:active,
  .burger:active,
  .lang-switch select:active,
  [data-gallery]:active,
  [data-review]:active,
  [data-highlight]:active,
  [data-value]:active,
  [data-usp]:active {
    transform: scale(0.88);
    transition: transform 0.1s ease;
  }
  
  /* Ensure all clickable elements have transform origin */
  .btn,
  button,
  .ghost-btn,
  .filter-btn,
  .add-to-cart,
  .checkout-btn,
  .modal-close,
  .overlay-close,
  .overlay-nav,
  .gallery-arrow,
  a.btn,
  a,
  .mobile-nav a,
  .nav-links a,
  .burger,
  .lang-switch select,
  [data-gallery],
  [data-review],
  [data-highlight],
  [data-value],
  [data-usp] {
    transform-origin: center;
    transition: transform 0.1s ease;
  }
}

/* USPs carousel - mobile only */
.usps-grid-desktop {
  display: grid;
  gap: 24px;
}

.usps-container-mobile {
  display: none !important;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-x pan-y; /* Allow both horizontal and vertical scrolling */
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  padding: 0 20px;
  margin: 0;
}

.usps-container-mobile:active {
  cursor: grabbing;
}

.usps-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
  width: max-content;
  padding: 0;
}

.usps-track .card {
  min-width: calc(100vw - 80px);
  width: calc(100vw - 80px);
  max-width: calc(100vw - 80px);
  flex-shrink: 0;
  margin: 0;
}

.usps-container-mobile .usps-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.usps-container-mobile .usps-nav .ghost-btn {
  pointer-events: all;
  background: rgba(11, 11, 15, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.usps-container-mobile .usps-nav .ghost-btn[data-usp="prev"],
.usps-container-mobile .usps-nav .ghost-btn[data-usp="next"] {
  font-size: 26px;
  line-height: 1;
}

/* Desktop: show grid, hide carousel */
@media (min-width: 769px) {
  .usps-grid-desktop {
    display: grid !important;
  }
  
  .usps-container-mobile {
    display: none !important;
  }
}

/* Mobile: hide grid, show carousel */
@media (max-width: 768px) {
  .usps-grid-desktop,
  .usps-grid-desktop.grid,
  .usps-grid-desktop.grid.grid-4 {
    display: none !important;
  }
  
  .usps-container-mobile {
    display: block !important;
    position: relative;
    margin: 0;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .usps-container-mobile .usps-track {
    padding: 0 !important;
    gap: 18px !important;
    margin: 0 !important;
    width: 100%;
  }
  
  .usps-container-mobile .usps-nav {
    display: flex !important;
  }
}

/* Values carousel - mobile only */
.values-grid-desktop {
  display: grid;
  gap: 24px;
}

.values-container-mobile {
  display: none !important;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.values-container-mobile .values-nav {
  display: none;
}

.values-container-mobile:active {
  cursor: grabbing;
}

.values-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
  width: max-content;
  padding: 0 10px;
}

.values-track .card {
  min-width: calc(100vw - 80px);
  width: calc(100vw - 80px);
  max-width: calc(100vw - 80px);
  flex-shrink: 0;
  margin: 0;
}

.values-container-mobile .values-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  display: none;
  justify-content: space-between;
  padding: 0 10px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.values-container-mobile .values-nav .ghost-btn {
  pointer-events: all;
  background: rgba(11, 11, 15, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Desktop: show grid, hide carousel */
@media (min-width: 769px) {
  .values-grid-desktop {
    display: grid !important;
  }
  
  .values-container-mobile {
    display: none !important;
  }
}

/* Mobile: hide grid, show carousel */
@media (max-width: 768px) {
  .values-grid-desktop,
  .values-grid-desktop.grid,
  .values-grid-desktop.grid.grid-3 {
    display: none !important;
  }
  
  .values-container-mobile {
    display: block !important;
    position: relative;
    margin: 0;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .values-container-mobile .values-track {
    padding: 0 !important;
    gap: 18px !important;
    margin: 0 !important;
    width: 100%;
    display: flex;
  }
  
  .values-container-mobile .values-track .card {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
    flex-shrink: 0;
    padding: 18px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
  }
  
  .values-container-mobile .values-track .card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 600;
  }
  
  .values-container-mobile .values-track .card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    font-size: 0.9375rem;
  }
  
  .values-container-mobile .values-nav {
    display: flex !important;
    padding: 0;
  }
}

.card.manufacturing-process {
  gap: 2;
}

.card.manufacturing-process p {
  margin: 0;
  margin-bottom: 0;
}

/* Care Page Filter Dropdown */
.care-filter-container {
  margin: 30px 0 40px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.care-filter-label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.care-filter-select {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f6f2e9' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  min-width: 0;
  width: 100%;
  direction: ltr;
  text-align: left;
}

.care-filter-select:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.care-filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 72, 0.1);
}

/* Filterable sections - hidden by default when filtering */
.filterable-section {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.filterable-section.hidden {
  display: none;
}

@media (max-width: 768px) {
  .care-filter-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    margin: 20px 0 30px 0;
  }

  .care-filter-label {
    font-size: 14px;
  }

  .care-filter-select {
    width: 100%;
    font-size: 15px;
    padding: 10px 14px;
    padding-right: 38px;
  }
}
