/* Base reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@font-face {
  font-family: "BlockMe";
  src: url("../assets/fonts/block-me.woff2") format("woff2"),
       url("../assets/fonts/block-me.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Roca";
  src: url("/assets/fonts/Roca-Bold.woff2") format("woff2"),
       url("/assets/fonts/Roca-Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.hero-title {
  font-family: "BlockMe", serif;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #fafafa;
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-main {
  min-height: 60vh;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background-color: #f0f0f0;
  color: #111;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle a {
  text-decoration: none;
  font-size: 0.8rem;
  color: #555;
}

.lang-toggle a.active {
  font-weight: 700;
  color: #111;
}

.cart-icon {
  text-decoration: none;
  font-size: 1.2rem;
}

/* Hero (home) */
.hero {
  min-height: calc(40vh - 70px);
  max-height: calc(80vh - 70px);
  display: flex;
  align-items: center;
  padding: 3rem 0 2.5rem;

  /* image + subtle gradient overlay */
  background-image:
    linear-gradient(120deg, rgba(245,250,252,0.55), rgba(253,251,247,0.7)),
    url('/assets/img/sempiterno_hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

.hero-text {
  max-width: 540px;
}

.hero-text h1 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
  color: white;
}

.hero-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: white;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  background-color: #74946C; /* NOW primary as default accent */
  color: #fff;
}

.btn.outline {
  background-color: white;
  color: #74946C;
  border-color: #74946C;
}

.btn:hover {
  opacity: 0.9;
}

.hero-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
  color: white;
}

.hero-bullets li::before {
  content: "• ";
  color: #72a84d;
}

.hero-photo {
  width: 100%;
  border-radius: 16px;
}

.hero-photo-1 {
  background-image: url('/assets/img/sempiterno_hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  width: 100%;
  height: 100%;       /* fill the hero-image column */
  min-height: 260px;  /* keeps it from getting too tiny on small screens */
  border-radius: 16px;
}


/* Stats / About */
.about-page .lead,
.brands-page .lead {
  font-size: 1rem;
  max-width: 44rem;
  margin-top: 0.5rem;
}

.about-hero,
.brands-hero {
  padding: 2rem 0 1rem;
}

.about-stats {
  padding: 1.25rem 0 1.75rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
}

/* Timeline */
.about-timeline {
  padding: 1.5rem 0;
}

.about-timeline h2 {
  margin-bottom: 0.75rem;
}

.timeline {
  list-style: none;
  padding-left: 0;
  border-left: 2px solid #e0e0e0;
  margin-left: 0.4rem;
}

.timeline li {
  position: relative;
  padding: 0.4rem 0 0.7rem 1rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.46rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: #74946C;
}

.timeline-year {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.1rem;
}

/* Values grid */
.about-values {
  padding: 1.5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.value-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.value-card h3 {
  margin-top: 0;
}

/* Photo grid (about) */
.about-photos {
  padding: 1.5rem 0 2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.photo-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.photo-placeholder {
  height: 140px;
  border-radius: 10px;
  background: repeating-linear-gradient(
    45deg,
    #e6eef2,
    #e6eef2 10px,
    #d8e1e7 10px,
    #d8e1e7 20px
  );
  margin-bottom: 0.6rem;
}

/* Brands grid (brands.cfm) */
.brands-page {
  padding-bottom: 2.5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
}

.brand-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.brand-card-logo {
  max-width: 160px;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.brand-card h2 {
  margin: 0 0 0.4rem;
}

.brand-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #74946C;
}

/* Brand page (trace, now, etc.) */
.brand-page {
  background-color: #fafafa;
}

.brand-hero {
  padding: 2rem 0 1.5rem;
}

.brand-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.brand-logo {
  max-width: 180px;
  height: auto;
}

.brand-hero-text h1 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.brand-hero-text .lead {
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Brand-specific accent (Trace) */
.brand-trace {
  background: linear-gradient(135deg, #f5f7fb, #e7f0ff);
}

/* Brand context section */
.brand-context {
  padding: 1.25rem 0 1.75rem;
}

/* Brand products section */
.brand-products {
  padding: 1.5rem 0 2rem;
}

.section-intro {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Product grid & cards */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.product-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0.9rem 0.9rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 0.9rem;
}

.product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-thumb {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background-color: #f5f5f5;
}

.product-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.product-meta {
  font-size: 0.8rem;
  color: #777;
  margin: 0 0 0.35rem;
}

.product-desc {
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

.product-link {
  font-size: 0.85rem;
  color: #74946C;
}

/* Brand social */
.brand-social {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #e5e5e5;
  background-color: #ffffff;
}

.brand-social h3 {
  margin-top: 0;
}

.social-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #74946C;
}

/* Product page (producto.cfm) */
.product-page {
  padding: 1.5rem 0 2rem;
}

.product-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-main-image {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 12px;
  background-color: #f5f5f5;
}

.product-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.product-thumbs .product-thumb {
  max-width: 100px;
  max-height: 100px;
}

.product-info h1 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.product-brand {
  font-size: 0.9rem;
  color: #555;
}

.product-category {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.product-short {
  font-size: 0.9rem;
}

.product-long {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.product-price {
  font-size: 1rem;
  margin-top: 0.75rem;
}

.product-price strong {
  font-size: 1.15rem;
}

.price-note {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.8rem;
  color: #666;
}

.product-cart-form,
.product-where-form {
  margin-top: 0.8rem;
}

.product-cart-form input[type="number"] {
  width: 80px;
  padding: 0.25rem;
  font-size: 0.9rem;
}

/* Forms generic */
input,
textarea,
select {
  font-family: inherit;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid #e5e5e5;
  background-color: #ffffff;
  padding: 1.5rem 0 0.75rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.site-footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.site-footer a {
  text-decoration: none;
  color: #74946C;
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 0.5rem;
  text-align: center;
  color: #777;
}

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 720px) {
  .hero-inner {
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-layout {
    flex-direction: row;
  }

  .product-images {
    flex: 1;
  }

  .product-info {
    flex: 1.1;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.productos-page {
  padding-bottom: 2.5rem;
}

.productos-header {
  padding: 1.75rem 0 1rem;
}

.productos-header .lead {
  max-width: 40rem;
}

.productos-header .note {
  font-size: 0.8rem;
  color: #666;
}

.productos-filtros {
  padding: 0.75rem 0 1.25rem;
}

.product-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filter-group label {
  font-size: 0.85rem;
  color: #555;
}

.filter-group select,
.filter-group input[type="text"] {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.result-count {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.5rem;
}

@media (min-width: 720px) {
  .product-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.carrito-page {
  padding: 1.5rem 0 2.5rem;
}

.carrito-header {
  margin-bottom: 1rem;
}

.carrito-lista {
  margin-top: 0.75rem;
}

.carrito-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.carrito-item {
  display: flex;
  gap: 0.75rem;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0.8rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.carrito-item-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f5f5f5;
}

.carrito-item-info {
  flex: 1;
}

.carrito-item-info h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.item-meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 0.25rem;
}

.item-price {
  font-size: 0.95rem;
  margin: 0.25rem 0 0.5rem;
}

.item-form-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.5rem;
}

.item-form-inline input[type="number"] {
  width: 70px;
  padding: 0.25rem 0.3rem;
  font-size: 0.85rem;
}

.btn-small {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.carrito-resumen {
  max-width: 320px;
  margin-left: auto;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.carrito-resumen h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.carrito-resumen ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.75rem;
}

.carrito-resumen li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.carrito-resumen li.total {
  font-weight: 700;
  margin-top: 0.25rem;
}

@media (min-width: 720px) {
  .carrito-items {
    margin-right: 340px; /* deja espacio visual para el resumen al lado si quieres */
  }

  .carrito-page {
    position: relative;
  }

  .carrito-resumen {
    position: absolute;
    top: 7rem;
    right: 1.25rem;
  }
}

.brand-now {
  background: linear-gradient(135deg, #f5f4ff, #fff7f0); /* NOW purples/oranges */
}

.brand-ancient {
  background: linear-gradient(135deg, #f3f8f9, #e6f3f7); /* Ancient cool tones */
}

.brand-nutrail {
  background: linear-gradient(135deg, #fff8ec, #fdf5ff); /* NuTrail warm + light */
}

.auth-page {
  padding: 1.5rem 0 2.5rem;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.25rem 1.4rem 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.auth-card h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.auth-form .form-row {
  margin-bottom: 0.75rem;
}

.auth-form label {
  display: block;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 0.25rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="number"],
.auth-form textarea {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.form-row-inline {
  font-size: 0.85rem;
}

.form-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.auth-errors {
  list-style: none;
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid #e11d48;
  color: #b91c1c;
  font-size: 0.85rem;
}

.auth-success {
  background-color: #ecfdf3;
  border-left: 3px solid #16a34a;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.donde-page {
  padding: 1.5rem 0 2.5rem;
}

.donde-header .lead {
  max-width: 44rem;
}

.donde-header .note {
  font-size: 0.8rem;
  color: #666;
}

.donde-map-section {
  margin: 1rem 0 1.5rem;
}

#mapid {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.donde-legend {
  font-size: 0.9rem;
}

.cuenta-page {
  padding: 1.5rem 0 2.5rem;
}

.cuenta-page > h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.cuenta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.cuenta-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.2rem 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.cuenta-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.cuenta-card-wide {
  grid-column: span 1;
}

.cuenta-logout {
  margin-top: 1rem;
}

.cuenta-logout .btn {
  font-size: 0.85rem;
}

/* Orders table */
.orders-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.orders-table thead {
  background-color: #f3f4f6;
}

.orders-table th,
.orders-table td {
  padding: 0.45rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.orders-table th {
  font-weight: 600;
  color: #374151;
}

.orders-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

/* Mobile: hide nav, show burger */
.nav-toggle {
  display: none; /* shown in mobile query */
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: #333;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hide menu by default on mobile */
@media (max-width: 720px) {
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    position: absolute;
    top: 60px;       /* height of header */
    right: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideDown 0.25s ease forwards;
  }

  /* Show when nav-open */
  .site-header.nav-open .main-nav {
    display: flex;
  }

  /* Show burger button */
  .nav-toggle {
    display: flex;
  }

  /* Hide language + cart text until menu opens */
  .header-tools {
    display: none;
  }

  .site-header.nav-open .header-tools {
    display: flex;
    margin-top: 1rem;
  }
}

/* Small animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Search toggle icon */
.search-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
}

/* Search form container */
.search-form {
  position: relative;
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease, opacity 0.25s ease;
  opacity: 0;
}

/* Expanded (open) state */
.search-form.open {
  width: 180px;
  opacity: 1;
}

/* Search input */
.search-input {
  width: 100%;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 0.85rem;
}

/* MOBILE BEHAVIOR */
@media (max-width: 720px) {

  .header-tools {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  /* Search input expands less on mobile */
  .search-form.open {
    width: 140px;
  }

  /* Ensure search icon appears left of hamburger */
  .search-toggle {
    order: -1;
  }
}


/* Desktop: burger hidden, nav inline */
@media (min-width: 721px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 0.75rem;
    box-shadow: none;
    max-height: none;
    opacity: 1;
    transform: none;
    padding: 0;
  }

  .header-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Featured section header (title + arrows) */
.home-featured-brands {
  padding-bottom: 2rem;
}

.home-featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.home-featured-header h2 {
  margin: 0;
}

/* Arrow buttons wrapper */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Arrow buttons */
.carousel-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.carousel-btn:hover {
  background-color: #f3f4f6;
  border-color: #c4c4c4;
  transform: translateY(-1px);
}

/* Hide arrows on very small screens if you want – optional */
@media (max-width: 480px) {
  .carousel-controls {
    display: none;
  }
}

/* Featured carousel */
.featured-carousel {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 0.5rem;
  -webkit-overflow-scrolling: touch;

  /* HIDE SCROLLBAR: Firefox + IE/Edge */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* HIDE SCROLLBAR: Chrome/Safari/Edge */
.featured-carousel::-webkit-scrollbar {
  display: none;
}

/* Cards behave like slides – take up 80% so they always overflow */
.featured-carousel .product-card {
  flex: 0 0 80%;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  scroll-snap-align: start;
}