:root {
  --orange: #f28a00;
  --orange-dark: #c66f00;
  --charcoal: #15191a;
  --ink: #252829;
  --muted: #67706f;
  --line: #e8e1d4;
  --cream: #fff7ea;
  --cream-strong: #f3dfbf;
  --white: #ffffff;
  --surface: #fafafa;
  --shadow: 0 14px 34px rgba(21, 25, 26, 0.09);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.cart-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--line);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--charcoal);
  font-size: 1.04rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 10px 12px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--cream);
  outline: none;
}

.mobile-nav-link {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-action,
.nav-toggle,
.close-cart {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
}

.icon-action {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
}

.cart-icon {
  color: var(--orange);
  font-size: 1.25rem;
  line-height: 1;
}

.quote-count,
.floating-cart strong {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.73rem;
  line-height: 1;
}

.icon-action .quote-count {
  position: absolute;
  top: -6px;
  right: -6px;
}

.whatsapp-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  padding: 0 16px;
}

.whatsapp-link,
.primary-button {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--charcoal);
}

.whatsapp-link:hover,
.primary-button:hover,
.primary-button:focus-visible {
  background: #ff9a12;
  outline: none;
}

.secondary-button {
  border: 1px solid var(--charcoal);
  background: var(--white);
  color: var(--charcoal);
}

.secondary-button.dark {
  background: var(--charcoal);
  color: var(--white);
}

.secondary-button.quiet {
  border-color: var(--line);
  background: #fffdf9;
  color: #a33423;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--charcoal);
}

main {
  overflow: hidden;
}

.hero,
.benefits-section,
.catalog-promo,
.catalog-hero,
.product-lines-section,
.products-section,
.about-section,
.contact-section {
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 54px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  min-height: calc(88vh - var(--header-height));
  gap: clamp(24px, 5vw, 72px);
  background-color: var(--white);
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 251, 242, 0.98) 0%,
      rgba(255, 251, 242, 0.92) 36%,
      rgba(255, 255, 255, 0.6) 58%,
      rgba(255, 255, 255, 0) 78%
    ),
    url("../assets/img/herma/fondo-hero-herma.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.corporate-hero {
  min-height: calc(92vh - var(--header-height));
}

.eyebrow,
.section-heading span,
.about-copy span,
.contact-card span,
.cart-header span {
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-card h2,
.cart-header h2 {
  margin: 8px 0 0;
  color: var(--charcoal);
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  overflow-wrap: break-word;
}

.hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero .hero-subtitle {
  color: var(--charcoal);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  overflow-wrap: break-word;
}

.hero .hero-description {
  max-width: 680px;
  margin-top: 12px;
  color: var(--muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-panel div {
  display: grid;
  gap: 4px;
  text-align: center;
}

.hero-panel strong {
  color: var(--charcoal);
  font-size: 2.2rem;
  line-height: 1;
}

.hero-panel span {
  color: var(--muted);
  font-weight: 700;
}

.trust-panel {
  align-content: center;
}

.trust-stat {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.trust-stat strong {
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  letter-spacing: 0;
}

.trust-stat span {
  display: block;
  max-width: 28ch;
  margin: 0 auto;
  overflow-wrap: break-word;
}

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

.trust-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 900;
  padding: 10px 12px;
  text-align: left;
}

.benefits-section {
  background: var(--white);
}

.centered-heading {
  display: grid;
  justify-content: center;
  text-align: center;
}

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

.benefit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  box-shadow: 0 9px 22px rgba(21, 25, 26, 0.06);
  padding: 22px;
}

.benefit-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--orange);
  color: var(--charcoal);
  font-weight: 950;
}

.benefit-card h3 {
  margin: 18px 0 8px;
  color: var(--charcoal);
  font-size: 1.08rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.product-lines-section {
  background: var(--cream);
}

.lines-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.line-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(21, 25, 26, 0.08);
}

.line-card img {
  width: 100%;
  height: 230px;
  border-bottom: 1px solid var(--line);
  background: #fffdf9;
  object-fit: contain;
  padding: 0;
}

.line-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.line-card h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.08rem;
}

.line-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.line-card a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--charcoal);
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0 12px;
}

.line-card a:hover,
.line-card a:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--charcoal);
  outline: none;
}

.catalog-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--charcoal);
  color: var(--white);
}

.catalog-promo-copy {
  max-width: 760px;
}

.catalog-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.large-button {
  min-height: 52px;
  padding: 0 22px;
}

.catalog-promo span,
.catalog-hero span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-promo h2,
.catalog-hero h1 {
  margin: 8px 0 0;
  line-height: 1.05;
}

.catalog-promo h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.catalog-promo p,
.catalog-hero p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  background:
    linear-gradient(90deg, rgba(242, 138, 0, 0.14), rgba(255, 255, 255, 0) 65%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.catalog-hero > * {
  min-width: 0;
}

.catalog-hero div:first-child {
  max-width: 820px;
}

.catalog-hero h1 {
  max-width: 820px;
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 4.2rem);
  overflow-wrap: break-word;
}

.catalog-hero p {
  color: var(--muted);
  max-width: 780px;
  overflow-wrap: break-word;
}

.catalog-actions,
.toolbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-actions .primary-button,
.catalog-actions .secondary-button {
  white-space: normal;
  text-align: center;
}

.about-section {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading .secondary-button {
  flex-shrink: 0;
}

.section-heading h2,
.about-copy h2,
.contact-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.compact-heading {
  margin-bottom: 18px;
}

.products-section {
  background: var(--white);
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9d1c4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 138, 0, 0.18);
  outline: none;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0;
}

.product-toolbar p {
  margin: 0;
  color: var(--muted);
}

.product-image-notice {
  max-width: 980px;
  margin: -4px 0 18px;
  padding: 10px 14px;
  border: 1px solid rgba(242, 138, 0, 0.18);
  border-left: 4px solid rgba(242, 138, 0, 0.72);
  border-radius: 8px;
  background: rgba(255, 251, 242, 0.76);
  color: #4c5457;
  font-size: 0.88rem;
  line-height: 1.5;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  font-weight: 900;
  padding: 8px 0;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--charcoal);
  outline: none;
}

.text-button.danger {
  color: #a33423;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: 220px 1fr auto;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 9px 22px rgba(21, 25, 26, 0.06);
}

.product-image {
  display: grid;
  place-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.product-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 16px;
}

.product-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 8px;
}

.sku {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card h3 {
  min-height: 54px;
  margin: 0;
  color: var(--charcoal);
  font-size: 1.02rem;
  line-height: 1.28;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-footer {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.quote-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  background: #fff3e0;
  color: #c56405;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 6px 10px;
}

.add-button {
  min-height: 44px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: var(--orange);
  color: var(--charcoal);
  font-weight: 900;
  padding: 0 12px;
}

.add-button:hover,
.add-button:focus-visible {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
  outline: none;
}

.empty-state {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  color: var(--muted);
  text-align: center;
  padding: 28px;
}

.empty-state strong {
  color: var(--charcoal);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  align-items: start;
  gap: clamp(22px, 5vw, 70px);
}

.about-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-points {
  display: grid;
  gap: 12px;
}

.about-points div {
  border-left: 5px solid var(--orange);
  border-radius: 0 8px 8px 0;
  background: var(--white);
  padding: 16px;
  box-shadow: 0 9px 22px rgba(21, 25, 26, 0.06);
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points span {
  margin-top: 4px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: 18px;
  background: var(--charcoal);
}

.contact-card,
.contact-form,
.contact-info-panel {
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(18px, 3vw, 28px);
}

.contact-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-info-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  border-left: 5px solid var(--orange);
}

.contact-info-panel strong {
  color: var(--charcoal);
  font-size: 1.25rem;
}

.contact-info-panel span {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links {
  justify-content: center;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange-dark);
  outline: none;
}

.footer-contact {
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  background: rgba(21, 25, 26, 0);
  pointer-events: none;
  transition: background 0.2s ease;
}

.cart-drawer.open {
  background: rgba(21, 25, 26, 0.42);
  pointer-events: auto;
}

.cart-panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 500px);
  height: 100%;
  background: var(--white);
  box-shadow: -18px 0 38px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  overflow-x: hidden;
  overflow-y: auto;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 1.55rem;
}

.close-cart {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.45rem;
  line-height: 1;
}

.cart-alert {
  margin: 14px 20px 0;
  border: 1px solid #f2b8ad;
  border-radius: 8px;
  background: #fff0ee;
  color: #8a2718;
  font-weight: 800;
  padding: 10px 12px;
}

.cart-view {
  display: none;
}

.cart-view.is-active {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.cart-view-details.is-active {
  display: grid;
  flex: 0 0 auto;
}

.cart-section {
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
}

.cart-section-heading h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
}

.cart-products-section {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  gap: 12px;
}

.cart-items {
  overflow: auto;
  display: grid;
  gap: 12px;
  max-height: min(42vh, 380px);
  padding: 0 4px 0 0;
}

.cart-empty {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  min-height: 150px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--muted);
  padding: 16px;
}

.cart-empty p {
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.cart-item img {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  object-fit: contain;
}

.cart-item-main {
  min-width: 0;
}

.cart-item h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.25;
}

.cart-item-code,
.cart-item-category {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.cart-item-category {
  margin-top: -4px;
}

.cart-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-qty-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 40px 52px 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button,
.qty-control input {
  min-height: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  padding: 0;
}

.qty-control button {
  background: var(--cream);
  color: var(--charcoal);
  font-weight: 900;
}

.remove-item {
  border: 1px solid #f1c3bb;
  border-radius: 8px;
  background: #fff7f5;
  color: #a33423;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 9px 10px;
}

.cart-summary {
  display: grid;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fffdf9;
}

.cart-summary p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 800;
}

.cart-quote-summary {
  border-top: 1px solid var(--line);
}

.quote-form {
  display: grid;
  gap: 12px;
  flex: 0 0 auto;
  overflow: visible;
  padding: 16px 20px 20px;
}

.quote-form label {
  display: grid;
  gap: 6px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
}

.quote-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.cart-step-actions {
  display: grid;
  gap: 10px;
  padding: 16px 20px 20px;
}

.full {
  width: 100%;
}

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--charcoal);
  box-shadow: var(--shadow);
  font-weight: 900;
  padding: 0 14px 0 18px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .lines-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, auto) 1fr auto;
    min-height: 68px;
    box-shadow: 0 8px 22px rgba(21, 25, 26, 0.06);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .main-nav .mobile-nav-link {
    display: block;
  }

  .header-actions {
    justify-self: end;
    gap: 8px;
  }

  .header-actions .whatsapp-link {
    display: none;
  }

  .hero,
  .catalog-hero,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    align-self: auto;
  }

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

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

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

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

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links,
  .footer-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    grid-template-columns: minmax(0, auto) auto;
    gap: 8px;
    min-height: 64px;
    padding: 8px 12px;
    background: var(--white);
    backdrop-filter: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    justify-self: center;
  }

  .header-actions {
    grid-column: auto;
    justify-content: flex-end;
    width: auto;
  }

  .icon-action,
  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--white);
  }

  .icon-action {
    box-shadow: 0 4px 12px rgba(21, 25, 26, 0.06);
  }

  .whatsapp-link {
    display: none;
  }

  .hero,
  .benefits-section,
  .catalog-promo,
  .catalog-hero,
  .product-lines-section,
  .products-section,
  .about-section,
  .contact-section {
    padding: 28px 14px;
  }

  .hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 251, 242, 0.98) 0%,
        rgba(255, 251, 242, 0.94) 70%,
        rgba(255, 251, 242, 0.82) 100%
      ),
      url("../assets/img/herma/fondo-hero-herma.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }

  .hero h1 {
    max-width: 15ch;
    font-size: 2.08rem;
    line-height: 1.12;
  }

  .corporate-hero {
    min-height: auto;
  }

  .catalog-hero h1 {
    width: 100%;
    max-width: 14ch;
    font-size: 1.68rem;
    line-height: 1.14;
  }

  .catalog-hero div:first-child,
  .catalog-actions {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .catalog-hero p {
    width: 100%;
    max-width: 31ch;
  }

  .hero p {
    width: 100%;
    max-width: 31ch;
    font-size: 1rem;
  }

  .hero .hero-subtitle {
    max-width: 24ch;
  }

  .hero-actions,
  .catalog-promo,
  .catalog-promo-actions,
  .catalog-actions,
  .contact-actions,
  .toolbar-actions,
  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .section-heading .secondary-button {
    margin-top: 14px;
  }

  .benefits-grid,
  .filters,
  .lines-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .line-card {
    grid-template-rows: 220px 1fr;
  }

  .line-card img {
    height: 220px;
  }

  .product-card {
    grid-template-rows: 190px 1fr auto;
    min-height: 470px;
  }

  .product-image img {
    height: 190px;
  }

  .cart-panel {
    width: 100%;
  }

  .cart-header {
    padding: 16px;
  }

  .cart-section,
  .cart-summary,
  .quote-form {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cart-items {
    max-height: 38vh;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 10px;
  }

  .cart-item img {
    width: 64px;
    height: 64px;
  }

  .qty-control {
    grid-template-columns: 42px 54px 42px;
    height: 42px;
  }

  .floating-cart {
    display: none;
  }
}
