:root {
  --bg: #f3f7fc;
  --surface: #f6faff;
  --surface-strong: #ffffff;
  --ink: #102844;
  --muted: #56697d;
  --line: rgba(16, 32, 51, 0.12);

  --brand: #D2001E;
  --brand-dark: #9E0017;

  --deep: #0b2a57;
  --deep-soft: #184581;

  --accent: #d7e7fb;
  --sand: #E33A52;
  --shadow: 0 20px 45px rgba(15, 39, 71, 0.14);

  --radius: 24px;
  --container: 1180px;
}



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* INDEX.HTML */

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(210, 0, 30, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #e7eef8 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body.login-page {
  background: #f4f5f7;
}


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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: relative;
  overflow: hidden;
  color: #f7fbff;
}

.hero-banner-shell {
  padding-top: 0;
  background: transparent;
}

.hero-banner-swiper {
  position: relative;
  min-height: 560px;
}

.hero-banner-slide {
  position: relative;
  min-height: 560px;
}

.hero-banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 20, 38, 0.78), rgba(9, 20, 38, 0.28) 48%, rgba(9, 20, 38, 0.52));
  z-index: 1;
}

.hero-banner-media,
.hero-banner-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-banner-media img {
  object-fit: cover;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 7.25rem;
  padding-bottom: 3.5rem;
}

.hero-banner-kicker {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.hero-banner-content h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.7rem, 4.6vw, 4.6rem);
  line-height: 1.02;
  color: #fff;
}

.hero-banner-content p:last-of-type {
  max-width: 58ch;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 1.05rem;
}

.hero-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-banner-prev,
.hero-banner-next {
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.hero-banner-prev::after,
.hero-banner-next::after {
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-banner-prev {
  left: 2rem;
}

.hero-banner-next {
  right: 2rem;
}

.hero-banner-pagination {
  bottom: 1.4rem !important;
}

.hero-banner-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.52);
  opacity: 1;
}

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

.topbar-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem 0;
  pointer-events: none;
}

.topbar {
  width: 100%;
  max-width: var(--container);
  padding: 0;
  border: 1px solid rgba(11, 42, 87, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(11, 42, 87, 0.16);
  overflow: hidden;
  pointer-events: auto;
}


.topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(220px, 320px) auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.9rem 1.1rem;
  min-height: 86px;
}

.nav-search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
  min-width: 0;
  margin: 0 auto;
  padding: 0.15rem;
  border: 1px solid rgba(11, 42, 87, 0.1);
  border-radius: 999px;
  background: rgba(247, 250, 255, 0.92);
}

.nav-search-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.nav-search-input:focus {
  outline: none;
}

.nav-search-input::placeholder {
  color: rgba(16, 40, 68, 0.55);
}

.nav-search-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nav-search-btn:hover {
  background: var(--brand-dark);
}

@media (max-width: 991.98px) {
  .topbar {
    width: 100%;
    max-width: none;
    border-radius: 18px;
  }

  .topbar-shell {
    padding: 0.6rem 0.75rem 0;
  }

  .topbar-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 0.8rem 0.95rem;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .nav-search {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .navbar-collapse {
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(11, 42, 87, 0.08);
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.7rem 0;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  color: var(--deep);
}

.brand.navbar-brand {
  padding: 0;
  line-height: 1;
  align-self: center;
}


.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #ff3354);
  color: white;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.12);
}

.brand-name,
.brand-tag {
  display: block;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-tag {
  color: rgba(11, 42, 87, 0.68);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--deep);
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.navbar-collapse {
  justify-content: flex-end;
  min-width: max-content;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
  background: rgba(210, 0, 30, 0.08);
}

.navbar-toggler {
  border: 1px solid rgba(11, 42, 87, 0.14);
  border-radius: 14px;
  padding: 0.45rem 0.65rem;
  background: rgba(11, 42, 87, 0.03);
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: rgba(210, 0, 30, 0.45);
}

.navbar-toggler-icon {
  background-image: none;
  width: 22px;
  height: 16px;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  display: block;
  background-repeat: no-repeat;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--deep);
}

.navbar-toggler-icon::before {
  top: 2px;
}

.navbar-toggler-icon::after {
  bottom: 2px;
}

.navbar-toggler-icon {
  background:
    linear-gradient(var(--deep), var(--deep)) center / 22px 2px no-repeat;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-copy {
  padding: 1rem 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
}

.hero h1,
.section-heading h2,
.feature-card h2,
.contact-box h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  line-height: 1.08;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.hero-text,
.section-heading p,
.category-card p,
.feature-card p,
.contact-box p,
.stat-label,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  color: rgba(246, 241, 233, 0.8);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark);
}

.btn-secondary-light {
  border-color: rgba(15, 39, 71, 0.14);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.96);
}

.btn-secondary-light:hover,
.btn-secondary-light:focus-visible {
  background: rgba(15, 39, 71, 0.08);
  color: var(--brand-dark);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}



.hero-panel {
  align-self: end;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.panel-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.panel-list {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: rgba(246, 241, 233, 0.92);
  line-height: 1.8;
}

.panel-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.panel-note p {
  margin: 0;
  color: rgba(246, 241, 233, 0.76);
  line-height: 1.6;
}

.section {
  padding: 5rem 0;
}

.surface {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(5px);
}

.catalog-header,
.product-header,
.login-header,
.contact-header {
  border-bottom: 0;
}

.section-heading {
  max-width: 62ch;
  margin-bottom: 2rem;
  border-left: 0;
  padding-left: 0;
}

.section-heading h2,
.feature-card h2,
.contact-box h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-heading p {
  margin-top: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.category-card,
.feature-card,
.contact-box {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.category-card {
  border-top: 0;
}

.category-card {
  position: relative;
  padding: 1.8rem;
  overflow: hidden;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(242, 15, 50, 0.2), transparent 70%);
}

.category-index {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.category-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  padding: 2rem;
}

.feature-card-dark {
  background:
    linear-gradient(150deg, rgba(11, 42, 87, 1), rgba(24, 69, 129, 0.95)),
    var(--deep);
  color: #f6f1e9;
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card-dark p,
.feature-card-dark .text-link {
  color: rgba(246, 241, 233, 0.84);
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--brand);
  font-weight: 700;
}

.accent-band {
  background:
    linear-gradient(180deg, rgba(210, 0, 30, 0.06), rgba(24, 69, 129, 0.05)),
    transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-value {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
}

.contact-box {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.site-footer {
  margin-top: auto;
  padding: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(180deg, #eef1f4 0%, #dde3e8 100%);
  border-top: 4px solid rgba(210, 0, 30, 0.72);
  color: var(--deep);
}

.site-footer .container {
  padding-top: 0;
  padding-bottom: 0;
}

.site-footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem 0 0.85rem;
}

.site-footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
}

.site-footer-logo {
  width: min(170px, 100%);
  height: auto;
  flex: 0 0 auto;
}

.site-footer-text {
  max-width: 42ch;
  margin: 0;
  color: rgba(11, 42, 87, 0.72);
  line-height: 1.45;
  font-size: 0.88rem;
}

.site-footer-columns {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-footer-column {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(11, 42, 87, 0.08);
}

.site-footer-label {
  margin: 0;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 800;
  margin-right: 0.15rem;
}

.site-footer-column a,
.site-footer-column span {
  color: var(--deep);
  line-height: 1.3;
  font-size: 0.84rem;
}

.site-footer-column a,
.site-footer-column span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer-column i {
  color: var(--brand);
  font-size: 0.82rem;
  flex: 0 0 auto;
}

.site-footer-column a:hover,
.site-footer-column a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(210, 0, 30, 0.3);
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0 0.9rem;
  border-top: 1px solid rgba(11, 42, 87, 0.1);
  color: rgba(11, 42, 87, 0.62);
  font-size: 0.8rem;
}

.site-footer-credit-link {
  color: var(--brand);
  font-weight: 700;
}

.site-footer-credit-link:hover,
.site-footer-credit-link:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(210, 0, 30, 0.35);
}

@media (max-width: 960px) {
  .hero,
  .feature-layout,
  .stats-grid,
  .contact-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: 14ch;
  }

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

  .hero-panel,
  .contact-box,
  .feature-card,
  .category-card {
    width: 100%;
  }

  .site-footer-shell {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 1.15rem 0 0.95rem;
  }

  .site-footer-columns {
    justify-content: flex-start;
    width: 100%;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

@media (max-width: 640px) {
  .hero-banner-shell {
    padding-top: 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .topbar {
    width: 100%;
    max-width: none;
    border-radius: 16px;
  }

  .topbar-shell {
    padding: 0.5rem 0.5rem 0;
  }


  .topbar-inner {
    padding: 0.75rem 0.85rem;
  }

  .nav-search {
    min-width: 0;
  }

  .brand {
    gap: 0.7rem;
    flex: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.1rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tag {
    font-size: 0.82rem;
  }

  .site-footer-shell {
    padding: 1rem 0 0.85rem;
  }

  .site-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .site-footer-column {
    align-items: flex-start;
    border-radius: 16px;
  }

  .site-footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .site-footer-logo {
    width: min(150px, 100%);
  }

  .site-footer-bottom {
    padding-bottom: 0.95rem;
    font-size: 0.82rem;
  }

  .hero-banner-swiper,
  .hero-banner-slide,
  .hero-banner-content {
    min-height: 470px;
  }

  .hero-banner-content {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-banner-content h1 {
    max-width: 12ch;
    font-size: 2.1rem;
  }

  .hero-banner-content p:last-of-type {
    font-size: 0.96rem;
  }

  .hero-banner-prev,
  .hero-banner-next {
    display: none;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .section-heading h2,
  .feature-card h2,
  .contact-box h2 {
    font-size: 1.8rem;
  }

  .btn,
  .hero-actions,
  .contact-actions {
    width: 100%;
  }
}

/* FIN INDEX.HTML */

/* PRODUCTOS.HTML */

.catalog-header {
  padding: 9.5rem 0 3.2rem;
  background:
    linear-gradient(135deg, rgba(11, 42, 87, 0.97), rgba(24, 69, 129, 0.9)),
    linear-gradient(180deg, #11366d, #0b2a57);
  color: #f6f1e9;
}

.catalog-header-simple {
  padding-top: 8.6rem;
  padding-bottom: 2.8rem;
}

.catalog-hero {
  max-width: 68ch;
}

.catalog-hero h1 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.08;
}

.catalog-intro {
  max-width: 62ch;
  margin: 1.3rem 0 0;
  color: rgba(246, 241, 233, 0.82);
  line-height: 1.7;
  font-size: 1.02rem;
}

.catalog-main {
  background:
    radial-gradient(circle at top left, rgba(210, 0, 30, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #edf3fb 100%);
}

.catalog-main .section {
  padding-top: 6.8rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.catalog-filters-backdrop,
.filters-mobile-top,
.filters-apply-btn,
.mobile-filters-trigger {
  display: none;
}

.filters-sidebar {
  position: sticky;
  top: 8.8rem;
}

.catalog-results {
  min-width: 0;
}

.filters-panel {
  padding: 1.5rem;
  border: 1px solid rgba(22, 45, 84, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 38px rgba(15, 39, 72, 0.08);
  backdrop-filter: blur(6px);
}

.filters-heading {
  max-width: 32ch;
  margin-bottom: 1.5rem;
}

.filters-heading h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.12;
}

.filters-help-text {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.filters-layout {
  display: grid;
  gap: 1.1rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field-group-search .field-control {
  min-height: 58px;
}

.field-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--deep);
}

.field-control {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(18, 42, 78, 0.12);
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.98);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-control:focus {
  outline: none;
  border-color: rgba(217, 4, 41, 0.45);
  box-shadow: 0 0 0 4px rgba(217, 4, 41, 0.12);
}

.brand-filter-group {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(18, 42, 78, 0.08);
}

.brand-filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.brand-filter-info {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.brand-filters-list {
  display: grid;
  gap: 0.55rem;
  max-height: 320px;
  padding-right: 0.35rem;
  overflow-y: auto;
}

.brand-filter-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.2rem 0;
  color: var(--ink);
  cursor: pointer;
}

.brand-filter-item input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--brand);
}

.brand-filter-item span {
  min-width: 0;
}

.brand-filter-item small {
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-filter-empty {
  margin: 0;
  color: var(--muted);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex: 1 1 520px;
}

.catalog-toolbar-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 420px;
}

.clear-filters-btn {
  display: none;
  white-space: nowrap;
}

.active-filter-chip,
.active-filters-empty {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(224, 0, 34, 0.12);
  box-shadow: 0 10px 24px rgba(12, 34, 65, 0.08);
  line-height: 1.4;
}

.active-filter-chip {
  color: var(--deep);
  font-weight: 600;
}

.active-filter-chip strong {
  margin-right: 0.35rem;
  color: var(--brand);
}

.active-filters-empty {
  color: var(--muted);
  font-weight: 600;
}

.results-info {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  text-align: right;
  flex: 0 1 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(15, 39, 71, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-image {
  width: 100%;
  height: 210px;
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
  border-bottom: 1px solid rgba(16, 32, 51, 0.06);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.product-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.22;
}

.product-card-code {
  margin: 0 0 0.55rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.9rem;
}

.product-meta span {
  color: var(--deep);
  font-size: 0.9rem;
}

.product-price {
  margin: auto 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.product-price-block {
  margin-top: auto;
}

.product-price-block .product-price {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.product-card-tax {
  display: grid;
  gap: 0.12rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.42rem;
  border-bottom: 1px solid rgba(11, 42, 87, 0.08);
}

.product-card-tax span {
  color: #6a7d94;
  font-size: 0.82rem;
  line-height: 1.2;
}

.product-card-tax-iva {
  letter-spacing: 0;
  font-weight: 500;
}

.product-card-tax-total {
  color: var(--muted);
  font-weight: 500;
}

.product-price-hidden {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}


.catalog-message {
  margin: 0;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow);
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-info {
  min-width: 110px;
  text-align: center;
  font-weight: 700;
  color: var(--brand-dark);
}

.btn-outline-catalog {
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(242, 15, 50, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand);
  font-weight: 700;
}

.btn-outline-catalog:hover,
.btn-outline-catalog:focus-visible {
  background: var(--brand);
  color: #f6f1e9;
  border-color: var(--brand);
}

.btn-outline-catalog:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 960px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .filters-sidebar {
    position: static;
  }

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

  .catalog-header {
    padding-top: 8.6rem;
  }

  .catalog-main .section {
    padding-top: 8rem;
    padding-bottom: 3.8rem;
  }

  .mobile-filters-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  body.catalog-filters-open {
    overflow: hidden;
  }

  .catalog-header {
    padding-top: 7.4rem;
    padding-bottom: 2.6rem;
  }

  .catalog-hero h1 {
    font-size: 2.2rem;
  }

  .filters-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .catalog-filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(10, 20, 38, 0.42);
    backdrop-filter: blur(2px);
  }

  .filters-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    width: min(88vw, 360px);
    transform: translateX(-110%);
    transition: transform 0.24s ease;
  }

  .filters-sidebar.is-open {
    transform: translateX(0);
  }

  .filters-panel {
    height: 100%;
    overflow-y: auto;
    border-radius: 0 20px 20px 0;
    box-shadow: 18px 0 40px rgba(10, 20, 38, 0.18);
  }

  .filters-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .filters-mobile-title {
    margin: 0;
    color: var(--deep);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
  }

  .filters-mobile-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11, 42, 87, 0.1);
    border-radius: 999px;
    background: rgba(247, 250, 255, 0.98);
    color: var(--deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .filters-heading {
    margin-bottom: 1rem;
    max-width: none;
  }

  .filters-heading h2 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
    line-height: 1.08;
  }

  .filters-help-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .catalog-main .section {
    padding-top: 9rem;
    padding-bottom: 3rem;
  }

  .catalog-toolbar {
    align-items: flex-start;
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .catalog-toolbar-start,
  .active-filters {
    flex-basis: 100%;
  }

  .catalog-toolbar-start {
    display: grid;
    gap: 0.75rem;
  }

  .results-info {
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

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

  .product-card-image {
    height: 138px;
    padding: 0.5rem;
  }

  .product-card-body {
    padding: 0.75rem;
  }

  .product-card-code {
    font-size: 0.67rem;
    margin-bottom: 0.4rem;
  }

  .product-card-title {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .product-meta {
    margin-bottom: 0.7rem;
  }

  .product-meta span {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .product-price {
    font-size: 0.98rem;
  }

  .product-price-block .product-price {
    font-size: 1.18rem;
  }

  .product-card-tax span {
    font-size: 0.76rem;
  }

  .product-price-hidden {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .filters-apply-btn {
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .topbar-shell {
    padding: 0.45rem 0.45rem 0;
  }

  .topbar-inner {
    padding: 0.7rem 0.75rem;
    min-height: 0;
  }

  .nav-search {
    margin-top: 0.15rem;
  }

  .catalog-main .section {
    padding-top: 8.65rem;
  }

  .products-grid {
    gap: 0.7rem;
  }

  .product-card-image {
    height: 122px;
  }

  .product-card-body {
    padding: 0.68rem;
  }

  .product-card-title {
    font-size: 0.88rem;
  }

  .product-meta span {
    font-size: 0.77rem;
  }

  .product-price-hidden {
    font-size: 0.8rem;
  }

  .product-card-tax span {
    font-size: 0.74rem;
  }

  .product-price-block .product-price {
    font-size: 1.08rem;
  }
}

/* FIN PRODUCTOS.HTML */

/* PRODUCTO.HTML*/

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--deep);
  font-weight: 700;
}

.back-link:hover {
  color: var(--brand);
}

.product-main {
  background: #f8fbff;
}

.product-page-shell {
  padding: 8.85rem 0 4rem;
}

.product-page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.admin-page-title {
  margin: 0.35rem 0 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.admin-page-text {
  margin: 0.9rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.65;
}

.product-page-path {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.product-loading {
  min-height: 320px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.product-gallery,
.product-summary {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 39, 71, 0.08);
}

.product-gallery {
  overflow: hidden;
}

.product-detail-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  padding: 1.5rem;
  background: #ffffff;
}

.product-summary {
  padding: 2rem;
}

.product-kicker {
  margin: 0 0 0.75rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-code-kicker {
  margin-bottom: 0.4rem;
  color: var(--deep);
}

.product-summary h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.product-brand {
  margin: 0.75rem 0 1rem;
  color: var(--muted);
  font-weight: 600;
}

.product-description {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.75;
}

.product-detail-price {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.product-tax-summary {
  margin: -0.4rem 0 1.5rem;
  padding: 0.8rem;
  border: 1px solid rgba(11, 42, 87, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.96));
  display: grid;
  gap: 0.55rem;
}

.product-tax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--deep);
  padding: 0.85rem 1rem;
  border-radius: 16px;
}

.product-tax-row-secondary {
  background: rgba(11, 42, 87, 0.035);
}

.product-tax-row-total {
  background: rgba(210, 0, 30, 0.05);
  border: 1px solid rgba(210, 0, 30, 0.1);
}

.product-tax-label-group {
  display: grid;
  gap: 0.15rem;
}

.product-tax-label-group strong {
  font-size: 1rem;
  line-height: 1.2;
}

.product-tax-label-group small {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-tax-value {
  font-weight: 700;
  white-space: nowrap;
  font-size: 1.02rem;
}

.product-tax-row-total .product-tax-value {
  font-size: 1.18rem;
  color: var(--brand-dark);
}

.product-admin-tools {
  margin: -0.2rem 0 1.5rem;
}

.product-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-admin-editor {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(11, 42, 87, 0.1);
  border-radius: 20px;
  background: rgba(247, 250, 255, 0.92);
}

.product-admin-textarea {
  min-height: 120px;
  resize: vertical;
}

.product-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.product-quantity-block {
  margin-bottom: 1.35rem;
}

.product-quantity-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-weight: 700;
}

.product-quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(11, 42, 87, 0.12);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.product-quantity-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
}

.product-quantity-btn:hover {
  background: rgba(16, 40, 68, 0.05);
}

.product-quantity-input {
  width: 64px;
  height: 44px;
  border: 0;
  border-inline: 1px solid rgba(11, 42, 87, 0.12);
  background: #fff;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
}

.product-quantity-input:focus {
  outline: none;
}

.product-action-feedback {
  min-height: 1.35rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.product-info-item {
  padding: 1rem;
  border-radius: 18px;
  background: #f6f8fb;
  border: 1px solid rgba(11, 42, 87, 0.08);
}

.product-info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--deep);
  font-size: 0.85rem;
}

.product-info-item span {
  color: var(--muted);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.product-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(242, 15, 50, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--brand);
  font-weight: 700;
}

.product-secondary-action:hover {
  background: rgba(242, 15, 50, 0.1);
}

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

  .product-page-shell {
    padding-top: 8.25rem;
  }

  .catalog-header-simple {
    padding-top: 8rem;
  }
}

@media (max-width: 640px) {
  .product-page-shell {
    padding-top: 7.25rem;
    padding-bottom: 2.8rem;
  }

  .catalog-header-simple {
    padding-top: 7rem;
  }

  .product-page-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .admin-page-title {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  .product-summary {
    padding: 1.25rem;
  }

  .product-detail-image {
    min-height: 280px;
  }

  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn,
  .product-secondary-action {
    width: 100%;
  }

  .product-quantity-control {
    width: 100%;
  }

  .product-quantity-input {
    flex: 1 1 auto;
  }
}


/* FIN PRODUCTO.HTML */

/* LOGIN.HTML */

.login-header {
  padding: 9.5rem 0 3rem;
  color: #f6f1e9;
}

.login-header h1 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.08;
  max-width: 12ch;
}

.login-header-text {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  color: rgba(255, 244, 246, 0.86);
  line-height: 1.7;
}

.login-main {
  background: #f4f5f7;
}

.login-main.login-main-compact {
  padding-top: 8.6rem;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.login-panel,
.login-aside-card {
  border: 1px solid rgba(210, 0, 30, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 42px rgba(121, 9, 28, 0.12);
}

.login-panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.96);
}

.login-panel h2,
.login-aside-card h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.login-panel-text {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.login-panel .eyebrow,
.login-aside-card .eyebrow {
  color: var(--brand);
}

.login-panel .field-control {
  background: rgba(255, 251, 252, 0.98);
  border-color: rgba(210, 0, 30, 0.14);
}

.login-panel .field-control:focus {
  border-color: rgba(210, 0, 30, 0.4);
  box-shadow: 0 0 0 4px rgba(210, 0, 30, 0.1);
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-submit {
  margin-top: 0.5rem;
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(210, 0, 30, 0.2);
}

.login-message {
  min-height: 24px;
  margin: 0;
  font-weight: 600;
  color: var(--brand-dark);
}

.login-aside {
  display: grid;
  gap: 1.25rem;
}

.login-aside-card {
  padding: 1.5rem;
}

.login-aside-card p {
  color: var(--muted);
  line-height: 1.7;
}

.login-aside-card .product-secondary-action {
  border-color: rgba(210, 0, 30, 0.2);
  color: var(--brand);
}

.login-aside-card .product-secondary-action:hover {
  background: rgba(210, 0, 30, 0.08);
}

.login-aside-dark {
  background: #c6001e;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f6f1e9;
}

.login-aside-dark .eyebrow {
  color: rgba(255, 244, 246, 0.82);
}

.login-aside-dark p,
.login-aside-dark li {
  color: rgba(255, 244, 246, 0.86);
}

.login-feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.9;
}

@media (max-width: 960px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-header {
    padding-top: 8.6rem;
  }

  .login-main.login-main-compact {
    padding-top: 8.1rem;
  }
}

@media (max-width: 640px) {
  .login-header {
    padding-top: 7.4rem;
    padding-bottom: 2.5rem;
  }

  .login-header h1 {
    font-size: 2.15rem;
  }

  .login-panel {
    padding: 1.25rem;
  }

  .login-main.login-main-compact {
    padding-top: 7.4rem;
  }
}

/* FIN LOGIN.HTML */

/* CONTACTO.HTML */

.contact-header {
  padding: 9.5rem 0 3rem;
  background:
    linear-gradient(135deg, rgba(11, 42, 87, 0.97), rgba(24, 69, 129, 0.9)),
    linear-gradient(180deg, #11366d, #0b2a57);
  color: #f6f1e9;
}

.contact-header h1 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.08;
  max-width: 13ch;
}

.contact-header-text {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  color: rgba(246, 241, 233, 0.8);
  line-height: 1.7;
}

body.contact-page {
  background: #f4f5f7;
}

.contact-main {
  background: #f4f5f7;
}

.contact-main.contact-main-compact {
  padding-top: 8.6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-panel,
.contact-aside-card {
  border: 1px solid rgba(210, 0, 30, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 42px rgba(121, 9, 28, 0.12);
}

.contact-panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.96);
}

.contact-panel h2,
.contact-aside-card h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.contact-panel-text {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel .eyebrow,
.contact-aside-card .eyebrow {
  color: var(--brand);
}

.contact-panel .field-control {
  background: rgba(255, 251, 252, 0.98);
  border-color: rgba(210, 0, 30, 0.14);
}

.contact-panel .field-control:focus {
  border-color: rgba(210, 0, 30, 0.4);
  box-shadow: 0 0 0 4px rgba(210, 0, 30, 0.1);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-submit {
  margin-top: 0.5rem;
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(210, 0, 30, 0.2);
}

.contact-message {
  min-height: 24px;
  margin: 0;
  font-weight: 600;
  color: var(--brand-dark);
}

.contact-aside {
  display: grid;
  gap: 1.25rem;
}

.contact-aside-card {
  padding: 1.5rem;
}

.contact-aside-card p,
.contact-aside-card li {
  color: var(--muted);
  line-height: 1.7;
}

.contact-aside-card .product-secondary-action {
  border-color: rgba(210, 0, 30, 0.2);
  color: var(--brand);
}

.contact-aside-card .product-secondary-action:hover {
  background: rgba(210, 0, 30, 0.08);
}

.contact-aside-dark {
  background: #c6001e;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f6f1e9;
}

.contact-aside-dark .eyebrow {
  color: rgba(255, 244, 246, 0.82);
}

.contact-aside-dark p,
.contact-aside-dark li {
  color: rgba(246, 241, 233, 0.82);
}

.contact-list,
.contact-steps {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.contact-list li,
.contact-steps li {
  margin-bottom: 0.6rem;
}

@media (max-width: 960px) {
  .contact-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-header {
    padding-top: 8.6rem;
  }

  .contact-main.contact-main-compact {
    padding-top: 8.1rem;
  }
}

@media (max-width: 640px) {
  .contact-header {
    padding-top: 7.4rem;
    padding-bottom: 2.5rem;
  }

  .contact-header h1 {
    font-size: 2.15rem;
  }

  .contact-panel {
    padding: 1.25rem;
  }

  .contact-main.contact-main-compact {
    padding-top: 7.4rem;
  }
}

/* FIN CONTACTO.HTML */

/* INICIO PEDIDO.HTML */

.pedido-box {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 1.5rem;
  align-items: start;
}

.pedido-box-checkout {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
}

.pedido-main-compact {
  padding-top: 7rem;
}

.pedido-main-compact .section {
  padding-top: 2.1rem;
}

.pedido-list {
  display: grid;
  gap: 1rem;
}

.pedido-item,
.pedido-summary {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.pedido-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.pedido-item-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: contain;
  background: #ffffff;
  padding: 1rem;
}

.pedido-item-body {
  padding: 1.25rem;
}

.pedido-item-body h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.pedido-item-quantity-block {
  margin: 0 0 0.85rem;
}

.pedido-item-quantity-block strong {
  display: block;
  margin-bottom: 0.45rem;
}

.pedido-item-quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(11, 42, 87, 0.12);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.pedido-quantity-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.pedido-quantity-btn:hover {
  background: rgba(16, 40, 68, 0.05);
}

.pedido-quantity-input {
  width: 60px;
  height: 40px;
  border: 0;
  border-inline: 1px solid rgba(11, 42, 87, 0.12);
  background: #fff;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
}

.pedido-quantity-input:focus {
  outline: none;
}

.pedido-summary {
  padding: 1.5rem;
}

.pedido-box-checkout .pedido-summary {
  position: sticky;
  top: 8.95rem;
}

.pedido-summary h2 {
  margin-top: 0;
  font-family: "Libre Baskerville", serif;
}

.pedido-summary .btn,
.pedido-summary .product-secondary-action {
  width: 100%;
  justify-content: center;
}

.admin-detail-actions {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.pedido-note {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.pedido-feedback {
  min-height: 52px;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.5;
}

.pedido-feedback-empty {
  padding: 0;
  min-height: 0;
  margin-bottom: 1rem;
}

.pedido-feedback-success {
  background: rgba(18, 119, 73, 0.1);
  border-color: rgba(18, 119, 73, 0.16);
  color: #127749;
}

.pedido-feedback-error {
  background: rgba(210, 0, 30, 0.08);
  border-color: rgba(210, 0, 30, 0.14);
  color: var(--brand);
}

.pedido-feedback-info {
  background: rgba(11, 42, 87, 0.08);
  border-color: rgba(11, 42, 87, 0.14);
  color: var(--deep);
}

@media (max-width: 960px) {
  .pedido-main-compact {
    padding-top: 6.75rem;
  }

  .pedido-main-compact .section {
    padding-top: 1.8rem;
  }

  .pedido-box {
    grid-template-columns: 1fr;
  }

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

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

  .pedido-item-image {
    min-height: 220px;
  }

  .pedido-box-checkout .pedido-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .pedido-main-compact {
    padding-top: 6.35rem;
  }

  .pedido-main-compact .section {
    padding-top: 1.55rem;
  }
}

/* FIN PEDIDO.HTML */

/* INICIO MIS-PEDIDOS.HTML */

.orders-grid {
  display: grid;
  gap: 1rem;
}

.order-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.order-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
}


.order-label {
  margin: 0 0 0.5rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
}

.order-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.order-status-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.admin-status-paid {
  background: rgba(18, 119, 73, 0.1);
  color: #127749;
}

.admin-status-pending_payment {
  background: rgba(11, 42, 87, 0.08);
  color: var(--deep);
}

.admin-payment-status-pending {
  background: rgba(11, 42, 87, 0.08);
  color: var(--deep);
}

.admin-payment-status-paid {
  background: rgba(18, 119, 73, 0.1);
  color: #127749;
}

.admin-payment-status-failed,
.admin-payment-status-cancelled {
  background: rgba(210, 0, 30, 0.08);
  color: var(--brand);
}

.order-card-hint {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
}

.orders-page-intro {
  margin-bottom: 1.5rem;
}

/* FIN MIS-PEDIDOS.HTML */

/* INICIO DETALLE-PEDIDO.HTML */

.order-card-link {
  color: inherit;
  text-decoration: none;
}

.order-card-link:hover .order-card {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* FIN DETALLE-PEDIDO.HTML */

/* INICIO ADMIN.HTML */

.admin-layout {
  display: grid;
  gap: 2rem;
}

.admin-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.admin-section-tab {
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(11, 42, 87, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--deep);
  font-weight: 700;
}

.admin-section-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-section-heading {
  margin-bottom: 1rem;
}

.admin-section-heading h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
}

.admin-section-text {
  margin: 0.75rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
}

.admin-message {
  line-height: 1.7;
}

.admin-feedback-empty {
  display: none;
}

.admin-card-meta {
  display: grid;
  gap: 0.35rem;
}

.admin-card-meta p {
  margin: 0;
}

.admin-order-card-link {
  display: block;
  margin: -1.5rem -1.5rem 0;
  padding: 1.5rem 1.5rem 0;
  border-radius: 24px 24px 0 0;
}

.admin-order-card-link:hover {
  background: rgba(11, 42, 87, 0.035);
}

.admin-order-link-hint {
  margin: 1rem 0 0;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.admin-orders-toolbar,
.admin-products-toolbar,
.admin-categories-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-orders-toolbar .field-control,
.admin-products-toolbar .field-control,
.admin-categories-search .field-control {
  flex: 1 1 320px;
}

.admin-client-shell {
  margin-bottom: 1.5rem;
}

.admin-import-shell {
  margin-bottom: 1.5rem;
}

.admin-import-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.admin-import-toggle {
  min-width: 52px;
  width: 52px;
  height: 52px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.admin-import-toggle .bi {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.admin-import-shell.is-collapsed .admin-import-toggle .bi {
  transform: rotate(0deg);
}

.admin-import-shell:not(.is-collapsed) .admin-import-toggle .bi {
  transform: rotate(180deg);
}

.admin-import-content {
  margin-top: 1rem;
}

.admin-import-shell.is-collapsed .admin-import-content {
  display: none;
}

.admin-import-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-import-guide-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(11, 42, 87, 0.08);
  border-radius: 24px;
  background: #f8fbff;
}

.admin-import-guide-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.admin-import-guide-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #4f6585;
  display: grid;
  gap: 0.45rem;
}

.admin-import-guide-list strong {
  color: #0b2a57;
}

.admin-clients-list-heading {
  margin-top: 1.5rem;
}

.admin-categories-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-editor-wide {
  grid-column: 1 / -1;
}

.admin-editor-textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-products-grid,
.admin-categories-grid {
  display: grid;
  gap: 1rem;
}

.admin-product-card-top {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 42, 87, 0.08);
}

.admin-product-card-body p {
  margin: 0.35rem 0 0;
}

.admin-product-title {
  margin: 0;
  font-size: 1.25rem;
}

.admin-category-card .admin-product-title {
  margin-bottom: 0.9rem;
}

.admin-category-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.admin-category-toggle {
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 999px;
}

.admin-category-toggle .bi {
  font-size: 1rem;
  line-height: 1;
}

.admin-subcategory-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.admin-subcategory-list.is-collapsed {
  display: none;
}

.admin-subcategory-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(11, 42, 87, 0.08);
}

.admin-subcategory-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.admin-subcategory-main span {
  min-width: 0;
}

.admin-subcategory-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-subcategory-visibility {
  min-width: 112px;
}

.admin-action-btn {
  min-width: 142px;
}

.admin-pricing-summary,
.admin-pricing-note {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.admin-import-preview {
  margin-top: 1.25rem;
}

.admin-import-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.admin-import-summary-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(11, 42, 87, 0.08);
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.88);
}

.admin-import-summary-card strong {
  color: var(--deep);
  font-size: 1.45rem;
  line-height: 1;
}

.admin-import-summary-card span {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.92rem;
}

.admin-import-block + .admin-import-block {
  margin-top: 1.25rem;
}

.admin-import-list {
  display: grid;
  gap: 0.85rem;
}

.admin-import-item {
  padding: 1rem 1.1rem;
}

.admin-import-item h4 {
  margin: 0.15rem 0 0.6rem;
  color: var(--deep);
  font-size: 1.05rem;
  line-height: 1.35;
}

.admin-import-item p {
  margin: 0.3rem 0 0;
}

.admin-import-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.admin-import-chip-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.admin-hidden {
  display: none;
}

.admin-pricing-products-list {
  display: grid;
  gap: 0.7rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.admin-pricing-selected-header {
  padding: 0 0 0.2rem;
}

.admin-pricing-selected-header .admin-section-text {
  margin: 0;
}

.admin-pricing-product-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(11, 42, 87, 0.1);
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.85);
}

.admin-pricing-product-option input {
  width: 16px;
  height: 16px;
  margin: 0.15rem 0 0;
  accent-color: var(--brand);
}

.admin-pricing-product-option span {
  display: grid;
  gap: 0.25rem;
}

.admin-pricing-product-option strong {
  color: var(--deep);
}

.admin-pricing-product-option small {
  color: var(--muted);
  line-height: 1.5;
}

.admin-pricing-preview {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(11, 42, 87, 0.1);
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.92);
}

.admin-pricing-preview-count,
.admin-pricing-preview-example {
  margin: 0;
  color: var(--deep);
  line-height: 1.6;
}

.admin-pricing-preview-example {
  margin-top: 0.35rem;
  color: var(--muted);
}

.admin-pricing-preview-breakdown {
  margin-top: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 42, 87, 0.08);
  display: grid;
  gap: 0.35rem;
}

.admin-pricing-preview-breakdown p {
  margin: 0;
  color: var(--deep);
  line-height: 1.5;
}

.admin-pricing-preview-breakdown span {
  color: var(--muted);
}

.admin-action-danger {
  border-color: rgba(210, 0, 30, 0.18);
  color: var(--brand);
}

.admin-action-danger:hover {
  background: rgba(210, 0, 30, 0.08);
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-status-pending {
  background: rgba(11, 42, 87, 0.08);
  color: var(--deep);
}

.admin-status-approved {
  background: rgba(18, 119, 73, 0.1);
  color: #127749;
}

.admin-status-rejected {
  background: rgba(210, 0, 30, 0.08);
  color: var(--brand);
}

@media (max-width: 860px) {
  .admin-editor-grid,
  .admin-product-card-top {
    grid-template-columns: 1fr;
  }

  .admin-import-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-import-header {
    flex-direction: column;
  }

  .admin-import-toggle {
    align-self: flex-end;
  }

  .admin-category-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-subcategory-list li,
  .admin-subcategory-main,
  .admin-subcategory-actions,
  .admin-import-item-top,
  .admin-import-chip-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* FIN ADMIN.HTML */

/* alertas */

.form-feedback {
  min-height: 24px;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.5;
}

.form-feedback-success {
  background: rgba(18, 119, 73, 0.1);
  border-color: rgba(18, 119, 73, 0.16);
  color: #127749;
}

.form-feedback-error {
  background: rgba(210, 0, 30, 0.08);
  border-color: rgba(210, 0, 30, 0.14);
  color: var(--brand);
}

.form-feedback-info {
  background: rgba(11, 42, 87, 0.08);
  border-color: rgba(11, 42, 87, 0.14);
  color: var(--deep);
}

/* fin alertas */

/* inicio cart */

.nav-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
}

.nav-cart-link .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.nav-cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* fin cart */

/* SWIPER */

.swiper-showcase-section.section {
  padding-top: 0;
  padding-bottom: 4rem;
  overflow: hidden;
}

.swiper-showcase-section .container {
  max-width: 1540px;
}

.swiper-heading {
  margin: 0;
}

.category-swiper {
  max-width: 1460px;
  padding: 1.5rem 5.5rem 2.5rem;
  margin: 0 auto;
  overflow: visible;
}

.category-swiper .swiper-wrapper {
  align-items: center;
}


.category-swiper .swiper-slide {
  width: 320px;
  transform: scale(0.88);
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0.55;
}

.category-swiper .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}


.showcase-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.showcase-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 28px;
  background: #eef2f7;
  box-shadow: var(--shadow);
  display: block;
}

.showcase-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1rem 1.25rem;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, transparent, rgba(11, 24, 48, 0.88));
}

.showcase-card h3 {
  margin: 0;
  text-align: center;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}


.category-swiper-prev,
.category-swiper-next {
  top: 46%;
  color: var(--brand);
  width: 54px;
  height: 54px;
  margin-top: 0;
  opacity: 0.96;
  visibility: visible;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(210, 0, 30, 0.16);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(13, 33, 59, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
  z-index: 3;
}

.category-swiper-prev {
  left: 0.75rem;
}

.category-swiper-next {
  right: 0.75rem;
}

.category-swiper:hover .category-swiper-prev,
.category-swiper:hover .category-swiper-next {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(13, 33, 59, 0.22);
  background: #ffffff;
  border-color: rgba(210, 0, 30, 0.24);
}

.category-swiper-prev::after,
.category-swiper-next::after {
  font-size: 1.95rem;
  font-weight: 800;
}

@media (max-width: 960px) {
  .swiper-showcase-section .container {
    max-width: 100%;
  }

  .category-swiper {
    max-width: 100%;
    padding: 1rem 2.75rem 2.5rem;
  }

  .category-swiper .swiper-slide {
    width: 260px;
    transform: scale(0.92);
  }

  .showcase-card img {
    height: 320px;
  }

  .showcase-card h3 {
    font-size: 1.12rem;
  }
}

@media (max-width: 640px) {
  .swiper-showcase-section.section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .category-swiper {
    max-width: 100%;
    padding: 1rem 0.5rem 2.25rem;
  }

  .category-swiper .swiper-slide {
    width: 220px;
    transform: scale(0.96);
    opacity: 1;
  }

  .showcase-card img {
    height: 280px;
  }

  .showcase-card h3 {
    font-size: 1.02rem;
  }

  .category-swiper-prev,
  .category-swiper-next {
    display: none;
  }
}


/* FIN SWIPER */

/* NUEVAS LLEGADAS */

.new-arrivals-section.section {
  padding-top: 0;
  padding-bottom: 4.5rem;
}

.new-arrivals-section .container {
  width: min(calc(100% - 2rem), 1540px);
  max-width: 1540px;
}

.new-arrivals-band {
  background: var(--brand);
}

.section-band-shared {
  margin-bottom: 1.9rem;
}

.new-arrivals-band .container {
  width: min(calc(100% - 2rem), 1540px);
  max-width: none;
}

.new-arrivals-band h2 {
  margin: 0;
  padding: 0.85rem 0 0.95rem;
  text-align: center;
  color: #fff;
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.new-arrivals-content {
  padding-top: 2rem;
}

.new-arrivals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.new-arrivals-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.new-arrivals-link {
  color: #1f33ff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.new-arrivals-swiper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0.5rem 0.75rem;
}

.new-arrivals-swiper .swiper-slide {
  height: auto;
}

.arrival-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(12, 31, 58, 0.08);
  box-shadow: 0 18px 35px rgba(13, 33, 59, 0.08);
  min-height: 100%;
}

.arrival-card-image-link {
  display: block;
  background: #fff;
}

.arrival-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: #fff;
}

.arrival-card-body {
  padding: 1rem 0.95rem 1.1rem;
}

.arrival-card-kicker {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.arrival-card-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.arrival-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.arrival-card-text,
.arrival-card-meta {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.arrival-card-price {
  margin: 0.85rem 0 0;
  color: var(--brand);
  font-weight: 800;
  font-size: 1rem;
}

.arrival-card-price-block {
  margin-top: 0.85rem;
}

.arrival-card-price-block .arrival-card-price {
  margin-top: 0.45rem;
}

.arrival-card-tax {
  display: grid;
  gap: 0.18rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(12, 31, 58, 0.08);
}

.arrival-card-tax-iva,
.arrival-card-tax-total {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.arrival-card-price-hidden {
  color: var(--deep);
  font-size: 0.92rem;
}

.new-arrivals-prev,
.new-arrivals-next {
  top: 31%;
  color: var(--brand);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(13, 33, 59, 0.18);
  border: 2px solid rgba(210, 0, 30, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.new-arrivals-prev::after,
.new-arrivals-next::after {
  font-size: 1.95rem;
  font-weight: 800;
}

.new-arrivals-prev {
  left: 0.70rem;
}

.new-arrivals-next {
  right: 0.70rem;
}

.new-arrivals-prev:hover,
.new-arrivals-next:hover,
.new-arrivals-prev:focus-visible,
.new-arrivals-next:focus-visible,
.category-swiper-prev:hover,
.category-swiper-next:hover,
.category-swiper-prev:focus-visible,
.category-swiper-next:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(13, 33, 59, 0.22);
  background: #ffffff;
  border-color: rgba(210, 0, 30, 0.24);
}

@media (max-width: 768px) {
  .new-arrivals-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .new-arrivals-swiper {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 560px) {
  .new-arrivals-link {
    font-size: 1.9rem;
  }

  .new-arrivals-swiper {
    padding-inline: 0.5rem;
  }

  .new-arrivals-prev,
  .new-arrivals-next {
    display: none;
  }
}

/* FIN NUEVAS LLEGADAS */

.brand-logo-only {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 320px;
  height: 54px;
  min-height: 0;
}
  
.brand-logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-logo-only:hover .brand-logo-image {
  transform: scale(1.06);
}


@media (max-width: 640px) {
  .topbar-inner {
    min-height: 74px;
  }

  .brand-logo-only {
    width: 240px;
    height: 46px;
  }

  .brand-logo-image {
    height: 46px;
  }
}


/*MODAL*/

.admin-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1200;
}

.admin-modal.is-open {
  display: block;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 35, 0.5);
  backdrop-filter: blur(4px);
}

.admin-modal-dialog {
  position: relative;
  width: min(calc(100% - 2rem), 920px);
  margin: 5rem auto 0;
  max-height: calc(100vh - 6rem);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(9, 23, 44, 0.22);
  overflow: hidden;
  animation: adminModalIn 0.2s ease;
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(11, 42, 87, 0.08);
}

.admin-modal-body {
  padding: 1.5rem;
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
}

.admin-modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 42, 87, 0.06);
  color: var(--deep);
  font-size: 1.6rem;
  line-height: 1;
}

.admin-modal-close:hover {
  background: rgba(11, 42, 87, 0.12);
}

.admin-image-editor {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-image-preview-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 0.85rem;
  border-radius: 22px;
  background: #f6f8fc;
  border: 1px solid rgba(11, 42, 87, 0.08);
}

.admin-image-preview {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.admin-image-editor-fields {
  display: grid;
  gap: 0.75rem;
}

.admin-image-upload-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-image-helper {
  margin: 0;
  color: #60789b;
  font-size: 0.95rem;
}

@keyframes adminModalIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* brick mercadopago */

.checkout-brick-container {
  margin: 1rem 0 1.25rem;
  min-height: 420px;
}

.checkout-order-state {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.checkout-state-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
}

.checkout-state-order {
  background: rgba(11, 42, 87, 0.08);
  border-color: rgba(11, 42, 87, 0.12);
  color: var(--deep);
}

.checkout-state-payment-pending {
  background: rgba(11, 42, 87, 0.08);
  border-color: rgba(11, 42, 87, 0.12);
  color: var(--deep);
}

.checkout-state-payment-paid {
  background: rgba(18, 119, 73, 0.1);
  border-color: rgba(18, 119, 73, 0.16);
  color: #127749;
}

.checkout-state-payment-failed,
.checkout-state-payment-cancelled {
  background: rgba(210, 0, 30, 0.08);
  border-color: rgba(210, 0, 30, 0.14);
  color: var(--brand);
}

.checkout-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.15rem;
}

.checkout-method-btn {
  min-height: 56px;
  padding: 0.85rem 0.8rem;
  border: 1px solid rgba(242, 15, 50, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  text-align: center;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.checkout-method-btn i {
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1;
}

.checkout-method-btn span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-method-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(210, 0, 30, 0.28);
}

.checkout-method-btn.is-active {
  background: rgba(210, 0, 30, 0.08);
  border-color: rgba(210, 0, 30, 0.36);
  color: var(--brand);
}

.checkout-method-panel {
  display: none;
}

.checkout-method-panel.is-active {
  display: block;
}

.checkout-methods[style*="display: none"] + .checkout-method-panel,
.checkout-methods[style*="display:none"] + .checkout-method-panel {
  display: none;
}

.checkout-method-copy {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-method-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--deep);
}

.checkout-method-list li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.checkout-offline-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 840px) {
  .admin-image-editor {
    grid-template-columns: 1fr;
  }

  .admin-image-preview-shell {
    min-height: 210px;
  }

  .admin-image-upload-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .checkout-method-btn {
    justify-content: flex-start;
    padding-inline: 1rem;
  }
}
