@font-face {
  font-family: "Hussar Bold";
  src: url("../fonts/Hussar-Bold.woff2") format("woff2"),
    local("Hussar Bold"), local("HussarBold");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f7f7f4;
  --bg-soft: #f2efe8;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: #ffffff;
  --line: rgba(33, 62, 107, 0.12);
  --text: #192234;
  --muted: #556b89;
  --accent: #ffd84a;
  --accent-deep: #f0bb17;
  --brand: #192234;
  --brand-bright: #3764b1;
  --success: #2fce7f;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(33, 62, 107, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shell: min(1180px, calc(100vw - 32px));
  --font-body: "Manrope", sans-serif;
  --font-heading: "Hussar Bold", "Manrope", sans-serif;
  --footer-bg: #162235;
  --site-header-height: 134px;
  --brand-logo-width: 112px;
  --brand-logo-height: 126px;
}

body[data-theme="dark"] {
  --bg: #0d1728;
  --bg-soft: #122039;
  --panel: rgba(16, 27, 46, 0.96);
  --panel-strong: #14233d;
  --line: rgba(148, 176, 226, 0.14);
  --text: #eef4ff;
  --muted: #9fb4d4;
  --accent: #ffd84a;
  --accent-deep: #f0bb17;
  --brand: #dce9ff;
  --brand-bright: #7cb0ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .brand__copy--simple strong {
  color: #7cb0ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 82%, white 18%) 0%, var(--bg) 100%);
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
  display: none;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(920px, calc(100vw - 40px));
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel-strong) 96%, transparent);
  box-shadow: 0 24px 70px rgba(13, 25, 47, 0.25);
  backdrop-filter: blur(18px);
}

.cookie-consent__copy {
  display: grid;
  gap: 5px;
  max-width: 590px;
}

.cookie-consent__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cookie-consent__copy a {
  color: var(--brand-bright);
  font-size: 0.82rem;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

.page {
  position: relative;
  isolation: isolate;
}

[data-site-header] {
  display: block;
  min-height: var(--site-header-height);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 40px 0 56px;
}

.section--compact {
  padding-top: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(33, 62, 107, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 232, 0.92);
  color: #37557f;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.eyebrow strong {
  color: inherit;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-heading--retail {
  justify-items: center;
  text-align: center;
}

.section-heading--retail h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #365783;
}

.section-heading h1,
.section-heading h2,
.hero__title,
.product-detail h1,
.confirmation-card h1,
.admin-page h1,
.admin-auth__card h1 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.04;
  letter-spacing: 0;
  word-spacing: 0.08em;
}

.section-heading p,
.hero__text,
.product-detail__lead,
.footer-copy,
.catalog-hero p,
.empty-state p,
.about-panel p,
.confirmation-card p,
.admin-auth__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(17, 31, 56, 0.06);
}

/* Fallback for a cached script version. The current header adds this class. */
.site-header--split {
  position: relative;
  padding-top: var(--site-header-white-height, 88px);
  z-index: auto;
  backdrop-filter: none;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.site-header__sticky {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(17, 31, 56, 0.06);
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 88px;
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.department-bar {
  border-top: 1px solid var(--line);
  background: #162235;
  color: #f3f7ff;
}

.department-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 46px;
}

.department-bar__menu,
.department-bar__links a,
.department-bar__promo {
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.department-bar__links a.is-active,
.department-bar__promo.is-active {
  color: #ffd84a;
}

.department-bar__menu,
.department-bar__promo {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.department-bar__links {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.department-bar__links-wrap {
  position: relative;
  min-width: 0;
}

.department-bar__links::-webkit-scrollbar {
  display: none;
}

.department-bar__scroll-hint {
  display: none;
}

.department-bar__promo {
  color: #ffd84a;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
}

.brand__mark {
  width: 44px;
  height: 44px;
}

.brand__mark--logo {
  width: var(--brand-logo-width);
  height: var(--brand-logo-height);
  min-width: var(--brand-logo-width);
  flex: 0 0 var(--brand-logo-width);
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
  padding: 0;
  border: 0;
}

.brand__copy {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.brand__copy strong {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.brand__copy--simple strong {
  line-height: 1.02;
  font-size: clamp(1.08rem, 1.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  color: #325385;
}

.brand__copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
  max-width: 150px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-width: 0;
}

.header-search {
  position: relative;
}

.site-nav__link,
.menu-toggle,
.header-action,
.cart-link,
.filter-chip {
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.site-nav__link {
  padding: 12px 16px;
  border-radius: 999px;
  color: #4e6689;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: rgba(255, 216, 74, 0.3);
  color: var(--brand);
  border-color: rgba(33, 62, 107, 0.18);
}

.site-nav__link--offer {
  background: rgba(255, 216, 74, 0.18);
  color: #173157;
  border-color: rgba(240, 187, 23, 0.2);
}

.site-nav__link--offer:hover,
.site-nav__link--offer.is-active {
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.48), rgba(255, 232, 153, 0.9));
  color: #122849;
  border-color: rgba(240, 187, 23, 0.36);
  box-shadow: 0 16px 30px rgba(240, 187, 23, 0.18);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

.menu-toggle__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.menu-toggle__text {
  display: none;
}

.search-bar,
.catalog-search,
.catalog-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar input,
.catalog-search input,
.catalog-sort select,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.admin-auth__form input {
  width: 100%;
  border: 1px solid rgba(33, 62, 107, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
}

.search-bar input::placeholder,
.catalog-search input::placeholder,
.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #7b89a3;
}

.search-bar button,
.catalog-search button {
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #0d1526;
  font-weight: 800;
}

.search-bar--popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: min(420px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  z-index: 45;
}

.search-bar--popover.is-open {
  display: flex;
}

.header-action[aria-expanded="true"] {
  border-color: rgba(33, 62, 107, 0.18);
  background: rgba(255, 248, 220, 0.96);
  color: var(--brand);
}

.search-toggle {
  color: #2f78dc;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
  color: #1f62bb;
}

.header-action,
.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
}

.header-action:hover,
.cart-link:hover,
.theme-toggle:hover,
.footer-list__link:hover,
.cart-float:hover,
.whatsapp-float:hover {
  transform: translateY(-2px);
}

.header-action__icon,
.cart-link__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-link__label {
  display: none;
}

.cart-counter {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--brand-bright);
  color: white;
  font-size: 0.85rem;
}

.cart-link .cart-counter {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  font-size: 0.76rem;
}

.cart-counter--float {
  min-width: 30px;
  height: 30px;
  font-size: 0.88rem;
}

.icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.theme-toggle__text {
  white-space: nowrap;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(33, 62, 107, 0.16);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.button--primary {
  background: linear-gradient(135deg, #4f7fff, #2d56de);
  color: white;
  box-shadow: 0 20px 40px rgba(45, 86, 222, 0.26);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand);
  border-color: var(--line);
}

.button--whatsapp {
  background: linear-gradient(135deg, #1fb969, #10944f);
  color: white;
  box-shadow: 0 20px 40px rgba(16, 148, 79, 0.22);
}

.button--small {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 14px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding-top: 16px;
}

.hero__stack {
  display: grid;
  gap: 10px;
}

.hero--catalog {
  padding-top: 0;
  padding-bottom: 12px;
}

.hero--catalog .shell {
  width: 100%;
  max-width: none;
}

.hero__copy {
  display: grid;
  gap: 22px;
}

.hero__title {
  font-size: clamp(3.1rem, 7vw, 5.8rem);
}

.hero__actions,
.product-detail__actions,
.payment-actions,
.confirmation-card__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__actions {
  justify-content: center;
}

.hero__actions--summary {
  margin-top: 6px;
}

.home-summary {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.hero__metrics div,
.catalog-note,
.benefit-card,
.about-panel__card,
.summary-card,
.payment-card,
.confirmation-card,
.admin-stat,
.admin-panel,
.empty-state {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__metrics div {
  padding: 14px 12px;
}

.hero__metrics strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-body);
  font-weight: 800;
}

.hero__metrics span,
.catalog-note span,
.benefit-card p,
.summary-row span,
.admin-stat span,
.admin-list span,
.helper-text,
.footer-list__item,
.payment-card p {
  color: var(--muted);
}

.hero__metrics--summary {
  max-width: 520px;
}

.hero__metrics--summary div {
  border-radius: 18px;
}

.hero__visual {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-billboard {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  height: auto;
  aspect-ratio: var(--hero-billboard-active-ratio, 16 / 5);
  min-height: 0;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #f5f0e7;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-billboard__viewport {
  position: relative;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
}

.hero-billboard__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  margin: 0;
  background: #f5f0e7;
}

.hero-billboard__slide.is-active {
  opacity: 1;
  position: absolute;
  z-index: 1;
}

.hero-billboard__media-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  color: inherit;
  overflow: hidden;
}

.hero-billboard__slide img,
.hero-billboard__slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform 0.55s ease;
}

.hero-billboard__media-link:hover img,
.hero-billboard__media-link:hover video,
.hero-billboard__media-link:focus-visible img,
.hero-billboard__media-link:focus-visible video {
  transform: scale(1.018);
}

.home-intro-banner {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 0 0 4px;
  animation: homeFadeLift 0.6s ease both;
}

.home-intro-banner__lead,
.home-intro-banner__sub {
  margin: 0;
}

.home-intro-banner__lead {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.9vw, 2.35rem);
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: 0.005em;
  word-spacing: 0.12em;
}

.home-intro-banner__sub {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.98rem;
  color: #39557e;
}

.home-intro-banner__sub span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(33, 62, 107, 0.12);
  box-shadow: 0 16px 34px rgba(33, 62, 107, 0.08);
}

.home-intro-banner__sub em {
  color: var(--accent-deep);
  font-style: normal;
  font-weight: 800;
}

.home-catalog-link-wrap {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.home-catalog-link {
  min-width: 210px;
}

.home-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.home-more-button {
  min-width: 190px;
}

.hero-billboard__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(20, 33, 54, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.hero-billboard__nav--prev {
  left: 14px;
}

.hero-billboard__nav--next {
  right: 14px;
}

.hero-billboard__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-billboard__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 62, 107, 0.24);
}

.hero-billboard__dot.is-active {
  background: var(--accent-deep);
}

.category-grid,
.product-grid,
.benefits-grid,
.admin-stats,
.admin-panels {
  display: grid;
  gap: 18px;
}

.category-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-scroller {
  position: relative;
}

.category-scroller__viewport {
  overflow: visible;
}

.category-scroller__nav {
  display: none;
}

.category-scroller__hint {
  display: none;
}

.category-pill {
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 34px rgba(33, 62, 107, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 62, 107, 0.24);
  box-shadow: 0 20px 40px rgba(33, 62, 107, 0.12);
}

.category-pill__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.22), rgba(33, 62, 107, 0.1));
  color: var(--brand);
  flex: 0 0 auto;
}

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

.category-card,
.benefit-card,
.about-panel__card,
.catalog-note {
  padding: 22px;
}

.category-card {
  min-height: 160px;
  display: grid;
  align-content: end;
  gap: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(33, 62, 107, 0.24);
  box-shadow: 0 22px 40px rgba(33, 62, 107, 0.12);
}

.category-card span {
  color: var(--muted);
}

.category-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.22), rgba(33, 62, 107, 0.08));
  color: var(--brand);
}

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

.product-showcase__mobile {
  display: none;
}

.product-showcase__nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(23, 49, 83, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand);
  box-shadow: 0 16px 30px rgba(23, 49, 83, 0.12);
  font-size: 1.5rem;
}

.product-showcase__nav--prev {
  left: -12px;
}

.product-showcase__nav--next {
  right: -12px;
}

.product-showcase__dots {
  display: none;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 62, 107, 0.22);
  box-shadow: 0 26px 52px rgba(33, 62, 107, 0.14);
}

.product-card__image-wrap {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #fbfaf7;
  overflow: hidden;
  padding: 12px;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.06);
}

.product-card__body {
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
}

.product-card__meta,
.product-card__actions,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__badge,
.status-pill,
.results-meta strong,
.filter-chip.is-active {
  border-radius: 999px;
}

.product-card__badge,
.status-pill {
  padding: 6px 11px;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-card__badge {
  background: rgba(255, 216, 74, 0.28);
  color: #7c5b00;
}

.status-pill {
  background: rgba(33, 62, 107, 0.12);
  color: #27477a;
}

.status-pill--agotado {
  background: rgba(255, 107, 107, 0.16);
  color: #ffb7b7;
}

.status-pill--bajo-pedido {
  background: rgba(255, 216, 74, 0.16);
  color: #7c5b00;
}

.product-card__category,
.product-card__brand,
.product-card__description,
.breadcrumb,
.feature-list li,
.cart-item__content p,
.payment-card p,
.admin-list p {
  color: var(--muted);
}

.product-card__title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.16;
  min-height: 2.35em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price-stack {
  display: grid;
  gap: 4px;
}

.product-card__price strong,
.product-detail__price strong,
.cart-item__subtotal,
.summary-row strong,
.admin-stat strong,
.results-meta strong,
.payment-card strong {
  font-family: var(--font-body);
  font-weight: 800;
}

.product-card__compare,
.product-detail__compare {
  color: #7485a9;
  text-decoration: line-through;
}

.product-card__price strong {
  font-size: 1.12rem;
  line-height: 1;
}

.product-card__offer-bubble,
.product-detail__offer-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #1f4680;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.product-card__brand {
  margin: 0;
  font-size: 0.82rem;
}

.product-card__description {
  display: -webkit-box;
  margin: 4px 0 0;
  min-height: 2.6em;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__stock,
.product-detail__stock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(240, 187, 23, 0.38);
  border-radius: 999px;
  background: rgba(255, 216, 74, 0.2);
  color: #192234;
  font-family: var(--font-body);
  font-size: 0.76rem;
  line-height: 1.2;
}

.product-card__stock strong,
.product-detail__stock strong {
  margin-right: 5px;
  font-family: var(--font-heading);
}

.product-card__actions .button {
  flex: 1 1 0;
  width: 100%;
}

.product-card__actions .button--primary {
  color: #fff1a8;
}

.product-card__actions {
  margin-top: 2px;
}

.product-grid--offers .product-card {
  border-color: rgba(255, 216, 74, 0.22);
}

.product-card--audifonos .product-card__image-wrap {
  padding: 10px;
}

.product-card--audifonos .product-card__image {
  transform: scale(0.96);
}

.product-card--audifonos:hover .product-card__image {
  transform: scale(1);
}

.product-card--smartwatch .product-card__image-wrap {
  padding: 10px;
}

.product-card--smartwatch .product-card__image {
  transform: scale(0.94);
}

.product-card--smartwatch:hover .product-card__image {
  transform: scale(0.98);
}

.product-card--wide .product-card__image-wrap {
  padding: 10px;
}

.product-card--wide .product-card__image {
  transform: scale(0.98);
}

.product-card--wide:hover .product-card__image {
  transform: scale(1.02);
}

.product-card__image.is-placeholder,
.product-detail__image.is-placeholder,
.product-thumb img.is-placeholder {
  object-fit: contain;
  padding: 18px;
}

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

.benefits-grid--clean .benefit-card {
  box-shadow: none;
}

.benefit-card h3,
.admin-panel h2,
.summary-card h3,
.payment-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.about-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.about-panel--clean {
  align-items: stretch;
}

.trust-grid {
  display: grid;
  gap: 18px;
}

.trust-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.trust-card__icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 62, 107, 0.15);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(33, 62, 107, 0.1);
  color: var(--brand);
  padding: 16px;
}

.trust-card__body {
  display: grid;
  gap: 10px;
}

.trust-card__body h3 {
  margin: 0;
  font-size: 1.55rem;
  font-family: var(--font-heading);
}

.trust-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.check-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.catalog-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.catalog-hero--clean {
  grid-template-columns: 1fr;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px) 220px;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

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

.filter-chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(33, 62, 107, 0.2);
}

.filter-chip.is-active {
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.52), rgba(255, 255, 255, 0.75));
  border-color: rgba(33, 62, 107, 0.16);
}

.results-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.results-meta strong {
  padding: 8px 14px;
  background: rgba(255, 216, 74, 0.28);
}

.product-detail {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  margin-top: 18px;
}

.product-detail__media,
.product-detail__content {
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-detail__media img {
  width: 100%;
  border-radius: 26px;
}

.product-detail__content {
  display: grid;
  gap: 18px;
}

.product-detail__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 1.9rem;
}

.product-detail__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-detail__info p {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(33, 62, 107, 0.04);
  color: var(--muted);
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.product-gallery,
.product-gallery__thumbs {
  display: grid;
  gap: 14px;
}

.product-gallery__viewport {
  position: relative;
}

.product-gallery__main {
  border-radius: 26px;
  overflow: hidden;
  background: #fbfaf7;
  min-height: 320px;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-gallery__main.is-zoomed {
  cursor: zoom-out;
}

.product-gallery__main.is-zoomed .product-detail__image {
  transform: scale(1.45);
}

.product-detail__image {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  transition: transform 0.28s ease;
}

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

.gallery-nav,
.gallery-zoom {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(12, 20, 35, 0.7);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-nav:hover,
.gallery-zoom:hover {
  transform: scale(1.05);
  background: rgba(12, 20, 35, 0.88);
}

.gallery-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.gallery-nav--prev {
  left: 16px;
}

.gallery-nav--next {
  right: 16px;
}

.gallery-zoom {
  right: 16px;
  bottom: 16px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
}

.product-thumb {
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb:hover {
  transform: translateY(-2px);
}

.product-thumb.is-active {
  border-color: rgba(33, 62, 107, 0.22);
  box-shadow: 0 14px 32px rgba(33, 62, 107, 0.1);
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.product-thumb span,
.image-hint,
.product-copy-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.image-hint {
  margin-top: 14px;
}

.related-products {
  margin-top: 36px;
}

.cart-layout,
.checkout-layout,
.payment-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.cart-items,
.checkout-form,
.payment-card,
.payment-summary {
  display: grid;
  gap: 16px;
}

.payment-help-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(33, 62, 107, 0.1);
  background: rgba(33, 62, 107, 0.04);
}

.payment-amount-notice {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(213, 164, 21, 0.38);
  border-radius: 14px;
  background: #fff7d9;
  color: #503d00 !important;
  line-height: 1.55;
}

[data-theme="dark"] .payment-amount-notice {
  background: rgba(213, 164, 21, 0.16);
  border-color: rgba(255, 216, 74, 0.34);
  color: #ffe9a1 !important;
}

.payment-help-box h3,
.payment-summary__help h3 {
  margin: 0;
}

.payment-help-box ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.payment-help-box p,
.payment-summary__help p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.payment-summary__help {
  align-content: start;
}

.cart-item,
.checkout-form,
.admin-auth__card,
.admin-panel--table,
.summary-card,
.payment-card,
.confirmation-card {
  padding: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cart-item__image {
  width: 120px;
  height: 96px;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item__content {
  display: grid;
  gap: 8px;
}

.cart-item__content h3 {
  margin: 0;
}

.cart-item__controls {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.cart-item__controls label,
.checkout-form label,
.admin-auth__form label {
  display: grid;
  gap: 8px;
  color: #d7e0f5;
}

/* Checkout labels need stronger contrast while examples stay visually secondary. */
.checkout-form label {
  color: #1f3969;
  font-weight: 700;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #9aa6bb;
  opacity: 1;
}

.summary-card {
  display: grid;
  gap: 14px;
}

.summary-row--total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-card__button {
  width: 100%;
}

.checkout-form textarea {
  resize: vertical;
  min-height: 110px;
}

body.has-checkout-confirmation {
  overflow: hidden;
}

.checkout-confirmation[hidden] {
  display: none;
}

.checkout-confirmation {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.checkout-confirmation__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 55, 0.58);
  backdrop-filter: blur(5px);
}

.checkout-confirmation__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(9, 20, 42, 0.3);
}

.checkout-confirmation__dialog h2 {
  margin: 8px 0 10px;
}

.checkout-confirmation__dialog > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.checkout-confirmation__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--brand);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-confirmation__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(33, 62, 107, 0.05);
}

.checkout-confirmation__details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-confirmation__details strong {
  color: var(--brand);
}

.checkout-confirmation__summary {
  margin-top: 16px;
}

.checkout-confirmation__summary .summary-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(33, 62, 107, 0.04);
}

.checkout-confirmation__turnstile:empty {
  display: none;
}

.checkout-confirmation__turnstile {
  margin-top: 18px;
}

.checkout-confirmation__turnstile .helper-text--error {
  color: #a53328;
}

.checkout-confirmation__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.helper-text {
  margin: 0;
}

.qr-image {
  width: min(100%, 300px);
  margin: 0 auto;
}

.confirmation-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.contact-card,
.policy-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-card h2,
.policy-card h2 {
  margin-top: 0;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 20px;
}

.map-card {
  min-height: 100%;
  display: grid;
  align-content: space-between;
  gap: 14px;
  background: var(--panel);
}

.policies-grid {
  display: grid;
  gap: 18px;
}

.site-footer {
  margin-top: 32px;
  padding-top: 34px;
  border-top: 0;
  background: var(--footer-bg);
  color: #eef4ff;
}

.site-footer .footer-copy,
.site-footer .footer-list__item,
.site-footer .footer-social__text {
  color: #d4def1;
}

.site-footer h4 {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 18px;
}

.footer-logo {
  width: var(--brand-logo-width);
  height: var(--brand-logo-height);
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
  padding: 0;
  border: 0;
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-contact {
  gap: 14px;
}

.footer-contact__item {
  display: grid;
  gap: 3px;
}

.footer-contact__label {
  color: #ffd84a;
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-contact__value {
  color: #d4def1;
  line-height: 1.45;
}

.footer-contact__value--link:hover {
  color: #ffffff;
}

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 10px 13px;
  border-radius: 7px;
  background: #25d366;
  color: #052f1a;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-whatsapp-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.footer-whatsapp-link:hover {
  transform: translateY(-2px);
  background: #54e28a;
}

.footer-list__link {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-list__link:hover {
  color: #ffd84a;
}

.footer-socials {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 216, 74, 0.12);
  color: #ffd84a;
  padding: 7px;
  border: 1px solid rgba(255, 216, 74, 0.18);
}

.footer-social--instagram .footer-social__icon {
  background: radial-gradient(circle at 30% 110%, #ffd36b 0 18%, #f3566d 42%, #b940d9 68%, #4258f5 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-social--facebook .footer-social__icon {
  background: #1877f2;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-social--tiktok .footer-social__icon {
  background: #0b1020;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 3px 0 0 rgba(37, 244, 238, 0.8), inset -3px 0 0 rgba(254, 44, 85, 0.8);
}

.footer-social__text {
  color: #d4def1;
}

.footer-bottom {
  padding: 22px 0 28px;
  color: #c7d5ed;
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 22px;
}

@keyframes homeFadeLift {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 20px;
  display: grid;
  gap: 12px;
  z-index: 45;
}

.cart-float,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 142px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
}

.cart-float {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(33, 62, 107, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cart-float__icon,
.whatsapp-float__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.cart-float__label {
  font-weight: 800;
  color: var(--brand);
}

.whatsapp-float {
  background: linear-gradient(135deg, #20c66d, #0f9a51);
  box-shadow: 0 20px 40px rgba(16, 148, 79, 0.28);
  color: #fff;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 252, 238, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.24s ease;
  z-index: 70;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-error {
  border-color: rgba(255, 107, 107, 0.22);
}

body[data-theme="dark"] .site-header,
body[data-theme="dark"] .site-footer,
body[data-theme="dark"] .category-card,
body[data-theme="dark"] .category-pill,
body[data-theme="dark"] .product-card,
body[data-theme="dark"] .product-card__image-wrap,
body[data-theme="dark"] .hero-billboard,
body[data-theme="dark"] .product-gallery__main,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .cart-link,
body[data-theme="dark"] .cart-float {
  background: var(--panel);
}

body[data-theme="dark"] .site-nav__link,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .cart-link,
body[data-theme="dark"] .cart-float__label,
body[data-theme="dark"] .footer-list__link,
body[data-theme="dark"] .category-card__icon {
  color: var(--text);
}

body[data-theme="dark"] .site-nav__link--offer {
  color: #fff5c8;
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.22), rgba(114, 88, 15, 0.62));
  border-color: rgba(255, 216, 74, 0.24);
}

body[data-theme="dark"] .site-nav.is-open {
  background: rgba(16, 27, 46, 0.98);
}

body[data-theme="dark"] .product-card__badge {
  color: #ffdc73;
}

body[data-theme="dark"] .status-pill {
  color: #c5dbff;
}

body[data-theme="dark"] .product-card__offer-bubble,
body[data-theme="dark"] .product-detail__offer-bubble {
  color: #10213d;
}

body[data-theme="dark"] .eyebrow {
  background: rgba(61, 54, 29, 0.9);
  border-color: rgba(255, 216, 74, 0.2);
  color: #f4e8b1;
}

body[data-theme="dark"] .search-bar input,
body[data-theme="dark"] .catalog-search input,
body[data-theme="dark"] .catalog-sort select,
body[data-theme="dark"] .checkout-form input,
body[data-theme="dark"] .checkout-form textarea,
body[data-theme="dark"] .checkout-form select,
body[data-theme="dark"] .admin-auth__form input {
  background: rgba(245, 248, 255, 0.96);
  border-color: rgba(148, 176, 226, 0.18);
  color: #223653;
}

body[data-theme="dark"] .search-bar input::placeholder,
body[data-theme="dark"] .catalog-search input::placeholder,
body[data-theme="dark"] .checkout-form input::placeholder,
body[data-theme="dark"] .checkout-form textarea::placeholder {
  color: #6f7f99;
}

body[data-theme="dark"] .filter-chip {
  background: rgba(21, 34, 56, 0.96);
  border-color: rgba(148, 176, 226, 0.18);
  color: #eaf2ff;
}

body[data-theme="dark"] .filter-chip.is-active {
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.38), rgba(76, 66, 30, 0.82));
  color: #fff8d8;
  border-color: rgba(255, 216, 74, 0.3);
}

body[data-theme="dark"] .results-meta span,
body[data-theme="dark"] .product-card__category,
body[data-theme="dark"] .product-card__brand,
body[data-theme="dark"] .product-card__description,
body[data-theme="dark"] .hero__text,
body[data-theme="dark"] .catalog-hero p,
body[data-theme="dark"] .footer-copy,
body[data-theme="dark"] .footer-social__text,
body[data-theme="dark"] .footer-list__item,
body[data-theme="dark"] .hero__metrics span {
  color: #c9d7f0;
}

body[data-theme="dark"] .product-card__compare,
body[data-theme="dark"] .product-detail__compare {
  color: #99adcf;
}

body[data-theme="dark"] .hero-billboard__dot {
  background: rgba(214, 228, 255, 0.26);
}

body[data-theme="dark"] .hero-billboard__dot.is-active {
  background: var(--accent);
}

body[data-theme="dark"] .site-header:not(.site-header--split),
body[data-theme="dark"] .site-header__sticky {
  background: rgba(13, 23, 40, 0.94);
}

body[data-theme="dark"] .department-bar {
  background: #0d1524;
}

body[data-theme="dark"] .site-footer {
  background: #0d1524;
}

body[data-theme="dark"] .button--ghost {
  background: rgba(21, 34, 56, 0.96);
  border-color: rgba(148, 176, 226, 0.2);
  color: #eef4ff;
}

body[data-theme="dark"] .button--ghost:hover {
  background: rgba(27, 42, 67, 0.98);
}

body[data-theme="dark"] .button--ghost:disabled,
body[data-theme="dark"] .button--ghost[disabled] {
  background: rgba(30, 43, 65, 0.8);
  color: #9fb4d4;
  border-color: rgba(148, 176, 226, 0.14);
  opacity: 1;
}

body[data-theme="dark"] .button--primary:disabled,
body[data-theme="dark"] .button--primary[disabled],
body[data-theme="dark"] .button--whatsapp:disabled,
body[data-theme="dark"] .button--whatsapp[disabled] {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.empty-state {
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
}

.empty-state h1,
.empty-state h2,
.empty-state h3 {
  margin: 0;
  font-family: var(--font-heading);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.admin-sidebar {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(250, 240, 187, 0.82);
}

.admin-sidebar__nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.admin-sidebar__nav a {
  padding: 14px 16px;
  border-radius: 16px;
  color: #37557f;
  background: rgba(255, 255, 255, 0.72);
}

.admin-sidebar__nav a.is-active {
  background: rgba(33, 62, 107, 0.16);
  color: var(--brand);
}

.admin-main {
  padding: 32px;
}

.admin-page,
.admin-auth {
  display: grid;
  gap: 22px;
}

.admin-auth {
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-auth__card {
  width: min(100%, 460px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-auth__form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-page__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stat {
  padding: 20px;
}

.admin-stat strong {
  display: block;
  font-size: 1.7rem;
}

.admin-panels {
  grid-template-columns: 1fr 1fr;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(33, 62, 107, 0.04);
}

.admin-list strong {
  display: block;
  margin-bottom: 4px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.admin-table th {
  color: #cfd8ef;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-table__actions button {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand);
}

.pagination {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination__link {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.pagination__link.is-active {
  background: linear-gradient(135deg, #ffd84a, #fff6cf);
  border-color: rgba(33, 62, 107, 0.18);
}

@media (max-width: 1100px) {
  .catalog-toolbar,
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .payment-layout,
  .contact-grid,
  .about-panel,
  .footer-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .hero__grid,
  .category-grid,
  .benefits-grid,
  .product-grid,
  .trust-grid,
  .admin-stats,
  .admin-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    min-height: 420px;
  }

  .hero-billboard,
  .hero-billboard__viewport {
    height: auto;
    aspect-ratio: var(--hero-billboard-active-ratio, 16 / 5);
    min-height: 0;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  :root {
    --brand-logo-width: 58px;
    --brand-logo-height: 70px;
  }

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    width: auto;
    padding: 16px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions .button {
    width: 100%;
  }

  .section {
    padding: 30px 0 46px;
  }

  .checkout-confirmation {
    padding: 12px;
  }

  .checkout-confirmation__dialog {
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
    border-radius: 20px;
  }

  .checkout-confirmation__details {
    grid-template-columns: 1fr;
  }

  .checkout-confirmation__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout-confirmation__actions .button {
    width: 100%;
  }

  .site-header__inner {
    grid-template-columns: 48px minmax(0, 1fr) 100px;
    min-height: 78px;
    gap: 8px;
  }

  .site-header--split {
    padding-top: var(--site-header-white-height, 82px);
  }

  [data-site-header] {
    min-height: var(--site-header-height, 140px);
  }

  .department-bar__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 12px;
    min-height: auto;
  }

  .department-bar__promo {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: start;
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 248, 220, 0.98);
    box-shadow: var(--shadow);
    z-index: 45;
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand {
    gap: 9px;
    min-width: 0;
    justify-self: center;
  }

  .brand__mark--logo {
    width: var(--brand-logo-width);
    height: var(--brand-logo-height);
    min-width: var(--brand-logo-width);
    flex-basis: var(--brand-logo-width);
  }

  .brand__copy {
    min-width: 0;
    transform: translateY(3px);
  }

  .brand__copy strong {
    color: #325385;
    font-size: 1.28rem;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .department-bar__menu {
    display: none;
  }

  .department-bar__links-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: calc(100% - 18px);
    background: linear-gradient(90deg, rgba(22, 34, 53, 0), rgba(22, 34, 53, 0.95));
    pointer-events: none;
  }

  .department-bar__links {
    gap: 14px;
    padding-inline: 2px 28px;
    scroll-snap-type: x proximity;
  }

  .department-bar__links a {
    scroll-snap-align: start;
  }

  .department-bar__scroll-hint {
    display: inline-flex;
    margin-top: 6px;
    font-size: 0.72rem;
    color: rgba(243, 247, 255, 0.78);
  }

  .site-header__actions {
    gap: 8px;
    justify-self: end;
  }

  .header-action,
  .cart-link {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
  }

  .search-bar--popover {
    width: min(280px, calc(100vw - 24px));
    top: calc(100% + 8px);
    right: 0;
  }

  .search-bar--popover input {
    min-width: 0;
    flex: 1 1 auto;
  }

  .search-bar--popover button {
    padding: 12px 14px;
  }

  .theme-toggle {
    display: none;
  }

  .cart-link .cart-counter {
    top: 3px;
    right: 3px;
  }

  .hero__metrics,
  .product-detail__info,
  .category-grid,
  .benefits-grid,
  .trust-grid,
  .admin-stats,
  .admin-panels {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .category-pill {
    min-width: 150px;
    padding: 14px 16px;
  }

  .hero-billboard,
  .hero-billboard__viewport {
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-radius: 0;
  }

  .hero-billboard__slide img,
  .hero-billboard__slide video {
    object-fit: cover;
  }

  .hero-billboard__nav {
    width: 36px;
    height: 36px;
  }

  .hero-billboard__nav--prev {
    left: 10px;
  }

  .hero-billboard__nav--next {
    right: 10px;
  }

  .product-gallery__thumbs,
  .gallery-zoom {
    display: none;
  }

  .category-scroller {
    padding-inline: 8px;
  }

  .category-scroller__viewport {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-scroller__viewport::-webkit-scrollbar {
    display: none;
  }

  .category-scroller__nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(23, 49, 83, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand);
    box-shadow: 0 14px 26px rgba(23, 49, 83, 0.1);
  }

  .category-scroller__nav--prev {
    left: -2px;
  }

  .category-scroller__nav--next {
    right: -2px;
  }

  .category-scroller__hint {
    display: block;
    margin: 10px 8px 0;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
  }

  .category-strip--scroller {
    padding-inline: 18px;
  }

  .product-showcase__desktop {
    display: none;
  }

  .product-showcase__mobile {
    display: block;
    position: relative;
    padding-inline: 0;
  }

  .product-showcase__viewport {
    display: grid;
    gap: 14px;
  }

  .product-showcase__slide {
    display: block;
  }

  .product-showcase__slide.is-active {
    display: block;
  }

  .product-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-showcase__grid .product-card {
    min-width: 0;
  }

  .product-showcase__nav {
    display: none !important;
  }

  .product-showcase__dots {
    display: none !important;
    margin-top: 12px;
  }

  .product-showcase__dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(33, 62, 107, 0.18);
  }

  .product-showcase__dot.is-active {
    background: var(--accent-deep);
  }

  .product-card {
    border-radius: 20px;
  }

  .product-card__image-wrap {
    padding: 10px;
  }

  .product-card__body {
    gap: 8px;
    padding: 12px 12px 14px;
  }

  .product-card__title {
    font-size: 0.84rem;
    line-height: 1.18;
    min-height: 2.95em;
    -webkit-line-clamp: 3;
  }

  .product-card__brand,
  .product-card__category {
    font-size: 0.76rem;
  }

  .product-card__price strong {
    font-size: 0.95rem;
  }

  .product-card__badge,
  .status-pill {
    padding: 5px 8px;
    font-size: 0.64rem;
  }

  .product-card__actions .button {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .button--primary {
    min-width: 220px;
  }

  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 340px;
    align-items: stretch;
    justify-content: center;
  }

  .hero__metrics div {
    padding: 9px 6px;
    text-align: center;
    border-radius: 14px;
  }

  .hero__metrics strong {
    font-size: 0.88rem;
    margin-bottom: 1px;
  }

  .hero__metrics span {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .hero--catalog .shell {
    width: 100%;
  }

  /* Keep the carousel attached to the categories bar on mobile. */
  .hero.section.hero--catalog {
    padding-top: 0;
  }

  .hero-billboard {
    max-width: none;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .hero-billboard__slide img,
  .hero-billboard__slide video {
    object-position: center;
  }

  .home-intro-banner {
    gap: 10px;
    padding-inline: 18px;
  }

  .home-intro-banner__lead {
    font-size: 1.36rem;
  }

  .home-intro-banner__sub {
    gap: 8px;
    font-size: 0.82rem;
  }

  .home-intro-banner__sub span {
    padding: 7px 12px;
  }

  .section-heading--row .button--primary,
  .section-heading--row .button--ghost {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item__image {
    width: 100%;
    height: auto;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .cart-float,
  .whatsapp-float {
    min-width: 116px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-nav--prev {
    left: 10px;
  }

  .gallery-nav--next {
    right: 10px;
  }

  .gallery-zoom {
    right: 10px;
    bottom: 10px;
  }

  .trust-card {
    grid-template-columns: 1fr;
  }

  .trust-card__icon {
    width: 60px;
    height: 60px;
  }

}
