:root {
  --brand-red: #b11226;
  --brand-black: #0a0a0b;
  --brand-white: #ffffff;
  --brand-offwhite: #f3efe6;
  --brand-line: rgba(10, 10, 11, 0.12);
  --brand-line-strong: rgba(177, 18, 38, 0.24);
  --brand-muted: #5f5a53;
  --brand-soft-red: rgba(177, 18, 38, 0.08);
  --shadow-soft: 0 20px 48px rgba(10, 10, 11, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--brand-black);
  background: var(--brand-offwhite);
  font-family: "Poppins", "Segoe UI", sans-serif;
}

body.is-modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(calc(100% - 28px), var(--content-width));
  margin: 0 auto;
  padding: 20px 0 36px;
}

.hero,
.brand-strip,
.toolbar,
.results-bar,
.footer-cta,
.empty-state {
  background: var(--brand-white);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-soft);
}

.hero {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  justify-items: center;
}

.hero__brand {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.hero__logo {
  width: min(100%, 360px);
  height: auto;
  display: block;
  margin-inline: auto;
}

.hero__brand .eyebrow {
  margin-top: 8px;
}

.eyebrow,
.filter-section__label,
.footer-cta__eyebrow,
.product-modal__eyebrow,
.product-modal__section-title {
  margin: 0;
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__kicker {
  margin: 0;
  color: var(--brand-red);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  justify-self: center;
  text-align: center;
}

.hero h1,
.footer-cta h2,
.results-bar__count,
.empty-state__title,
.product-card__title,
.product-modal__heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Book Antiqua", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 6vw, 3.95rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero__copy {
  display: grid;
  gap: 12px;
  width: min(100%, 42rem);
  max-width: 42rem;
  justify-self: start;
  justify-items: start;
  text-align: left;
}

.hero__headline {
  display: grid;
  gap: 8px;
}

.hero__headline-main {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.78rem, 5.2vw, 3.45rem);
}

.hero__headline-accent {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-right: 14px;
  color: var(--brand-red);
  font-size: clamp(1.48rem, 4.35vw, 2.7rem);
  font-style: italic;
  line-height: 0.96;
}

.hero__headline-accent::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 55%;
  width: clamp(28px, 6vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, rgba(177, 18, 38, 0.55), rgba(177, 18, 38, 0));
}

.brand-strip p,
.results-bar__summary,
.empty-state__copy,
.site-footer p,
.product-modal__copy,
.note-card p {
  color: var(--brand-muted);
  line-height: 1.75;
}

.results-bar__actions,
.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

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

.button--solid {
  color: var(--brand-white);
  background: var(--brand-red);
  box-shadow: 0 12px 24px rgba(177, 18, 38, 0.18);
}

.button--ghost {
  color: var(--brand-black);
  background: transparent;
  border-color: var(--brand-line);
}

.button--soft {
  color: var(--brand-red);
  background: var(--brand-soft-red);
  border-color: rgba(177, 18, 38, 0.14);
}

.button--compact {
  min-height: 42px;
  padding-inline: 16px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.26);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.brand-strip,
.footer-cta,
.results-bar,
.toolbar,
.empty-state {
  margin-top: 18px;
}

.brand-strip,
.results-bar,
.toolbar,
.empty-state,
.footer-cta {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.brand-strip {
  border-left: 4px solid var(--brand-red);
}

.toolbar {
  display: grid;
  gap: 18px;
}

.toolbar__top {
  display: grid;
  gap: 14px;
}

.search-field {
  display: grid;
  gap: 10px;
  color: var(--brand-black);
  font-size: 0.94rem;
  font-weight: 500;
}

.search-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--brand-black);
  background: var(--brand-offwhite);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  outline: none;
}

.search-field input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(177, 18, 38, 0.08);
}

.filter-section {
  display: grid;
  gap: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  color: var(--brand-muted);
  background: var(--brand-white);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

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

.chip.is-active {
  color: var(--brand-white);
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.results-bar {
  display: grid;
  gap: 16px;
}

.results-bar__count {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1;
}

.results-bar__summary {
  margin: 6px 0 0;
}

.catalog-sort {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.catalog-sort__button.is-active {
  color: var(--brand-white);
  background: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 12px 24px rgba(177, 18, 38, 0.16);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.product-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  text-align: left;
  background: var(--brand-white);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  animation: card-rise 360ms ease both;
  animation-delay: var(--delay, 0ms);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--brand-line-strong);
  box-shadow: 0 22px 42px rgba(10, 10, 11, 0.08);
}

.product-card__reference {
  color: var(--brand-black);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-card__visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--brand-offwhite);
  border: 1px solid rgba(177, 18, 38, 0.1);
}

.product-card__visual img {
  width: min(100%, 180px);
  max-height: 100%;
  height: auto;
}

.product-card__eyebrow {
  color: var(--brand-red);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

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

.product-card__title {
  font-size: clamp(1.2rem, 4.6vw, 1.68rem);
  line-height: 1.05;
  color: var(--brand-black);
}

.product-card__code,
.product-card__audience {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__code {
  color: var(--brand-red);
  background: var(--brand-soft-red);
}

.product-card__audience {
  color: var(--brand-black);
  background: var(--brand-offwhite);
  border: 1px solid var(--brand-line);
}

.product-card__audience[data-audience*="Compart"] {
  color: var(--brand-red);
  border-color: var(--brand-line-strong);
}

.product-card__profile {
  margin: 8px 0 0;
  color: var(--brand-red);
  font-size: 0.98rem;
  font-weight: 500;
}

.product-card__tags,
.product-card__sizes,
.product-modal__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.size-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
}

.tag {
  color: var(--brand-black);
  background: var(--brand-offwhite);
  border: 1px solid var(--brand-line);
}

.size-pill {
  color: var(--brand-red);
  background: rgba(177, 18, 38, 0.04);
  border: 1px solid rgba(177, 18, 38, 0.16);
}

.note-grid {
  display: grid;
  gap: 12px;
}

.note-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-white);
  border: 1px solid rgba(10, 10, 11, 0.08);
}

.note-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-red);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-card p {
  margin: 0;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(6px);
}

.product-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  background: var(--brand-white);
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(10, 10, 11, 0.26);
}

.product-modal__close {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--brand-muted);
  background: var(--brand-offwhite);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
}

.product-modal__content {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.product-modal__hero {
  display: grid;
  gap: 16px;
}

.product-modal__visual {
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 24px;
  background: var(--brand-offwhite);
  border: 1px solid rgba(177, 18, 38, 0.1);
}

.product-modal__visual img {
  width: min(100%, 260px);
  height: auto;
}

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

.product-modal__heading {
  display: grid;
  gap: 6px;
}

.product-modal__heading h2 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 0.96;
}

.product-modal__copy {
  margin: 0;
}

.product-modal__whatsapp {
  width: fit-content;
  gap: 10px;
}

.product-modal__whatsapp svg {
  width: 20px;
  height: 20px;
}

.product-modal__notes {
  display: grid;
  gap: 12px;
}

.empty-state {
  text-align: center;
}

.empty-state__title {
  font-size: clamp(2rem, 6vw, 3rem);
}

.empty-state__copy {
  max-width: 44ch;
  margin: 10px auto 0;
}

.footer-cta {
  display: grid;
  gap: 18px;
  border-top: 3px solid var(--brand-red);
}

.footer-cta h2 {
  margin-top: 10px;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 0.96;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 4px 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.noscript-warning {
  padding: 16px;
  margin: 16px;
  color: var(--brand-white);
  background: var(--brand-black);
  border-radius: var(--radius-sm);
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (min-width: 760px) {
  .page-shell {
    width: min(calc(100% - 48px), var(--content-width));
    padding-top: 26px;
  }

  .hero {
    padding: 30px;
  }

  .toolbar__top,
  .results-bar,
  .footer-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

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

  .product-modal__hero {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
    align-items: start;
  }

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

@media (max-width: 759px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .product-modal {
    padding: 12px;
  }

  .product-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 16px;
    border-radius: 22px;
  }
}

@media (min-width: 1120px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
