:root {
  --ink: #0b0d0c;
  --ink-soft: #171a18;
  --green: #00ad61;
  --green-bright: #04ca74;
  --paper: #f3f1eb;
  --white: #ffffff;
  --line: rgba(11, 13, 12, 0.14);
  --muted: #686c69;
  --font-body: "Helvetica Neue", "Inter", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.site-font-modern {
  --font-body: Arial, "Helvetica Neue", sans-serif;
  --font-display: Arial, "Helvetica Neue", sans-serif;
}

body.site-font-friendly {
  --font-body: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --font-display: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

body.site-font-classic {
  --font-body: Georgia, "Times New Roman", serif;
  --font-display: Georgia, "Times New Roman", serif;
}

@media (min-width: 900px) {
  body.site-size-compact {
    zoom: 0.94;
  }
}

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

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

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

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.topline {
  min-height: 38px;
  background: var(--green);
  color: #ffffff;
  padding: 8px clamp(18px, 4vw, 70px);
}

.topline-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.topline-message {
  font-weight: 900;
}

.topline-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.topline-link:hover,
.topline-link:focus-visible {
  opacity: 0.7;
}

.topline-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topline-whatsapp svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.topline-separator {
  opacity: 0.62;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 12, 0.96);
  color: white;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.header-inner {
  min-height: 90px;
  max-width: 1440px;
  margin: auto;
  padding: 0 clamp(22px, 3.2vw, 52px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 34px);
}

.logo-link {
  width: clamp(195px, 17vw, 255px);
  flex: 0 0 auto;
}

.logo-link img {
  width: auto;
  height: 66px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 1.8vw, 28px);
  min-width: 0;
  font-size: 13px;
  font-weight: 680;
}

.main-nav > a,
.nav-categories > button {
  min-height: 90px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  opacity: 0.76;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav > a:hover,
.nav-categories > button:hover {
  color: var(--green-bright);
  opacity: 1;
}

.nav-categories > button {
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  gap: 7px;
}

.nav-categories {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  width: min(920px, 88vw);
  max-height: min(720px, calc(100vh - 140px));
  overflow-y: auto;
  transform: translate(-38%, -8px);
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 46px;
  padding: 40px;
  background: #f5f3ed;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: 180ms ease;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-38%, 0);
}

.mega-menu h3 {
  margin: 10px 0 30px;
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.mega-kicker {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.mega-category-group {
  min-width: 0;
}

.mega-links a {
  display: block;
  padding: 8px 0;
  color: #4d514e;
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mega-links .mega-parent {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
}

.mega-links .mega-child {
  padding-left: 10px;
  color: #777b77;
  font-size: 11px;
}

.mega-links a:hover {
  color: var(--green);
}

.header-search {
  width: clamp(190px, 16vw, 238px);
  min-height: 42px;
  margin-left: 2px;
  padding: 3px 4px 3px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  transition: border-color 180ms ease, background 180ms ease;
}

.header-search:focus-within {
  border-color: rgba(4, 202, 116, 0.78);
  background: rgba(255, 255, 255, 0.1);
}

.header-search input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 12px;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.header-search button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #04120b;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 750;
  transition: 180ms ease;
}

.header-cta:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: min(760px, calc(100vh - 116px));
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  background:
    radial-gradient(circle at 20% 78%, rgba(0, 173, 97, 0.1), transparent 24%),
    var(--ink);
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(0, 173, 97, 0.4);
  left: -180px;
  top: 30%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(76px, 10vh, 126px) 40px 76px clamp(24px, 7vw, 110px);
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #03864c;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 6vw, 102px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 615px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

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

.button {
  min-height: 54px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-green {
  background: var(--green);
  color: #03170c;
}

.button-green:hover {
  background: var(--green-bright);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.button-ghost:hover {
  border-color: white;
}

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

.button-white {
  background: white;
  color: var(--ink);
}

.hero-proof {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

.hero-proof strong {
  color: white;
  font-weight: 700;
}

.proof-mark {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  overflow: hidden;
  flex: 0 0 45px;
}

.proof-mark.has-image {
  padding: 5px;
  background: rgba(255, 255, 255, 0.04);
}

.proof-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.settings-logo-preview {
  display: grid;
  gap: 12px;
}

.settings-logo-preview-box {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #070b09;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.settings-logo-preview-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 24%, transparent 72%, rgba(11, 13, 12, 0.18));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-tag {
  position: absolute;
  z-index: 2;
  background: rgba(11, 13, 12, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}

.hero-tag-top {
  top: 11%;
  right: 7%;
  padding: 12px 16px;
}

.hero-tag-top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 173, 97, 0.16);
}

.hero-tag-bottom {
  right: 9%;
  bottom: 10%;
  padding: 16px 18px;
}

.hero-tag-bottom strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

.hero-index {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 50%;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.online-notice {
  max-width: 1480px;
  margin: 0 auto;
  padding: 34px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 70px 1.1fr 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--green);
}

.notice-icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 3px;
}

.notice-icon span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.online-notice h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.online-notice .eyebrow {
  margin-bottom: 6px;
  color: rgba(0, 0, 0, 0.58);
}

.online-notice > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.online-notice > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.34);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.section-pad {
  padding: clamp(78px, 9vw, 136px) clamp(24px, 6vw, 96px);
}

.section-heading,
.catalog-top {
  max-width: 1320px;
  margin: 0 auto 58px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.section-heading h2,
.catalog-top h2,
.company h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.solution-grid {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-card {
  min-height: 410px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  transition: background 200ms ease, transform 200ms ease;
}

.solution-card:hover {
  background: white;
  transform: translateY(-4px);
}

.solution-number {
  color: #858985;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.solution-art {
  height: 190px;
  position: relative;
  margin: 24px -5px 26px;
}

.solution-art::before,
.solution-art::after {
  content: "";
  position: absolute;
  transition: transform 300ms ease;
}

.art-01::before {
  width: 120px;
  height: 120px;
  border: 22px solid var(--green);
  border-radius: 50%;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.art-01::after {
  width: 68px;
  height: 136px;
  background: var(--ink);
  border-radius: 6px 6px 28px 28px;
  top: 15px;
  left: calc(50% - 34px);
  transform: rotate(-18deg);
}

.art-02::before {
  width: 180px;
  height: 110px;
  background: var(--green);
  left: 50%;
  top: 42px;
  transform: translateX(-50%) rotate(-8deg);
}

.art-02::after {
  width: 150px;
  height: 90px;
  border: 2px solid var(--ink);
  left: 50%;
  top: 22px;
  transform: translateX(-50%) rotate(7deg);
}

.art-03::before {
  width: 155px;
  height: 145px;
  background: var(--ink);
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  clip-path: polygon(20% 0, 40% 14%, 60% 14%, 80% 0, 100% 26%, 82% 43%, 82% 100%, 18% 100%, 18% 43%, 0 26%);
}

.art-03::after {
  width: 56px;
  height: 56px;
  border: 2px solid var(--green);
  border-radius: 50%;
  left: calc(50% - 28px);
  top: 72px;
}

.art-04::before {
  width: 150px;
  height: 170px;
  background:
    linear-gradient(90deg, transparent 30%, var(--green) 30% 36%, transparent 36% 64%, var(--green) 64% 70%, transparent 70%),
    white;
  border: 1px solid var(--line);
  box-shadow: 16px 14px 0 var(--ink);
  left: calc(50% - 82px);
  top: 4px;
  transform: rotate(-3deg);
}

.solution-art-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.solution-art-image::before,
.solution-art-image::after {
  content: none;
}

.solution-art-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-item-image-field {
  align-items: flex-start;
}

.service-item-image-preview {
  display: block;
  width: 150px;
  height: 105px;
  object-fit: contain;
  margin: 8px 0 10px;
  padding: 8px;
  border: 1px solid #d9ddd9;
  border-radius: 12px;
  background: #fff;
}

.service-item-image-remove {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
}

.service-item-image-remove input {
  width: auto !important;
  margin: 0;
}

.solution-card h3 {
  margin: 0 42px 10px 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
}

.solution-card p {
  margin: 0 42px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.circle-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.catalog-preview {
  background: #fff;
}

.product-search {
  min-width: min(400px, 100%);
  padding: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #aeb1ae;
}

.product-search span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.product-grid {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 22px;
}

.product-image {
  aspect-ratio: 1 / 0.84;
  position: relative;
  overflow: hidden;
  background: #ecece8;
}

.watermark-products .product-image::after,
.watermark-products .gallery-main::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  width: clamp(118px, 36%, 230px);
  aspect-ratio: 1492 / 541;
  background: var(--product-watermark-image, url("../img/logo-manrique-blanco.png")) center / contain no-repeat;
  opacity: 0.22;
  filter: grayscale(0.2);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.watermark-products.watermark-small .product-image::after,
.watermark-products.watermark-small .gallery-main::after {
  left: 14px;
  bottom: 13px;
  width: clamp(78px, 23%, 145px);
}

.watermark-products.watermark-large .product-image::after,
.watermark-products.watermark-large .gallery-main::after {
  width: clamp(150px, 44%, 285px);
}

.watermark-products.watermark-position-center .product-image::after,
.watermark-products.watermark-position-center .gallery-main::after {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
}

.watermark-products.watermark-position-top-left .product-image::after,
.watermark-products.watermark-position-top-left .gallery-main::after {
  top: 14px;
  right: auto;
  bottom: auto;
  left: 14px;
  transform: none;
}

.watermark-products.watermark-position-top-right .product-image::after,
.watermark-products.watermark-position-top-right .gallery-main::after {
  top: 14px;
  right: 14px;
  bottom: auto;
  left: auto;
  transform: none;
}

.watermark-products.watermark-position-bottom-left .product-image::after,
.watermark-products.watermark-position-bottom-left .gallery-main::after {
  top: auto;
  right: auto;
  bottom: 13px;
  left: 14px;
  transform: none;
}

.watermark-products.watermark-position-bottom-right .product-image::after,
.watermark-products.watermark-position-bottom-right .gallery-main::after {
  top: auto;
  right: 14px;
  bottom: 13px;
  left: auto;
  transform: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.02);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-fit-contain .product-image img,
.product-fit-contain .gallery-main > img {
  padding: clamp(7px, 1.2vw, 16px);
  object-fit: contain;
  object-position: center;
  filter: saturate(0.9) contrast(1.01);
}

.product-fit-contain .gallery-thumbs img {
  padding: 4px;
  object-fit: contain;
  object-position: center;
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

.product-image > span {
  display: none !important;
}

.product-hover {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 11px 15px;
  background: var(--green);
  font-size: 10px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: 180ms ease;
  z-index: 3;
}

.product-card:hover .product-hover {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding-top: 17px;
}

.product-info p {
  margin: 0 0 7px;
  color: #858985;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.product-info > span {
  display: block;
  margin-top: 9px;
  color: #565a57;
  font-size: 12px;
}

.catalog-bottom {
  max-width: 1320px;
  margin: 54px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.catalog-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.catalog-bottom strong {
  color: var(--ink);
}

.process {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: 80px;
}

.process-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 80px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.process-steps article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.process-steps span {
  color: var(--green);
  font-size: 10px;
}

.process-steps h3 {
  margin: 42px 0 8px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
}

.process-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.6;
}

.company {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 100px;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(0, 0, 0, 0.07) 50%, transparent 50.1%);
}

.company-copy {
  max-width: 760px;
}

.company-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 30px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
}

.company-stat {
  display: flex;
  align-items: center;
  gap: 28px;
}

.company-stat > span {
  font-family: var(--font-display);
  font-size: clamp(100px, 12vw, 180px);
  font-style: italic;
  line-height: 1;
  color: var(--green);
}

.company-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.company-stat strong {
  color: var(--ink);
}

.final-cta {
  min-height: 290px;
  padding: 60px clamp(24px, 7vw, 110px);
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta .eyebrow {
  color: rgba(0, 0, 0, 0.55);
}

.final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.google-reviews {
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line);
}

.reviews-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.reviews-heading > div:first-child {
  max-width: 760px;
}

.reviews-heading h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 66px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.reviews-heading > div:first-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.reviews-controls {
  display: flex;
  gap: 9px;
}

.reviews-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.reviews-controls button:hover {
  border-color: var(--green);
  background: var(--green);
  transform: translateY(-2px);
}

.reviews-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  min-height: 245px;
  padding: 28px;
  border: 1px solid #e6e8e4;
  border-radius: 18px;
  background: #f7f8f6;
  scroll-snap-align: start;
}

.review-card header {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--green-bright);
  font-size: 18px;
  font-weight: 800;
}

.review-person {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.review-person strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-person small {
  color: var(--muted);
  font-size: 11px;
}

.google-review-mark {
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 800 22px/1 Arial, sans-serif;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin: 22px 0 13px;
}

.review-stars span {
  color: #d8dad6;
  font-size: 18px;
  line-height: 1;
}

.review-stars span.active {
  color: #fbbc04;
}

.review-card > p {
  margin: 0;
  color: #454943;
  font-size: 14px;
  line-height: 1.75;
}

.reviews-bottom {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.site-footer {
  background: var(--ink);
  color: white;
}

.footer-main {
  max-width: 1400px;
  margin: auto;
  padding: 72px clamp(24px, 5vw, 78px) 54px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.65fr);
  gap: 60px;
}

.footer-main > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-main a,
.footer-main p,
.footer-main small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.5;
}

.footer-main a:hover {
  color: var(--green);
}

.footer-brand img {
  width: 250px;
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand > p {
  max-width: 380px;
  margin: 22px 0;
}

.footer-title {
  margin: 0 0 13px;
  color: white !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links .social-link {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-links .social-link:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
  transform: translateY(-2px);
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-instagram svg .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-link svg {
  width: 14px;
  min-width: 14px;
  height: 14px;
  margin-top: 2px;
  fill: var(--green-bright);
}

.footer-bottom {
  min-height: 60px;
  max-width: 1400px;
  margin: auto;
  padding: 20px clamp(24px, 5vw, 78px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-credit {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.site-credit a {
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s ease;
}

.site-credit a:hover {
  color: var(--green-bright);
}

.footer-copy {
  justify-self: start;
}

.footer-location {
  justify-self: end;
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  box-shadow: 0 10px 30px rgba(7, 94, 84, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(7, 94, 84, 0.38);
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

/* Catalog */
.catalog-page {
  min-height: 80vh;
  background: #f5f3ed;
}

.catalog-hero {
  min-height: 440px;
  padding: clamp(82px, 9vw, 140px) clamp(24px, 7vw, 110px) 70px;
  background:
    radial-gradient(circle at 78% 25%, rgba(0, 173, 97, 0.18), transparent 18%),
    var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 80px;
}

.catalog-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.catalog-hero > p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.75;
}

.catalog-layout {
  max-width: 1500px;
  margin: auto;
  padding: 68px clamp(24px, 5vw, 80px) 120px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: 58px;
}

.category-sidebar {
  position: sticky;
  top: 125px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 12px;
}

.category-sidebar > p {
  margin: 0 0 18px;
  color: #8b8e8b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-sidebar button,
.category-sidebar a {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #5a5e5a;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
}

.category-sidebar button span,
.category-sidebar a span {
  font-size: 12px;
}

.category-sidebar button small,
.category-sidebar a small {
  color: #a0a39f;
  font-size: 9px;
}

.category-sidebar button.active,
.category-sidebar a.active {
  color: #007d46;
  font-weight: 760;
}

.category-sidebar .category-child-link {
  padding-left: 18px;
  font-size: 11px;
}

.category-sidebar .category-child-link span::before {
  content: "↳";
  margin-right: 7px;
  color: #a2a6a2;
}

.catalog-toolbar {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.catalog-toolbar > div > p {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 30px;
}

.catalog-toolbar > div > span {
  color: var(--muted);
  font-size: 11px;
}

.catalog-toolbar label {
  min-width: 300px;
}

.catalog-toolbar label span {
  display: block;
  margin-bottom: 6px;
  color: #878a87;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-toolbar input {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid #aeb1ae;
  outline: none;
  background: transparent;
}

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

.empty-state {
  min-height: 440px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.empty-state > span {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 70px;
  font-style: italic;
}

.empty-state h2 {
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 400;
}

.empty-state p {
  margin: 0 0 26px;
  color: var(--muted);
}

.empty-state button {
  padding: 12px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

/* Product */
.product-page {
  background: #f5f3ed;
}

.breadcrumbs {
  max-width: 1420px;
  margin: auto;
  padding: 25px clamp(24px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #7a7e7a;
  font-size: 10px;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.product-detail {
  max-width: 1420px;
  margin: auto;
  padding: 12px clamp(24px, 5vw, 72px) 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: clamp(50px, 7vw, 110px);
}

.gallery-main {
  aspect-ratio: 1.05 / 1;
  position: relative;
  overflow: hidden;
  background: #e8e8e4;
}

.gallery-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.gallery-main > span {
  display: none !important;
}

.gallery-main > small {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  background: rgba(11, 13, 12, 0.82);
  color: white;
  font-size: 9px;
  letter-spacing: 0.12em;
  z-index: 3;
}

.gallery-thumbs {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.gallery-thumbs button {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  background: #e8e8e4;
  cursor: pointer;
}

.gallery-thumbs button.active {
  border-color: var(--green);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  padding-top: 42px;
}

.product-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.product-intro {
  margin: 24px 0;
  color: #4e524f;
  font-size: 18px;
  line-height: 1.65;
}

.price-label {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.price-label span {
  color: #888b88;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-label strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
}

.product-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.product-features {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.product-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #434743;
  font-size: 12px;
}

.product-features span {
  margin-right: 18px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.product-quote {
  width: 100%;
}

.quote-note {
  margin: 13px 0 0;
  color: #8a8d8a;
  font-size: 10px;
  text-align: center;
}

.related-products {
  padding: 110px clamp(24px, 6vw, 96px);
  background: white;
}

.not-found-product {
  min-height: 65vh;
  padding: 130px clamp(24px, 8vw, 120px);
}

.not-found-product h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 400;
}

.not-found-product > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

/* Admin */
.admin-shell {
  min-height: 100vh;
  background: #eef0ec;
  display: grid;
  grid-template-columns: 245px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
}

.admin-logo {
  margin-bottom: 42px;
}

.admin-logo img {
  width: auto;
  height: 76px;
  max-width: 210px;
  object-fit: contain;
}

.admin-sidebar > div:not(.admin-user) > p {
  margin: 0 12px 12px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-sidebar button,
.admin-navigation a {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.admin-sidebar button.active,
.admin-navigation a.active {
  background: rgba(0, 173, 97, 0.15);
  color: var(--green-bright);
}

.admin-user {
  margin-top: auto;
  padding: 16px 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.admin-user small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  text-transform: uppercase;
}

.admin-user strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
}

.admin-user a {
  margin-top: 5px;
  color: var(--green);
  font-size: 10px;
}

.admin-workspace {
  min-width: 0;
  padding: 36px clamp(24px, 4vw, 62px) 80px;
}

.admin-topbar {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.admin-topbar p {
  margin: 0 0 4px;
  color: #7c807d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
}

.admin-topbar > a {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 760;
}

.admin-notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--green);
  background: white;
  color: #3f4440;
  font-size: 12px;
}

.admin-actions {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-actions label {
  width: min(360px, 100%);
}

.admin-actions label span {
  display: block;
  margin-bottom: 5px;
  color: #7e817e;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-actions input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d1d4d0;
  outline: none;
  background: white;
}

.admin-actions > button,
.admin-primary-button,
.settings-save {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  background: var(--green);
  color: #07150d;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.admin-table-wrap {
  overflow-x: auto;
  background: white;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.admin-table th {
  padding: 13px 16px;
  background: #171a18;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e7e9e5;
}

.admin-product-cell {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-product-cell img {
  width: 54px;
  height: 46px;
  object-fit: cover;
  background: #eceeea;
}

.admin-product-cell strong,
.admin-product-cell small {
  display: block;
}

.admin-product-cell small {
  max-width: 260px;
  margin-top: 4px;
  overflow: hidden;
  color: #949894;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status {
  padding: 6px 8px;
  background: #eeefec;
  color: #777b77;
  font-size: 9px;
}

.status.active {
  background: rgba(0, 173, 97, 0.12);
  color: #007a44;
}

.row-actions {
  display: flex;
  gap: 7px;
}

.row-actions button {
  padding: 6px 9px;
  border: 1px solid #d3d6d2;
  background: white;
  cursor: pointer;
  font-size: 9px;
}

.settings-form {
  max-width: 980px;
}

.settings-form > section {
  margin-bottom: 22px;
  padding: 30px;
  background: white;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 35px;
}

.settings-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.settings-heading > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.settings-heading h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
}

.settings-heading p {
  margin: 0;
  color: #8a8e8a;
  font-size: 10px;
  line-height: 1.5;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.settings-grid label span,
.editor-fields label > span,
.image-manager > p,
.image-url span {
  display: block;
  margin-bottom: 6px;
  color: #727672;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-grid input,
.settings-grid select,
.settings-grid textarea,
.editor-fields input,
.editor-fields select,
.editor-fields textarea,
.image-url input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d7dad6;
  border-radius: 0;
  outline: none;
  background: white;
  font-size: 12px;
}

.settings-grid input:focus,
.settings-grid select:focus,
.settings-grid textarea:focus,
.editor-fields input:focus,
.editor-fields select:focus,
.editor-fields textarea:focus {
  border-color: var(--green);
}

.settings-grid label > small {
  display: block;
  margin-top: 7px;
  color: #727a75;
  font-size: 9px;
  line-height: 1.45;
}

.settings-grid .wide,
.editor-fields .wide {
  grid-column: 1 / -1;
}

.settings-design-stack {
  display: grid;
  gap: 18px;
}

.settings-watermark-card {
  padding: 20px;
  border: 1px solid #d9e8df;
  border-radius: 8px;
  background: #f4faf6;
}

.settings-watermark-card > label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  cursor: pointer;
}

.settings-watermark-card input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.settings-watermark-card strong,
.settings-watermark-card small {
  display: block;
}

.settings-watermark-card strong {
  margin-bottom: 5px;
  color: #173224;
  font-size: 12px;
}

.settings-watermark-card small,
.settings-watermark-card > p {
  color: #667269;
  font-size: 10px;
  line-height: 1.55;
}

.settings-watermark-card > p {
  margin: 14px 0 0 33px;
}

.settings-save {
  min-width: 180px;
}

.email-settings-intro {
  max-width: 980px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.email-settings-intro article {
  min-width: 0;
  padding: 19px 20px;
  border-top: 3px solid #c9ceca;
  background: #ffffff;
}

.email-settings-intro article.is-ready {
  border-top-color: var(--green);
}

.email-settings-intro span,
.email-settings-intro strong,
.email-settings-intro small {
  display: block;
}

.email-settings-intro span {
  margin-bottom: 8px;
  color: #858b86;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.email-settings-intro strong {
  overflow: hidden;
  color: #18211b;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-settings-intro small {
  margin-top: 6px;
  color: #747b76;
  font-size: 9px;
  line-height: 1.45;
}

.email-settings-form {
  margin-bottom: 22px;
}

.smtp-test-card {
  width: min(980px, 100%);
  padding: 26px 30px;
  border: 1px solid #d9e8df;
  background: #f4faf6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.smtp-test-card h2 {
  margin: 4px 0 7px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}

.smtp-test-card p {
  margin: 0;
  color: #68736b;
  font-size: 10px;
  line-height: 1.55;
}

.smtp-test-card form {
  flex: 0 0 auto;
}

.smtp-test-card button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  background: var(--green);
  color: #07150d;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.smtp-test-card button:disabled {
  background: #cfd4d0;
  color: #7c827d;
  cursor: not-allowed;
}

.smtp-test-card form > small {
  display: block;
  max-width: 260px;
  margin-top: 8px;
  color: #717a73;
  font-size: 9px;
  line-height: 1.45;
}

.editor-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 24px;
  background: rgba(5, 7, 6, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
}

.product-editor {
  width: min(1050px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #f4f5f2;
}

.product-editor > header {
  padding: 22px 26px;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-editor > header p {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-editor > header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
}

.product-editor > header button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.editor-body {
  padding: 26px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
}

.editor-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 16px;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.check-field > span {
  margin: 0 !important;
  color: #4f534f !important;
  text-transform: none !important;
}

.image-manager {
  padding-left: 24px;
  border-left: 1px solid #d9dcd8;
}

.upload-box {
  min-height: 130px;
  padding: 20px;
  border: 1px dashed #9ea29e;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  display: none;
}

.upload-box strong {
  color: #007c46;
  font-size: 12px;
}

.upload-box span {
  margin-top: 6px;
  color: #989c98;
  font-size: 9px;
}

.image-url {
  display: block;
  margin-top: 18px;
}

.image-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.image-list > div {
  padding: 6px;
  background: white;
  display: grid;
  grid-template-columns: 56px 1fr 25px;
  align-items: center;
  gap: 9px;
}

.image-list img {
  width: 56px;
  height: 44px;
  object-fit: cover;
}

.image-list span {
  font-size: 9px;
}

.image-list button {
  border: 0;
  background: transparent;
  color: #8c3a3a;
  cursor: pointer;
}

.product-editor > footer {
  padding: 18px 26px;
  background: white;
  border-top: 1px solid #dcdfdb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.product-editor > footer button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #cfd2cf;
  background: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 760;
}

.product-editor > footer button.primary {
  border-color: var(--green);
  background: var(--green);
}

@media (max-width: 1260px) {
  .header-inner {
    gap: 18px;
  }

  .logo-link {
    width: 188px;
  }

  .logo-link img {
    height: 58px;
  }

  .main-nav {
    gap: 18px;
    font-size: 12px;
  }

  .header-search {
    width: 190px;
  }

  .header-cta {
    padding: 0 16px;
  }
}

@media (max-width: 1100px) {
  .header-search {
    width: 180px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.8fr;
  }

  .online-notice {
    grid-template-columns: 55px 1fr 1fr;
  }

  .online-notice > a {
    display: none;
  }

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

  .review-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .footer-main {
    grid-template-columns: 1.25fr repeat(2, 0.7fr);
  }

  .footer-main > div:last-child {
    grid-column: 2 / -1;
  }

  .catalog-layout {
    grid-template-columns: 220px 1fr;
    gap: 35px;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .settings-form > section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topline {
    padding: 7px 14px;
  }

  .topline-inner {
    gap: 5px 9px;
    font-size: 9px;
    letter-spacing: 0.045em;
  }

  .header-inner {
    min-height: 78px;
    justify-content: space-between;
  }

  .logo-link {
    width: 205px;
  }

  .logo-link img {
    height: 56px;
  }

  .mobile-menu {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    display: grid;
    place-content: center;
    gap: 6px;
  }

  .mobile-menu span {
    width: 18px;
    height: 1px;
    background: white;
  }

  .main-nav {
    position: absolute;
    inset: 72px 0 auto;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    transition: max-height 250ms ease;
  }

  .main-nav.open {
    max-height: 78vh;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-search {
    width: auto;
    min-height: 46px;
    margin: 18px 24px 24px;
    padding-left: 16px;
    display: flex;
    flex: 0 0 auto;
  }

  .main-nav > a,
  .nav-categories > button {
    min-height: 0;
    width: 100%;
    padding: 17px 24px;
    display: block;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-menu,
  .mega-menu.open {
    width: auto;
    position: static;
    transform: none;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 24px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 250ms ease, padding 250ms ease;
  }

  .mega-menu.open {
    max-height: 900px;
    padding: 24px;
  }

  .mega-menu > div:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 76px 24px 50px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, var(--ink), transparent 22%);
  }

  .hero-index {
    display: none;
  }

  .online-notice {
    grid-template-columns: 52px 1fr;
    gap: 20px;
  }

  .online-notice > p {
    grid-column: 2;
  }

  .section-heading,
  .catalog-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .product-search {
    width: 100%;
  }

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

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

  .company {
    grid-template-columns: 1fr;
    gap: 70px;
    background: none;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-main > div:last-child {
    grid-column: auto;
  }

  .catalog-hero {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
    max-height: none;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 10px;
  }

  .category-sidebar > p {
    display: none;
  }

  .category-sidebar button,
  .category-sidebar a {
    width: auto;
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid var(--line);
    gap: 8px;
  }

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

  .product-copy {
    padding-top: 0;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 14px 20px;
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .admin-logo {
    margin: 0 auto 0 0;
  }

  .admin-logo img {
    height: 54px;
    max-width: 160px;
  }

  .admin-sidebar > div:not(.admin-user) {
    display: flex;
  }

  .admin-sidebar > div:not(.admin-user) > p {
    display: none;
  }

  .admin-sidebar button,
  .admin-navigation a {
    width: auto;
  }

  .admin-user {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .admin-user small,
  .admin-user strong {
    display: none;
  }

  .editor-body {
    grid-template-columns: 1fr;
  }

  .image-manager {
    padding: 24px 0 0;
    border-top: 1px solid #d9dcd8;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .topline-inner {
    font-size: 8.5px;
  }

  .topline-message {
    flex-basis: 100%;
  }

  .topline-separator:first-of-type {
    display: none;
  }

  .logo-link {
    width: 186px;
  }

  .logo-link img {
    height: 52px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-visual {
    min-height: 370px;
  }

  .hero-tag-top {
    top: 8%;
  }

  .online-notice {
    margin: 0;
  }

  .solution-grid,
  .product-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 390px;
  }

  .catalog-bottom,
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-hover {
    opacity: 1;
    transform: none;
  }

  .reviews-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .review-card {
    flex-basis: 88%;
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-main > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .site-credit {
    grid-column: auto;
    grid-row: 3;
    justify-self: center;
  }

  .footer-copy,
  .footer-location {
    justify-self: center;
    text-align: center;
  }

  .catalog-hero {
    min-height: 390px;
    padding-top: 70px;
  }

  .catalog-hero h1 {
    font-size: 51px;
  }

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

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-toolbar label {
    min-width: 0;
  }

  .product-detail {
    padding-bottom: 75px;
  }

  .gallery-main {
    aspect-ratio: 1;
  }

  .related-products {
    padding-top: 80px;
  }

  .admin-sidebar {
    overflow-x: auto;
  }

  .admin-user {
    display: none;
  }

  .admin-workspace {
    padding: 28px 16px 60px;
  }

  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions label {
    width: 100%;
  }

  .admin-table {
    min-width: 760px;
  }

  .settings-form > section {
    padding: 22px;
  }

  .settings-grid,
  .editor-fields {
    grid-template-columns: 1fr;
  }

  .settings-grid .wide,
  .editor-fields .wide {
    grid-column: auto;
  }

  .editor-overlay {
    padding: 0;
  }

  .product-editor {
    max-height: 100vh;
  }
}

/* PHP edition */
.admin-body,
.admin-login-page,
.install-page {
  min-height: 100vh;
  background: #eef0ec;
}

.admin-credit {
  padding: 11px 20px 15px;
  color: #8a918b;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-align: center;
}

.admin-credit a {
  color: inherit;
}

.admin-credit a:hover {
  color: #087546;
}

.login-credit {
  background: #eef0ec;
}

.install-credit {
  padding-bottom: 28px;
}

.admin-navigation {
  display: grid;
  gap: 3px;
}

.admin-navigation a span {
  width: 16px;
  color: var(--green);
  text-align: center;
}

.admin-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-actions form {
  width: min(360px, 100%);
}

.admin-notice.success,
.form-success {
  border-left: 3px solid var(--green);
  background: #e8f8ef;
  color: #075e36;
}

.admin-notice.error,
.form-error {
  border-left: 3px solid #c55353;
  background: #fceaea;
  color: #7e2727;
}

.admin-stat-grid {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.admin-stat-grid article {
  padding: 26px;
  background: white;
  border-top: 3px solid var(--green);
}

.admin-stat-grid article span {
  color: #858a86;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-stat-grid article strong {
  margin-top: 10px;
  display: block;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
}

.admin-stat-grid article p {
  margin: 7px 0 0;
  color: #858a86;
  font-size: 10px;
}

.admin-welcome {
  padding: clamp(28px, 4vw, 52px);
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 55px;
}

.admin-welcome h2 {
  max-width: 470px;
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.admin-welcome > div > p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 12px;
  line-height: 1.7;
}

.admin-quick-links {
  display: grid;
  gap: 10px;
}

.admin-quick-links a {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 4px 14px;
  transition: 180ms ease;
}

.admin-quick-links a:hover {
  border-color: var(--green);
  background: rgba(0, 173, 97, 0.08);
}

.admin-quick-links span {
  grid-row: 1 / 3;
  color: var(--green);
  font-size: 9px;
}

.admin-quick-links strong {
  font-size: 12px;
}

.admin-quick-links small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

.row-actions a,
.row-actions button {
  padding: 6px 9px;
  border: 1px solid #d3d6d2;
  background: white;
  color: #494d49;
  cursor: pointer;
  font-size: 9px;
}

.row-actions form {
  margin: 0;
}

.php-product-editor {
  max-width: 1100px;
  background: #f4f5f2;
}

.php-product-editor .editor-body {
  padding: 28px;
}

.editor-checks {
  display: flex;
  align-items: center;
  gap: 24px;
}

.image-url textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d7dad6;
  border-radius: 0;
  outline: none;
  resize: vertical;
  font-size: 11px;
}

.php-image-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.php-image-list article {
  padding: 7px;
  background: white;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 9px;
}

.php-image-list img {
  width: 62px;
  height: 50px;
  object-fit: cover;
}

.php-image-list strong,
.php-image-list small {
  display: block;
}

.php-image-list strong {
  font-size: 9px;
}

.php-image-list small {
  margin-top: 3px;
  color: #929692;
  font-size: 8px;
}

.image-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.image-actions button {
  padding: 5px 7px;
  border: 1px solid #d5d8d4;
  background: white;
  cursor: pointer;
  font-size: 8px;
}

.editor-footer {
  padding: 18px 28px;
  border-top: 1px solid #dcdfdb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.editor-footer a {
  padding: 12px 16px;
  font-size: 10px;
  font-weight: 760;
}

.editor-footer button,
.security-card button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  background: var(--green);
  color: #07150d;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.hidden-form {
  display: none;
}

.hero-upload-field img {
  width: 100%;
  height: 180px;
  margin-bottom: 12px;
  object-fit: cover;
}

.hero-upload-field small {
  margin-top: 6px;
  display: block;
  color: #8d918d;
  font-size: 9px;
}

.security-card {
  max-width: 570px;
  padding: clamp(28px, 4vw, 48px);
  background: white;
}

.security-card h2 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
}

.security-card > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: #7e827e;
  font-size: 11px;
}

.security-card label,
.admin-login-card label {
  margin-bottom: 16px;
  display: block;
}

.security-card label span,
.admin-login-card label span {
  margin-bottom: 6px;
  display: block;
  color: #747874;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-card input,
.admin-login-card input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d2d5d1;
  outline: none;
  background: white;
}

.security-card input:focus,
.admin-login-card input:focus {
  border-color: var(--green);
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.admin-login-brand {
  min-height: 100vh;
  padding: clamp(35px, 6vw, 90px);
  background:
    radial-gradient(circle at 70% 90%, rgba(0, 173, 97, 0.24), transparent 30%),
    var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-login-brand img {
  width: min(300px, 70%);
}

.admin-login-brand p {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-login-brand h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 102px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.admin-login-brand span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-login-card {
  width: min(520px, calc(100% - 48px));
  margin: auto;
  padding: clamp(32px, 5vw, 62px);
  background: white;
}

.admin-login-card > a {
  margin-bottom: 70px;
  display: inline-block;
  color: #707470;
  font-size: 10px;
}

.admin-login-card h2 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
}

.admin-login-card > div > p:last-child {
  margin: 0 0 28px;
  color: #858985;
  font-size: 11px;
  line-height: 1.6;
}

.admin-login-card .form-error,
.admin-login-card .form-success {
  margin-bottom: 18px;
  padding: 12px 14px;
  font-size: 10px;
}

.admin-login-card button {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  background: var(--green);
  color: #07150d;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Installer */
.install-shell {
  width: min(1040px, calc(100% - 40px));
  margin: auto;
  padding: 34px 0 80px;
}

.install-brand {
  margin-bottom: 34px;
  padding: 16px 20px;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.install-brand img {
  width: auto;
  height: 48px;
  max-width: 210px;
  object-fit: contain;
}

.install-brand div {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.install-brand span {
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.install-brand strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}

.install-intro {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 45px;
}

.install-intro h1,
.install-complete h1 {
  max-width: 670px;
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.install-intro p:last-child,
.install-complete > p {
  max-width: 580px;
  color: #717571;
  font-size: 12px;
  line-height: 1.7;
}

.install-intro ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-intro li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  color: #5c605c;
  font-size: 11px;
}

.install-intro li span {
  margin-right: 12px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.install-error {
  margin-bottom: 22px;
  padding: 15px 18px;
  font-size: 11px;
}

.install-form > section,
.install-card {
  margin-bottom: 16px;
  padding: clamp(24px, 4vw, 40px);
  background: white;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 35px;
}

.install-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  background: var(--green);
  color: #07150d;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.install-footnote {
  margin: 10px 0 0;
  color: #8b8f8b;
  font-size: 9px;
  text-align: center;
}

.install-complete {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.install-complete .admin-primary-button {
  margin-top: 20px;
}

@media (max-width: 820px) {
  .admin-navigation {
    display: flex;
    flex: 0 0 auto;
  }

  .admin-navigation a {
    width: auto;
    white-space: nowrap;
  }

  .admin-stat-grid,
  .admin-welcome,
  .admin-login-shell,
  .install-intro {
    grid-template-columns: 1fr;
  }

  .admin-login-brand {
    min-height: 420px;
  }

  .admin-login-card {
    margin: 40px auto;
  }

  .admin-login-card > a {
    margin-bottom: 45px;
  }

  .install-form > section,
  .install-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-welcome {
    gap: 30px;
  }

  .admin-sidebar {
    gap: 10px;
  }

  .admin-navigation a {
    padding: 11px 9px;
    font-size: 9px;
  }

  .admin-navigation a span {
    display: none;
  }

  .php-product-editor .editor-body {
    padding: 20px;
  }

  .editor-checks {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-login-brand {
    min-height: 330px;
    padding: 30px 24px;
  }

  .admin-login-brand h1 {
    font-size: 54px;
  }

  .admin-login-card {
    width: calc(100% - 28px);
    margin: 14px auto;
    padding: 28px 22px;
  }

  .install-shell {
    width: min(100% - 24px, 1040px);
    padding-top: 12px;
  }

  .install-brand {
    margin-bottom: 25px;
  }

  .install-brand img {
    height: 38px;
    max-width: 150px;
  }
}

/* Home modular */
.home-block-action {
  margin-top: 34px;
  display: flex;
  justify-content: flex-end;
}

.home-categories {
  background: #f4f3ee;
}

.home-category-grid {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-category-card {
  min-width: 0;
  border: 1px solid rgba(11, 13, 12, 0.1);
  background: white;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-category-card:hover {
  border-color: rgba(0, 173, 97, 0.46);
  box-shadow: 0 22px 55px rgba(11, 13, 12, 0.1);
  transform: translateY(-5px);
}

.home-category-image {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, rgba(0, 173, 97, 0.25), transparent 25%),
    var(--ink);
}

.home-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 420ms ease;
}

.home-category-card:hover .home-category-image img {
  transform: scale(1.045);
}

.home-category-image > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(11, 13, 12, 0.88);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-category-copy {
  min-height: 146px;
  padding: 23px 24px 21px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 5px 18px;
}

.home-category-copy p {
  margin: 0 0 8px;
  color: #168657;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-category-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.home-category-copy small {
  max-height: 34px;
  margin-top: 12px;
  overflow: hidden;
  display: block;
  grid-column: 1 / -1;
  color: #7a7e7a;
  font-size: 9px;
  line-height: 1.65;
}

.home-category-copy > strong {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 400;
  transition: background 180ms ease, border-color 180ms ease;
}

.home-category-card:hover .home-category-copy > strong {
  border-color: var(--green);
  background: var(--green);
}

.block-intro {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.home-benefits {
  background:
    radial-gradient(circle at 12% 80%, rgba(0, 173, 97, 0.18), transparent 25%),
    var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.benefits-heading h2 {
  max-width: 620px;
  margin: 12px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.benefits-heading > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.75;
}

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

.benefits-grid article {
  min-height: 220px;
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.benefits-grid article span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.benefits-grid article h3 {
  margin: 46px 0 12px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
}

.benefits-grid article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.65;
}

.process-intro {
  max-width: 440px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.7;
}

.company-stat img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.final-cta > div > p:last-child {
  max-width: 590px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.home-map {
  background: #f7f6f1;
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(500px, 1.25fr);
  align-items: stretch;
  gap: clamp(36px, 7vw, 100px);
}

.home-map-copy {
  align-self: center;
}

.home-map-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-map-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 25px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.map-address {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-address span,
.map-address strong,
.map-address small {
  display: block;
}

.map-address span {
  margin-bottom: 7px;
  color: #8a8e8a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-address strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
}

.map-address small {
  margin-top: 5px;
  color: var(--muted);
}

.home-map-frame {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background: #dfe3dc;
}

.home-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  filter: saturate(0.72) contrast(1.05);
}

.home-map-frame > span {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  background: var(--ink);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Home block administration */
.home-admin-intro {
  margin-bottom: 24px;
  padding: clamp(26px, 4vw, 45px);
  background: var(--ink);
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.home-admin-intro h2 {
  margin: 10px 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
}

.home-admin-intro div > p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.6;
}

.home-admin-intro > a {
  flex: 0 0 auto;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--green);
  color: var(--green);
  font-size: 10px;
}

.home-block-editor-list {
  max-width: 1050px;
  display: grid;
  gap: 16px;
}

.home-block-editor {
  scroll-margin-top: 20px;
  background: white;
}

.home-block-editor > header {
  padding: 18px 22px;
  border-bottom: 1px solid #e1e4df;
  background: #f9faf7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-block-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.home-block-heading > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.home-block-heading strong,
.home-block-heading small {
  display: block;
}

.home-block-heading strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
}

.home-block-heading small {
  max-width: 560px;
  margin-top: 4px;
  color: #747b75;
  font-size: 10px;
  line-height: 1.45;
}

.home-block-editor .settings-grid {
  padding: 24px;
}

.block-enabled {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.friendly-toggle input,
.featured-product-choice > input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.friendly-check {
  width: 28px;
  height: 28px;
  border: 2px solid #aab3ac;
  border-radius: 7px;
  background: white;
  color: transparent;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transition: 160ms ease;
}

.friendly-toggle input:checked + .friendly-check,
.featured-product-choice > input:checked + .friendly-check {
  border-color: var(--green);
  background: var(--green);
  color: #052113;
  box-shadow: 0 0 0 4px rgba(0, 176, 97, 0.1);
}

.friendly-toggle input:focus-visible + .friendly-check,
.featured-product-choice > input:focus-visible + .friendly-check {
  outline: 3px solid rgba(0, 122, 70, 0.24);
  outline-offset: 2px;
}

.friendly-toggle-copy strong,
.friendly-toggle-copy small {
  display: block;
}

.friendly-toggle-copy strong {
  color: #26332b;
  font-size: 10px;
}

.friendly-toggle-copy small {
  margin-top: 3px;
  color: #7d857f;
  font-size: 9px;
  line-height: 1.35;
}

.field-help {
  margin-top: 7px;
  display: block;
  color: #8e928e;
  font-size: 9px;
  line-height: 1.5;
}

.home-block-editor > footer {
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.home-block-editor > footer > span {
  color: #8a918b;
  font-size: 9px;
  line-height: 1.45;
}

.friendly-items-editor,
.featured-product-selector {
  padding: 22px;
  border: 1px solid #dfe5e0;
  border-radius: 10px;
  background: #f6f8f5;
}

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

.friendly-section-heading strong {
  display: block;
  color: #15261c;
  font-size: 14px;
}

.friendly-section-heading p {
  max-width: 620px;
  margin: 5px 0 0;
  color: #68716b;
  font-size: 10px;
  line-height: 1.55;
}

.friendly-add-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--green);
  border-radius: 7px;
  background: white;
  color: #07623a;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
}

.friendly-items-list {
  display: grid;
  gap: 12px;
}

.friendly-item-card {
  padding: 17px;
  border: 1px solid #d9dfda;
  border-radius: 8px;
  background: white;
}

.friendly-item-card > header {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.friendly-item-number {
  color: #087546;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.friendly-item-card > header button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #a95353;
  background: transparent;
  color: #9a3434;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.friendly-item-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.friendly-item-fields input,
.friendly-item-fields select,
.friendly-item-fields textarea {
  min-height: 42px;
  background: #fbfcfa;
}

.friendly-item-fields label.wide {
  grid-column: 1 / -1;
}

.featured-count {
  padding: 8px 11px;
  border-radius: 999px;
  background: #e1f5e9;
  color: #07653b;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 900;
}

.featured-search {
  margin-bottom: 15px;
  display: block;
}

.featured-search input {
  margin-top: 7px;
  background: white;
}

.featured-choice-grid {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.featured-product-choice {
  min-height: 82px;
  padding: 10px;
  border: 1px solid #dce2dd;
  border-radius: 8px;
  background: white;
  display: grid;
  grid-template-columns: 28px 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 150ms ease;
}

.featured-product-choice:hover {
  border-color: #8dc4a5;
  transform: translateY(-1px);
}

.featured-product-choice.is-selected {
  border-color: var(--green);
  background: #f0fbf5;
  box-shadow: inset 0 0 0 1px var(--green);
}

.featured-product-choice.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.featured-product-thumb {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 6px;
  background: #111713;
  display: grid;
  place-items: center;
}

.featured-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-product-thumb > span {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 16px;
}

.featured-product-copy strong,
.featured-product-copy small {
  display: block;
}

.featured-product-copy strong {
  color: #18251d;
  font-size: 11px;
  line-height: 1.35;
}

.featured-product-copy small {
  margin-top: 5px;
  color: #7d857f;
  font-size: 9px;
  line-height: 1.35;
}

.featured-empty,
.friendly-empty-state {
  margin: 12px 0 0;
  padding: 15px;
  border: 1px dashed #cbd4cd;
  border-radius: 7px;
  background: white;
  color: #667069;
  font-size: 10px;
  line-height: 1.5;
}

.home-block-editor > footer button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  background: var(--green);
  color: #07150d;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .home-block-editor > header,
  .friendly-section-heading,
  .home-block-editor > footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .block-enabled {
    width: 100%;
  }

  .friendly-add-button,
  .home-block-editor > footer button {
    width: 100%;
  }

  .friendly-item-fields,
  .featured-choice-grid {
    grid-template-columns: 1fr;
  }

  .featured-choice-grid {
    max-height: 620px;
  }
}

/* Category administration */
.category-admin-layout {
  display: grid;
  grid-template-columns: minmax(390px, 0.85fr) minmax(480px, 1.15fr);
  align-items: start;
  gap: 24px;
}

.category-editor-card,
.category-tree-card {
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid #e0e4df;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 30px rgba(13, 31, 22, 0.04);
}

.category-editor-card {
  position: sticky;
  top: 24px;
}

.category-editor-card [hidden] {
  display: none !important;
}

.category-editor-card h2,
.category-tree-heading h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
}

.category-intro {
  margin: 0 0 28px;
  color: #687069;
  font-size: 12px;
  line-height: 1.65;
}

.category-step {
  min-width: 0;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid #dfe4df;
  border-radius: 9px;
  background: #fafbf9;
}

.category-step legend {
  padding: 0 8px 0 0;
  color: #263229;
  font-size: 11px;
  font-weight: 800;
}

.category-step legend > span {
  width: 25px;
  height: 25px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  color: #07150d;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
}

.category-type-options {
  display: grid;
  gap: 10px;
}

.category-type-card {
  min-height: 78px;
  padding: 14px;
  border: 1px solid #d7dcd7;
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.category-type-card:hover,
.category-type-card:has(input:checked) {
  border-color: var(--green);
  background: #f0fbf5;
}

.category-type-card input {
  width: 18px !important;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.category-type-card strong,
.category-type-card small {
  display: block;
}

.category-type-card strong {
  margin-bottom: 5px;
  color: #18251d;
  font-size: 12px;
}

.category-type-card small {
  color: #707871;
  font-size: 10px;
  line-height: 1.5;
}

.category-field {
  margin-bottom: 15px;
  display: block;
}

.category-field:last-child {
  margin-bottom: 0;
}

.category-field > span {
  margin-bottom: 7px;
  display: block;
  color: #566057;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-editor-card input,
.category-editor-card select,
.category-editor-card textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d7dad6;
  border-radius: 6px;
  outline: none;
  background: white;
  color: #1c2820;
  font-size: 12px;
}

.category-editor-card input:focus,
.category-editor-card select:focus,
.category-editor-card textarea:focus {
  border-color: var(--green);
}

.category-image-upload img {
  width: 100%;
  height: 170px;
  margin-bottom: 10px;
  border-radius: 6px;
  object-fit: cover;
}

.category-visibility {
  margin-top: 20px;
  display: grid;
  gap: 9px;
}

.category-visibility [hidden] {
  display: none !important;
}

.category-visibility .check-field {
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid #e1e4e0;
  border-radius: 7px;
  background: white;
  align-items: flex-start;
}

.category-visibility .check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.category-visibility .check-field span,
.category-visibility .check-field strong,
.category-visibility .check-field small {
  display: block;
}

.category-visibility .check-field strong {
  margin-bottom: 3px;
  color: #253027;
  font-size: 11px;
}

.category-visibility .check-field small {
  color: #778078;
  font-size: 9px;
  line-height: 1.45;
}

.category-advanced {
  margin-top: 2px;
  border: 1px solid #dfe4df;
  border-radius: 8px;
  background: white;
}

.category-advanced summary {
  padding: 14px 16px;
  color: #586158;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.category-advanced > div {
  padding: 2px 16px 16px;
}

.category-link-note {
  margin-top: 18px;
  padding: 15px 16px;
  border-left: 3px solid var(--green);
  background: #edf8f2;
}

.category-link-note strong,
.category-link-note span {
  display: block;
}

.category-link-note strong {
  margin-bottom: 4px;
  color: #08663d;
  font-size: 10px;
}

.category-link-note span {
  color: #506057;
  font-size: 9px;
  line-height: 1.55;
}

.category-form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.category-form-actions a {
  font-size: 9px;
}

.category-form-actions button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  cursor: pointer;
  color: #07150d;
  font-size: 11px;
  font-weight: 800;
}

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

.category-tree-heading > div > span {
  color: #7c837d;
  font-size: 10px;
}

.category-tree-heading > a {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: #075f39;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  white-space: nowrap;
}

.category-order-form {
  margin: 0 0 18px;
}

.category-order-guide {
  min-height: 56px;
  padding: 11px 14px;
  border: 1px solid #cde8da;
  border-radius: 8px;
  background: #f1faf5;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 11px;
  color: #526059;
  font-size: 9px;
  line-height: 1.45;
}

.category-order-guide strong {
  color: #173224;
}

.category-order-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #07150d;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
}

.category-order-guide small {
  min-width: 112px;
  color: #587067;
  font-size: 8px;
  font-weight: 800;
  text-align: right;
}

.category-order-guide small.saving {
  color: #8d6b22;
}

.category-order-guide small.saved {
  color: #087546;
}

.category-order-guide small.error {
  color: #a13c3c;
}

.category-empty-state {
  padding: 28px;
  border: 1px dashed #cbd2cc;
  border-radius: 8px;
  background: #fafbf9;
  text-align: center;
}

.category-empty-state strong,
.category-empty-state span {
  display: block;
}

.category-empty-state strong {
  margin-bottom: 6px;
  font-size: 12px;
}

.category-empty-state span {
  color: #788079;
  font-size: 10px;
}

.category-tree-parent {
  margin-top: 10px;
  border: 1px solid #e0e4df;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.category-tree-parent.is-dragging,
.category-tree-child.is-dragging {
  opacity: 0.46;
}

.category-sort-list.is-sorting-parent .category-tree-parent {
  cursor: grabbing;
}

.category-sort-list.is-sorting-child .category-children {
  min-height: 52px;
  outline: 1px dashed #9fd6bb;
  outline-offset: -1px;
}

.category-tree-row {
  min-height: 70px;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: 30px 48px minmax(120px, 1fr) auto minmax(116px, auto);
  align-items: center;
  gap: 10px;
}

.category-row-copy > strong,
.category-row-copy > small {
  display: block;
}

.category-row-copy > strong {
  font-size: 12px;
}

.category-row-copy > small {
  margin-top: 4px;
  color: #929692;
  font-size: 9px;
}

.category-drag-handle {
  width: 29px;
  height: 36px;
  padding: 0;
  border: 1px solid #dfe4df;
  border-radius: 5px;
  background: #f8faf8;
  color: #7c877f;
  display: grid;
  place-items: center;
  cursor: grab;
  font-size: 18px;
  line-height: 1;
}

.category-drag-handle:hover {
  border-color: var(--green);
  color: #087546;
}

.category-drag-handle:active {
  cursor: grabbing;
}

.category-tree-image {
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.category-tree-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tree-image span {
  color: var(--green);
  font-family: var(--font-display);
}

.category-row-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-row-status > small {
  color: #087546;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.category-row-actions > a {
  color: #087546;
  font-size: 9px;
}

.category-inline-delete {
  margin: 0;
}

.category-inline-delete button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a33d3d;
  cursor: pointer;
  font-size: 9px;
}

.category-inline-delete button:hover {
  text-decoration: underline;
}

.category-move-buttons {
  display: none;
  gap: 4px;
}

.category-move-buttons button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #d9ded9;
  border-radius: 4px;
  background: white;
  color: #465149;
}

.category-children {
  background: #fafbf9;
}

.category-tree-child {
  min-height: 48px;
  padding-left: 42px;
  border-top: 1px solid #e9ece9;
  background: #fafbf9;
  grid-template-columns: 30px 20px minmax(120px, 1fr) auto minmax(116px, auto);
}

.tree-branch {
  color: #9ca09c;
}

.category-child-dropzone {
  display: none;
  min-height: 42px;
  margin: 7px;
  border: 1px dashed #91cfaf;
  border-radius: 6px;
  color: #49705b;
  place-items: center;
  font-size: 9px;
}

.category-sort-list.is-sorting-child .category-child-dropzone {
  display: grid;
}

/* Users */
.admin-split-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(440px, 1.3fr);
  align-items: start;
  gap: 22px;
}

.user-create-card {
  position: sticky;
  top: 28px;
}

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

.user-list > article {
  padding: 20px;
  background: white;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
}

.user-summary strong,
.user-summary span,
.user-summary small {
  display: block;
}

.user-summary strong {
  font-size: 12px;
}

.user-summary span {
  margin-top: 4px;
  color: #747874;
  font-size: 10px;
}

.user-summary small {
  margin-top: 5px;
  color: #999d99;
  font-size: 8px;
  text-transform: uppercase;
}

.user-controls {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.user-controls form {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.user-controls input {
  width: 150px;
  padding: 7px 8px;
  border: 1px solid #d5d8d4;
  font-size: 9px;
}

.user-controls button {
  padding: 7px 9px;
  border: 1px solid #d2d5d1;
  background: white;
  cursor: pointer;
  font-size: 8px;
}

/* Updater */
.update-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.85fr) minmax(400px, 1.15fr);
  align-items: start;
  gap: 22px;
}

.update-card,
.update-history {
  padding: clamp(26px, 4vw, 42px);
  background: white;
}

.update-version {
  margin-bottom: 32px;
  padding: 15px 18px;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.update-version span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  text-transform: uppercase;
}

.update-version strong {
  color: var(--green);
  font-size: 15px;
}

.update-card h2,
.update-history h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 400;
}

.update-card > p:not(.eyebrow),
.update-history > p:not(.eyebrow) {
  color: #777b77;
  font-size: 11px;
  line-height: 1.7;
}

.update-drop {
  min-height: 145px;
  margin: 25px 0 16px;
  padding: 20px;
  border: 1px dashed #9aa09a;
  background: #f7f8f5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  cursor: pointer;
  text-align: center;
}

.update-drop input {
  width: min(100%, 280px);
  font-size: 9px;
}

.update-drop strong {
  color: #087546;
  font-size: 11px;
}

.update-drop span {
  color: #969a96;
  font-size: 8px;
}

.update-force {
  margin-bottom: 18px;
}

.update-card > button {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.backup-content-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.backup-content-list li {
  position: relative;
  padding: 13px 15px 13px 42px;
  border: 1px solid #dce5df;
  background: #f7faf8;
  color: #3e4742;
  font-size: 10px;
  line-height: 1.55;
}

.backup-content-list li::before {
  position: absolute;
  top: 11px;
  left: 15px;
  content: "✓";
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.backup-warning {
  margin: 0 0 20px;
  border-color: #e5cc8e;
  background: #fff6dd;
  color: #6c5418;
}

.backup-help article {
  grid-template-columns: 1fr;
}

.legacy-import-card {
  max-width: 1180px;
  display: grid;
  gap: 20px;
}

.legacy-import-header,
.legacy-import-step,
.legacy-import-footer {
  padding: clamp(24px, 4vw, 38px);
  background: white;
}

.legacy-import-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.legacy-import-header h2 {
  max-width: 720px;
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
}

.legacy-import-header > div > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #68716b;
  font-size: 11px;
  line-height: 1.7;
}

.legacy-import-summary {
  min-width: 175px;
  padding: 20px;
  background: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 8px 12px;
}

.legacy-import-summary strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
}

.legacy-import-summary span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.legacy-step-title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legacy-step-title > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
}

.legacy-step-title strong,
.legacy-step-title small {
  display: block;
}

.legacy-step-title strong {
  color: #1e2a23;
  font-size: 13px;
}

.legacy-step-title small {
  margin-top: 3px;
  color: #778078;
  font-size: 9px;
}

.legacy-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legacy-mode-grid label {
  min-height: 95px;
  padding: 17px;
  border: 1px solid #dbe1dc;
  border-radius: 9px;
  background: #f8faf8;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.legacy-mode-grid input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.legacy-mode-grid strong,
.legacy-mode-grid small {
  display: block;
}

.legacy-mode-grid strong {
  color: #213027;
  font-size: 11px;
}

.legacy-mode-grid small {
  margin-top: 5px;
  color: #747c76;
  font-size: 9px;
  line-height: 1.5;
}

.legacy-import-toolbar {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.legacy-import-toolbar > span {
  margin-right: auto;
  color: #087546;
  font-size: 9px;
  font-weight: 900;
}

.legacy-import-toolbar button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d2d9d3;
  border-radius: 6px;
  background: white;
  color: #364139;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

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

.legacy-category-grid label {
  min-height: 72px;
  padding: 12px;
  border: 1px solid #dce2dd;
  border-radius: 8px;
  background: white;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.legacy-category-grid label.without-images {
  background: #f8f8f5;
}

.legacy-category-grid label > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.legacy-category-grid label > input:checked + .friendly-check {
  border-color: var(--green);
  background: var(--green);
  color: #052113;
  box-shadow: 0 0 0 4px rgba(0, 176, 97, 0.1);
}

.legacy-category-grid label > input:focus-visible + .friendly-check {
  outline: 3px solid rgba(0, 122, 70, 0.24);
  outline-offset: 2px;
}

.legacy-category-copy strong,
.legacy-category-copy small {
  display: block;
}

.legacy-category-copy strong {
  color: #1e2a23;
  font-size: 10px;
}

.legacy-category-copy small {
  margin-top: 4px;
  color: #7b837d;
  font-size: 8px;
  line-height: 1.4;
}

.legacy-import-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.legacy-import-footer strong,
.legacy-import-footer span {
  display: block;
}

.legacy-import-footer strong {
  color: #203027;
  font-size: 11px;
}

.legacy-import-footer span {
  margin-top: 4px;
  color: #778078;
  font-size: 9px;
}

.legacy-import-footer button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  background: var(--green);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}

.update-history article {
  padding: 15px 0;
  border-bottom: 1px solid #e1e4df;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.update-history article strong,
.update-history article span,
.update-history article small,
.update-history article a {
  display: block;
}

.update-history article strong {
  font-size: 11px;
}

.update-history article span,
.update-history article small {
  margin-top: 4px;
  color: #8b8f8b;
  font-size: 8px;
}

.update-history article a {
  margin-top: 7px;
  color: #087546;
  font-size: 8px;
  text-align: right;
}

@media (max-width: 1100px) {
  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-map {
    grid-template-columns: 1fr;
  }

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

  .category-editor-card {
    position: static;
  }

  .admin-split-layout,
  .update-layout {
    grid-template-columns: 1fr;
  }

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

  .user-create-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .home-benefits {
    grid-template-columns: 1fr;
  }

  .home-admin-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-map-frame,
  .home-map-frame iframe {
    min-height: 390px;
  }

  .category-tree-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-order-guide {
    grid-template-columns: 32px 1fr;
  }

  .category-order-guide small {
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

  .category-move-buttons {
    display: flex;
  }

  .user-list > article {
    grid-template-columns: 46px 1fr;
  }

  .user-controls {
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  .user-controls form {
    justify-content: stretch;
  }

  .user-controls form > * {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .home-category-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .legacy-import-header,
  .legacy-mode-grid,
  .legacy-category-grid {
    grid-template-columns: 1fr;
  }

  .legacy-import-summary {
    width: 100%;
  }

  .legacy-import-toolbar,
  .legacy-import-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .legacy-import-toolbar > span {
    margin: 0 0 4px;
  }

  .home-category-card {
    min-height: 285px;
  }

  .home-map-frame,
  .home-map-frame iframe {
    min-height: 320px;
  }

  .category-editor-card,
  .category-tree-card {
    padding: 22px 17px;
  }

  .category-tree-row {
    grid-template-columns: 30px 42px minmax(0, 1fr);
  }

  .category-tree-image {
    width: 42px;
    height: 42px;
  }

  .category-tree-row .category-row-status,
  .category-tree-row > .status {
    display: none;
  }

  .category-row-actions {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

  .category-tree-child {
    padding-left: 18px;
    grid-template-columns: 30px 18px minmax(0, 1fr);
  }

  .category-tree-child .category-row-actions {
    grid-column: 2 / -1;
  }

  .home-block-editor > header {
    align-items: flex-start;
  }

  .update-history article {
    grid-template-columns: 1fr;
  }

  .update-history article a {
    text-align: left;
  }
}
body.content-protected img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Estadísticas del panel */
.statistics-intro {
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid #dde2dc;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.statistics-intro h2 {
  margin: 7px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.04;
}

.statistics-intro > div > p:last-child {
  max-width: 640px;
  margin: 0;
  color: #68726b;
  font-size: 11px;
}

.statistics-periods {
  padding: 5px;
  border: 1px solid #d9dfda;
  border-radius: 12px;
  background: #fff;
  display: flex;
  gap: 3px;
}

.statistics-periods a {
  min-width: 62px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #526057;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.statistics-periods a:hover,
.statistics-periods a.active {
  background: #0a9f61;
  color: #fff;
}

.statistics-summary {
  margin-bottom: 24px;
}

.statistics-panel {
  min-width: 0;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #dde2dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(25, 42, 31, .04);
}

.statistics-panel > header {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.statistics-panel > header small {
  color: #07945a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.statistics-panel > header h3 {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.statistics-panel > header > span {
  color: #7a817c;
  font-size: 9px;
}

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

.statistics-bars {
  height: 230px;
  padding: 12px 4px 0;
  border-bottom: 1px solid #dfe4df;
  display: flex;
  align-items: flex-end;
  gap: clamp(4px, .8vw, 12px);
}

.statistics-bars > div {
  min-width: 10px;
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
}

.statistics-bars strong {
  color: #607068;
  font-size: 8px;
}

.statistics-bars i {
  width: min(24px, 80%);
  min-height: 8px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #18bd79 0%, #078e55 100%);
  display: block;
}

.statistics-bars span {
  min-height: 26px;
  color: #858c87;
  font-size: 7px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.statistics-ranking {
  display: grid;
  gap: 16px;
}

.statistics-ranking p {
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.statistics-ranking p strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.statistics-ranking p span {
  flex: 0 0 auto;
  color: #808780;
  font-size: 8px;
}

.statistics-ranking > div > i {
  height: 7px;
  border-radius: 999px;
  background: #e8ede9;
  display: block;
  overflow: hidden;
}

.statistics-ranking > div > i span {
  height: 100%;
  border-radius: inherit;
  background: #09a863;
  display: block;
}

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

.statistics-device-list article {
  padding: 13px 14px;
  border: 1px solid #e3e7e3;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
}

.statistics-device-list article > span {
  color: #04975a;
  font-size: 25px;
  line-height: 1;
  text-align: center;
}

.statistics-device-list strong,
.statistics-device-list small {
  display: block;
}

.statistics-device-list strong {
  font-size: 10px;
}

.statistics-device-list small {
  margin-top: 3px;
  color: #848a85;
  font-size: 8px;
}

.statistics-device-list b {
  color: #183528;
  font-size: 14px;
}

.statistics-simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stats-list;
}

.statistics-simple-list li {
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid #eaedea;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  counter-increment: stats-list;
}

.statistics-simple-list li:last-child {
  border-bottom: 0;
}

.statistics-simple-list li span {
  min-width: 0;
  overflow: hidden;
  color: #34423a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.statistics-simple-list li span::before {
  width: 25px;
  color: #0a9d5e;
  font-size: 8px;
  font-weight: 900;
  content: counter(stats-list, decimal-leading-zero);
  display: inline-block;
}

.statistics-simple-list li strong {
  min-width: 34px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eaf6ef;
  color: #067a49;
  font-size: 9px;
  text-align: center;
}

.statistics-empty {
  min-height: 120px;
  margin: 0;
  color: #777f79;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  font-size: 9px;
  text-align: center;
}

.statistics-empty strong,
.statistics-empty span {
  display: block;
}

.statistics-empty strong {
  color: #24332b;
  font-size: 11px;
}

.statistics-note {
  margin: 14px 0 0;
  color: #858b86;
  font-size: 8px;
}

.statistics-table-wrap {
  border: 0;
  box-shadow: none;
}

.statistics-table-wrap .admin-table td small {
  margin-top: 3px;
  color: #8b918c;
  font-size: 8px;
  display: block;
}

@media (max-width: 900px) {
  .statistics-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .statistics-periods {
    width: 100%;
  }

  .statistics-periods a {
    min-width: 0;
    flex: 1;
  }

  .statistics-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  .statistics-intro,
  .statistics-panel {
    padding: 20px 16px;
  }

  .statistics-bars {
    height: 185px;
    gap: 3px;
  }

  .statistics-bars strong {
    display: none;
  }

  .statistics-ranking p {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

/* Corrección 1.4.1: panel móvil fuera del header y scroll táctil real. */
@media (max-width: 820px) {
  body.mobile-navigation-open {
    overflow: hidden !important;
  }

  body > .main-nav {
    position: fixed !important;
    z-index: 9999;
    top: var(--mobile-nav-top, 78px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }

  body > .main-nav.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body > .main-nav .nav-categories,
  body > .main-nav > a,
  body > .main-nav .header-search {
    flex: 0 0 auto;
  }

  body > .main-nav .mega-menu,
  body > .main-nav .mega-menu.open {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  body > .main-nav .mega-menu {
    max-height: 0 !important;
    padding: 0 24px;
    overflow: hidden !important;
  }

  body > .main-nav .mega-menu.open {
    max-height: none !important;
    padding: 24px;
    overflow: visible !important;
  }

  body > .main-nav .header-search {
    margin-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* Corrección 1.4.2: conservar colores del menú al moverlo fuera de .site-header. */
@media (max-width: 820px) {
  body > .main-nav {
    color: #ffffff !important;
  }

  body > .main-nav > a,
  body > .main-nav .nav-categories > button {
    color: #ffffff !important;
    opacity: 0.82;
  }

  body > .main-nav > a:hover,
  body > .main-nav > a:focus-visible,
  body > .main-nav .nav-categories > button:hover,
  body > .main-nav .nav-categories > button:focus-visible {
    color: var(--green-bright) !important;
    opacity: 1;
  }

  body > .main-nav .mega-menu,
  body > .main-nav .mega-menu.open {
    background: #f5f3ed !important;
    color: var(--ink) !important;
  }

  body > .main-nav .mega-links a,
  body > .main-nav .mega-parent,
  body > .main-nav .mega-child {
    color: var(--ink) !important;
  }

  body > .main-nav .header-search input {
    color: #ffffff !important;
  }
}

/* Versión 1.4.3: reestructuración definitiva del menú móvil. */
@media (max-width: 820px) {
  body > .main-nav,
  body > .main-nav.open {
    /* La regla de escritorio heredaba justify-content:flex-end y empujaba
       todos los enlaces al fondo del panel, creando el gran vacío superior. */
    justify-content: flex-start !important;
    align-content: stretch !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 0 max(18px, env(safe-area-inset-bottom)) !important;
    background: var(--green) !important;
    color: #07140d !important;
    scrollbar-gutter: stable;
  }

  body > .main-nav > a,
  body > .main-nav .nav-categories > button {
    min-height: 58px !important;
    padding: 17px 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto !important;
    background: var(--green) !important;
    color: #07140d !important;
    border-bottom: 1px solid rgba(7, 20, 13, 0.18) !important;
    opacity: 1 !important;
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease;
  }

  body > .main-nav > a:hover,
  body > .main-nav > a:focus-visible,
  body > .main-nav > a:active,
  body > .main-nav .nav-categories > button:hover,
  body > .main-nav .nav-categories > button:focus-visible,
  body > .main-nav .nav-categories > button:active {
    background: #07864f !important;
    color: #ffffff !important;
  }

  body > .main-nav .nav-categories {
    width: 100%;
    flex: 0 0 auto !important;
  }

  body > .main-nav .mega-menu,
  body > .main-nav .mega-menu.open {
    width: 100% !important;
    margin: 0 !important;
    background: #f5f3ed !important;
    color: var(--ink) !important;
  }

  body > .main-nav .mega-menu {
    max-height: 0 !important;
    padding: 0 24px !important;
    overflow: hidden !important;
  }

  body > .main-nav .mega-menu.open {
    max-height: none !important;
    padding: 18px 24px 22px !important;
    overflow: visible !important;
  }

  body > .main-nav .mega-links {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body > .main-nav .mega-category-group {
    min-width: 0;
  }

  body > .main-nav .mega-links a {
    padding: 13px 0 !important;
    border-bottom: 1px solid rgba(11, 13, 12, 0.12) !important;
  }

  body > .main-nav .header-search {
    width: auto !important;
    min-height: 50px;
    margin: 20px 20px 4px !important;
    flex: 0 0 auto !important;
    border-color: rgba(7, 20, 13, 0.38) !important;
    background: rgba(255, 255, 255, 0.92) !important;
  }

  body > .main-nav .header-search input {
    color: #111713 !important;
  }

  body > .main-nav .header-search input::placeholder {
    color: #68706a !important;
  }

  body > .main-nav .header-search button {
    background: #07140d !important;
    color: #ffffff !important;
  }
}

/* Versión 1.4.4: menú móvil lateral, compacto y accesible. */
@media (max-width: 820px) {
  body.mobile-navigation-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.mobile-navigation-open::before {
    content: "";
    position: fixed;
    z-index: 9997;
    inset: 0;
    background: rgba(3, 12, 8, 0.58);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 1;
    pointer-events: auto;
  }

  body > .main-nav,
  body > .main-nav.open {
    position: fixed !important;
    z-index: 9998 !important;
    top: var(--mobile-nav-top, 0px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(88vw, 390px) !important;
    max-width: 100% !important;
    height: calc(100dvh - var(--mobile-nav-top, 0px)) !important;
    min-height: 0 !important;
    padding: 0 0 max(18px, env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #08ad66 !important;
    color: #07140d !important;
    box-shadow: -18px 0 42px rgba(0, 0, 0, 0.28);
    transform: translateX(104%) !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 220ms !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    scrollbar-width: thin;
  }

  body > .main-nav.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1) !important;
  }

  body > .main-nav > a,
  body > .main-nav .nav-categories > button {
    min-height: 60px !important;
    padding: 17px 24px !important;
    background: transparent !important;
    color: #07140d !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(7, 20, 13, 0.16) !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    transition: background-color 150ms ease, color 150ms ease, padding-left 150ms ease !important;
  }

  body > .main-nav > a:hover,
  body > .main-nav > a:focus-visible,
  body > .main-nav > a:active,
  body > .main-nav .nav-categories > button:hover,
  body > .main-nav .nav-categories > button:focus-visible,
  body > .main-nav .nav-categories > button:active,
  body > .main-nav .nav-categories > button[aria-expanded="true"] {
    padding-left: 30px !important;
    background: #087a4b !important;
    color: #ffffff !important;
  }

  body > .main-nav .nav-categories > button span {
    display: inline-block;
    font-size: 1.05em;
    transition: transform 180ms ease;
  }

  body > .main-nav .nav-categories > button[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  body > .main-nav .mega-menu,
  body > .main-nav .mega-menu.open {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    background: #f6f4ee !important;
    color: var(--ink) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body > .main-nav .mega-menu {
    max-height: 0 !important;
    padding: 0 22px !important;
    overflow: hidden !important;
    transition: max-height 260ms ease, padding 180ms ease !important;
  }

  body > .main-nav .mega-menu.open {
    max-height: 2400px !important;
    padding: 18px 22px 22px !important;
  }

  body > .main-nav .mega-menu > div:first-child {
    padding-bottom: 12px;
  }

  body > .main-nav .mega-menu h3 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
  }

  body > .main-nav .mega-links {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body > .main-nav .mega-links a {
    display: block !important;
    padding: 12px 4px !important;
    color: var(--ink) !important;
    border-bottom: 1px solid rgba(11, 13, 12, 0.11) !important;
  }

  body > .main-nav .mega-links a:hover,
  body > .main-nav .mega-links a:focus-visible {
    color: #087a4b !important;
    padding-left: 10px !important;
  }

  body > .main-nav .header-search {
    width: auto !important;
    margin: 20px 18px 4px !important;
    flex: 0 0 auto !important;
    border: 2px solid rgba(7, 20, 13, 0.36) !important;
    background: #ffffff !important;
  }

  body > .main-nav .header-search input {
    color: #111713 !important;
  }

  body > .main-nav .header-search button {
    background: #07140d !important;
    color: #ffffff !important;
  }

  .mobile-menu {
    position: relative;
    z-index: 10000 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body > .main-nav,
  body > .main-nav.open,
  body > .main-nav .mega-menu,
  body > .main-nav .mega-menu.open {
    transition: none !important;
  }
}

/* Versión 1.4.5: unifica el negro del fondo del logotipo con encabezado y pie. */
.site-header,
.site-footer {
  background: #000000 !important;
}

/* Evita que la transparencia del encabezado altere el negro original del logo. */
.site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo-link,
.footer-brand,
.logo-link img,
.footer-brand img {
  background-color: #000000;
}


/* 1.4.6 · Galería separada de trabajos realizados */
.image-upload-group { display:grid; gap:10px; padding:14px; margin-top:12px; border:1px solid rgba(255,255,255,.12); border-radius:14px; }
.image-upload-group > small { color:#9ca3a0; line-height:1.45; }
.work-upload-group { border-color:rgba(0,190,108,.42); background:rgba(0,190,108,.06); }
.image-type-badge { display:inline-flex; width:fit-content; margin-top:6px; padding:3px 8px; border-radius:999px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.image-type-badge.is-product { background:#e8f7ef; color:#08743f; }
.image-type-badge.is-work { background:#fff0c7; color:#805500; }
.work-showcase { padding:clamp(48px,7vw,96px) clamp(20px,6vw,88px); background:#f4f3ee; }
.work-showcase .section-heading { align-items:end; }
.work-showcase .section-heading > p { max-width:520px; color:#666b68; line-height:1.65; }
.work-gallery { margin-top:28px; display:grid; grid-template-columns:minmax(0,1fr) 180px; gap:18px; }
.work-gallery-main { position:relative; min-height:520px; background:#111; overflow:hidden; }
.work-gallery-main > img { width:100%; height:100%; min-height:520px; object-fit:contain; display:block; }
.work-gallery-main > small { position:absolute; right:18px; bottom:18px; padding:8px 11px; background:rgba(0,0,0,.74); color:#fff; font-weight:700; }
.work-gallery-thumbs { display:grid; grid-template-columns:1fr; gap:10px; align-content:start; max-height:620px; overflow-y:auto; }
.work-gallery-thumbs button { padding:0; border:2px solid transparent; background:#fff; cursor:pointer; }
.work-gallery-thumbs button.active { border-color:#00b86b; }
.work-gallery-thumbs img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
@media (max-width:760px) {
  .work-gallery { grid-template-columns:1fr; }
  .work-gallery-main, .work-gallery-main > img { min-height:340px; }
  .work-gallery-thumbs { grid-template-columns:repeat(4,minmax(0,1fr)); max-height:none; overflow:visible; }
  .work-showcase .section-heading { align-items:start; }
}


.minimum-order-block {
  margin: -10px 0 30px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 181, 107, 0.38);
  border-left: 5px solid var(--green);
  background: rgba(0, 181, 107, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.minimum-order-block span {
  color: #35624e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.minimum-order-block strong {
  color: #087844;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 620px) {
  .minimum-order-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .minimum-order-block strong {
    text-align: left;
  }
}


.settings-grid .settings-check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #d9dcd8;
  border-radius: 12px;
  background: #f7f9f7;
}

.settings-grid .settings-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.settings-grid .settings-check span {
  margin: 0;
  font-weight: 750;
}


/* Comercial 1.5.3: destacados, compartir y cotización múltiple */
.product-card{display:flex;flex-direction:column;background:#fff;min-width:0}.product-card-link{display:block;color:inherit;text-decoration:none;flex:1}.product-card-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e5e5e1}.product-card-actions>*{min-height:46px;border:0;background:#fff;font:inherit;font-size:12px;font-weight:800;text-align:center;display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;color:#111}.product-card-actions>*+*{border-left:1px solid #e5e5e1}.product-card-actions>*:hover{background:var(--green);color:#07130c}.featured-badge{position:absolute;left:14px;top:14px;background:var(--green);color:#07130c;padding:7px 10px;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.product-image{position:relative}.product-info small,.product-code{display:block;color:#65706a;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.product-primary-actions{display:grid;gap:10px}.button-outline{border:1px solid #151a17;background:transparent;color:#151a17}.quote-tray{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:1500;width:min(720px,calc(100% - 28px));background:#101713;color:#fff;border:1px solid rgba(255,255,255,.15);box-shadow:0 18px 50px rgba(0,0,0,.3);display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px 14px}.quote-tray div{display:flex;flex-direction:column}.quote-tray span{font-size:11px;color:#aab4ae}.quote-tray a,.quote-tray button{border:0;background:var(--green);color:#07130c;padding:11px 14px;font-weight:900;text-decoration:none;cursor:pointer}.quote-tray button{background:#fff}.multi-quote-page{padding:80px max(24px,5vw);background:#f5f3ec;min-height:70vh}.multi-quote-hero{max-width:900px;margin-bottom:44px}.multi-quote-hero h1{font-size:clamp(42px,7vw,92px);line-height:.95;margin:14px 0 24px}.multi-quote-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.7fr);gap:28px}.multi-quote-items{display:grid;gap:12px;align-content:start}.multi-quote-item{display:grid;grid-template-columns:1fr 130px auto;gap:18px;align-items:center;background:#fff;padding:20px;border:1px solid #deddd7}.multi-quote-item div{display:flex;flex-direction:column;gap:6px}.multi-quote-item a{font-size:12px;color:#087844}.multi-quote-item label,.multi-quote-form label{display:grid;gap:7px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.multi-quote-item input,.multi-quote-form input,.multi-quote-form textarea{width:100%;padding:12px;border:1px solid #cfd3cf;background:#fff;font:inherit}.multi-quote-item button{border:0;background:#191d1a;color:#fff;padding:12px;cursor:pointer}.multi-quote-form{background:#fff;padding:26px;display:grid;gap:18px;align-content:start}.multi-quote-form h2{margin:0;font-size:28px}.seo-product-box{padding:18px;border:1px solid #cfd8d1;background:#f4f8f5;display:grid!important;grid-template-columns:1fr 1fr;gap:14px}.seo-product-box>strong{grid-column:1/-1}.seo-product-box label:nth-of-type(2){grid-column:1/-1}
@media(max-width:760px){.quote-tray{grid-template-columns:1fr 1fr;bottom:10px}.quote-tray div{grid-column:1/-1}.multi-quote-layout{grid-template-columns:1fr}.multi-quote-item{grid-template-columns:1fr 100px}.multi-quote-item button{grid-column:1/-1}.seo-product-box{grid-template-columns:1fr}.seo-product-box label{grid-column:1!important}.product-card-actions{grid-template-columns:1fr}.product-card-actions>*+*{border-left:0;border-top:1px solid #e5e5e1}}


/* Product page premium · v1.5.5 */
.product-page-premium{background:#f3f1ea}
.product-detail-premium{padding-top:24px;padding-bottom:88px;align-items:start}
.premium-gallery{position:sticky;top:150px}
.premium-gallery .gallery-main{background:#e8e7e1;box-shadow:0 24px 70px rgba(15,23,18,.10)}
.premium-gallery-label{position:absolute;left:18px;top:18px;z-index:4;padding:10px 13px;background:#0d1410;color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.premium-gallery-label::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 6px rgba(0,184,107,.14)}
.premium-product-copy{padding-top:12px}
.premium-product-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #d9d8d1}
.premium-product-meta p{margin:0}
.premium-product-copy h1{font-size:clamp(50px,5.6vw,86px);max-width:760px}
.premium-product-copy .product-intro{max-width:650px;margin:22px 0 20px;font-size:17px}
.premium-benefit-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.premium-benefit-chips span{padding:8px 11px;border:1px solid #d3d7d2;background:#fff;color:#263029;font-size:10px;font-weight:850;letter-spacing:.03em}
.premium-minimum{margin:22px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-left:6px solid #0a6f42;background:#00b86b;color:#07130c;padding:20px 22px}
.premium-minimum div{display:grid;gap:4px}
.premium-minimum span{color:#07130c}
.premium-minimum small{font-size:10px;opacity:.7}
.premium-minimum strong{font-size:clamp(22px,2.2vw,32px);color:#07130c;white-space:nowrap}
.premium-reference{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid #d9d8d1}
.premium-reference span{font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#69706b}
.premium-reference strong{font-family:var(--font-display);font-size:20px;font-weight:500}
.premium-quote-card{margin-top:24px;padding:24px;background:#101713;color:#fff;box-shadow:0 22px 45px rgba(13,20,16,.16)}
.premium-quote-card>p{margin:0 0 6px;font-family:var(--font-display);font-size:27px}
.premium-quote-card>small{display:block;margin-bottom:18px;color:#aeb8b2;line-height:1.55}
.premium-quote-card .button-outline{border-color:rgba(255,255,255,.35);color:#fff}
.premium-quote-card .button-outline:hover{border-color:var(--green);color:var(--green)}
.premium-service-notes{margin-top:20px;display:grid;border-top:1px solid #d9d8d1}
.premium-service-notes span{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #d9d8d1;font-size:12px;color:#3d4540}
.premium-service-notes strong{color:#00a962;font-size:10px}
.premium-product-information{padding:clamp(60px,8vw,110px) clamp(24px,6vw,96px);background:#fff}
.premium-information-heading{max-width:760px;margin-bottom:42px}
.premium-information-heading h2{margin:7px 0 0;font-family:var(--font-display);font-size:clamp(42px,5vw,72px);font-weight:400;letter-spacing:-.05em;line-height:1}
.premium-information-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(38px,7vw,100px);max-width:1320px}
.premium-information-grid article{padding-top:18px;border-top:2px solid #101713}
.premium-information-grid article>span{display:block;margin-bottom:20px;color:#00a962;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.premium-information-grid p{margin:0;color:#545b57;font-size:15px;line-height:1.85}
.premium-information-grid ul{margin:0;padding:0;list-style:none}
.premium-information-grid li{padding:13px 0;border-bottom:1px solid #e4e5e1;color:#404843;font-size:13px}
.premium-information-grid li::before{content:"✓";margin-right:10px;color:#00a962;font-weight:900}
.premium-work-showcase{background:#f3f1ea}
.premium-related-products{background:#fff}
@media(max-width:1000px){
  .premium-gallery{position:relative;top:auto}
  .premium-product-meta{align-items:flex-start}
  .premium-information-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .product-detail-premium{padding-left:18px;padding-right:18px;padding-bottom:56px;gap:28px}
  .premium-gallery-label{left:12px;top:12px;padding:8px 10px;font-size:9px}
  .premium-product-copy h1{font-size:clamp(42px,13vw,62px)}
  .premium-product-copy .product-intro{font-size:15px}
  .premium-minimum{align-items:flex-start;flex-direction:column;gap:8px}
  .premium-reference{align-items:flex-start;flex-direction:column;gap:5px}
  .premium-quote-card{padding:20px}
  .premium-quote-card .product-primary-actions{grid-template-columns:1fr}
  .premium-product-information{padding:56px 20px}
  .premium-information-heading h2{font-size:44px}
}


/* Product image lightbox and unobstructed gallery · v1.5.6 */
.premium-gallery-main-button{display:block;width:100%;padding:0;border:0;color:inherit;text-align:inherit;cursor:zoom-in;appearance:none}
.premium-gallery-main-button:focus-visible{outline:3px solid var(--green);outline-offset:4px}
.premium-gallery-main-button img{transition:transform .35s ease}
.premium-gallery-main-button:hover img{transform:scale(1.018)}
.premium-gallery-zoom{position:absolute;right:14px;bottom:14px;z-index:4;padding:9px 12px;background:rgba(10,15,12,.86);color:#fff;font-style:normal;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(8px)}
.premium-gallery-status{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;margin-top:12px;padding:9px 12px;border:1px solid #d4d9d5;background:#fff;color:#18201b;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.premium-gallery-status i{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(0,184,107,.13)}
.product-lightbox{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.product-lightbox.is-open{visibility:visible;opacity:1;pointer-events:auto}
.product-lightbox-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(4,8,6,.88);cursor:zoom-out;backdrop-filter:blur(8px)}
.product-lightbox-dialog{position:relative;z-index:1;display:grid;max-width:min(94vw,1200px);max-height:92vh;padding:14px;background:#101512;box-shadow:0 30px 100px rgba(0,0,0,.55)}
.product-lightbox-dialog img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(92vh - 76px);object-fit:contain}
.product-lightbox-dialog p{margin:10px 44px 0 3px;color:#dfe6e2;font-size:11px;line-height:1.4}
.product-lightbox-close{position:absolute;top:12px;right:12px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.25);background:rgba(8,12,10,.9);color:#fff;font-size:29px;line-height:1;cursor:pointer}
.product-lightbox-close:hover,.product-lightbox-close:focus-visible{border-color:var(--green);color:var(--green)}
html.product-lightbox-open,html.product-lightbox-open body{overflow:hidden!important}
@media(max-width:720px){
  .premium-gallery-zoom{right:10px;bottom:10px;padding:8px 10px;font-size:8px}
  .premium-gallery-status{margin-top:10px}
  .product-lightbox{padding:10px}
  .product-lightbox-dialog{width:100%;padding:8px}
  .product-lightbox-dialog img{width:100%;max-height:calc(92vh - 64px)}
}
@media(prefers-reduced-motion:reduce){.premium-gallery-main-button img,.product-lightbox{transition:none}}


/* Menú móvil: flujo natural, sin superposiciones · v1.6.1 */
@media (max-width: 820px) {
  body > .main-nav,
  body > .main-nav.open {
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body > .main-nav > a,
  body > .main-nav > .nav-categories,
  body > .main-nav > .header-search {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    width: auto !important;
    flex: none !important;
    transform: none;
  }

  body > .main-nav .nav-categories {
    display: block !important;
    width: 100% !important;
  }

  /*
   * El límite anterior de 2400px cortaba el fondo blanco del desplegable.
   * Las categorías restantes continuaban visualmente sobre el fondo verde,
   * superponiéndose con Soluciones, Empresa, Contacto y el buscador.
   */
  body > .main-nav .mega-menu.open {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    contain: none !important;
  }

  body > .main-nav .mega-menu:not(.open) {
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

  body > .main-nav .mega-links,
  body > .main-nav .mega-links a {
    position: relative !important;
    z-index: auto !important;
  }

  body > .main-nav .header-search {
    display: flex !important;
    clear: both !important;
    z-index: 1 !important;
    margin: 20px 18px 10px !important;
  }

  body > .main-nav .header-search input,
  body > .main-nav .header-search button {
    position: relative !important;
    inset: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 820px) {
  body > .main-nav .mega-menu,
  body > .main-nav .mega-menu.open {
    transition: none !important;
  }
}


/* Herramientas avanzadas del administrador · v1.6.3 */
.table-help{display:block;margin-top:3px;color:#7b837e;font-size:9px}
.editor-footer-actions{display:flex;flex-wrap:wrap;gap:10px}
.image-order-help{display:grid;gap:3px;margin:18px 0 9px;padding:12px 14px;background:#eef8f2;border-left:4px solid #00b86b}
.image-order-help strong{font-size:12px}.image-order-help span{font-size:10px;color:#626b65}
.sortable-image-list article{position:relative;transition:opacity .18s ease,transform .18s ease}
.sortable-image-list article.is-dragging{opacity:.45;transform:scale(.98)}
.sortable-image-list article.is-drag-over{outline:2px solid #00b86b;outline-offset:3px}
.image-drag-handle{align-self:stretch;min-width:34px;border:0;background:#111713;color:#fff;cursor:grab;font-size:19px}
.image-drag-handle:active{cursor:grabbing}
.image-order-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}
.image-order-form button{padding:11px 14px;border:0;background:#111713;color:#fff;font-weight:800;cursor:pointer}
.image-order-form small{color:#65706a}
.crop-editor[hidden]{display:none!important}
.crop-editor{position:fixed;inset:0;z-index:120000;display:grid;place-items:center;padding:20px}
.crop-editor-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(5,9,7,.88);backdrop-filter:blur(6px)}
.crop-editor-dialog{position:relative;z-index:1;width:min(920px,96vw);max-height:94vh;overflow:auto;background:#f5f4ef;box-shadow:0 35px 100px rgba(0,0,0,.5)}
.crop-editor-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:#101713;color:#fff}
.crop-editor-dialog header small{display:block;color:#00d67d;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.crop-editor-dialog header h3{margin:4px 0 0;font-size:23px}
.crop-editor-dialog header>button{width:40px;height:40px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:28px;cursor:pointer}
.crop-canvas-wrap{padding:18px;background:#252b27;overflow:auto}
.crop-canvas-wrap canvas{display:block;width:100%;height:auto;max-height:60vh;background:#dfe2df;touch-action:none;cursor:grab}
.crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px 20px}
.crop-controls label{display:grid;gap:6px}.crop-controls span{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.crop-controls select,.crop-controls input{width:100%}
.crop-editor-dialog>p{margin:0;padding:0 20px 14px;color:#606963;font-size:11px}
.crop-editor-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #d9ddd9}
.crop-editor-dialog>footer button{padding:12px 16px;border:1px solid #111713;background:#fff;font-weight:800;cursor:pointer}
.crop-editor-dialog>footer button:last-child{background:#00b86b;border-color:#00b86b}
.statistics-product-ranking li{align-items:center}.statistics-product-ranking li>span{display:grid;gap:2px}
.statistics-product-ranking li small{color:#79817c;font-size:10px}.statistics-product-ranking li b{font-size:12px;white-space:nowrap}
@media(max-width:720px){
  .crop-editor{padding:8px}.crop-controls{grid-template-columns:1fr}
  .crop-editor-dialog>footer{flex-direction:column-reverse}.crop-editor-dialog>footer button{width:100%}
  .sortable-image-list article{grid-template-columns:auto 70px 1fr}.sortable-image-list .image-actions{grid-column:1/-1}
}


/* Ficha estilo catálogo de especificaciones · v1.6.6 */
.product-page-specsheet{background:#eceae4}
.product-detail-specsheet{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(320px,.96fr);gap:0;align-items:stretch;margin-top:18px;background:#fff;border:1px solid #ddd9d0;box-shadow:0 18px 48px rgba(11,17,14,.08)}
.specsheet-gallery{padding:18px;background:#efede8;border-right:1px solid #ddd9d0}
.specsheet-gallery .gallery-main{display:flex;align-items:center;justify-content:center;width:100%;min-height:520px;padding:22px;border:0;background:#f7f7f5;box-shadow:none;cursor:zoom-in}
.specsheet-gallery .gallery-main img{width:100%;max-width:100%;max-height:460px;object-fit:contain}
.specsheet-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}
.specsheet-thumbs button{padding:0;border:1px solid #d9d7cf;background:#fff}
.specsheet-thumbs button.active{border-color:#1795e6;box-shadow:0 0 0 2px rgba(23,149,230,.15)}
.specsheet-thumbs img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:#f7f7f5}
.specsheet-copy{padding:22px 26px 24px;background:#fff}
.specsheet-eyebrow{margin:0 0 10px;font-size:11px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:#887960}
.specsheet-copy h1{margin:0;font-family:var(--font-display);font-size:clamp(30px,4vw,58px);line-height:.92;text-transform:uppercase;letter-spacing:.01em;word-break:break-word}
.specsheet-code{margin:8px 0 0;color:#6f6a5f;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.specsheet-minimum{margin:16px 0 0;font-size:27px;line-height:1.12;color:#222b25}
.specsheet-specs{margin-top:20px;border-top:1px solid #e5e1d9;border-bottom:1px solid #e5e1d9}
.specsheet-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:13px 0;border-bottom:1px solid #efede8}
.specsheet-row:last-child{border-bottom:0}
.specsheet-row strong{font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#393f3a}
.specsheet-row div{font-size:14px;line-height:1.55;color:#2a312d}
.specsheet-stock-badge{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:3px;background:#4c82df;color:#fff;font-size:10px;font-weight:700;vertical-align:middle}
.specsheet-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;flex-wrap:wrap}
.specsheet-quantity-box{display:flex;align-items:center;gap:14px}
.specsheet-quantity-box span{font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#5a605c}
.specsheet-quantity-box b{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:36px;padding:0 12px;border-radius:999px;background:#f2f1ed;color:#222b25;font-size:16px;font-weight:900}
.specsheet-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:999px;background:#2490df;color:#fff;font-size:13px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 8px 20px rgba(36,144,223,.22)}
.specsheet-cta:hover,.specsheet-cta:focus-visible{background:#1678bd;color:#fff;transform:translateY(-1px)}
.specsheet-extra{margin-top:22px;padding-top:18px;border-top:1px dashed #d8d4cb}
.specsheet-extra h2{margin:0 0 10px;font-size:18px}
.specsheet-extra p{margin:0 0 9px;font-size:14px;color:#414844;line-height:1.6}
.product-page-specsheet .premium-related-products{margin-top:34px}
@media(max-width:1024px){
  .product-detail-specsheet{grid-template-columns:1fr}
  .specsheet-gallery{border-right:0;border-bottom:1px solid #ddd9d0}
  .specsheet-gallery .gallery-main{min-height:420px}
}
@media(max-width:720px){
  .product-detail-specsheet{margin-top:12px}
  .specsheet-gallery{padding:12px}
  .specsheet-gallery .gallery-main{min-height:300px;padding:14px}
  .specsheet-gallery .gallery-main img{max-height:280px}
  .specsheet-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .specsheet-copy{padding:18px 16px 20px}
  .specsheet-copy h1{font-size:clamp(28px,11vw,42px)}
  .specsheet-minimum{font-size:22px}
  .specsheet-row{grid-template-columns:1fr;gap:6px;padding:12px 0}
  .specsheet-footer{align-items:stretch}
  .specsheet-quantity-box{justify-content:space-between;width:100%}
  .specsheet-cta{width:100%}
}


/* Ajuste visual premium-minimalista de la ficha técnica · v1.6.7 */
.product-page-specsheet{
  background:#f5f4f0;
}

.product-page-specsheet .breadcrumbs{
  max-width:1280px;
  margin:0 auto;
  padding:18px 24px 8px;
  font-size:10px;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#77736c;
}

.product-detail-specsheet{
  max-width:1280px;
  margin:12px auto 0;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  border:0;
  background:#fff;
  box-shadow:0 18px 55px rgba(20,26,22,.08);
}

.specsheet-gallery{
  padding:0;
  background:#f1f0ec;
  border-right:1px solid #e4e1da;
}

.specsheet-gallery .gallery-main{
  min-height:610px;
  padding:34px;
  background:#f8f8f6;
  border:0;
}

.specsheet-gallery .gallery-main img{
  max-height:535px;
}

.specsheet-thumbs{
  margin:0;
  padding:14px;
  grid-template-columns:repeat(6,minmax(0,1fr));
  background:#ecebe6;
  border-top:1px solid #dedbd4;
}

.specsheet-thumbs button{
  border:1px solid transparent;
  border-radius:0;
  overflow:hidden;
  background:#fff;
  transition:border-color .16s ease,transform .16s ease;
}

.specsheet-thumbs button:hover{
  transform:translateY(-2px);
}

.specsheet-thumbs button.active{
  border-color:#198fd7;
  box-shadow:0 0 0 2px rgba(25,143,215,.14);
}

.specsheet-copy{
  padding:34px 34px 30px;
  display:flex;
  flex-direction:column;
}

.specsheet-eyebrow{
  margin-bottom:13px;
  color:#8d8373;
  font-size:9px;
  letter-spacing:.19em;
}

.specsheet-copy h1{
  max-width:610px;
  font-size:clamp(26px,3.2vw,44px);
  line-height:.96;
  letter-spacing:.015em;
  font-weight:500;
}

.specsheet-code{
  margin-top:10px;
  font-size:13px;
  letter-spacing:.11em;
  color:#666158;
}

.specsheet-minimum{
  margin-top:18px;
  padding-bottom:18px;
  border-bottom:1px solid #e5e2dc;
  font-size:20px;
  font-weight:500;
  color:#353a36;
}

.specsheet-specs{
  margin-top:0;
  border-top:0;
  border-bottom:1px solid #e5e2dc;
}

.specsheet-row{
  grid-template-columns:105px minmax(0,1fr);
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid #efede8;
}

.specsheet-row strong{
  font-size:10px;
  letter-spacing:.05em;
  color:#3d423e;
}

.specsheet-row div{
  font-size:13px;
  line-height:1.48;
  color:#343a36;
}

.specsheet-stock-badge{
  margin-left:7px;
  padding:2px 6px;
  border-radius:2px;
  background:#2f85da;
  font-size:9px;
  letter-spacing:.02em;
}

.specsheet-footer{
  margin-top:auto;
  padding-top:22px;
  display:grid;
  grid-template-columns:auto minmax(190px,1fr);
  align-items:center;
  gap:18px;
}

.specsheet-quantity-box{
  gap:12px;
}

.specsheet-quantity-box span{
  font-size:9px;
  letter-spacing:.13em;
}

.specsheet-quantity-box b{
  min-width:54px;
  height:34px;
  padding:0 13px;
  background:#f1f0ed;
  font-size:14px;
}

.specsheet-cta{
  width:100%;
  min-height:46px;
  padding:11px 22px;
  border-radius:999px;
  background:linear-gradient(180deg,#289be7 0%,#1787d2 100%);
  box-shadow:0 8px 18px rgba(23,135,210,.23);
  font-size:11px;
  letter-spacing:.09em;
}

.specsheet-cta:hover,
.specsheet-cta:focus-visible{
  background:linear-gradient(180deg,#1787d2 0%,#0d71b5 100%);
  box-shadow:0 10px 22px rgba(13,113,181,.28);
}

.specsheet-extra{
  margin-top:20px;
}

.product-page-specsheet .premium-related-products{
  max-width:1280px;
  margin:34px auto 0;
}

@media(max-width:1024px){
  .product-detail-specsheet{
    margin-left:18px;
    margin-right:18px;
  }

  .specsheet-gallery .gallery-main{
    min-height:480px;
  }

  .specsheet-copy{
    padding:28px;
  }
}

@media(max-width:720px){
  .product-page-specsheet .breadcrumbs{
    padding:14px 16px 6px;
    white-space:nowrap;
    overflow-x:auto;
  }

  .product-detail-specsheet{
    margin:8px 12px 0;
  }

  .specsheet-gallery .gallery-main{
    min-height:310px;
    padding:18px;
  }

  .specsheet-gallery .gallery-main img{
    max-height:285px;
  }

  .specsheet-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr));
    padding:10px;
  }

  .specsheet-copy{
    padding:22px 18px 20px;
  }

  .specsheet-copy h1{
    font-size:clamp(24px,8vw,34px);
  }

  .specsheet-minimum{
    font-size:18px;
  }

  .specsheet-row{
    grid-template-columns:92px minmax(0,1fr);
    gap:12px;
  }

  .specsheet-footer{
    grid-template-columns:1fr;
  }

  .specsheet-quantity-box{
    justify-content:flex-start;
  }
}


/* Portada compacta y sin grandes espacios vacíos · v1.6.9 */
body.home-page .home-categories.section-pad,
body.home-page .solutions.section-pad,
body.home-page .catalog-preview.section-pad,
body.home-page .home-benefits.section-pad,
body.home-page .process.section-pad,
body.home-page .company.section-pad {
  padding-top: clamp(54px, 5.8vw, 88px);
  padding-bottom: clamp(54px, 5.8vw, 88px);
}

body.home-page .section-heading,
body.home-page .catalog-top {
  margin-bottom: clamp(30px, 3.6vw, 46px);
}

/*
 * El espacio excesivo de la captura se generaba por la suma del padding
 * inferior del mapa y el padding superior de las reseñas.
 */
body.home-page .home-map.section-pad {
  padding-top: clamp(48px, 5vw, 76px);
  padding-bottom: clamp(26px, 2.8vw, 44px);
}

body.home-page .google-reviews.section-pad {
  padding-top: clamp(34px, 3.8vw, 58px);
  padding-bottom: clamp(54px, 5.8vw, 88px);
}

body.home-page .home-map + .google-reviews {
  border-top-color: #e7e5df;
}

body.home-page .reviews-heading {
  margin-bottom: clamp(24px, 2.8vw, 36px);
}

body.home-page .reviews-bottom {
  margin-top: 22px;
}

@media (max-width: 820px) {
  body.home-page .home-categories.section-pad,
  body.home-page .solutions.section-pad,
  body.home-page .catalog-preview.section-pad,
  body.home-page .home-benefits.section-pad,
  body.home-page .process.section-pad,
  body.home-page .company.section-pad {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.home-page .home-map.section-pad {
    padding-top: 44px;
    padding-bottom: 24px;
  }

  body.home-page .google-reviews.section-pad {
    padding-top: 34px;
    padding-bottom: 52px;
  }
}

@media (max-width: 560px) {
  body.home-page .home-categories.section-pad,
  body.home-page .solutions.section-pad,
  body.home-page .catalog-preview.section-pad,
  body.home-page .home-benefits.section-pad,
  body.home-page .process.section-pad,
  body.home-page .company.section-pad {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  body.home-page .home-map.section-pad {
    padding-top: 38px;
    padding-bottom: 20px;
  }

  body.home-page .google-reviews.section-pad {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  body.home-page .section-heading,
  body.home-page .catalog-top {
    margin-bottom: 28px;
  }
}


/* Revisión visual integral del sitio · v1.7.0 */
html {
  scroll-padding-top: 108px;
}

body.public-site {
  overflow-x: clip;
}

/* Defensa: el cotizador múltiple fue retirado del flujo público. */
.quote-tray,
.multi-quote-page {
  display: none !important;
}

/* Encabezado y portada */
body.home-page .hero {
  min-height: min(680px, calc(100vh - 112px));
}

body.home-page .hero-content {
  padding-top: clamp(64px, 8vh, 96px);
  padding-bottom: clamp(48px, 6vh, 66px);
}

body.home-page .hero-copy {
  margin-top: 24px;
}

body.home-page .hero-actions {
  margin-top: 28px;
}

body.home-page .hero-proof {
  margin-top: 30px;
}

body.home-page .hero-visual {
  min-height: 540px;
}

body.home-page .online-notice {
  padding-top: 26px;
  padding-bottom: 26px;
}

/* Ritmo vertical general de la home */
body.home-page .home-categories.section-pad,
body.home-page .solutions.section-pad,
body.home-page .catalog-preview.section-pad,
body.home-page .home-benefits.section-pad,
body.home-page .process.section-pad,
body.home-page .company.section-pad {
  padding-top: clamp(52px, 5vw, 74px);
  padding-bottom: clamp(52px, 5vw, 74px);
}

body.home-page .section-heading,
body.home-page .catalog-top {
  margin-bottom: clamp(28px, 3vw, 40px);
}

body.home-page .solution-grid {
  gap: 1px;
}

body.home-page .solution-card {
  min-height: 330px;
  padding: 26px;
}

body.home-page .solution-card h3 {
  margin-top: 28px;
}

body.home-page .home-benefits {
  gap: clamp(38px, 6vw, 80px);
}

body.home-page .benefits-grid article {
  min-height: 178px;
  padding: 24px;
}

body.home-page .benefits-grid article h3 {
  margin-top: 28px;
}

body.home-page .process {
  gap: clamp(40px, 5vw, 62px);
}

body.home-page .process-steps article {
  min-height: 150px;
  padding: 22px;
}

body.home-page .process-steps h3 {
  margin-top: 28px;
}

body.home-page .company {
  gap: clamp(38px, 5vw, 66px);
}

body.home-page .company-copy > p:not(.eyebrow) {
  margin-top: 22px;
  margin-bottom: 24px;
}

body.home-page .company-stat img {
  min-height: 320px;
}

body.home-page .home-map.section-pad {
  padding-top: clamp(44px, 4.5vw, 64px);
  padding-bottom: clamp(22px, 2.4vw, 34px);
}

body.home-page .home-map {
  gap: clamp(30px, 5vw, 68px);
}

body.home-page .home-map-copy > p:not(.eyebrow) {
  margin-top: 18px;
  margin-bottom: 20px;
}

body.home-page .map-address {
  margin-top: 22px;
  margin-bottom: 22px;
  padding-top: 16px;
  padding-bottom: 16px;
}

body.home-page .home-map-frame,
body.home-page .home-map-frame iframe {
  min-height: 410px;
}

body.home-page .google-reviews.section-pad {
  padding-top: clamp(28px, 3vw, 44px);
  padding-bottom: clamp(48px, 4.8vw, 70px);
}

body.home-page .reviews-heading {
  margin-bottom: 28px;
}

body.home-page .review-card {
  min-height: 210px;
  padding: 24px;
}

body.home-page .review-stars {
  margin-top: 18px;
}

body.home-page .reviews-bottom {
  margin-top: 20px;
}

body.home-page .final-cta {
  min-height: 220px;
  padding-top: 44px;
  padding-bottom: 44px;
}

/* Catálogo */
.catalog-page .catalog-hero {
  min-height: 340px;
  padding-top: clamp(66px, 7vw, 96px);
  padding-bottom: 50px;
  gap: clamp(34px, 5vw, 62px);
}

.catalog-page .catalog-hero h1 {
  font-size: clamp(46px, 5vw, 76px);
}

.catalog-page .catalog-layout {
  padding-top: 48px;
  padding-bottom: 76px;
  gap: 42px;
}

.catalog-page .catalog-toolbar {
  margin-bottom: 26px;
  padding-bottom: 18px;
}

.catalog-page .empty-state {
  min-height: 300px;
}

/* Ficha de producto */
.product-page-specsheet .breadcrumbs {
  padding-top: 14px;
  padding-bottom: 8px;
}

.product-page-specsheet .product-detail-specsheet {
  margin-top: 8px;
}

.product-page-specsheet .specsheet-gallery .gallery-main {
  min-height: 500px;
  padding: 28px;
}

.product-page-specsheet .specsheet-gallery .gallery-main img {
  max-height: 440px;
}

.product-page-specsheet .specsheet-copy {
  padding: 28px 30px 26px;
}

.product-page-specsheet .premium-related-products {
  margin-top: 26px;
  padding-top: 64px;
  padding-bottom: 68px;
}

/* Pie */
.google-reviews + .site-footer,
.site-footer {
  margin-top: 0;
}

.footer-main {
  padding-top: 54px;
  padding-bottom: 42px;
  gap: 44px;
}

.footer-brand > p {
  margin-top: 16px;
  margin-bottom: 18px;
}

.footer-bottom {
  min-height: 54px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Tablet */
@media (max-width: 1024px) {
  body.home-page .hero {
    min-height: auto;
  }

  body.home-page .hero-visual {
    min-height: 420px;
  }

  body.home-page .solution-card {
    min-height: 300px;
  }

  body.home-page .home-map-frame,
  body.home-page .home-map-frame iframe {
    min-height: 350px;
  }

  .catalog-page .catalog-hero {
    min-height: 300px;
  }

  .product-page-specsheet .specsheet-gallery .gallery-main {
    min-height: 420px;
  }
}

/* Móvil */
@media (max-width: 820px) {
  html {
    scroll-padding-top: 86px;
  }

  body.home-page .hero-content {
    padding: 52px 20px 38px;
  }

  body.home-page .hero-visual {
    min-height: 330px;
  }

  body.home-page .online-notice {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  body.home-page .home-categories.section-pad,
  body.home-page .solutions.section-pad,
  body.home-page .catalog-preview.section-pad,
  body.home-page .home-benefits.section-pad,
  body.home-page .process.section-pad,
  body.home-page .company.section-pad {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  body.home-page .solution-card {
    min-height: 280px;
  }

  body.home-page .benefits-grid article,
  body.home-page .process-steps article {
    min-height: auto;
  }

  body.home-page .company {
    gap: 36px;
  }

  body.home-page .company-stat img {
    min-height: 280px;
  }

  body.home-page .home-map.section-pad {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  body.home-page .home-map-frame,
  body.home-page .home-map-frame iframe {
    min-height: 320px;
  }

  body.home-page .google-reviews.section-pad {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  body.home-page .final-cta {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .catalog-page .catalog-hero {
    min-height: 270px;
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .catalog-page .catalog-layout {
    padding-top: 34px;
    padding-bottom: 58px;
    gap: 28px;
  }

  .product-page-specsheet .specsheet-gallery .gallery-main {
    min-height: 340px;
    padding: 18px;
  }

  .product-page-specsheet .specsheet-gallery .gallery-main img {
    max-height: 305px;
  }

  .product-page-specsheet .premium-related-products {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .footer-main {
    padding-top: 46px;
    padding-bottom: 36px;
    gap: 34px;
  }
}

@media (max-width: 560px) {
  body.home-page .hero h1 {
    font-size: clamp(42px, 14vw, 54px);
  }

  body.home-page .hero-visual {
    min-height: 290px;
  }

  body.home-page .home-categories.section-pad,
  body.home-page .solutions.section-pad,
  body.home-page .catalog-preview.section-pad,
  body.home-page .home-benefits.section-pad,
  body.home-page .process.section-pad,
  body.home-page .company.section-pad {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  body.home-page .section-heading,
  body.home-page .catalog-top {
    margin-bottom: 24px;
  }

  body.home-page .solution-card {
    min-height: 250px;
  }

  body.home-page .review-card {
    min-height: 190px;
    padding: 21px;
  }

  .catalog-page .catalog-hero {
    min-height: 240px;
    padding-top: 46px;
    padding-bottom: 36px;
  }

  .catalog-page .catalog-hero h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .product-page-specsheet .specsheet-gallery .gallery-main {
    min-height: 280px;
  }

  .footer-main {
    padding-top: 40px;
    padding-bottom: 32px;
  }
}


/* Ficha de producto: aprovecha el espacio y acerca la cotización · v1.7.1 */
.product-page-specsheet .specsheet-copy {
  justify-content: flex-start;
}

.product-page-specsheet .specsheet-footer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e4e1da;
}

.product-page-specsheet .specsheet-description {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #e4e1da;
  background: #f7f8f6;
}

.product-page-specsheet .specsheet-description h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .025em;
  color: #202622;
}

.product-page-specsheet .specsheet-description p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.62;
  color: #454c47;
}

.product-page-specsheet .specsheet-description p:last-child {
  margin-bottom: 0;
}

.product-page-specsheet .specsheet-quantity-box span {
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .product-page-specsheet .specsheet-copy {
    align-self: start;
    min-height: auto;
  }

  .product-page-specsheet .specsheet-footer {
    grid-template-columns: auto minmax(230px, 320px);
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .product-page-specsheet .specsheet-description {
    padding: 16px;
  }

  .product-page-specsheet .specsheet-footer {
    margin-top: 18px;
    padding-top: 18px;
  }
}


/* Página pública de contacto · v1.7.5 */
.contact-page {
  background: #f5f3ed;
}

.contact-main {
  overflow: hidden;
}

.contact-hero {
  padding: clamp(70px, 8vw, 120px) clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 184, 107, .15), transparent 28%),
    #f5f3ed;
  border-bottom: 1px solid #dcdad3;
}

.contact-hero-copy {
  max-width: 900px;
}

.contact-hero h1 {
  max-width: 850px;
  margin: 12px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.06em;
}

.contact-hero-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #565e59;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.65;
}

.contact-hero-actions {
  display: grid;
  gap: 12px;
}

.contact-hero-actions .button {
  width: 100%;
  min-height: 58px;
  font-size: 14px;
}

.contact-direct-link {
  width: 100%;
  min-height: 58px;
  padding: 14px 22px;
  border: 1px solid #101713;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  color: #101713;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  transition: background-color 160ms ease, color 160ms ease;
}

.contact-direct-link:hover,
.contact-direct-link:focus-visible {
  background: #101713;
  color: #fff;
}

.contact-direct-link-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
}

.contact-direct-link-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-form-divider {
  width: 100%;
  height: 14px;
  background: #101713;
}

.contact-overview {
  padding: 0 clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #101713;
  color: #fff;
}

.contact-overview article {
  min-height: 210px;
  padding: 30px 28px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-overview article:last-child {
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.contact-overview article > span {
  margin-bottom: auto;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.contact-overview small {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .52);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-overview a,
.contact-overview strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-overview a:hover {
  color: var(--green);
}

.contact-overview p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
}

.contact-alert {
  margin: 28px clamp(24px, 6vw, 96px) 0;
  padding: 16px 18px;
  border-left: 4px solid;
  font-size: 13px;
  font-weight: 700;
}

.contact-alert-success {
  border-color: var(--green);
  background: #e7f8ef;
  color: #075f38;
}

.contact-alert-error {
  border-color: #c64b4b;
  background: #fbeaea;
  color: #7e2525;
}

.contact-content {
  padding: clamp(62px, 7vw, 104px) clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(42px, 8vw, 120px);
  background: #fff;
}

.contact-form-intro {
  position: sticky;
  top: 130px;
}

.contact-form-intro h2 {
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}

.contact-form-intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: #606762;
  font-size: 14px;
  line-height: 1.75;
}

.contact-form-guide {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid #dfe2dd;
  background: #f6f7f4;
}

.contact-form-guide strong {
  font-size: 12px;
}

.contact-form-guide ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.contact-form-guide li {
  padding: 9px 0;
  border-top: 1px solid #e1e4df;
  color: #5e6660;
  font-size: 11px;
}

.contact-form-guide li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

.contact-form {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid #dfe2dd;
  background: #f7f7f4;
}

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

.contact-form label,
.contact-newsletter label {
  display: grid;
  gap: 8px;
}

.contact-form label > span,
.contact-newsletter label > span {
  color: #626a64;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-newsletter input {
  width: 100%;
  border: 1px solid #d5d9d4;
  border-radius: 0;
  background: #fff;
  color: #121713;
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-form input,
.contact-newsletter input {
  min-height: 54px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-newsletter input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 184, 107, .12);
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-form-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dfe2dd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-form-footer p {
  max-width: 440px;
  margin: 0;
  color: #727973;
  font-size: 10px;
  line-height: 1.55;
}

.contact-form-footer .button {
  flex: 0 0 auto;
  min-width: 210px;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-newsletter {
  padding: clamp(46px, 5vw, 72px) clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  background: var(--green);
  color: #07140d;
}

.contact-newsletter .eyebrow {
  color: #07140d;
}

.contact-newsletter h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.05em;
}

.contact-newsletter p {
  max-width: 560px;
  margin: 0;
  color: rgba(7, 20, 13, .72);
  font-size: 13px;
  line-height: 1.65;
}

.contact-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.contact-newsletter label > span {
  color: rgba(7, 20, 13, .7);
}

.contact-newsletter button {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid #07140d;
  background: #07140d;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.contact-newsletter button:hover,
.contact-newsletter button:focus-visible {
  background: #fff;
  color: #07140d;
}

@media (max-width: 980px) {
  .contact-hero,
  .contact-content,
  .contact-newsletter {
    grid-template-columns: 1fr;
  }

  .contact-hero-actions {
    max-width: 520px;
  }

  .contact-overview {
    grid-template-columns: 1fr;
  }

  .contact-overview article {
    min-height: 160px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .contact-form-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding-top: 54px;
    padding-bottom: 48px;
  }

  .contact-hero h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .contact-hero-actions .button,
  .contact-direct-link {
    min-height: 56px;
  }

  .contact-direct-link {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
  }

  .contact-form-divider {
    height: 11px;
  }

  .contact-overview {
    padding: 0 18px;
  }

  .contact-overview article {
    min-height: 142px;
    padding: 24px 20px;
  }

  .contact-content {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-footer .button {
    width: 100%;
    min-width: 0;
  }

  .contact-newsletter {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .contact-newsletter form {
    grid-template-columns: 1fr;
  }

  .contact-newsletter button {
    width: 100%;
  }
}


/* Ficha de producto móvil: una sola columna y ancho seguro · v1.8.3 */
@media (max-width: 1024px) {
  body.public-site .product-page-specsheet {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.public-site .product-page-specsheet .product-detail-specsheet {
    width: auto;
    max-width: calc(100% - 36px);
    min-width: 0;
    margin-right: 18px;
    margin-left: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  body.public-site .product-page-specsheet .specsheet-gallery,
  body.public-site .product-page-specsheet .specsheet-copy {
    width: 100%;
    min-width: 0;
  }

  body.public-site .product-page-specsheet .specsheet-gallery {
    border-right: 0;
    border-bottom: 1px solid #e4e1da;
  }

  body.public-site .product-page-specsheet .specsheet-copy h1,
  body.public-site .product-page-specsheet .specsheet-row,
  body.public-site .product-page-specsheet .specsheet-row > *,
  body.public-site .product-page-specsheet .specsheet-description {
    min-width: 0;
    max-width: 100%;
  }

  body.public-site .product-page-specsheet .specsheet-copy h1,
  body.public-site .product-page-specsheet .specsheet-row div,
  body.public-site .product-page-specsheet .specsheet-description p {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 720px) {
  body.public-site .product-page-specsheet .breadcrumbs {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px 8px;
    white-space: normal;
    overflow-x: visible;
    line-height: 1.5;
  }

  body.public-site .product-page-specsheet .product-detail-specsheet {
    max-width: calc(100% - 24px);
    margin: 8px 12px 0;
  }

  body.public-site .product-page-specsheet .specsheet-gallery .gallery-main {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 14px;
  }

  body.public-site .product-page-specsheet .specsheet-gallery .gallery-main img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  body.public-site .product-page-specsheet .specsheet-copy {
    padding: 22px 18px 20px;
  }

  body.public-site .product-page-specsheet .specsheet-copy h1 {
    font-size: clamp(25px, 8.4vw, 34px);
    line-height: 1.02;
  }

  body.public-site .product-page-specsheet .specsheet-description {
    margin-top: 18px;
    padding: 15px;
  }

  body.public-site .product-page-specsheet .specsheet-footer {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  body.public-site .product-page-specsheet .specsheet-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  body.public-site .product-page-specsheet .specsheet-row strong {
    font-size: 9px;
  }

  body.public-site .product-page-specsheet .specsheet-row div,
  body.public-site .product-page-specsheet .specsheet-description p {
    font-size: 13px;
    line-height: 1.58;
  }

  body.public-site .product-page-specsheet .premium-related-products {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}


/* Ficha de producto: título móvil compacto y cotización verde · v1.8.4 */
.product-page-specsheet .specsheet-cta {
  background: #00ad61;
  box-shadow: 0 8px 20px rgba(0, 173, 97, .25);
}

.product-page-specsheet .specsheet-cta:hover,
.product-page-specsheet .specsheet-cta:focus-visible {
  background: #008f50;
  box-shadow: 0 10px 24px rgba(0, 143, 80, .28);
}

@media (max-width: 720px) {
  body.public-site .product-page-specsheet .specsheet-copy h1 {
    font-size: clamp(22px, 6.4vw, 27px);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }
}


/* Tamaños de texto editables por bloque de la home · v1.8.5 */
.home-text-size-editor {
  padding: 20px;
  border: 1px solid rgba(0, 143, 80, .2);
  border-radius: 16px;
  background: #f2f8f4;
}

.home-text-size-editor .friendly-section-heading {
  margin-bottom: 16px;
}

.home-text-size-editor .friendly-section-heading p {
  margin: 5px 0 0;
}

.home-text-size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-text-size-grid label {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(11, 13, 12, .1);
  border-radius: 12px;
  background: #fff;
}

.home-text-size-grid label > span {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.home-text-size-grid select {
  width: 100%;
}

.home-text-sizes {
  --home-eyebrow-small: 9px;
  --home-eyebrow-large: 13px;
  --home-eyebrow-xlarge: 15px;
  --home-title-small: clamp(34px, 3.8vw, 50px);
  --home-title-large: clamp(58px, 6vw, 84px);
  --home-title-xlarge: clamp(68px, 7vw, 98px);
  --home-body-small: 12px;
  --home-body-large: 18px;
  --home-body-xlarge: 21px;
  --home-button-small: 10px;
  --home-button-large: 14px;
  --home-button-xlarge: 16px;
}

.hero.home-text-sizes {
  --home-title-small: clamp(42px, 5vw, 72px);
  --home-title-large: clamp(72px, 7.2vw, 116px);
  --home-title-xlarge: clamp(82px, 8.3vw, 132px);
  --home-body-small: 14px;
  --home-body-large: 22px;
  --home-body-xlarge: 25px;
}

.online-notice.home-text-sizes {
  --home-title-small: clamp(20px, 1.7vw, 27px);
  --home-title-large: clamp(31px, 2.5vw, 41px);
  --home-title-xlarge: clamp(36px, 3vw, 48px);
  --home-body-small: 11px;
  --home-body-large: 15px;
  --home-body-xlarge: 18px;
  --home-button-small: 12px;
  --home-button-large: 17px;
  --home-button-xlarge: 20px;
}

.home-benefits.home-text-sizes,
.process.home-text-sizes,
.final-cta.home-text-sizes {
  --home-title-small: clamp(38px, 4.5vw, 58px);
  --home-title-large: clamp(66px, 6.5vw, 92px);
  --home-title-xlarge: clamp(76px, 7.5vw, 106px);
}

.google-reviews.home-text-sizes {
  --home-title-small: clamp(32px, 3vw, 48px);
  --home-title-large: clamp(58px, 5vw, 76px);
  --home-title-xlarge: clamp(68px, 6vw, 90px);
}

.home-size-eyebrow-small .home-size-eyebrow-target {
  font-size: var(--home-eyebrow-small) !important;
}

.home-size-eyebrow-large .home-size-eyebrow-target {
  font-size: var(--home-eyebrow-large) !important;
}

.home-size-eyebrow-xlarge .home-size-eyebrow-target {
  font-size: var(--home-eyebrow-xlarge) !important;
}

.home-size-title-small .home-size-title-target {
  font-size: var(--home-title-small) !important;
}

.home-size-title-large .home-size-title-target {
  font-size: var(--home-title-large) !important;
}

.home-size-title-xlarge .home-size-title-target {
  font-size: var(--home-title-xlarge) !important;
}

.home-size-body-small .home-size-body-target {
  font-size: var(--home-body-small) !important;
}

.home-size-body-large .home-size-body-target {
  font-size: var(--home-body-large) !important;
}

.home-size-body-xlarge .home-size-body-target {
  font-size: var(--home-body-xlarge) !important;
}

.home-size-button-small .home-size-button-target {
  font-size: var(--home-button-small) !important;
}

.home-size-button-large .home-size-button-target {
  font-size: var(--home-button-large) !important;
}

.home-size-button-xlarge .home-size-button-target {
  font-size: var(--home-button-xlarge) !important;
}

@media (max-width: 980px) {
  .home-text-size-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-text-sizes {
    --home-title-small: 28px;
    --home-title-large: 46px;
    --home-title-xlarge: 54px;
    --home-body-small: 12px;
    --home-body-large: 17px;
    --home-body-xlarge: 19px;
  }

  .hero.home-text-sizes {
    --home-title-small: 36px;
    --home-title-large: 58px;
    --home-title-xlarge: 66px;
    --home-body-small: 13px;
    --home-body-large: 18px;
    --home-body-xlarge: 21px;
  }

  .online-notice.home-text-sizes {
    --home-title-small: 20px;
    --home-title-large: 30px;
    --home-title-xlarge: 35px;
  }

  .home-benefits.home-text-sizes,
  .process.home-text-sizes,
  .final-cta.home-text-sizes,
  .google-reviews.home-text-sizes {
    --home-title-small: 30px;
    --home-title-large: 48px;
    --home-title-xlarge: 56px;
  }
}

@media (max-width: 560px) {
  .home-text-size-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Ficha de producto sin datos automáticos y cotización ancha · v1.8.6 */
@media (min-width: 1025px) {
  .product-page-specsheet .specsheet-footer-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-page-specsheet .specsheet-footer-single .specsheet-cta {
    width: 100%;
    min-width: 0;
  }
}


/* Referencia inferior, ampliador y ajuste real de fotos · v1.8.8 */
.product-page-specsheet .specsheet-gallery-main {
  position: relative;
  overflow: hidden;
}

.product-page-specsheet .specsheet-gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(10, 15, 12, .86);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.product-page-specsheet .specsheet-reference-bottom {
  margin-top: 16px;
  padding: 14px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid #e4e1da;
  border-bottom: 1px solid #e4e1da;
}

.product-page-specsheet .specsheet-reference-bottom strong {
  color: #393f3a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-page-specsheet .specsheet-reference-bottom span {
  color: #343a36;
  font-size: 13px;
}

.product-fit-cover .specsheet-gallery-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.product-fit-cover .specsheet-thumbs img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  .product-page-specsheet .specsheet-gallery-zoom {
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
    font-size: 8px;
  }

  .product-page-specsheet .specsheet-reference-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}


/* Tarjetas de catálogo integradas y títulos contenidos · v1.8.9 */
.catalog-page .catalog-product-grid .product-card,
.catalog-page .catalog-product-grid .product-card-link,
.catalog-page .catalog-product-grid .product-info {
  min-width: 0;
  background: transparent;
}

.catalog-page .catalog-product-grid .product-info {
  padding: 13px 0 0;
}

.catalog-page .catalog-product-grid .product-info h3 {
  max-width: 100%;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.2;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 820px) {
  .catalog-page .catalog-product-grid .product-info h3 {
    font-size: 18px;
  }
}


/* Galería de producto sin marco beige y foto integrada · v1.9.0 */
.product-page-specsheet .specsheet-gallery {
  padding: 0;
  background: #fff;
}

.product-page-specsheet .specsheet-gallery-main {
  margin: 0;
  padding: 0;
  background: #fff;
}

.product-page-specsheet .specsheet-gallery-main > img,
.product-fit-contain .product-page-specsheet .specsheet-gallery-main > img {
  padding: 0;
  background: #fff;
}

.product-page-specsheet .specsheet-thumbs {
  margin-top: 0;
  padding: 14px;
  border-top: 1px solid #e4e1da;
  background: #fff;
}

.product-fit-cover .product-page-specsheet .specsheet-gallery-main > img {
  transform: scale(1.1);
}

@media (max-width: 720px) {
  .product-page-specsheet .specsheet-thumbs {
    padding: 10px;
  }
}


/* Identidad, tamaños generales y regeneración de imágenes · v1.9.1 */
body.public-site .topline,
body.public-site .topline a,
body.public-site .topline span,
body.public-site .topline strong {
  color: #ffffff !important;
}

body.topbar-size-small .topline-inner {
  font-size: 10px;
}

body.topbar-size-normal .topline-inner {
  font-size: 11px;
}

body.topbar-size-large .topline-inner {
  font-size: 13px;
}

body.topbar-size-xlarge .topline-inner {
  font-size: 15px;
}

body.public-site .topline-inner {
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}

body.footer-size-small .site-footer {
  --footer-copy-size: 10px;
  --footer-title-size: 9px;
  --footer-bottom-size: 9px;
  --footer-credit-size: 8px;
}

body.footer-size-normal .site-footer {
  --footer-copy-size: 12px;
  --footer-title-size: 10px;
  --footer-bottom-size: 10px;
  --footer-credit-size: 9px;
}

body.footer-size-large .site-footer {
  --footer-copy-size: 14px;
  --footer-title-size: 12px;
  --footer-bottom-size: 12px;
  --footer-credit-size: 11px;
}

body.footer-size-xlarge .site-footer {
  --footer-copy-size: 16px;
  --footer-title-size: 14px;
  --footer-bottom-size: 14px;
  --footer-credit-size: 13px;
}

body.public-site .site-footer .footer-main a,
body.public-site .site-footer .footer-main p,
body.public-site .site-footer .footer-main small {
  font-size: var(--footer-copy-size, 12px) !important;
}

body.public-site .site-footer .footer-title {
  font-size: var(--footer-title-size, 10px) !important;
}

body.public-site .site-footer .footer-bottom {
  font-size: var(--footer-bottom-size, 10px) !important;
}

body.public-site .site-footer .site-credit {
  font-size: var(--footer-credit-size, 9px) !important;
}

.admin-actions-buttons {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions .admin-actions-buttons form {
  width: auto;
  margin: 0;
}

.admin-secondary-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #0d2016;
  background: #ffffff;
  color: #0d2016;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.admin-secondary-button:hover,
.admin-secondary-button:focus-visible {
  border-color: var(--green);
  background: #edf9f2;
}

.settings-identity-card,
.settings-text-sizes-card {
  padding: 20px;
  border: 1px solid #d9e8df;
  border-radius: 8px;
  background: #f7fbf8;
}

.settings-identity-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.settings-logo-preview .field-title,
.settings-text-sizes-card > div:first-child strong {
  display: block;
  color: #173224;
  font-size: 12px;
  font-weight: 850;
}

.settings-logo-preview-box {
  border: 1px solid rgba(0, 184, 107, .34);
}

.settings-logo-fallback {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 44px;
  font-style: italic;
}

.settings-logo-controls {
  display: grid;
  gap: 12px;
}

.settings-logo-controls > label:not(.settings-remove-logo) {
  display: grid;
  gap: 7px;
}

.settings-logo-controls label > span {
  color: #202923;
  font-size: 10px;
  font-weight: 800;
}

.settings-logo-controls input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #cdd8d1;
  background: #ffffff;
}

.settings-logo-controls small,
.settings-text-sizes-card > div:first-child small {
  display: block;
  color: #667269;
  font-size: 10px;
  line-height: 1.5;
}

.settings-remove-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.settings-remove-logo input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.settings-text-sizes-card {
  display: grid;
  gap: 16px;
}

.settings-text-sizes-card > div:first-child {
  display: grid;
  gap: 4px;
}

@media (max-width: 760px) {
  body.topbar-size-large .topline-inner {
    font-size: 12px;
  }

  body.topbar-size-xlarge .topline-inner {
    font-size: 14px;
  }

  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions-buttons,
  .admin-actions-buttons > *,
  .admin-secondary-button,
  .admin-actions-buttons .admin-primary-button {
    width: 100%;
  }

  .settings-identity-card {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Fotos cuadradas sin marco beige · v1.9.2 */
body.public-site .product-image {
  aspect-ratio: 1 / 1;
  background: #ffffff;
}

body.public-site .product-image img,
body.public-site.product-fit-contain .product-image img,
body.public-site.product-fit-cover .product-image img {
  width: 100%;
  height: 100%;
  padding: 0;
  background: #ffffff;
  object-position: center;
}

body.public-site.product-fit-contain .product-image img {
  object-fit: contain;
}

body.public-site.product-fit-cover .product-image img {
  object-fit: cover;
}

body.public-site .product-page-specsheet .specsheet-gallery {
  padding: 0;
  border: 0;
  background: #ffffff;
}

body.public-site .product-page-specsheet .specsheet-gallery-main {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ffffff;
}

body.public-site .product-page-specsheet .specsheet-gallery-main > img,
body.public-site.product-fit-contain .product-page-specsheet .specsheet-gallery-main > img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  background: #ffffff;
  object-fit: contain;
  object-position: center;
}

body.public-site.product-fit-cover .product-page-specsheet .specsheet-gallery-main > img {
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  background: #ffffff;
  object-fit: cover;
  object-position: center;
  transform: none;
}

body.public-site .product-page-specsheet .specsheet-thumbs {
  margin: 0;
  padding: 10px 0 0;
  border: 0;
  background: #ffffff;
}

body.public-site .product-page-specsheet .specsheet-thumbs button {
  padding: 0;
  border: 0;
  outline: 2px solid transparent;
  outline-offset: -2px;
  background: #ffffff;
}

body.public-site .product-page-specsheet .specsheet-thumbs button.active {
  border: 0;
  outline-color: var(--green);
  box-shadow: none;
}

body.public-site .product-page-specsheet .specsheet-thumbs img,
body.public-site.product-fit-contain .product-page-specsheet .specsheet-thumbs img,
body.public-site.product-fit-cover .product-page-specsheet .specsheet-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #ffffff;
  object-fit: contain;
  object-position: center;
}

body.public-site.watermark-products .product-image::after,
body.public-site.watermark-products .gallery-main::after {
  z-index: 4;
}

@media (max-width: 720px) {
  body.public-site .product-page-specsheet .specsheet-thumbs {
    padding: 8px 0 0;
  }
}


/* Logo y encabezado regulables · v1.9.3 */
body.header-logo-size-small .logo-link {
  width: 175px;
}

body.header-logo-size-small .logo-link img {
  height: 58px;
}

body.header-logo-size-normal .logo-link {
  width: 220px;
}

body.header-logo-size-normal .logo-link img {
  height: 70px;
}

body.header-logo-size-large .logo-link {
  width: 270px;
}

body.header-logo-size-large .logo-link img {
  height: 86px;
}

body.header-logo-size-xlarge .logo-link {
  width: 320px;
}

body.header-logo-size-xlarge .logo-link img {
  height: 102px;
}

body.header-logo-size-small .header-inner,
body.header-logo-size-small .main-nav > a,
body.header-logo-size-small .nav-categories > button {
  min-height: 90px;
}

body.header-logo-size-normal .header-inner,
body.header-logo-size-normal .main-nav > a,
body.header-logo-size-normal .nav-categories > button {
  min-height: 98px;
}

body.header-logo-size-large .header-inner,
body.header-logo-size-large .main-nav > a,
body.header-logo-size-large .nav-categories > button {
  min-height: 110px;
}

body.header-logo-size-xlarge .header-inner,
body.header-logo-size-xlarge .main-nav > a,
body.header-logo-size-xlarge .nav-categories > button {
  min-height: 126px;
}

body.header-text-size-small .main-nav {
  font-size: 12px;
}

body.header-text-size-normal .main-nav {
  font-size: 13px;
}

body.header-text-size-large .main-nav {
  font-size: 15px;
}

body.header-text-size-xlarge .main-nav {
  font-size: 17px;
}

body.header-text-size-small .header-search input {
  font-size: 11px;
}

body.header-text-size-normal .header-search input {
  font-size: 12px;
}

body.header-text-size-large .header-search input {
  font-size: 13px;
}

body.header-text-size-xlarge .header-search input {
  font-size: 14px;
}

.branding-logo-card {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: center;
}

.branding-logo-preview {
  min-height: 150px;
  padding: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #25322b;
  background: #000000;
}

.branding-logo-preview img {
  width: auto;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.branding-settings-form .settings-grid input[type="file"] {
  min-height: 46px;
  padding: 10px;
  background: #ffffff;
}

@media (max-width: 1260px) and (min-width: 821px) {
  body.header-logo-size-large .logo-link {
    width: 235px;
  }

  body.header-logo-size-large .logo-link img {
    height: 78px;
  }

  body.header-logo-size-xlarge .logo-link {
    width: 270px;
  }

  body.header-logo-size-xlarge .logo-link img {
    height: 90px;
  }

  body.header-text-size-large .main-nav {
    font-size: 14px;
  }

  body.header-text-size-xlarge .main-nav {
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .email-settings-intro {
    grid-template-columns: 1fr;
  }

  .smtp-test-card {
    padding: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .smtp-test-card form,
  .smtp-test-card button {
    width: 100%;
  }

  body.header-logo-size-small .logo-link,
  body.header-logo-size-normal .logo-link,
  body.header-logo-size-large .logo-link,
  body.header-logo-size-xlarge .logo-link {
    width: auto;
    max-width: calc(100% - 72px);
  }

  body.header-logo-size-small .logo-link img {
    height: 48px;
  }

  body.header-logo-size-normal .logo-link img {
    height: 56px;
  }

  body.header-logo-size-large .logo-link img {
    height: 66px;
  }

  body.header-logo-size-xlarge .logo-link img {
    height: 76px;
  }

  body.header-logo-size-small .header-inner {
    min-height: 76px;
  }

  body.header-logo-size-normal .header-inner {
    min-height: 84px;
  }

  body.header-logo-size-large .header-inner {
    min-height: 94px;
  }

  body.header-logo-size-xlarge .header-inner {
    min-height: 104px;
  }

  body.header-logo-size-small .main-nav > a,
  body.header-logo-size-normal .main-nav > a,
  body.header-logo-size-large .main-nav > a,
  body.header-logo-size-xlarge .main-nav > a,
  body.header-logo-size-small .nav-categories > button,
  body.header-logo-size-normal .nav-categories > button,
  body.header-logo-size-large .nav-categories > button,
  body.header-logo-size-xlarge .nav-categories > button {
    min-height: 60px;
  }

  .branding-logo-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .branding-logo-preview {
    min-height: 120px;
  }
}


/* Catálogo blanco y marca de agua en ampliación · v1.9.4 */
body.public-site .catalog-page,
body.public-site .catalog-layout,
body.public-site .catalog-results,
body.public-site .category-sidebar {
  background: #ffffff;
}

body.public-site .catalog-page .catalog-product-grid,
body.public-site .catalog-page .catalog-product-grid .product-card,
body.public-site .catalog-page .catalog-product-grid .product-card-link,
body.public-site .catalog-page .catalog-product-grid .product-info {
  background: #ffffff;
}

.product-lightbox-image-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  max-height: calc(92vh - 76px);
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
}

.product-lightbox-image-wrap > img {
  position: relative;
  z-index: 1;
}

.product-lightbox-watermark {
  display: none;
}

body.watermark-products .product-lightbox-watermark {
  position: absolute;
  z-index: 3;
  right: auto;
  bottom: 22px;
  left: 22px;
  display: block;
  width: clamp(145px, 34%, 330px);
  aspect-ratio: 1492 / 541;
  background: var(--product-watermark-image, url("../img/logo-manrique-blanco.png")) center / contain no-repeat;
  opacity: .42;
  filter: grayscale(.12) drop-shadow(0 1px 2px rgba(255, 255, 255, .28));
  mix-blend-mode: multiply;
  pointer-events: none;
}

body.watermark-products.watermark-small .product-lightbox-watermark {
  width: clamp(120px, 28%, 250px);
}

body.watermark-products.watermark-large .product-lightbox-watermark {
  width: clamp(190px, 46%, 420px);
}

body.watermark-products.watermark-position-center .product-lightbox-watermark {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
}

body.watermark-products.watermark-position-top-left .product-lightbox-watermark {
  top: 22px;
  right: auto;
  bottom: auto;
  left: 22px;
  transform: none;
}

body.watermark-products.watermark-position-top-right .product-lightbox-watermark {
  top: 22px;
  right: 22px;
  bottom: auto;
  left: auto;
  transform: none;
}

body.watermark-products.watermark-position-bottom-left .product-lightbox-watermark {
  top: auto;
  right: auto;
  bottom: 22px;
  left: 22px;
  transform: none;
}

body.watermark-products.watermark-position-bottom-right .product-lightbox-watermark {
  top: auto;
  right: 22px;
  bottom: 22px;
  left: auto;
  transform: none;
}

.product-lightbox-close {
  z-index: 5;
}

@media (max-width: 720px) {
  .product-lightbox-image-wrap {
    width: 100%;
    max-height: calc(92vh - 64px);
  }

  body.watermark-products .product-lightbox-watermark {
    bottom: 14px;
    left: 14px;
  }

  body.watermark-products.watermark-position-top-left .product-lightbox-watermark {
    top: 14px;
    left: 14px;
  }

  body.watermark-products.watermark-position-top-right .product-lightbox-watermark {
    top: 14px;
    right: 14px;
  }

  body.watermark-products.watermark-position-bottom-left .product-lightbox-watermark {
    bottom: 14px;
    left: 14px;
  }

  body.watermark-products.watermark-position-bottom-right .product-lightbox-watermark {
    right: 14px;
    bottom: 14px;
  }
}


/* Marca de agua reemplazable desde el panel · v1.9.6 */
.settings-watermark-image-card {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid #d9e8df;
  border-radius: 8px;
  background: #f7fbf8;
}

.settings-watermark-preview {
  display: grid;
  gap: 10px;
}

.settings-watermark-preview .field-title {
  color: #173224;
  font-size: 12px;
  font-weight: 850;
}

.settings-watermark-preview-box {
  min-height: 130px;
  padding: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #d4dbd6;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, #e8ece9 25%, transparent 25%),
    linear-gradient(-45deg, #e8ece9 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e8ece9 75%),
    linear-gradient(-45deg, transparent 75%, #e8ece9 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.settings-watermark-preview-box img {
  width: auto;
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .settings-watermark-image-card {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* 1.9.9 - separación visual e imágenes configurables en bloques oscuros */
.dark-block-separator {
  min-height: clamp(24px, 3.2vw, 48px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 33.333% 100%,
    var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dark-block-separator span {
  width: 34px;
  height: 2px;
  background: rgba(5, 18, 13, .55);
  border-radius: 999px;
}

.dark-block-image {
  margin: clamp(26px, 3.5vw, 42px) 0 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .035);
  overflow: hidden;
}

.dark-block-image img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: rgba(255, 255, 255, .96);
}

.process-example-image img {
  padding: clamp(12px, 2vw, 24px);
}

@media (max-width: 980px) {
  .dark-block-separator {
    min-height: 26px;
  }

  .dark-block-image {
    max-width: 680px;
  }
}

/* 1.10.0: placeholders más claros y discretos en Contacto */
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-newsletter input::placeholder {
  color: #a4aaa5;
  font-size: 0.82em;
  font-weight: 400;
  opacity: 1;
}

.contact-form textarea::placeholder {
  line-height: 1.55;
}

/* 1.10.1 - restauración visual y acceso directo a Contacto */
.dark-block-separator {
  min-height: 18px !important;
  background: var(--green) !important;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.22);
}
.dark-block-separator span { display: none; }
body.home-page .process-steps,
body.home-page .benefits-grid { min-width: 0; }
body.home-page .process-steps article,
body.home-page .benefits-grid article { display: block; visibility: visible; opacity: 1; }
body.home-page .online-notice > a.home-size-button-target {
  font-size: clamp(14px, 1.2vw, 18px) !important;
  font-weight: 800;
  letter-spacing: .01em;
}
.settings-anchor-section { scroll-margin-top: 24px; }
@media (max-width: 980px) {
  .dark-block-separator { min-height: 14px !important; }
}


/* 1.10.3 - botón del menú móvil siempre interactivo */
@media (max-width: 820px) {
  .site-header,
  .site-header .header-inner {
    position: relative;
  }

  .mobile-menu {
    position: relative !important;
    z-index: 10020 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu::before,
  .mobile-menu::after {
    pointer-events: none !important;
  }
}

/* 1.10.4 - pie de página visible y accesible en modo móvil */
@media (max-width: 820px) {
  html,
  body.public-site {
    min-height: 100%;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    overflow-y: auto !important;
  }

  body.public-site .site-footer,
  body.public-site footer.site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 1px !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    content-visibility: visible !important;
    contain: none !important;
    clear: both;
  }

  body.public-site .site-footer .footer-main,
  body.public-site .site-footer .footer-bottom {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.public-site .site-footer .footer-main > div,
  body.public-site .site-footer .footer-main a,
  body.public-site .site-footer .footer-main p,
  body.public-site .site-footer .footer-main small,
  body.public-site .site-footer .footer-bottom > * {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 560px) {
  body.public-site .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.public-site .site-footer .footer-brand,
  body.public-site .site-footer .footer-main > div:last-child {
    grid-column: auto !important;
  }

  body.public-site .site-footer .footer-bottom {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* 1.10.6 - solución limpia y definitiva para menú y footer móvil */
@media (max-width: 820px) {
  body.mobile-navigation-open { overflow: hidden !important; }
  body.mobile-navigation-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(0,0,0,.58);
  }
  .site-header { z-index: 10000 !important; overflow: visible !important; }
  .site-header .header-inner { position: relative !important; overflow: visible !important; }
  .mobile-menu {
    display: grid !important;
    position: relative !important;
    z-index: 10020 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }
  .site-header .main-nav,
  body > .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 10010 !important;
    width: min(88vw, 390px) !important;
    height: 100dvh !important;
    max-height: none !important;
    padding: max(92px, calc(env(safe-area-inset-top) + 76px)) 0 max(20px, env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #08ad66 !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transition: transform .22s ease, visibility 0s linear .22s !important;
  }
  .site-header .main-nav.open,
  body > .main-nav.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform .22s ease !important;
  }
  .site-header .main-nav > a,
  .site-header .main-nav .nav-categories > button,
  body > .main-nav > a,
  body > .main-nav .nav-categories > button {
    min-height: 58px !important;
    padding: 16px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: transparent !important;
    color: #07140d !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(7,20,13,.18) !important;
    opacity: 1 !important;
    font-weight: 800 !important;
  }
  .site-header .main-nav .header-search,
  body > .main-nav .header-search { margin: 20px !important; width: auto !important; }

  body.public-site .site-footer,
  body.public-site footer.site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    clear: both !important;
  }
  body.public-site .site-footer .footer-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    height: auto !important;
    overflow: visible !important;
  }
  body.public-site .site-footer .footer-main > div,
  body.public-site .site-footer .footer-brand,
  body.public-site .site-footer .footer-main > div:last-child {
    display: block !important;
    grid-column: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.public-site .site-footer .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* Confirmaciones visibles para formularios públicos */
.form-feedback-layer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 13, 9, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.form-feedback-layer.is-visible {
  opacity: 1;
  visibility: visible;
}

.form-feedback-card {
  position: relative;
  width: min(100%, 560px);
  padding: clamp(34px, 6vw, 56px);
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  text-align: center;
  transform: translateY(18px) scale(.98);
  transition: transform .24s ease;
}

.form-feedback-layer.is-visible .form-feedback-card {
  transform: translateY(0) scale(1);
}

.form-feedback-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--green);
}

.form-feedback-card.is-error::before {
  background: #c53f3f;
}

.form-feedback-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #4a514d;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.form-feedback-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #e5f8ed;
  color: #087743;
  font-size: 42px;
  font-weight: 800;
}

.form-feedback-card.is-error .form-feedback-icon {
  background: #fdeaea;
  color: #a92f2f;
}

.form-feedback-eyebrow {
  margin: 0 0 10px;
  color: #087743;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.form-feedback-card.is-error .form-feedback-eyebrow {
  color: #a92f2f;
}

.form-feedback-card h2 {
  margin: 0;
  color: #0b100d;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.form-feedback-message {
  max-width: 430px;
  margin: 20px auto 28px;
  color: #59615c;
  font-size: 16px;
  line-height: 1.65;
}

.form-feedback-action {
  min-width: 190px;
}

body.has-form-feedback {
  overflow: hidden;
}

@media (max-width: 640px) {
  .form-feedback-layer {
    align-items: end;
    padding: 14px;
  }

  .form-feedback-card {
    width: 100%;
    padding: 42px 24px 30px;
  }

  .form-feedback-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    font-size: 34px;
  }

  .form-feedback-message {
    font-size: 15px;
  }

  .form-feedback-action {
    width: 100%;
  }
}


/* 1.10.10 - el botón abierto se convierte en una X de cierre fija */
@media (max-width: 820px) {
  .mobile-menu span {
    transform-origin: center;
    transition: transform 180ms ease, background-color 180ms ease;
  }

  body.mobile-navigation-open .mobile-menu,
  .mobile-menu.open {
    position: fixed !important;
    top: max(16px, env(safe-area-inset-top)) !important;
    right: max(16px, env(safe-area-inset-right)) !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 10030 !important;
    width: 48px !important;
    height: 48px !important;
    border-color: rgba(7, 20, 13, .34) !important;
    background: rgba(7, 20, 13, .08) !important;
    gap: 0 !important;
  }

  .mobile-menu.open span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: #07140d !important;
  }

  .mobile-menu.open span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu.open span:last-child {
    transform: rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 820px) {
  .mobile-menu span {
    transition: none;
  }
}


/* 1.10.11 - jerarquía de La Empresa en la navegación */
.main-nav > .nav-company-link {
  font-size: 1.15em;
  font-weight: 850;
  letter-spacing: .01em;
}


/* 1.10.12 - dibujos o íconos editables en los pasos de Cómo trabajamos */
.process-item-image-field {
  padding: 15px;
  border: 1px dashed #abc8b3;
  border-radius: 10px;
  background: #f2f8f3;
}

body.home-page .process-steps article {
  position: relative;
  overflow: hidden;
}

body.home-page .process-steps article.has-process-art h3,
body.home-page .process-steps article.has-process-art > p {
  max-width: calc(100% - 112px);
}

.process-step-art {
  position: absolute;
  top: 50%;
  right: 18px;
  width: clamp(76px, 27%, 112px);
  height: 112px;
  margin: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.process-step-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 420px) {
  body.home-page .process-steps article.has-process-art h3,
  body.home-page .process-steps article.has-process-art > p {
    max-width: calc(100% - 88px);
  }

  .process-step-art {
    right: 14px;
    width: 78px;
    height: 88px;
  }
}


/* 1.10.13 - cruz móvil centrada y sin marco cuadrado */
@media (max-width: 820px) {
  body.mobile-navigation-open .mobile-menu,
  .mobile-menu.open {
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
  }

  .mobile-menu.open span {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 28px !important;
    height: 3px !important;
    margin: 0 !important;
    border-radius: 999px;
    background: #07140d !important;
  }

  .mobile-menu.open span:first-child {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .mobile-menu.open span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .mobile-menu.open:active {
    background: rgba(7, 20, 13, .10) !important;
  }

  .mobile-menu.open:focus-visible {
    outline: 2px solid rgba(7, 20, 13, .58);
    outline-offset: 2px;
  }
}


/* 1.10.14 - panel de suscriptores */
.subscribers-intro {
  margin-bottom: 26px;
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  background: var(--ink);
  color: #fff;
}

.subscribers-intro h2 {
  max-width: 640px;
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.subscribers-intro > div:first-child > p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 1.7;
}

.subscribers-total {
  min-height: 160px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--green);
  color: var(--ink);
}

.subscribers-total span,
.subscribers-total small {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.subscribers-total strong {
  margin: 6px 0 3px;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 400;
  line-height: .95;
}

.subscribers-actions form {
  width: min(520px, 100%);
}

.subscribers-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.subscribers-results-note {
  margin: 0 0 12px;
  color: #737a75;
  font-size: 11px;
}

.subscribers-table td {
  vertical-align: middle;
}

.subscriber-email-link {
  color: #087647;
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.subscriber-email-link:hover,
.subscriber-email-link:focus-visible {
  text-decoration: underline;
}

.subscriber-source {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #087647;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .subscribers-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .subscribers-total {
    min-height: 0;
  }

  .subscribers-actions {
    align-items: stretch;
  }
}

/* 1.10.15 - exportación de suscriptores */
.subscribers-export-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 820px) {
  .subscribers-export-buttons {
    width: 100%;
  }

  .subscribers-export-buttons a {
    flex: 1 1 150px;
  }
}

/* 1.10.16 - marco blanco y tamaño editable de la foto de Cómo trabajamos */
body.home-page .process-example-image {
  width: 100%;
  max-width: none;
  border: 1px solid rgba(255, 255, 255, .96);
  background: transparent;
}

body.home-page .process-example-image img {
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

@media (min-width: 981px) {
  body.home-page .process.process-image-size-small {
    grid-template-columns: .68fr 1.67fr;
  }

  body.home-page .process.process-image-size-normal {
    grid-template-columns: .85fr 1.5fr;
  }

  body.home-page .process.process-image-size-large {
    grid-template-columns: 1.05fr 1.3fr;
  }

  body.home-page .process.process-image-size-xlarge {
    grid-template-columns: 1.2fr 1.15fr;
  }
}

@media (max-width: 980px) {
  body.home-page .process.process-image-size-small,
  body.home-page .process.process-image-size-normal,
  body.home-page .process.process-image-size-large,
  body.home-page .process.process-image-size-xlarge {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-page .process.process-image-size-small .process-example-image {
    width: 70%;
  }

  body.home-page .process.process-image-size-normal .process-example-image {
    width: 85%;
  }

  body.home-page .process.process-image-size-large .process-example-image,
  body.home-page .process.process-image-size-xlarge .process-example-image {
    width: 100%;
  }
}

.process-image-size-editor {
  padding: 20px;
  border: 1px solid rgba(0, 143, 80, .24);
  border-radius: 16px;
  background: #f2f8f4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  align-items: center;
  gap: 22px;
}

.process-image-size-editor > div > strong {
  display: block;
  color: #173224;
  font-size: 13px;
}

.process-image-size-editor > div > p {
  max-width: 660px;
  margin: 6px 0 0;
  color: #68766e;
  font-size: 10px;
  line-height: 1.6;
}

.process-image-size-editor label {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(11, 13, 12, .1);
  border-radius: 12px;
  background: #fff;
}

.process-image-size-editor select {
  width: 100%;
}

.hero-upload-field.process-block-image-field img {
  height: auto;
  max-height: 240px;
  padding: 12px;
  background: #07140d;
  object-fit: contain;
}

@media (max-width: 720px) {
  .process-image-size-editor {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 1.10.17 - crédito del desarrollador protegido */
.protected-credit-card {
  padding: 20px;
  border: 1px solid #cddbd2;
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: #f4f8f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.protected-credit-card > div {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.protected-credit-badge {
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #dff4e7;
  color: #087647;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.protected-credit-card strong {
  color: #16291f;
  font-size: 14px;
}

.protected-credit-card a {
  width: max-content;
  max-width: 100%;
  color: #087647;
  font-size: 10px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.protected-credit-card > p {
  max-width: 390px;
  margin: 0;
  color: #647068;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .protected-credit-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
