
.store-overline,.store-product__brand,.store-catalog__count {
  font-family: "PT Sans Caption", sans-serif;
  font-size: .72rem;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}
.store-catalog { padding: clamp(3rem, 7vw, 7rem) max(1.25rem, calc((100vw - 76rem) / 2)); background: var(--color-white); }
.store-catalog__heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-bottom: 1.7rem; border-bottom: 1px solid var(--color-grey); }
.store-overline { color: var(--color-primary-deep); margin: 0 0 .55rem; }
.store-overline > span { color: var(--color-accent); padding: 0 .25rem; }
.store-catalog__heading h2 { font-family: "Mada", sans-serif; color: var(--color-night); font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 600; letter-spacing: -.035em; line-height: .95; margin: 0; }
.store-catalog__count { color: var(--color-text); margin: 0 0 .2rem; white-space: nowrap; }
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 3.5rem;
}
@media (min-width: 1200px) {
  .store-grid {
    max-width: 76rem;
    margin-right: auto;
    margin-left: auto;
  }
}
.store-product { min-width: 0; border-bottom: 1px solid var(--color-grey); }
.store-product__image { display: block; aspect-ratio: 1; position: relative; overflow: hidden; background: transparent; }
.store-product__image:after { content: none; display: none; border: none; }
.store-product__image img { width: 100%; height: 100%; object-fit: contain; padding: 0; box-sizing: border-box; display: block; transition: transform .55s cubic-bezier(.2,.65,.3,1); }
.store-product__image:hover img { transform: scale(1.045); }
.store-product__body { padding: 1.15rem 0 1.35rem; }
.store-product__brand { color: var(--color-primary-deep); display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .7rem; }
.store-product__brand span { color: #718096; font-size: .64rem; white-space: nowrap; }
.store-product h3 { color: var(--color-night); font-family: "Mada", sans-serif; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.1; margin: 0; }
.store-product__description { color: var(--color-text); font-size: .83rem; line-height: 1.6; min-height: 4rem; margin: .7rem 0 1.1rem; }
.store-product__action { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--color-grey); padding: .9rem 0 0; color: var(--color-primary-deep); font-family: "PT Sans Caption", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .035em; }
.store-product__action span { color: var(--color-accent); font-size: 1.05rem; transition: transform .2s ease; }
.store-product__action:hover span { transform: translate(2px,-2px); }
.store-medical-note { border-left: 2px solid var(--color-accent); padding: .25rem 0 .25rem 1rem; max-width: 54rem; margin: 2rem 0 0; color: var(--color-text); font-size: .8rem; line-height: 1.65; }
.store-contact { display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: var(--color-gold); padding: clamp(2rem, 5vw, 4rem) max(1.25rem, calc((100vw - 76rem) / 2)); color: var(--color-night); }
.store-contact .store-overline { color: var(--color-primary-deep); }
body .store-contact p.store-overline { font-weight: 600; }
.store-contact h2 { font-family: "Mada", sans-serif; font-size: clamp(2.1rem, 4.8vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 0; max-width: 13ch; }
.store-contact__action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 1.25rem; padding: 1rem 1.15rem; border: 1px solid var(--color-night); color: var(--color-night); font-family: "PT Sans Caption", sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease,color .2s ease; }
.store-contact__action span { font-size: 1.1rem; }
.store-contact__action:hover { background: var(--color-night); color: white; }
@media (max-width: 1050px) {
  .store-grid { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.25rem; row-gap: 1.5rem; }
  .store-product__description { min-height: 0; }
}
@media (max-width: 680px) {
  .store-catalog { padding-top: 3rem; padding-bottom: 3.25rem; }
  .store-catalog__heading { align-items: flex-end; gap: 1rem; }
  .store-catalog__count { font-size: .63rem; }
  .store-grid { gap: 1.15rem .75rem; }
  .store-product__body { padding-top: .85rem; }
  .store-product__brand { font-size: .61rem; letter-spacing: .06em; }
  .store-product__brand span { font-size: .57rem; }
  .store-product h3 { font-size: clamp(1.15rem, 5vw, 1.55rem); }
  .store-product__description { font-size: .75rem; margin: .6rem 0 .85rem; }
  .store-product__action { font-size: .63rem; padding-top: .72rem; }
  .store-contact { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .store-grid { grid-template-columns: 1fr; }
  .store-product__brand { font-size: .7rem; }
  .store-product h3 { font-size: 1.55rem; }
}
.main-footer .footer-logo {
  display: none;
}

/* === Hero destacados: tarjeta uniforme y nombre sin sangrar (todos los viewports) === */
.section-topbannerhome .latest-work-slide .media { width: 40%; }
.section-topbannerhome .latest-work-slide .content { width: 60%; }
.section-topbannerhome .latest-work-slide .content > * { min-width: 0; overflow-wrap: anywhere; }
.section-topbannerhome .latest-work-slide .content h3 { font-size: 15px; line-height: 1.3; margin-bottom: .4em; }

@media screen and (width: 1640px) and (height: 932px) {
  .store-grid {
    align-items: stretch;
  }
  .store-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
  }
  .store-product__image { display: block; aspect-ratio: 1; position: relative; overflow: hidden; background: transparent; }
  .store-product__body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .store-product h3,
  .store-product__description,
  .store-product__action {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .store-product__action {
    margin-top: auto;
  }
  .store-contact h2 {
    font-size: 55px;
    font-weight: 700;
  }
  .main-footer > a.logo {
    width: 100%;
  }
  .main-footer .footer-name {
    display: none;
  }
  .main-footer .footer-logo {
    display: block;
    width: min(100%, 24rem);
    height: auto;
  }
  #catalogo > p.store-medical-note,
  .store-medical-note {
    font-size: 12px;
    margin-top: 100px;
    margin-bottom: -100px;
    text-align: center;
    white-space: nowrap;
    border-left: none;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-product__image img,.store-product__action span { transition: none; }
}

/* === Sección CTA Quote Postoperatorio (520px ancho completo) === */
.store-quote-cta {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.store-quote-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.store-quote-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Overlay oscuro de alto contraste garantizado */
.store-quote-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.82) 0%, rgba(10, 20, 40, 0.74) 50%, rgba(10, 20, 40, 0.88) 100%);
  z-index: 2;
}

.store-quote-cta__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 58rem;
  padding: 2rem 1.5rem;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.store-quote-cta__kicker {
  font-family: "PT Sans Caption", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00E5AE;
  text-shadow: none;
  margin: 0 0 1rem;
}

.store-quote-cta__quote {
  font-family: "Mada", sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 auto 1.35rem;
  letter-spacing: -0.02em;
  text-shadow: none;
  max-width: 52rem;
}

.store-quote-cta__author {
  font-family: "PT Sans Caption", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: #EBF3FF;
  text-shadow: none;
  margin: 0 0 1.85rem;
}

.store-quote-cta__action-wrap {
  display: flex;
  justify-content: center;
}

.store-quote-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 2rem;
  background: var(--color-accent);
  color: var(--color-night);
  font-family: "PT Sans Caption", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: none;
}

.store-quote-cta__btn span:last-child {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.store-quote-cta__btn:hover {
  background: #ffffff;
  color: var(--color-night);
  transform: translateY(-2px);
  box-shadow: none;
}

.store-quote-cta__btn:hover span:last-child {
  transform: translate(2px, -2px);
}

/* Nota médica: en una sola línea centrada en relación a la web y con margen equilibrado */
.store-medical-note {
  border-left: none;
  padding: 0;
  max-width: 100%;
  width: 100%;
  margin: 2.5rem auto 3.5rem auto;
  text-align: center;
  color: var(--color-text);
  font-size: 0.82rem;
  line-height: 1.65;
  white-space: nowrap;
  display: block;
}

@media screen and (width: 1640px) and (height: 891px),
       screen and (width: 1640px) and (height: 895px) {
  #catalogo > p.store-medical-note {
    margin-top: 150px;
  }
}

@media screen and (width: 1640px) and (height: 895px) {
  #catalogo > p.store-medical-note {
    margin-bottom: -104px;
  }
}

@media (max-width: 1100px) {
  .store-medical-note {
    white-space: normal;
    max-width: 54rem;
  }
}

@media (max-width: 680px) {
  .store-quote-cta {
    height: auto;
    min-height: 480px;
    padding: 3.5rem 0;
  }
  .store-quote-cta__quote {
    font-size: 1.35rem;
    line-height: 1.4;
  }
}

/* ==========================================================================
   Etiquetas informativas nutricionales (DIGESA) y modal lightbox
   ========================================================================== */
.store-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 1.5rem;
}

.store-product__label-box {
  margin: 0.9rem 0 1rem 0;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.store-product__label-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-family: "PT Sans Caption", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.store-product__label-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-primary-deep);
  font-weight: 700;
  text-transform: uppercase;
}

.store-product__label-tag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.store-product__label-reg {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 600;
}

.store-product__label-thumb {
  display: block;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #edf2f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.store-product__label-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.store-product__label-thumb:hover img {
  transform: scale(1.05);
}

.store-product__label-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
  font-family: "PT Sans Caption", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 0.4rem;
}

.store-product__label-thumb:hover .store-product__label-overlay {
  opacity: 1;
}

/* Lightbox Modal para etiquetas informativas */
.label-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.label-modal.is-active {
  display: flex;
  opacity: 1;
}

.label-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.label-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.label-modal__title {
  margin: 0;
  font-family: "Mada", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
}

.label-modal__close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.label-modal__close:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.label-modal__body {
  padding: 1.25rem;
  overflow-y: auto;
  text-align: center;
  background: #0f172a;
}

.label-modal__body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.label-modal__footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
}

.label-modal__footer a {
  color: var(--color-primary-deep);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 2.75rem;
  }
}

@media (max-width: 640px) {
  .store-grid {
    grid-template-columns: 1fr;
    row-gap: 2.25rem;
  }
  .label-modal {
    padding: 0.75rem;
  }
  .label-modal__header {
    padding: 0.75rem 1rem;
  }
}
