:root {
  --brand-red: #af221e;
  --brand-blue: #1f3458;
  --brand-yellow: #e9d647;
  --brand-gray: #e2e2e1;
  --text: #4a4a4a;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --container: 1180px;
  --font: "Montserrat", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ─── HEADER ─────────────────────────────────────────────── */

.site-header {
  background: var(--white);
}

.site-header__hero-brand {
  display: flex;
  justify-content: center;
  padding: 18px 16px 14px;
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-logo--hero {
  width: min(280px, 72vw);
  height: auto;
}

.site-logo--sticky {
  width: 88px;
  height: auto;
}

/* ─── CATALOG HEADER (paginas internas) ──────────────────── */

.catalog-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--white);
  border-bottom: 1px solid #d5d5d5;
}

.catalog-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 96px;
  padding: 14px 0;
}

.catalog-header__logo {
  flex-shrink: 0;
}

.catalog-header__logo img {
  width: min(250px, 42vw);
  height: auto;
}

.catalog-header__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.catalog-header__link,
.catalog-header__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease;
}

.catalog-header__link:hover,
.catalog-header__trigger:hover {
  color: var(--brand-blue);
}

.catalog-header__link.is-active,
.catalog-header__trigger.is-active,
.catalog-header__dropdown.is-open .catalog-header__trigger,
.catalog-header__dropdown.is-open .catalog-header__link {
  color: var(--brand-red);
}

.catalog-header__divider {
  width: 1px;
  height: 22px;
  background: #b8b8b8;
  flex-shrink: 0;
}

.catalog-header__dropdown {
  position: relative;
}

.catalog-header__split {
  display: inline-flex;
  align-items: stretch;
}

.catalog-header__split .catalog-header__link {
  padding-right: 6px;
}

.catalog-header__trigger--arrow {
  min-width: 30px;
  padding: 0 6px;
}

.catalog-header__trigger .material-symbols-outlined {
  font-size: 20px;
}

.catalog-header__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--brand-gray);
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(31, 52, 88, 0.16);
  transform: translateX(-50%);
}

.catalog-header__dropdown.is-open .catalog-header__menu,
.catalog-header__dropdown:hover .catalog-header__menu,
.catalog-header__dropdown:focus-within .catalog-header__menu,
.catalog-header__menu:hover {
  display: block;
}

.catalog-header__menu a {
  display: block;
  padding: 10px 16px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: background 160ms ease, color 160ms ease;
}

.catalog-header__menu a:hover {
  background: var(--brand-gray);
  color: var(--brand-red);
}

@media (hover: hover) {
  .catalog-header__dropdown:hover .catalog-header__trigger,
  .catalog-header__dropdown:focus-within .catalog-header__trigger {
    color: var(--brand-blue);
  }

  .catalog-header__dropdown--catalog:hover .catalog-header__link,
  .catalog-header__dropdown--catalog:focus-within .catalog-header__link {
    color: var(--brand-red);
  }
}

/* ─── NAV BAR ────────────────────────────────────────────── */

.site-nav-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: var(--brand-red);
}

.site-nav-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 0;
}

.site-nav-bar__logo {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-12px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.site-nav-bar.is-scrolled .site-nav-bar__logo {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.site-nav-bar.is-scrolled .site-nav-bar__inner {
  padding-left: 96px;
  padding-right: 96px;
}

.site-nav-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav__link,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 160ms ease, background 160ms ease, color 160ms ease;
}

.site-nav__link:hover,
.site-nav__trigger:hover,
.site-nav__link.is-active,
.site-nav__dropdown.is-open .site-nav__trigger,
.site-nav__dropdown.is-open .site-nav__link--split {
  opacity: 1;
  color: var(--brand-yellow);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav__link:not(.is-active) {
  opacity: 0.95;
}

.site-nav__divider {
  width: 2px;
  height: 22px;
  background: var(--white);
  flex-shrink: 0;
}

.site-nav__divider--cluster {
  margin-inline: 6px;
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--brand-gray);
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(31, 52, 88, 0.16);
  transform: translateX(-50%);
}

.site-nav__dropdown.is-open .site-nav__menu,
.site-nav__dropdown:hover .site-nav__menu,
.site-nav__dropdown:focus-within .site-nav__menu,
.site-nav__menu:hover {
  display: block;
}

.site-nav__menu a {
  display: block;
  padding: 10px 16px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav__menu a:hover {
  background: var(--brand-gray);
  color: var(--brand-red);
}

@media (hover: hover) {
  .site-nav__dropdown:hover .site-nav__trigger,
  .site-nav__dropdown:focus-within .site-nav__trigger {
    background: rgba(255, 255, 255, 0.08);
  }
}

.site-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-social a,
.site-social__trigger {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-social img {
  width: 28px;
  height: 28px;
}

.site-social__dropdown {
  position: relative;
}

.site-social__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 150px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--brand-gray);
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(31, 52, 88, 0.16);
}

.site-social__dropdown.is-open .site-social__menu {
  display: block;
}

.site-social__menu a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.site-social__menu a:hover {
  background: var(--brand-gray);
  color: var(--brand-red);
}

.site-social__trigger:hover,
.site-social__dropdown.is-open .site-social__trigger {
  transform: scale(1.03);
}

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  width: 100%;
}

.hero img {
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
}

/* ─── CATEGORY STRIP ─────────────────────────────────────── */

.category-strip {
  background: var(--brand-blue);
  padding: 42px 20px 48px;
}

.category-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.category-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  color: var(--white);
  transition: transform 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card img {
  width: min(150px, 100%);
  height: auto;
}

.category-card span {
  font-size: 18px;
  font-weight: 600;
}

/* ─── INTRO ──────────────────────────────────────────────── */

.intro {
  padding: 56px 0 64px;
  background: var(--white);
}

.intro__title {
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  max-width: 600px;
  text-align: center;
  line-height: 1.05;
}

.intro__grid {
  display: grid;
  grid-template-columns: 450px 450px;
  justify-content: center;
  gap: 30px;
}

.intro__copy {
  position: relative;
  padding-left: 40px;
}

.intro__copy::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: url("../assets/FONDO ICONO.svg") center / contain no-repeat;
  pointer-events: none;
}

.intro__copy p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.intro__media {
  margin: 0;
  aspect-ratio: 1 / 1;
}

.intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── CATALOG PREVIEW ────────────────────────────────────── */

.catalog-preview {
  padding: 32px 0 0;
  background: var(--brand-gray);
  border-top: 10px solid var(--brand-yellow);  
  overflow: hidden;
}

.catalog-preview__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  text-align: center;
}

.catalog-preview__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding: 0 120px 0px;
}

.catalog-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
}

.catalog-card:first-child {
  align-self: flex-start; /* alineada a la izquierda */
  transform: none;
}

.catalog-card--reverse {
  align-self: flex-end;   /* alineada a la derecha */
  margin-top: 0;          /* ya lo controla el gap del grid */
  transform: none;
}

.catalog-card__image {
  width: min(440px, 42vw);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.catalog-card:hover .catalog-card__image {
  transform: scale(1.02);
}

.catalog-card__label {
  flex-shrink: 0;
  color: black;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

/* ─── FEATURED ───────────────────────────────────────────── */

.featured {
  background: var(--white);
}

.featured__banner {
  position: relative;
  min-height: 120px;
  padding: 28px 20px;
  background-color: var(--brand-red);
  background-image: url("../assets/BARRA ROJA COMPLET.svg");
  background-size: cover;
  background-position: center;
  border-bottom: 10px solid var(--brand-blue);
  border-top: 10px solid var(--brand-blue);
}

.featured__banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.featured__banner h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
}

.featured__seal {
  width: min(110px, 22vw);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.6));
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  padding: 42px 0 56px;
}

/* ─── PRODUCT CARD ───────────────────────────────────────── */

.product-card {
  display: grid;
  gap: 10px;
  text-align: center;
}

.product-card__image {
  position: relative;
  display: block;
  min-height: 170px;
  padding: 12px;
  background: var(--white);
  overflow: hidden;
}

.product-card__image img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-height: 150px;
  object-fit: contain;
  transition: opacity 220ms ease, transform 220ms ease;
  opacity: 1;
  display: block;
  pointer-events: none;
}

/* If there are multiple images, stack them and show secondary on hover */
.product-card__image.has-multiple img.secondary {
  opacity: 0;
}

.product-card:hover .product-card__image.has-multiple img.primary {
  opacity: 0;
}

.product-card:hover .product-card__image.has-multiple img.secondary {
  opacity: 1;
}

.product-card__name {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.product-card__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.product-card__cta {
  width: min(220px, 100%);
  height: auto;
  margin-inline: auto;
  transition: transform 160ms ease;
}

.product-card:hover .product-card__cta {
  transform: scale(1.03);
}

.product-card__placeholder {
  padding: 48px 16px;
  color: var(--text-muted);
  text-align: center;
}

.product-rating {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.product-rating .filled,
.product-rating .half {
  color: #f7c948;
  font-variation-settings:
    'FILL' 1,
    'wght' 500,
    'GRAD' 0,
    'opsz' 24;
}

.product-rating .empty {
  color: #d1d5db;
  font-variation-settings:
    'FILL' 0,
    'wght' 500,
    'GRAD' 0,
    'opsz' 24;
}

.product-rating__value {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.product-rating .material-symbols-outlined {
  font-size: 18px;
}

/* ─── PAYMENT METHODS ────────────────────────────────── */

.payment-methods {
  padding: 44px 20px 50px;
  background: var(--brand-yellow);
  border-bottom: 10px solid var(--brand-red);
  border-top: 10px solid var(--brand-red);
}

.payment-methods__header {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.payment-methods__header h2 {
  margin: 0 0 10px;
  color: black;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
}

.payment-methods__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin-inline: auto;
  align-items: center;
}

.payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 18px;
}

.payment-method img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
}

@media (max-width: 960px) {
  .payment-methods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .payment-methods__grid {
    grid-template-columns: 1fr;
  }
}


/* ─── SOCIAL FEED ──────────────────────────────────────── */

.social-feed {
  padding: 52px 20px 56px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.social-feed__header {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.social-feed__header h2 {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
}

.social-feed__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.social-feed__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.social-feed__card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.06);
  height: 100%;
}

.social-feed__card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.social-feed__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-feed__card h3 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 18px;
}

.social-feed__card .fb-page {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* Make embedded content fill the card and keep both cards same height */
.social-feed__card blockquote.instagram-media,
.social-feed__card .fb-page {
  flex: 1 1 auto;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 320px;
}

@media (max-width: 840px) {
  .social-feed__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CLIENTS ────────────────────────────────────────────── */

.clients {
  padding: 52px 0 48px;
  background: var(--white);
}

.clients__title {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  text-align: center;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
}

.clients__grid img {
  width: 100%;
  max-height: 90px;
  margin-inline: auto;
  object-fit: contain;
}

/* ─── LOCATION ───────────────────────────────────────────── */

.location {
  background: var(--brand-gray);
  padding-bottom: 80px;
}

.location__title {
  margin: 0;
  padding: 22px 16px;
  color: var(--text-muted);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  text-align: center;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.footer__map {
  position: relative;
  line-height: 0;
  margin-top: -80px;
}

.footer__map img {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
}

.site-footer {
  background: var(--brand-red);
  color: var(--white);
}

.site-footer__main {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 0 20px 30px;
  text-align: center;
}

.site-footer__logo {
  width: min(200px, 28vw);
  height: auto;
}

.site-footer__legal {
  margin: 0;
  padding: 12px 16px;
  background: var(--brand-blue);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  text-align: center;
}

.site-footer__main a {
  color: var(--white);
}

/* ─── NAV SPLIT (PRODUCTOS) ──────────────────────────────── */

.site-nav__split {
  display: inline-flex;
  align-items: stretch;
}

.site-nav__link--split {
  padding-right: 8px;
}

.site-nav__trigger--arrow {
  min-width: 34px;
  padding: 0 8px;
}

.site-nav__trigger--arrow .material-symbols-outlined {
  font-size: 22px;
}

/* ─── CATALOG PAGES ──────────────────────────────────────── */

.page-hero {
  min-height: 120px;
  padding: 28px 20px 24px;
  background-color: var(--brand-red);
  background-image: url("../assets/BARRA ROJA COMPLET.svg");
  background-size: cover;
  background-position: center;
}

.page-hero__inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.page-hero__title {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.page-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
}

.page-hero__breadcrumbs a {
  color: var(--white);
  transition: opacity 160ms ease;
}

.page-hero__breadcrumbs a:hover {
  opacity: 0.85;
}

.page-hero__sep {
  opacity: 0.75;
}

.catalog-page {
  padding: 42px 0 56px;
  background: var(--white);
}

.catalog-page--product {
  padding-bottom: 48px;
}

.catalog-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
}

.catalog-page__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  padding-block: 8px;
}

.catalog-page__status {
  margin: 0;
  padding: 48px 16px;
  color: var(--text-muted);
  text-align: center;
}

.catalog-page__status--error {
  color: var(--brand-red);
}

.catalog-all-products {
  display: grid;
  gap: 22px;
  margin-top: 44px;
}

.catalog-all-products__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #d8d8d8;
  padding-top: 28px;
}

.catalog-all-products__header h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-search {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
}

.catalog-search__label {
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-search__input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfcfcf;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  outline: none;
}

.catalog-search__input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(218, 37, 29, 0.12);
}

.catalog-line-card {
  display: grid;
  gap: 0;
  transition: transform 180ms ease;
}

.catalog-line-card:hover {
  transform: translateY(-4px);
}

.catalog-line-card__frame {
  display: block;
  aspect-ratio: 1 / 1;
  padding: 8px;
  border: 3px solid var(--brand-red);
  background: var(--white);
}

.catalog-line-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-line-card__label-img {
  width: 100%;
  height: auto;
}

.catalog-line-card__label-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  background: var(--brand-blue);
}

.catalog-line-card__check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.catalog-line-card__label-text {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-line-card--category .catalog-line-card__frame img {
  object-fit: cover;
}

.catalog-line-card__frame--all {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(0, 52, 101, 0.72), rgba(0, 52, 101, 0.72)),
    url("../assets/PRISMA.jpg") center / cover;
}

.catalog-line-card__all-count {
  display: grid;
  place-items: center;
  width: min(190px, 82%);
  min-height: 74px;
  border: 2px solid var(--white);
  padding: 12px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #d8d8d8;
  padding-top: 20px;
}

.catalog-pagination__summary,
.catalog-pagination__actions span,
.catalog-pagination__size {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.catalog-pagination__size {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-pagination__size select {
  min-height: 36px;
  border: 1px solid #cfcfcf;
  padding: 0 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.catalog-pagination__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-pagination__actions button {
  min-height: 38px;
  border: 1px solid var(--brand-blue);
  padding: 0 14px;
  background: var(--white);
  color: var(--brand-blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.catalog-pagination__actions button:hover:not(:disabled) {
  background: var(--brand-blue);
  color: var(--white);
}

.catalog-pagination__actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* ─── PRODUCT DETAIL ─────────────────────────────────────── */

.product-detail {
  display: grid;
  gap: 28px;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.product-detail__media {
  margin: 0;
  padding: 18px;
  border: 1px solid #d8d8d8;
  background: var(--white);
}

.product-detail__main-image {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.product-detail__media img {
  width: 100%;
  max-height: 420px;
  margin-inline: auto;
  object-fit: contain;
}

.product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.product-detail__thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid #d8d8d8;
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-detail__thumb:hover,
.product-detail__thumb.is-active {
  border-color: var(--brand-red);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.product-detail__thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.product-detail__placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: var(--text-muted);
}

.product-detail__summary {
  padding: 24px 22px;
  border: 1px solid #d8d8d8;
  background: var(--white);
}

.product-detail__heading {
  margin: 0 0 18px;
  color: var(--brand-blue);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-detail__specs {
  margin: 0 0 20px;
}

.product-detail__spec {
  margin-bottom: 14px;
}

.product-detail__spec dt {
  margin: 0 0 4px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-detail__spec dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.product-detail__availability {
  margin: 0 0 22px;
  font-size: 15px;
}

.product-detail__availability strong {
  color: var(--brand-blue);
}

.product-detail__order {
  display: inline-block;
  transition: transform 160ms ease;
}

.product-detail__order:hover {
  transform: scale(1.03);
}

.product-detail__order img {
  width: min(240px, 100%);
  height: auto;
}


.product-detail__related {
  display: grid;
  gap: 18px;
}

.product-detail__related h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-detail__related-grid {
  padding-block: 0;
}

.product-card__link {
  display: grid;
  gap: 10px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 980px) {
  .catalog-header__inner {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: 16px 0;
  }

  .catalog-header__nav {
    justify-content: center;
  }

  .site-nav-bar__inner {
    padding-inline: 8px;
    justify-content: flex-start;
  }

  .site-nav-bar.is-scrolled .site-nav-bar__logo {
    position: static;
    transform: none;
    margin-right: 8px;
  }

  .site-nav-cluster {
    flex: 1;
    justify-content: center;
  }

  .site-nav__link,
  .site-nav__trigger {
    padding: 0 12px;
    font-size: 13px;
  }

  .category-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro__grid {
    grid-template-columns: 1fr;
  }

  .featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-page__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail__layout {
    grid-template-columns: 1fr;
  }

  .clients__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-header__link,
  .catalog-header__trigger {
    padding: 0 10px;
    font-size: 12px;
  }

  .catalog-header__divider {
    height: 18px;
  }

  .catalog-page__grid,
  .catalog-page__products {
    grid-template-columns: 1fr;
  }

  .catalog-all-products__header {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-pagination__actions {
    justify-content: space-between;
  }

  .site-nav-cluster {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav__divider--cluster {
    display: none;
  }

  .site-social {
    justify-content: center;
    width: 100%;
  }

  .site-nav__link,
  .site-nav__trigger {
    font-size: 12px;
    padding: 0 10px;
  }
}

/* ─── INTRO responsive fix ───────────────────────────────── */
@media (max-width: 980px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr; /* mantiene 2 columnas */
    gap: 16px;
  }

  .intro__copy {
    padding-left: 16px;
  }

  .intro__copy::before {
    display: none; /* oculta el SVG de fondo que distorsiona */
  }

  .intro__media {
    aspect-ratio: auto;
  }
}

/* ─── CATALOG PREVIEW responsive fix ────────────────────── */
@media (max-width: 640px) {
  .catalog-preview__grid {
    padding: 0 20px;
    gap: 40px;
  }

  .catalog-card,
  .catalog-card--reverse {
    align-self: center;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
  }

  .catalog-card__image {
    width: min(50%, 280px);
    margin-top: 0;
    flex-shrink: 0;
  }

  .catalog-card__label {
    white-space: normal;
    order: 1;
  }

  .catalog-card--reverse {
    flex-direction: row;
  }

  .catalog-card--reverse .catalog-card__image {
    order: 0;
  }

  .catalog-card--reverse .catalog-card__label {
    order: 1;
  }
}

@media (max-width: 640px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .intro__copy p {
    font-size: 13px;
  }
}

/* ─── ABOUT SECTION (Quienes Somos) ────────────────────── */

.about-section {
  padding: 60px 20px;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-block h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-red);
  margin: 0 0 16px 0;
}

.about-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.certification-image-wrapper {
  max-width: 250px;
  margin-top: 20px;
}

.certification-image-wrapper a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.certification-image-wrapper a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.certification-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image--guarantee {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.guarantee-seal {
  width: min(280px, 100%);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.guarantee-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guarantee-list {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  padding-left: 20px;
  margin: 16px 0;
}

.guarantee-list li {
  margin-bottom: 12px;
}

.guarantee-list ul {
  margin-top: 8px;
  padding-left: 20px;
}

.guarantee-list ul li {
  margin-bottom: 8px;
  font-size: 13px;
}

.about-image--policies {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.policy-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image--services {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.service-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-block h2 {
    font-size: 24px;
  }

  .about-block p {
    font-size: 14px;
  }

  .about-section {
    padding: 40px 20px;
  }
}

