:root {
  --color-ink: #1e2428;
  --color-muted: #647078;
  --color-line: #e8ecef;
  --color-surface: #ffffff;
  --color-soft: #f6f8f7;
  --color-accent: #0f7b6c;
  --color-accent-dark: #0a554b;
  --color-gold: #c89b3c;
  --color-co-yellow: #fcd116;
  --color-co-blue: #003893;
  --color-co-red: #ce1126;
  --shadow-header: 0 18px 50px rgba(24, 36, 40, 0.1);
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-ink);
  background-color: #f6f1e4;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(200, 155, 60, 0.28) 0%, rgba(200, 155, 60, 0) 38%),
    radial-gradient(circle at 82% 20%, rgba(15, 123, 108, 0.22) 0%, rgba(15, 123, 108, 0) 42%),
    radial-gradient(circle at 30% 78%, rgba(15, 123, 108, 0.16) 0%, rgba(15, 123, 108, 0) 45%),
    radial-gradient(circle at 88% 85%, rgba(200, 155, 60, 0.24) 0%, rgba(200, 155, 60, 0) 40%);
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 50;
  width: 100%;
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent) 58%, var(--color-gold));
  border-bottom: 1px solid rgba(200, 155, 60, 0.48);
  box-shadow: 0 12px 30px rgba(10, 85, 75, 0.28);
  backdrop-filter: blur(12px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent) 62%, #b88722);
  border-bottom-color: rgba(200, 155, 60, 0.62);
  box-shadow: 0 18px 50px rgba(10, 85, 75, 0.34);
  backdrop-filter: blur(14px);
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  grid-template-areas: "brand search actions";
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  width: 100%;
  min-height: 88px;
  margin: 0 auto;
  padding: 12px clamp(18px, 3vw, 48px);
}

.brand {
  grid-area: brand;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  height: 76px;
  min-width: max-content;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.brand-merka {
  color: var(--color-gold);
}

.brand-latina {
  color: #ffffff;
}

.site-header.is-scrolled .brand-merka {
  color: var(--color-gold);
}

.site-header.is-scrolled .brand-latina {
  color: #ffffff;
}

.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.menu-toggle {
  display: none;
  grid-area: toggle;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.primary-nav {
  grid-area: nav;
  display: none;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 640px;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  padding: 10px 10px;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.header-search {
  grid-area: search;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-width: 0;
  height: 48px;
  padding: 0 6px 0 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.header-search:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.header-search i,
.header-search input {
  color: #ffffff;
  transition: color 0.4s ease;
}

.header-search input {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #111111;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-search button:hover {
  color: #ffffff;
  background: #111111;
  transform: translateX(1px);
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  transition: border-color 0.4s ease;
}

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

.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, color 0.4s ease, background 0.4s ease, transform 180ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
  transform: translateY(-1px);
}

.action-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: invert(1);
  transition: filter 0.4s ease;
}

.cart-action strong {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  color: #ffffff;
  background: var(--color-gold);
  border-radius: 999px;
  font-size: 0.72rem;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: auto minmax(220px, 1fr) auto;
    grid-template-areas: "brand search actions";
  }
}

@media (max-width: 760px) {
  .header-main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 12px;
    padding: 12px clamp(14px, 4vw, 24px) 14px;
  }

  .brand {
    height: 58px;
  }

  .brand-logo {
    height: 50px;
  }

  .header-search {
    height: 46px;
  }

  .header-action {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .header-action span {
    display: none;
  }

  .cart-action strong {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 0.66rem;
  }

}

@media (max-width: 430px) {
  .brand {
    height: 50px;
    min-width: auto;
  }

  .brand-logo {
    height: 42px;
  }

  .brand-wordmark {
    font-size: 0.78rem;
  }

  .header-search input::placeholder {
    color: transparent;
  }

}

.hero,
.hero-swiper,
.hero-slide {
  height: 100vh;
  min-height: 100vh;
}

.hero {
  width: 100%;
  background: #101719;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero-slide-tech {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=85");
}

.hero-slide-home {
  background-image: url("https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=1800&q=85");
}

.hero-slide-fashion {
  background-image: url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=85");
}

.hero-slide-sports {
  background-image: url("https://images.unsplash.com/photo-1517649763962-0c623066013b?auto=format&fit=crop&w=1800&q=85");
}

.hero-slide-kids {
  background-image: url("https://images.unsplash.com/photo-1476234251651-f353703a034d?auto=format&fit=crop&w=1800&q=85");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 190px clamp(18px, 3vw, 48px) 88px;
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
  max-width: 880px;
  margin: 16px 0 18px;
  color: #ffffff;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 560px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.7;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  color: #111111;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  color: #ffffff;
  background: #111111;
  outline: none;
  transform: translateY(-2px);
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.hero-nav-prev {
  left: max(18px, calc((100vw - var(--container)) / 2 - 70px));
}

.hero-nav-next {
  right: max(18px, calc((100vw - var(--container)) / 2 - 70px));
}

.hero-swiper .swiper-pagination {
  bottom: 26px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #f4d28a;
}

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

@media (max-width: 760px) {
  .hero-content {
    padding: 210px clamp(16px, 5vw, 26px) 80px;
  }
}

.category-main {
  min-height: 100vh;
}

.category-hero {
  position: relative;
  display: flex;
  min-height: 72vh;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #101719;
  background-position: center;
  background-size: cover;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 16, 18, 0.78), rgba(9, 16, 18, 0.34)),
    rgba(0, 0, 0, 0.18);
}

.category-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 180px clamp(18px, 3vw, 48px) 82px;
}

.category-hero-content h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  color: #ffffff;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.category-hero-content p {
  max-width: 580px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .category-hero {
    min-height: 68vh;
  }

  .category-hero-content {
    padding: 220px clamp(16px, 5vw, 26px) 72px;
  }
}

/* ================================================================== */
/* Utilidades compartidas de secciones                                 */
/* ================================================================== */
main > section {
  width: 100%;
}

.section-heading {
  width: min(100% - 32px, var(--container));
  margin: 0 auto 32px;
  text-align: left;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.categories .section-kicker,
.testimonials .section-kicker {
  color: #a97d1f;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: none;
  }
}

/* ================================================================== */
/* Franja de confianza                                                  */
/* ================================================================== */
.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 26px 0;
  list-style: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item i {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  color: var(--color-accent-dark);
  background: #edf7f4;
  border-radius: 12px;
  font-size: 1.1rem;
}

.trust-item:nth-child(2n) i {
  color: #8a6113;
  background: #faf1de;
}

.trust-item div {
  display: grid;
  line-height: 1.3;
}

.trust-item strong {
  font-size: 0.92rem;
}

.trust-item span {
  color: var(--color-muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .trust-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-list {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/* Categorias                                                          */
/* ================================================================== */
.categories {
  padding: 64px 0 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.category-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid var(--color-gold);
  box-shadow: 0 12px 30px rgba(24, 36, 40, 0.08);
  transition: border-color 200ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  border-color: var(--color-accent);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 16, 18, 0.78), rgba(9, 16, 18, 0.05) 60%);
}

.category-card span {
  position: relative;
  z-index: 1;
  padding: 14px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.category-card:hover img,
.category-card:focus-visible img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================================== */
/* Productos destacados                                                */
/* ================================================================== */
.products {
  padding: 56px 0;
}

.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 28px;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.category-tab {
  flex-shrink: 0;
  padding: 10px 16px;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 2px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.category-tab:hover {
  border-color: var(--color-gold);
}

.category-tab.is-active {
  color: #ffffff;
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.products-empty {
  width: min(100% - 32px, var(--container));
  margin: 0 auto 20px;
  color: var(--color-muted);
}

.products-loading {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.product-card:hover {
  box-shadow: 0 20px 40px rgba(24, 36, 40, 0.1);
  transform: translateY(-3px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--color-accent-dark);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-badge-offer {
  background: var(--color-gold);
}

.product-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.product-body h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.product-price {
  margin: 0;
  color: var(--color-accent-dark);
  font-weight: 800;
}

.product-add {
  padding: 11px;
  color: #ffffff;
  background: var(--color-ink);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease;
}

.product-add:hover {
  background: var(--color-accent-dark);
}

.product-add:disabled {
  background: var(--color-accent);
  cursor: default;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/* Testimonios                                                         */
/* ================================================================== */
.testimonials {
  padding: 56px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.testimonial-card {
  margin: 0;
  padding: 22px;
  background: var(--color-soft);
  border-radius: 16px;
}

.testimonial-stars {
  margin-bottom: 10px;
  color: var(--color-gold);
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-card figcaption {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/* CTA WhatsApp + Newsletter                                            */
/* ================================================================== */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--container));
  margin: 56px auto;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  border: 2px solid var(--color-gold);
  border-radius: 24px;
  color: #ffffff;
}

.cta-content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-content p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  color: #111111;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.cta-whatsapp:hover {
  transform: translateY(-2px);
}

.cta-newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.cta-newsletter input {
  padding: 0 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  outline: none;
}

.cta-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.cta-newsletter button {
  padding: 0 18px;
  color: #111111;
  background: var(--color-gold);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 700px) {
  .cta-newsletter {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/* Footer                                                               */
/* ================================================================== */
.site-footer {
  background: #101719;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 56px 0 32px;
}

.footer-logo {
  width: auto;
  height: 90px;
  max-width: none;
}

.footer-brand p {
  margin: 14px 0;
  max-width: 280px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 180ms ease;
}

.footer-social a:hover {
  background: var(--color-accent);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  display: inline-block;
  margin: 0 0 4px;
  padding-bottom: 6px;
  color: #ffffff;
  border-bottom: 2px solid var(--color-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-payments {
  display: flex;
  gap: 12px;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/* Carrito lateral (drawer) + checkout                                 */
/* ================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 16, 18, 0.5);
  opacity: 0;
  transition: opacity 280ms ease;
}

.cart-overlay.is-visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--color-surface);
  box-shadow: -20px 0 50px rgba(9, 16, 18, 0.2);
  transform: translateX(100%);
  transition: transform 320ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--color-line);
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cart-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--color-ink);
  background: var(--color-soft);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

.cart-items {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
}

.cart-item-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-info {
  display: grid;
  gap: 4px;
}

.cart-item-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-item-price {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.qty-btn {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--color-ink);
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}

.qty-btn:hover {
  background: #edf7f4;
  border-color: rgba(15, 123, 108, 0.4);
}

.cart-item-remove {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  align-self: start;
}

.cart-item-remove:hover {
  color: #c0392b;
  background: #fdecea;
}

.cart-empty {
  padding: 40px 0;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.6;
}

.cart-empty a {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--color-line);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1rem;
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  color: #ffffff;
  background: var(--color-accent-dark);
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease;
}

.cart-checkout-btn:hover {
  background: var(--color-ink);
}

.checkout-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  overflow-y: auto;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 0;
  color: var(--color-muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.checkout-back:hover {
  color: var(--color-ink);
}

.checkout-form h3 {
  margin: 0;
}

.checkout-field {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
}

.checkout-field input,
.checkout-field textarea {
  padding: 11px 12px;
  color: var(--color-ink);
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  font-weight: 500;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(15, 123, 108, 0.14);
}

.checkout-note {
  margin: 0;
  padding: 12px;
  color: var(--color-muted);
  background: var(--color-soft);
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.checkout-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  color: #ffffff;
  background: #128c4a;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease;
}

.checkout-submit:hover {
  background: #0e6d3a;
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
  }
}

/* ================================================================== */
/* Quienes somos                                                       */
/* ================================================================== */
.about-main {
  min-height: 100vh;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: center;
  width: min(100% - 32px, var(--container));
  min-height: 72vh;
  margin: 0 auto;
  padding: 180px 0 72px;
}

.about-hero-content {
  max-width: 720px;
}

.about-hero-content h1 {
  margin: 14px 0 18px;
  color: var(--color-ink);
  font-size: 4.8rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.about-hero-content p {
  max-width: 600px;
  margin: 0 0 30px;
  color: var(--color-muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.about-hero-panel {
  display: grid;
  gap: 16px;
  align-content: center;
  justify-items: center;
  min-height: 380px;
  padding: 36px;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(150deg, rgba(10, 85, 75, 0.95), rgba(15, 123, 108, 0.86)),
    var(--color-accent-dark);
  border: 2px solid var(--color-gold);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(24, 36, 40, 0.16);
}

.about-hero-panel img {
  width: min(100%, 250px);
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
}

.about-hero-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero-panel strong {
  max-width: 260px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: start;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 72px 0 32px;
}

.about-story-copy h2 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--color-ink);
  font-size: 2.3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.about-story-copy p {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--color-muted);
  line-height: 1.8;
}

.about-story-highlights {
  display: grid;
  gap: 14px;
}

.about-story-point {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(24, 36, 40, 0.07);
}

.about-story-point strong {
  color: var(--color-ink);
}

.about-story-point span {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.about-values {
  padding: 56px 0 12px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.about-value-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 240px;
  padding: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--color-gold);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(24, 36, 40, 0.08);
}

.about-value-card i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--color-accent-dark);
  background: #edf7f4;
  border-radius: 14px;
  font-size: 1.1rem;
}

.about-value-card:nth-child(2n) i {
  color: #8a6113;
  background: #faf1de;
}

.about-value-card h3 {
  margin: 6px 0 0;
  color: var(--color-ink);
  font-size: 1.08rem;
}

.about-value-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-cta {
  margin-top: 64px;
}

@media (max-width: 980px) {
  .about-hero,
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-hero-panel {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .about-hero {
    min-height: auto;
    padding: 220px 0 56px;
  }

  .about-hero-content h1 {
    font-size: 3.2rem;
  }

  .about-story {
    padding: 56px 0 24px;
  }

  .about-story-copy h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 520px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-content h1 {
    font-size: 2.7rem;
  }

  .about-hero-panel {
    padding: 26px 18px;
    border-radius: 16px;
  }
}
