/* Distribuidora Antonella — draft site styles */
@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --turquoise: #01c2cb;
  --turquoise-soft: #e7f8f9;
  --turquoise-mid: #b6eef1;
  --action: #00757c;
  --action-hover: #005b61;
  --yellow: #ffd817;
  --ink: #0c2a2e;
  --muted: #3d5559;
  --line: #d4e6e7;
  --bg: #f5fbfb;
  --card: #ffffff;
  --whatsapp: #128c7e;
  --whatsapp-hover: #0e6e63;
  --shadow: 0 8px 28px rgba(12, 42, 46, 0.08);
  --radius: 1.15rem;
  --header-h: 4.25rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--action);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 0.6rem;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  margin-right: auto;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--turquoise);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: none;
  gap: 1.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--action);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-wa {
  background: var(--whatsapp);
  color: #fff;
}

.btn-wa:hover {
  background: var(--whatsapp-hover);
  color: #fff;
}

.btn-action {
  background: var(--action);
  color: #fff;
}

.btn-action:hover {
  background: var(--action-hover);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-ghost:hover {
  color: var(--action);
  box-shadow: inset 0 0 0 1.5px var(--action);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.header-wa .btn-label {
  display: none;
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0 2.4rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 23, 0.28), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(1, 194, 203, 0.22), transparent 42%),
    linear-gradient(180deg, #fff 0%, var(--turquoise-soft) 100%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-logo {
  width: min(16.5rem, 72vw);
  margin: 0 auto;
  filter: drop-shadow(0 16px 30px rgba(1, 194, 203, 0.25));
}

.hero-logo img {
  width: 100%;
  border-radius: 50%;
  background: var(--turquoise);
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 750;
}

.hero p.lead {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 580;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.pill i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--turquoise);
}

/* Categories */
.section {
  padding: 2.4rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.4rem);
}

.delivery,
.social {
  scroll-margin-top: calc(var(--header-h) + 0.4rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 0.9rem 0.85rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 0 rgba(12, 42, 46, 0.02);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 6.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
}

.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--turquoise);
  box-shadow: var(--shadow);
  color: inherit;
}

.cat-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  background: var(--turquoise-soft);
  color: var(--action);
  display: grid;
  place-items: center;
}

.cat-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.cat-card strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.cat-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Catalog */
.catalog {
  padding-top: 1.2rem;
}

.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0 0.75rem;
  margin: 0 -0.15rem 1rem;
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  appearance: none;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.78rem 1rem 0.78rem 2.6rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.search input::placeholder {
  color: #6b8386;
}

.search svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  color: var(--muted);
  pointer-events: none;
}

.filters {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.7rem 0 0.15rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.filter-chip {
  flex: 0 0 auto;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-chip[aria-pressed="true"] {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
}

.result-meta {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 2px 0 rgba(12, 42, 46, 0.02);
}

.card-media {
  aspect-ratio: 1;
  background: #eef4f5;
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

.card-body {
  padding: 0.75rem 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.card-cat {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--action);
}

.card h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card .desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .price {
  margin: 0.25rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.card .price small {
  font-size: 0.7rem;
  font-weight: 560;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 0.15rem;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* Delivery */
.delivery {
  background: var(--ink);
  color: #e9f7f8;
  padding: 2.2rem 0;
}

.delivery-inner {
  display: grid;
  gap: 1rem;
}

.delivery h2 {
  margin: 0 0 0.4rem;
  color: #fff;
}

.delivery p {
  margin: 0 0 1rem;
  color: #c7e4e6;
  max-width: 36rem;
}

.delivery .accent {
  display: inline-block;
  width: 2.4rem;
  height: 0.28rem;
  border-radius: 99px;
  background: var(--yellow);
  margin-bottom: 0.7rem;
}

/* Social + footer */
.social {
  padding: 2.2rem 0 1.6rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
}

.social-chip:hover {
  border-color: var(--turquoise);
  color: var(--action);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 650;
}

.footer-brand img {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
}

@media (min-width: 700px) {
  .wrap {
    width: min(100% - 2.5rem, var(--max));
  }

  .nav {
    display: flex;
  }

  .header-wa .btn-label {
    display: inline;
  }

  .hero {
    padding: 3rem 0 3.4rem;
  }

  .hero-grid {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 2.5rem;
  }

  .hero-logo {
    width: min(22rem, 100%);
    margin: 0;
  }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .filters {
    flex-wrap: wrap;
    overflow: visible;
  }

  .card .btn-sm {
    font-size: 0.88rem;
  }

  .delivery-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }


  .card-body {
    padding: 0.9rem 1rem 1rem;
  }
}

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

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 699px) {
  .card .btn-sm {
    font-size: 0.78rem;
    padding: 0.5rem 0.45rem;
    gap: 0.28rem;
  }
}
