:root {
  color-scheme: light;
  --bg: #fff6d6;
  --bg-alt: #ffe59a;
  --ink: #2e2725;
  --ink-muted: #4b403b;
  --accent: #ffc300;
  --accent-dark: #b38600;
  --accent-soft: #ffefb3;
  --card: #ffffff;
  --border: rgba(46, 39, 37, 0.12);
  --shadow: 0 24px 60px rgba(46, 39, 37, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #ffefb3, transparent 40%),
    radial-gradient(circle at 80% 20%, #ffd978, transparent 45%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: "DM Serif Display", "Space Grotesk", serif;
  letter-spacing: 0.2px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(245, 241, 234, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--ink-muted);
}

.brand__text strong {
  color: var(--ink);
  font-size: 16px;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hero {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 2.4vw + 1.2rem, 3.5rem);
  margin-top: 8px;
}

.hero__lead {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 14px;
}

.hero__card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px;
}

.hero__card-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.hero__steps {
  list-style: decimal inside;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-muted);
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(27, 26, 22, 0.18);
}

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn--whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.btn--wide {
  padding: 16px 26px;
}

.catalog {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.catalog__header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.catalog__subtitle {
  color: var(--ink-muted);
  margin-top: 8px;
}

.catalog__stats {
  display: flex;
  gap: 12px;
}

.stat {
  background: var(--card);
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  min-width: 120px;
}

.stat__label {
  font-size: 12px;
  color: var(--ink-muted);
  display: block;
}

.stat__value {
  font-size: 1.3rem;
}

.catalog__controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search__label {
  font-size: 14px;
  font-weight: 600;
}

.search input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1rem;
}

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

.filter {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.9rem;
}

.filter.is-active {
  background: var(--ink);
  color: #fff;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.card__image {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffefb3, #ffd45c);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  border: none;
  width: 100%;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__image.is-clickable {
  cursor: pointer;
}

.card__image.is-clickable:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.card__title {
  font-size: 1.2rem;
}

.card__price {
  margin-top: 6px;
  font-weight: 700;
  color: var(--ink);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 0.75rem;
}

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

.card__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.card__actions .btn {
  flex: 1;
}

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cta-band__content p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--ink-muted);
  gap: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal.is-open {
  display: grid;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal__content {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  width: min(92vw, 960px);
  max-height: 90vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  z-index: 1;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: var(--ink);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal__image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
  background: #f6f4ef;
}

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

.modal__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid transparent;
  padding: 0;
  background: #f1eee6;
  cursor: pointer;
  overflow: hidden;
}

.modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__thumb.is-active {
  border-color: var(--accent);
}

.modal__caption {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog__stats {
    width: 100%;
  }

  .card__actions {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
