/* BEGIN ai-assisted - Cursor Composer */
/* Carousel + products page (extends inline styles on index) */

.nav-links a.is-active {
  color: var(--text);
  transition: color 0.55s var(--ease-out), opacity 0.35s ease, transform 0.35s var(--ease-out);
}

.nav-links a.is-active::after {
  width: 100%;
  transition: width 0.65s var(--ease-out);
}

/* --- Promo carousel --- */
.carousel-section {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem) 2.25rem;
}

.carousel-section .section-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.carousel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: inherit;
}

.carousel-track {
  display: flex;
  transition: transform 0.85s var(--ease-out);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  line-height: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.35s var(--ease-out);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.carousel-btn:hover {
  background: rgba(224, 242, 254, 0.98);
  border-color: rgba(2, 132, 199, 0.28);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-prev {
  left: 0.65rem;
}

.carousel-next {
  right: 0.65rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  min-width: 12px;
  min-height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(71, 85, 105, 0.28);
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), background 0.45s ease;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Products page --- */
.page-intro {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.25rem, 5vw, 2.5rem) 0;
}

.page-intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-intro p {
  margin: 0;
  color: var(--text-soft);
  max-width: 40rem;
}

.products-grid {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem) 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.4s ease, box-shadow 0.55s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: var(--shadow-card);
}

.product-card .product-img-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, rgba(224, 242, 254, 0.5), rgba(250, 232, 255, 0.35));
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--surface-border);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

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

.product-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.product-card .product-meta {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.product-card .price {
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-warm);
  letter-spacing: -0.02em;
}

.product-card .price-note {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-soft);
}

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

footer a:hover {
  text-decoration: underline;
}

.page-intro a {
  color: var(--accent);
}

.page-intro code,
.map-note code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

/* --- Header: WhatsApp + Call (mobile / tablet friendly) --- */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-wa {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 2px 14px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
}

.btn-wa:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

.btn-wa-icon {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

/* Tablet + phone: two-row header, full-width nav, comfortable tap targets */
@media (max-width: 900px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
  }

  .topbar .brand {
    grid-area: brand;
    min-width: 0;
  }

  .topbar .topbar-actions {
    grid-area: actions;
    justify-self: end;
  }

  .topbar .nav-links {
    grid-area: nav;
    display: flex !important;
    width: 100%;
    max-width: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    padding-top: 0.5rem;
    margin: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 0.35rem 0.15rem;
  }

  .btn-call {
    min-height: 44px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    align-self: center;
  }

  .carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.2rem;
    -webkit-tap-highlight-color: transparent;
  }

  .carousel-prev {
    left: 0.35rem;
  }

  .carousel-next {
    right: 0.35rem;
  }

  .carousel-slide img {
    min-height: 160px;
    max-height: 52vh;
    object-fit: cover;
  }

  .map-frame {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 0.95rem;
  }

  .brand-text span {
    font-size: 0.62rem;
  }

  .hero {
    padding-top: 1.75rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
/* END ai-assisted- Cursor Composer */
