:root {
  --blue-950: #042847;
  --blue-900: #063a6b;
  --blue-800: #0a4d8c;
  --blue-700: #1360a8;
  --blue-500: #2b7fc4;
  --blue-100: #d7e8f7;
  --blue-50: #eef5fb;
  --red-700: #b91c1c;
  --red-600: #d62828;
  --red-500: #e63939;
  --red-50: #fdecec;
  --ink: #0f1c2e;
  --muted: #5a6b7d;
  --line: rgba(15, 28, 46, 0.1);
  --surface: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 58, 107, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(43, 127, 196, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(214, 40, 40, 0.08), transparent 45%),
    linear-gradient(180deg, #eaf3fb 0%, var(--surface) 28%, #f7fafc 100%);
  min-height: 100vh;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: none;
  background: var(--blue-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}

.header-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  max-width: min(220px, 42vw);
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 640px) {
  .brand {
    max-width: min(160px, 48vw);
  }
  .brand-logo {
    height: 40px;
    max-height: 40px;
  }
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-800), var(--blue-500));
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(10, 77, 140, 0.35);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--blue-900);
}

.brand-text span {
  color: var(--red-600);
}

.search-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.search-toggle {
  display: none !important;
  flex-shrink: 0;
}

.search-form {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  background: white;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 100%;
}

.search-wrap.is-open {
  grid-column: auto;
  justify-self: center;
  order: unset;
}

.search-form select,
.search-form input {
  border: 0;
  background: transparent;
  padding: 0.75rem 1rem;
  outline: none;
  color: var(--ink);
}

.search-form select {
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.search-form button,
.search-submit {
  border: 0;
  background: var(--red-600);
  color: white;
  padding: 0 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
}

.search-form button:hover,
.search-submit:hover {
  background: #b91c1c;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: white;
}

.brand-text span {
  color: #ffb4b4;
}

.header-actions .icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
}

.header-actions .icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.header-actions .cart-btn {
  background: var(--red-600);
  border-color: transparent;
}

.header-actions .cart-btn:hover {
  background: #b91c1c;
  color: white;
}

.nav-bar .nav-link {
  color: rgba(255, 255, 255, 0.82);
}

.nav-bar .nav-link:hover,
.nav-bar .nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  background: white;
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: none;
  overflow: hidden;
  z-index: 50;
}

.search-suggest.open {
  display: block;
}

.search-suggest a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.search-suggest a:hover {
  background: var(--blue-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: end;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.icon-btn.icon-only {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 14px;
}

.icon-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-800);
}

.cart-btn {
  position: relative;
  background: var(--blue-800);
  color: white;
  border-color: transparent;
}

.cart-btn:hover {
  background: var(--blue-900);
  color: white;
}

.cart-bubble {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--red-600);
  color: white;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.nav-bar {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0 0 0.75rem;
  scrollbar-width: none;
}

.nav-bar::-webkit-scrollbar {
  display: none;
}

.nav-link {
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-link:hover,
.nav-link.active {
  background: var(--blue-50);
  color: var(--blue-800);
}

.messages {
  width: min(100% - 2rem, var(--container));
  margin: 1rem auto 0;
  display: grid;
  gap: 0.5rem;
}

.message {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--line);
  animation: rise 0.45s ease both;
}

.message.success {
  border-color: rgba(19, 96, 168, 0.35);
  background: var(--blue-50);
}

.message.error {
  border-color: rgba(214, 40, 40, 0.35);
  background: var(--red-50);
}

.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(4, 40, 71, 0.88) 12%, rgba(10, 77, 140, 0.55) 55%, rgba(214, 40, 40, 0.35) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 40 40'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h20v20H0zm20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #063a6b, #0a4d8c 45%, #1a6fb5);
  background-size: cover, 80px 80px, cover;
  transform: scale(1.04);
  animation: kenburns 18s ease-in-out infinite alternate;
}

.hero-content {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 5.5rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
  animation: rise 0.7s ease both;
}

.hero-brand span {
  color: #ffb4b4;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 600;
  max-width: 18ch;
  margin: 0 0 0.75rem;
  animation: rise 0.8s ease 0.08s both;
}

.hero-copy {
  max-width: 38ch;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  animation: rise 0.8s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red-600);
  color: white;
  box-shadow: 0 12px 28px rgba(214, 40, 40, 0.35);
}

.btn-primary:hover {
  background: var(--red-700);
}

.btn-secondary {
  background: white;
  color: var(--blue-900);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-800);
  border: 1px solid rgba(10, 77, 140, 0.25);
}

.btn-ghost:hover {
  background: var(--blue-50);
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--blue-950);
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.section-link {
  color: var(--blue-800);
  font-weight: 700;
  white-space: nowrap;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.85rem;
}

.category-chip {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  transition: 0.25s ease;
  animation: rise 0.6s ease both;
}

.category-chip:hover {
  transform: translateY(-4px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.65rem;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blue-100), white);
  color: var(--blue-800);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.promo-ribbon {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 120px;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-700) 55%, var(--red-600));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}

.promo-ribbon h3 {
  font-family: var(--font-display);
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
}

.promo-ribbon p {
  margin: 0;
  opacity: 0.9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.25s ease;
  animation: rise 0.55s ease both;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(19, 96, 168, 0.3);
}

.product-media {
  aspect-ratio: 1;
  background:
    linear-gradient(160deg, #d9e8f6, #f5f9fd 60%),
    radial-gradient(circle at 70% 20%, rgba(214, 40, 40, 0.12), transparent 40%);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-700);
  opacity: 0.55;
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--red-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.product-body {
  padding: 0.95rem 1rem 1.1rem;
}

.product-brand {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 650;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.price {
  font-family: var(--font-display);
  font-weight: 750;
  color: var(--blue-900);
  font-size: 1.15rem;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.92rem;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 1rem;
  align-items: stretch;
}

.split-visual {
  border-radius: var(--radius);
  min-height: 320px;
  background:
    linear-gradient(145deg, rgba(4, 40, 71, 0.75), rgba(214, 40, 40, 0.35)),
    linear-gradient(135deg, #0a4d8c, #2b7fc4);
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
}

.split-visual h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.mosaic-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--blue-100), white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-800);
  transition: 0.25s ease;
}

.mosaic-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-card,
.review-card,
.panel,
.info-block {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.trust-card h3,
.review-card strong {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  color: var(--blue-900);
}

.stars {
  color: var(--red-600);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.page-hero {
  padding: 2.2rem 0 0.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.4rem;
  color: var(--blue-950);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.25rem;
  padding-bottom: 3rem;
}

.filters {
  position: sticky;
  top: 96px;
  align-self: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.filters h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.filter-group input,
.filter-group select,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: white;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.view-toggle {
  display: flex;
  gap: 0.35rem;
}

.view-toggle a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 600;
  font-size: 0.88rem;
}

.view-toggle a.active {
  background: var(--blue-800);
  color: white;
  border-color: transparent;
}

.product-list .product-card {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
}

.product-list .product-media {
  aspect-ratio: auto;
  height: 140px;
}

.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.gallery-thumbs button {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  overflow: hidden;
}

.pdp-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.stock-ok {
  color: var(--blue-700);
  font-weight: 700;
}

.stock-out {
  color: var(--red-600);
  font-weight: 700;
}

.credit-note {
  margin: 0.85rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  border: 1px solid rgba(19, 96, 168, 0.2);
}

.qty-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
}

.qty-row input {
  width: 88px;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.whatsapp-picker {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.whatsapp-picker select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.checkout-grid,
.account-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.25rem;
  padding-bottom: 3rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.summary-total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--blue-900);
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.payment-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.55rem;
  background: white;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  margin-top: 2rem;
  background: linear-gradient(180deg, transparent, rgba(6, 58, 107, 0.06));
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.75rem;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  max-height: none;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.site-footer .footer-grid > div:first-child {
  display: block;
}

.site-footer .footer-grid > div:first-child p {
  display: block;
}

.site-footer .footer-grid h3 {
  display: block;
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  color: var(--blue-900);
}

.site-footer .footer-grid a {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.site-footer .brand-logo {
  height: 48px;
  max-height: 48px;
}

.site-footer .brand-text {
  font-size: 1.35rem;
  color: var(--blue-900);
}

.site-footer .brand-text span {
  color: var(--red-600);
}

.site-footer .brand-mark {
  width: 42px;
  height: 42px;
  font-size: inherit;
  border-radius: 12px;
}

main#main-content {
  padding-bottom: 0;
}

.floating-cart {
  display: none;
}

.mobile-app-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
}

.mobile-app-nav a {
  display: grid;
  place-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.2rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.mobile-app-nav a span {
  font-size: 1.1rem;
}

.mobile-app-nav a.active,
.mobile-app-nav a:hover {
  color: var(--blue-800);
  background: var(--blue-50);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 40, 71, 0.45);
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: white;
  box-shadow: 0 20px 50px rgba(4, 40, 71, 0.25);
  padding: 1rem;
  overflow-y: auto;
  animation: rise 0.25s ease both;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mobile-drawer-nav a {
  display: block;
  padding: 0.75rem 0.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue-900);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-1.5%);
  }
}

@media (max-width: 980px) {
  .product-grid,
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-feature,
  .pdp,
  .catalog-layout,
  .checkout-grid,
  .account-grid,
  .trust,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .search-toggle {
    display: inline-flex !important;
  }

  .search-wrap {
    justify-self: end;
    width: auto;
    max-width: none;
  }

  .search-form {
    display: none;
    width: min(100vw - 2rem, 420px);
    grid-template-columns: 1fr auto;
  }

  .search-wrap.is-open {
    grid-column: 1 / -1;
    justify-self: stretch;
    order: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
  }

  .search-wrap.is-open .search-toggle {
    display: none !important;
  }

  .search-wrap.is-open .search-form {
    display: grid;
    width: 100%;
  }

  .search-submit {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-top {
    grid-template-columns: 42px 1fr 42px;
    gap: 0.5rem;
    padding: 0.65rem 0;
  }

  .header-top .brand {
    justify-self: center;
    max-width: min(180px, 52vw);
  }

  .header-top .search-wrap {
    justify-self: end;
    grid-column: 3;
  }

  .menu-toggle {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
  }

  .menu-toggle span {
    background: white;
  }

  .search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    align-items: center;
    justify-content: center;
  }

  .desktop-nav {
    display: none;
  }

  .floating-cart {
    display: none;
  }

  .mobile-app-nav {
    display: grid !important;
  }

  .site-footer {
    display: none !important;
  }

  .header-actions {
    display: none;
  }

  main#main-content {
    padding-bottom: 5.5rem;
  }

  .cookie-banner {
    bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  .product-list .product-card {
    grid-template-columns: 110px 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 72vh;
  }

  .promo-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }
}

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 40, 71, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
  animation: rise 0.35s ease both;
}
.promo-popup[hidden] {
  display: none !important;
}
.promo-popup-card {
  width: min(100%, 420px);
  background: white;
  border-radius: 18px;
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
}
.promo-popup-card h2 {
  font-family: var(--font-display);
  color: var(--blue-900);
  margin: 0 0 0.5rem;
}
.promo-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  z-index: 2;
  padding: 0.25rem 0.4rem;
}
.promo-popup-close:hover {
  color: var(--blue-900);
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--banner-only {
  position: relative;
  min-height: 0;
  width: 100%;
  aspect-ratio: 1920 / 600;
  max-height: 600px;
  padding: 0;
  display: block;
  background: #0a4d8c;
  overflow: hidden;
}
.hero-track {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero--banner-only .hero-banner-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
.hero--banner-only .hero-picture img,
.hero--banner-only .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  color: var(--blue-900);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.hero-nav-prev { left: 0.75rem; }
.hero-nav-next { right: 0.75rem; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active {
  background: white;
  transform: scale(1.15);
}
@media (max-width: 768px) {
  /* Móvil: 800 ancho × 1000 alto (vertical) */
  .hero--banner-only {
    aspect-ratio: 800 / 1000;
    max-height: none;
    width: 100%;
  }
}
.richtext ul, .richtext ol {
  margin: 0.5rem 0 0.75rem 1.1rem;
  padding: 0;
  line-height: 1.55;
}
.richtext li { margin: 0.35rem 0; }
.richtext p { margin: 0 0 0.65rem; }
.product-short { margin: 0.75rem 0 1rem; color: var(--muted); }
.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 100;
  background: var(--blue-900);
  color: white;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}
.skip-link:focus {
  left: 0.75rem;
}
:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 2px;
}
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 70;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.95rem;
}
.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.legal-body {
  line-height: 1.65;
}
@media (min-width: 981px) {
  .cookie-banner { bottom: 1.25rem; max-width: 920px; margin-inline: auto; left: 0; right: 0; }
}

/* WhatsApp picker */
.whatsapp-picker {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
}
.wa-details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  overflow: hidden;
}
.wa-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--blue-900);
  border: 1px solid transparent;
}
.wa-details[open] .wa-summary {
  border-color: var(--red-600);
  border-radius: 14px 14px 0 0;
}
.wa-summary::-webkit-details-marker { display: none; }
.wa-branch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.wa-branch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.wa-branch-row:last-child { border-bottom: 0; }
.wa-branch-meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.wa-branch-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}
.wa-send-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
.wa-send-btn:hover { filter: brightness(0.95); color: white; }

.checkout-map {
  height: 280px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  z-index: 1;
}
.gps-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.promo-popup-image {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.85rem;
}
