@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --navy: #031b3a;
  --navy-2: #062c57;
  --navy-3: #0c416e;
  --green: #4aa829;
  --green-dark: #337b1a;
  --lime: #b8dc62;
  --ink: #102746;
  --muted: #56677d;
  --line: #d8e0e8;
  --soft: #f4f7f9;
  --white: #fff;
  --danger: #a53838;
  --shadow: 0 18px 45px rgba(3, 27, 58, 0.12);
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
}
body,
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
h1,
h2,
h3,
h4 {
  font-family: "Lexend", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0.25rem 0 1rem;
}
label {
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
label span {
  font-weight: 400;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid #cbd5df;
  border-radius: 10px;
  background: #fff;
  outline: none;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(74, 168, 41, 0.32);
  outline-offset: 2px;
  border-color: var(--green);
}
select:disabled {
  color: #6b7788;
  background: #eef2f5;
  cursor: not-allowed;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding: 78px 0;
}
.page-main {
  min-height: 65vh;
}
.eyebrow {
  font-family: "Lexend", sans-serif;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.5rem;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
}
.button {
  min-height: 50px;
  border: 2px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  font-family: "Lexend", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    transform 0.2s,
    background 0.2s,
    border 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--green);
  color: #fff;
}
.button-primary:hover {
  background: var(--green-dark);
}
.button-secondary {
  background: #fff;
  border-color: #b8c6d5;
  color: var(--navy);
}
.button-outline-light {
  background: rgba(3, 27, 58, 0.3);
  border-color: #fff;
  color: #fff;
}
.button-wide {
  width: 100%;
}
.icon-only {
  width: 52px;
  padding: 0;
}
.icon-button {
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  border-radius: 9px;
}
.text-link {
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.text-link:hover {
  color: var(--green-dark);
}
.utility-bar {
  background: var(--navy);
  color: #fff;
  font-size: 0.76rem;
}
.utility-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.utility-contact-details,
.utility-contact-details a,
.utility-contact-details > span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.utility-contact-details {
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: clamp(1.15rem, 2.1vw, 2.4rem);
}
.utility-language-switcher {
  margin-left: auto;
}
.utility-inner svg {
  color: var(--lime);
  font-size: 1.05rem;
}
.utility-language-switcher .language-switcher {
  width: 40px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}
.utility-language-switcher .language-switcher:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.13);
}
.utility-language-switcher .language-switcher:focus-visible {
  outline-color: rgba(169, 222, 110, 0.7);
}
.utility-language-switcher .language-flag {
  width: 26px;
  height: 18px;
}
.site-header {
  height: 94px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(3, 27, 58, 0.09);
  box-shadow: 0 7px 22px rgba(3, 27, 58, 0.06);
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    box-shadow 0.24s ease;
  will-change: transform;
}
.site-header--hidden {
  transform: translateY(calc(-100% - 8px));
  opacity: 0;
  pointer-events: none;
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.brand {
  display: block;
  flex: 0 0 auto;
}
.brand img {
  width: 190px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}
.main-nav a,
.main-nav button {
  border: 0;
  background: none;
  padding: 0.65rem 0;
  min-height: 48px;
  font-family: "Lexend", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
}
.main-nav a:hover,
.main-nav button:hover {
  color: var(--green-dark);
}
.main-nav .order-lookup-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.55rem 0.78rem;
  border: 1px solid #cfe3c5;
  border-radius: 999px;
  background: #f1f8ed;
  color: #285f1b;
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav .order-lookup-link:hover {
  border-color: #9fca8d;
  background: #e5f3dd;
  color: #1f5015;
  box-shadow: 0 6px 16px rgba(48, 112, 27, 0.1);
}
.main-nav .order-lookup-link:focus-visible {
  outline: 3px solid rgba(73, 150, 43, 0.28);
  outline-offset: 2px;
}
.main-nav .order-lookup-vehicle {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 80%;
  transition: transform 0.2s ease;
  will-change: transform;
}
.main-nav .order-lookup-label {
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
}
.main-nav .order-lookup-vehicle svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--green-dark);
}
.main-nav .order-lookup-link:not(.is-moving):hover .order-lookup-vehicle {
  transform: translateX(2px);
}
.main-nav .order-lookup-track {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74, 168, 41, 0.18), var(--green));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
.main-nav .order-lookup-link.is-moving {
  border-color: #8ec77a;
  background: #edf8e8;
  box-shadow: 0 7px 18px rgba(48, 112, 27, 0.13);
}
.main-nav .order-lookup-link:disabled {
  opacity: 1;
  cursor: wait;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.language-menu {
  position: relative;
  flex: 0 0 auto;
}
.language-switcher {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--navy-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.language-switcher:hover {
  border-color: #d7e0e7;
  background: #f5f8fa;
}
.language-switcher:focus-visible {
  outline: 3px solid rgba(73, 150, 43, 0.28);
  outline-offset: 2px;
}
.language-flag {
  width: 28px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid rgba(3, 27, 58, 0.2);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(3, 27, 58, 0.12);
  overflow: hidden;
}
.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  width: 198px;
  padding: 0.35rem;
  border: 1px solid #dce4ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(3, 27, 58, 0.15);
}
.language-dropdown[hidden] {
  display: none;
}
.language-dropdown button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--navy-2);
  font-family: "Lexend", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.language-dropdown button:hover,
.language-dropdown button:focus-visible {
  background: #f1f6f9;
  outline: none;
}
.language-dropdown button[aria-checked="true"] {
  color: var(--green-dark);
  font-weight: 600;
}
.language-dropdown button > svg:last-child {
  color: var(--green);
  font-size: 1rem;
}
.cart-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #d7e1e8;
  border-radius: 14px;
  background: #f5f8fa;
  color: var(--navy-2);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.cart-link:hover {
  border-color: #b8c9d5;
  background: #edf3f6;
  color: var(--green-dark);
}
.cart-link:focus-visible {
  outline: 3px solid rgba(73, 150, 43, 0.28);
  outline-offset: 2px;
}
.cart-link > svg {
  width: 26px;
  height: 26px;
}
.cart-link b {
  position: absolute;
  top: -7px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 0.25rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  line-height: 1;
}
.menu-toggle {
  display: none;
}
.hero {
  background: linear-gradient(110deg, #021933 0%, #052b54 56%, #123e5f 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  min-height: 610px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding: 58px 0 35px;
  max-width: 650px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d8edc8;
  font-weight: 700;
}
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}
.hero-copy h1 span {
  color: #7dcc48;
}
.hero-copy > p:not(.hero-kicker) {
  font-size: 1.13rem;
  max-width: 610px;
  color: #e2eaf2;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0 2.4rem;
  flex-wrap: wrap;
}
.hero-machine {
  position: absolute;
  right: -115px;
  top: 0;
  height: 100%;
  width: 71%;
  object-fit: cover;
  object-position: center;
  opacity: 0.93;
  mask-image: linear-gradient(to right, transparent 0, #000 35%);
}
.hero-capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: calc(100vw - max(40px, (100vw - 1180px)/2));
  max-width: 890px;
  position: relative;
  z-index: 3;
}
.hero-capabilities span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.hero-capabilities svg {
  color: var(--lime);
  font-size: 1.9rem;
  flex: none;
}
.hero-help {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  background: #fff;
  color: var(--ink);
  padding: 1.35rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-help h2 {
  font-size: 1.25rem;
}
.hero-help p {
  font-size: 0.9rem;
}
.help-icon {
  width: 54px;
  height: 54px;
  background: #edf8e8;
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.hero-help .button {
  width: 100%;
}
.section-heading {
  max-width: 690px;
  margin-bottom: 1.8rem;
}
.section-heading > p:last-child {
  color: var(--muted);
}
.section-heading.compact {
  margin-bottom: 1.1rem;
}
.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}
.row-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid #e4e9ee;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 9px 25px rgba(3, 27, 58, 0.06);
  display: flex;
  flex-direction: column;
}
.product-image {
  height: 225px;
  background: #f7f9fa;
  display: grid;
  place-items: center;
  padding: 0;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.product-card:hover .product-image img {
  transform: scale(1.035);
}
.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h3 {
  min-height: 2.65em;
  font-size: 1.05rem;
}
.product-card .eyebrow {
  margin: 0.8rem 0 0.3rem;
}
.status {
  width: max-content;
  display: inline-flex;
  border-radius: 100px;
  padding: 0.24rem 0.6rem;
  background: #d9efcc;
  color: #286616;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status.made_to_order {
  background: #dcecff;
  color: #164e88;
}
.status.unavailable {
  background: #f3dddd;
  color: #843434;
}
.availability {
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 2.5em;
}
.price {
  font-family: "Lexend", sans-serif;
  font-size: 1.05rem;
}
.product-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.product-card-old-price {
  color: #7b8792;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration-color: #9a6d10;
}
.product-card small {
  color: var(--danger);
}
.quote-price {
  color: var(--navy-3);
}
.card-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1rem;
}
.card-actions .button-secondary {
  flex: 1;
}
.trust-strip {
  background: var(--navy);
  color: #fff;
  padding: 38px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-grid span {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
}
.trust-grid svg {
  grid-row: 1/3;
  font-size: 2.4rem;
  color: var(--lime);
}
.trust-grid small {
  color: #c7d3df;
}
.services {
  background: var(--soft);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-grid article {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid #e0e7ed;
}
.service-grid article > svg {
  font-size: 2.7rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.service-grid article p {
  color: var(--muted);
}
.service-grid article a {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-dark);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 3rem;
}
.about-grid > div:first-child > p {
  font-size: 1.05rem;
  color: var(--muted);
}
.about-image {
  position: relative;
}
.about-image > img {
  height: 440px;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.about-image > div {
  position: absolute;
  left: -30px;
  bottom: 25px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow);
  max-width: 310px;
}
.about-image svg {
  font-size: 2.4rem;
  color: var(--lime);
  flex: none;
}
.contact-section {
  background: #eef4f7;
  padding-block: 56px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  align-items: stretch;
}
.contact-copy {
  background: var(--navy);
  color: #fff;
  padding: 26px;
  border-radius: 18px;
}
.contact-copy h2 {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}
.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.contact-copy > p {
  color: #dbe5ef;
}
.contact-copy > a,
.contact-copy > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}
.contact-copy svg {
  font-size: 1.55rem;
  color: var(--lime);
  flex: none;
}
.contact-copy small {
  display: block;
  color: #b8c9d9;
  font-size: 0.78rem;
}
.lead-form {
  background: #fff;
  border: 1px solid #dce5eb;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(3, 27, 58, 0.08);
}
.lead-form .section-heading.compact {
  margin-bottom: 14px;
}
.lead-form .section-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}
.lead-form .section-heading > p:last-child {
  margin-bottom: 0;
  font-size: 0.92rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 14px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.lead-form .form-grid > label:not(.check-field) {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 7px;
  align-content: start;
  font-size: 0.88rem;
}
.lead-form .form-grid > label:not(.check-field) > input,
.lead-form .form-grid > label:not(.check-field) > select,
.lead-form .form-grid > label:not(.check-field) > textarea {
  grid-column: 1 / -1;
  min-height: 46px;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 0.94rem;
}
.lead-form .form-grid textarea {
  min-height: 88px;
  line-height: 1.4;
}
.lead-form .check-field {
  min-height: 30px;
  margin-top: 1px;
  gap: 9px;
  font-size: 0.83rem;
  line-height: 1.35;
}
.lead-form .check-field input {
  width: 20px;
  height: 20px;
}
.lead-form .button-wide {
  min-height: 48px;
  margin-top: 13px;
  padding-block: 9px;
}
.lead-form .form-status {
  margin: 9px 0 0;
  font-size: 0.86rem;
}
.check-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 400;
}
.check-field input {
  width: 23px;
  height: 23px;
  min-height: 0;
  flex: none;
  margin-top: 0.15rem;
}
.check-field.important {
  padding: 1rem;
  background: #edf6e8;
  border: 1px solid #bfdcab;
  border-radius: 12px;
}
.check-field strong {
  display: block;
  color: var(--ink);
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.form-status {
  color: var(--navy-3);
  font-weight: 700;
}
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
  color: #fff;
  padding: 70px 0;
}
.page-hero.small {
  padding: 48px 0;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}
.page-hero p:last-child {
  color: #dce6ee;
  max-width: 740px;
  font-size: 1.06rem;
}
.filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  align-items: end;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}
.search-field > div {
  position: relative;
}
.search-field svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.search-field input {
  padding-left: 2.4rem;
}
.result-count {
  font-weight: 700;
  margin: 1.4rem 0;
}
.catalog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.breadcrumbs {
  padding: 1.4rem 0;
}
.breadcrumbs a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 80px;
}
.detail-image {
  background: var(--soft);
  border-radius: 20px;
  padding: 2rem;
  min-height: 530px;
  display: grid;
  place-items: center;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}
.availability-panel {
  display: flex;
  gap: 1rem;
  background: #eef5fa;
  border: 1px solid #cbdde9;
  border-radius: 14px;
  padding: 1rem;
  margin: 1.4rem 0;
}
.availability-panel > svg {
  font-size: 2rem;
  flex: none;
  color: var(--navy-3);
}
.availability-panel p {
  margin: 0;
  color: var(--muted);
}
.detail-price {
  font:
    700 1.8rem "Lexend",
    sans-serif;
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.detail-old-price {
  color: #7b8792;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration-color: #9a6d10;
  text-decoration-thickness: 1.5px;
}
.product-warranty-inline {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  margin: -0.15rem 0 0.35rem;
  padding: 0.25rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #52677d;
  font-size: 0.78rem;
  line-height: 1.2;
}
.product-warranty-inline svg {
  flex: none;
  color: #e1ae23;
  font-size: 1rem;
}
.product-warranty-inline span {
  font-weight: 600;
}
.demo-price {
  font-size: 0.8rem;
  color: var(--danger);
}
.buy-row {
  display: flex;
  gap: 1rem;
  margin: 1.2rem 0;
}
.detail-quote-action {
  margin: 1.2rem 0;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  height: 52px;
}
.quantity button {
  border: 0;
  background: transparent;
  width: 46px;
  height: 100%;
  display: grid;
  place-items: center;
}
.quantity span {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
}
.specs {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.4rem;
}
.specs h2 {
  font-size: 1.25rem;
}
.specs ul {
  list-style: none;
  padding: 0;
}
.specs li {
  display: flex;
  gap: 0.6rem;
  margin: 0.55rem 0;
}
.specs li svg {
  color: var(--green);
  flex: none;
  margin-top: 0.18rem;
}
.technical-sheet-link {
  min-height: 44px;
  width: max-content;
  max-width: 100%;
  margin-top: 0.2rem;
  padding: 0.55rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--navy-2);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #b5c3ce;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.technical-sheet-link:hover,
.technical-sheet-link:focus-visible {
  color: var(--green);
  text-decoration-color: currentColor;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
}
.cart-items {
  display: grid;
  gap: 1rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  align-items: center;
}
.cart-item img {
  width: 130px;
  height: 120px;
  object-fit: contain;
  background: var(--soft);
  border-radius: 10px;
}
.cart-item h2 {
  font-size: 1.15rem;
}
.cart-item .quantity {
  grid-column: 3;
}
.remove-button {
  grid-column: 3;
  border: 0;
  background: none;
  color: var(--danger);
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-self: end;
}
.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 115px;
}
.summary-card > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.summary-card > p {
  font-size: 0.84rem;
  color: var(--muted);
}
.summary-card > .text-link {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  grid-column: 1/-1;
}
.empty-state > svg {
  font-size: 4rem;
  color: var(--green);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 2rem;
  align-items: start;
}
.checkout-form {
  display: grid;
  gap: 1.2rem;
}
.checkout-form fieldset {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  margin: 0;
}
.checkout-form legend {
  font:
    700 1.15rem "Lexend",
    sans-serif;
  padding: 0 0.4rem;
}
.shipping-location-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  background: #f4f8fb;
  border: 1px solid #d7e3ec;
}
.shipping-location-intro > svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--navy-3);
}
.shipping-location-intro strong {
  display: block;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
}
.shipping-location-intro p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}
.field-help {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}
.shipping-coverage {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 94px;
  padding: 1rem;
  border: 1px solid #d5dee7;
  border-radius: 14px;
  background: #f7f9fb;
}
.shipping-coverage > svg {
  flex: none;
  width: 32px;
  height: 32px;
}
.shipping-coverage strong {
  display: block;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
}
.shipping-coverage p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}
.shipping-coverage.is-pending > svg {
  color: var(--navy-3);
}
.shipping-coverage.is-available {
  border-color: #b9d9aa;
  background: #f1f8ed;
}
.shipping-coverage.is-available > svg {
  color: var(--green-dark);
}
.shipping-coverage.needs-quote {
  border-color: #e5c38a;
  background: #fff8e9;
}
.shipping-coverage.needs-quote > svg {
  color: #956314;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.choice {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  gap: 0.8rem;
}
.choice.active {
  border-color: var(--green);
  background: #f3faef;
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice > svg {
  font-size: 2rem;
  flex: none;
}
.choice strong,
.choice span {
  display: block;
  color: var(--ink);
}
.choice span {
  font-size: 0.84rem;
}
.summary-product {
  align-items: flex-start;
}
.summary-product span {
  font-weight: 600;
}
.summary-product small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.summary-total {
  font-size: 1.2rem;
}
.summary-card > .summary-delivery-time {
  display: grid;
  gap: 0.1rem;
  padding: 0.85rem;
  margin: 0.6rem 0;
  border: 0;
  border-radius: 10px;
  background: #eef5fa;
}
.summary-delivery-time span {
  color: var(--muted);
  font-size: 0.82rem;
}
.summary-delivery-time strong {
  color: var(--navy-2);
}
.secure-note {
  display: flex;
  gap: 0.5rem;
}
.secure-note svg {
  color: var(--green);
  font-size: 1.4rem;
  flex: none;
}
.summary-card > .checkout-coupon {
  display: block;
  padding: 0.9rem 0;
}
.cart-summary > .checkout-coupon {
  margin-bottom: 1rem;
  padding: 0 0 1rem;
}
.cart-summary > h2 {
  margin-top: 0;
}
.checkout-coupon > label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--navy-2);
  font-size: 0.88rem;
  font-weight: 700;
}
.coupon-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}
.coupon-input-row input {
  min-width: 0;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b8c9d6;
  border-radius: 10px;
  color: var(--navy-2);
  font: inherit;
  text-transform: uppercase;
}
.coupon-input-row input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(73, 150, 43, 0.18);
}
.coupon-input-row .button {
  min-height: 48px;
  padding-inline: 0.9rem;
}
.coupon-applied {
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #afd69b;
  border-radius: 10px;
  background: #eff8e9;
  color: #285f19;
}
.coupon-applied span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.coupon-applied svg {
  font-size: 1.2rem;
}
.coupon-applied button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #285f19;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.checkout-coupon .coupon-feedback {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
}
.coupon-feedback.success { color: #285f19; }
.coupon-feedback.error { color: #9c3029; }
.coupon-feedback.info { color: #52677d; }
.summary-card > .summary-discount,
.summary-discount strong {
  color: #2f7d1d;
}
.wompi-slot {
  margin-top: 1rem;
}
.narrow {
  max-width: 760px;
}
.lookup-card,
.settings-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.order-status {
  margin-top: 1.5rem;
  border-radius: 15px;
  background: #edf6e8;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
}
.order-status > svg {
  font-size: 3rem;
  color: var(--green);
}
.order-lookup-layer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}
.order-lookup-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.order-lookup-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 10, 24, 0.76);
  opacity: 0;
  cursor: default;
  transition: opacity 0.26s ease;
}
.order-lookup-layer.is-open .order-lookup-backdrop {
  opacity: 1;
}
.order-lookup-modal {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 10, 24, 0.42);
  opacity: 0;
  transform: translateY(20px) scale(0.94);
  transition:
    opacity 0.22s ease,
    transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
.order-lookup-layer.is-open .order-lookup-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.order-lookup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #d7e1e8;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-size: 1.4rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.order-lookup-close:hover {
  border-color: #b9c9d5;
  background: #f1f5f7;
}
.order-lookup-modal-heading {
  max-width: 460px;
  margin: 0 auto 20px;
  padding-inline: 34px;
  text-align: center;
}
.order-lookup-modal-heading > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #eaf5e4;
  color: var(--green-dark);
  font-size: 1.85rem;
}
.order-lookup-modal-heading .eyebrow {
  margin-bottom: 4px;
}
.order-lookup-modal-heading h2 {
  margin-bottom: 8px;
  color: var(--navy-2);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
}
.order-lookup-modal-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}
.order-lookup-modal .lookup-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.order-lookup-modal .lookup-card input:focus {
  border-color: #69a957;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(74, 168, 41, 0.13);
}
.order-lookup-modal .lookup-card > p[role="status"] {
  min-height: 1.5em;
  margin: 0;
  color: #8c2822;
  text-align: center;
}
.order-lookup-modal .order-status {
  margin-top: 18px;
}
.result-card {
  max-width: 740px;
  margin: 3rem auto;
  text-align: center;
  padding: 3rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.result-card > svg {
  font-size: 4rem;
  color: var(--green);
}
.result-card .availability-panel {
  text-align: left;
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.demo-box,
.review-warning {
  background: #fff3cb;
  color: #5d4900;
  border: 1px solid #e7d58f;
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
}
.review-warning {
  display: flex;
  gap: 0.8rem;
}
.review-warning svg {
  font-size: 2rem;
  flex: none;
}
.review-warning p {
  margin: 0;
}
.legal-content {
  max-width: 850px;
}
.table-wrap {
  overflow: auto;
  background: #fff;
  border-radius: 15px;
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
}
th,
td {
  text-align: left;
  padding: 0.9rem;
  border-bottom: 1px solid var(--line);
}
th {
  background: #eaf0f4;
  font-family: "Lexend", sans-serif;
  font-size: 0.78rem;
}
code {
  background: #e9eef2;
  padding: 0.12rem 0.3rem;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.footer-cta {
  background: var(--navy-2);
  color: #fff;
  border: 1px solid #55718d;
  border-radius: 18px;
  padding: 1rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  top: -35px;
}
.footer-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  min-height: 62px;
}
.footer-cta a:last-child {
  border: 0;
}
.footer-cta svg {
  font-size: 2.3rem;
  color: var(--lime);
}
.footer-cta small {
  display: block;
  color: #cbd6df;
}
footer {
  background: var(--navy);
  color: #fff;
  margin-top: 35px;
}
.footer-grid {
  padding: 20px 0 45px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid .brand img {
  background: #fff;
  border-radius: 10px;
  padding: 0.25rem;
}
.footer-grid h2 {
  font-size: 1rem;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  color: #c9d5df;
  padding: 0.28rem 0;
}
.footer-grid p {
  color: #b8c8d7;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #b8c8d7;
  font-size: 0.82rem;
}
.footer-agency-credit {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 92px;
  color: #d7e1e9;
}
.footer-agency-credit svg {
  color: var(--lime);
  font-size: 1rem;
}
.footer-agency-credit strong {
  margin-left: 2px;
  color: #fff;
  font-weight: 650;
}
@media (max-width: 680px) {
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .footer-agency-credit {
    margin-right: 0;
  }
}
.mobile-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20b858;
  color: #fff;
  font-size: 1.9rem;
  box-shadow: 0 8px 24px rgba(3, 27, 58, 0.24);
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.mobile-whatsapp:hover {
  transform: translateY(-2px);
  background: #169d49;
  box-shadow: 0 11px 28px rgba(3, 27, 58, 0.28);
}
.mobile-whatsapp:focus-visible {
  outline: 3px solid rgba(73, 150, 43, 0.34);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 0.85rem;
  }
  .hero-help {
    right: 20px;
  }
  .hero-machine {
    right: -180px;
  }
  .hero-capabilities {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  :root {
    font-size: 17px;
  }
  .utility-contact-details a:nth-child(2),
  .utility-contact-details > span {
    display: none;
  }
  .site-header {
    height: 82px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .brand img {
    height: 64px;
    width: 165px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    background: #fff;
    padding: 1rem 20px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open {
    display: grid;
  }
  .main-nav a,
  .main-nav button {
    text-align: left;
    border-bottom: 1px solid var(--line);
  }
  .main-nav .order-lookup-link {
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid #cfe3c5;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 680px;
  }
  .hero-copy {
    padding-top: 60px;
    max-width: 75%;
  }
  .hero-machine {
    right: -130px;
    width: 76%;
    opacity: 0.62;
  }
  .hero-help {
    display: none;
  }
  .hero-capabilities {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-image > div {
    left: 20px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail {
    gap: 1.5rem;
  }
  .detail-image {
    min-height: 430px;
  }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }
  .footer-cta {
    grid-template-columns: 1fr;
    top: -25px;
  }
  .footer-cta a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .order-lookup-layer {
    padding: 12px;
  }
  .order-lookup-modal {
    max-height: calc(100dvh - 24px);
    padding: 24px 18px 20px;
    border-radius: 19px;
  }
  .order-lookup-close {
    top: 12px;
    right: 12px;
  }
  .order-lookup-modal-heading {
    padding-inline: 28px;
  }
  .container {
    width: min(100% - 28px, 1180px);
  }
  .section {
    padding: 55px 0;
  }
  .utility-inner {
    justify-content: space-between;
  }
  .nav-wrap {
    gap: 0.5rem;
  }
  .nav-actions {
    gap: 0.2rem;
  }
  .cart-link {
    width: 48px;
    justify-content: center;
  }
  .hero-grid {
    min-height: 760px;
    align-items: start;
  }
  .hero-copy {
    padding-top: 48px;
    max-width: 100%;
  }
  .hero-copy h1 {
    font-size: 2.55rem;
  }
  .hero-copy > p:not(.hero-kicker) {
    font-size: 1rem;
  }
  .hero-actions {
    display: grid;
  }
  .hero-machine {
    right: -55%;
    top: 250px;
    width: 145%;
    height: 510px;
    opacity: 0.52;
    mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
  }
  .hero-capabilities {
    position: absolute;
    bottom: 25px;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .hero-capabilities span {
    font-size: 0.75rem;
  }
  .hero-capabilities svg {
    font-size: 1.55rem;
  }
  .row-heading {
    display: block;
  }
  .row-heading .text-link {
    margin-top: 0.5rem;
  }
  .product-grid,
  .catalog-grid,
  .trust-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 250px;
  }
  .trust-grid {
    gap: 1.2rem;
  }
  .about-grid {
    gap: 1.5rem;
  }
  .about-image > img {
    height: 330px;
  }
  .about-image > div {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .form-grid,
  .filters,
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .shipping-location-intro,
  .shipping-coverage {
    min-height: auto;
    padding: 0.9rem;
  }
  .contact-copy,
  .lead-form {
    padding: 1.25rem;
  }
  .contact-section {
    padding-block: 40px;
  }
  .page-hero {
    padding: 48px 0;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .detail-image {
    min-height: 330px;
  }
  .buy-row {
    display: grid;
  }
  .buy-row .quantity {
    width: max-content;
  }
  .cart-item {
    grid-template-columns: 90px 1fr;
  }
  .cart-item img {
    width: 90px;
    height: 90px;
  }
  .cart-item .quantity,
  .remove-button {
    grid-column: 2;
  }
  .result-actions {
    display: grid;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    font-size: 2rem;
  }
}

/* Minicart lateral: revisión rápida sin sacar al cliente de la PDP. */
.mini-cart-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}
.mini-cart-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mini-cart-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(2, 20, 42, 0.58);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.mini-cart-layer.is-open .mini-cart-backdrop {
  opacity: 1;
}
.mini-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(440px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 48px rgba(2, 20, 42, 0.24);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}
.mini-cart-layer.is-open .mini-cart-drawer {
  transform: translateX(0);
}
.mini-cart-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem 0.7rem;
  border-bottom: 1px solid var(--line);
}
.mini-cart-header h2 {
  margin-bottom: 0.1rem;
  font-size: 1.3rem;
}
.mini-cart-header .eyebrow {
  margin-bottom: 0.1rem;
  font-size: 0.7rem;
}
.mini-cart-header p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.mini-cart-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 1.45rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.mini-cart-close:hover {
  border-color: #b7c6d3;
  background: var(--soft);
}
.mini-cart-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 1rem;
}
.mini-cart-items {
  display: grid;
}
.mini-cart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}
.mini-cart-image {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 0.35rem;
  overflow: hidden;
  border: 1px solid #e1e7ec;
  border-radius: 12px;
  background: var(--soft);
}
.mini-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mini-cart-item-copy {
  min-width: 0;
}
.mini-cart-item-copy > p {
  display: none;
}
.mini-cart-item-copy h3 {
  display: -webkit-box;
  margin-bottom: 0.2rem;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.mini-cart-item-copy > strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy-2);
  font-size: 0.9rem;
}
.mini-cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}
.quantity.compact {
  height: 42px;
}
.quantity.compact button {
  width: 38px;
}
.quantity.compact span {
  min-width: 26px;
  text-align: center;
}
.mini-cart-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 42px;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 0.78rem;
}
.mini-cart-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100%;
  padding: 3rem 1rem;
  text-align: center;
}
.mini-cart-empty > svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: var(--green);
}
.mini-cart-empty p {
  color: var(--muted);
}
.mini-cart-footer {
  padding: 0.72rem 1rem max(0.72rem, env(safe-area-inset-bottom));
  margin: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 -10px 28px rgba(3, 27, 58, 0.06);
}
.mini-cart-footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}
.mini-cart-footer > div strong {
  font-family: "Lexend", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.mini-cart-footer > p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.76rem;
}
.mini-cart-continue {
  width: 100%;
  min-height: 42px;
  margin-top: 0.2rem;
  border: 0;
  background: transparent;
  color: var(--navy-2);
  font-weight: 600;
}

/* La fotografía se mantiene arriba; la información extensa vive a la derecha. */
.product-detail {
  align-items: start;
}
.detail-image {
  position: sticky;
  top: 118px;
  align-self: start;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
}
.detail-image img {
  max-height: 100%;
}

@media (max-width: 680px) {
  .mini-cart-header,
  .mini-cart-content,
  .mini-cart-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .mini-cart-item {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0.65rem;
  }
  .mini-cart-image {
    width: 74px;
    height: 74px;
  }
  .mini-cart-item-actions {
    align-items: center;
    flex-direction: row;
  }
  .mini-cart-remove {
    min-height: 40px;
  }
  .detail-image {
    position: static;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

/* Administrador Coldest Col: navegación fija y edición progresiva. */
.admin-shell {
  min-height: 100vh;
  display: block;
  background: #f3f6f8;
}
.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: 260px;
  height: 100dvh;
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
}
.admin-sidebar .brand {
  flex: none;
}
.admin-sidebar .brand img {
  width: 100%;
  height: 70px;
  max-width: none;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}
.admin-sidebar > p {
  margin: 10px 4px 4px;
  color: #b9c8d6;
  font-size: 0.82rem;
}
.admin-sidebar nav {
  display: grid;
  gap: 2px;
  margin: 0;
}
.admin-sidebar nav button,
.admin-sidebar > a {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: transparent;
  color: #e5edf4;
  font-size: 0.96rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.admin-sidebar nav button:hover,
.admin-sidebar nav button:focus-visible,
.admin-sidebar nav button.active {
  background: rgba(126, 204, 72, 0.17);
  color: #fff;
}
.admin-sidebar nav button.active {
  box-shadow: inset 3px 0 0 var(--green-light);
}
.admin-sidebar nav button:focus-visible,
.admin-sidebar > a:focus-visible {
  outline: 3px solid rgba(171, 229, 113, 0.5);
  outline-offset: 2px;
}
.admin-sidebar svg {
  flex: none;
  font-size: 1.32rem;
}
.admin-sidebar > a {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.admin-main {
  width: calc(100% - 260px);
  min-width: 0;
  margin-left: 260px;
  padding: 0 36px 52px;
}
.admin-page-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 132px;
  margin: 0 -4px 20px;
  padding: 26px 4px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(243, 246, 248, 0.96);
  border-bottom: 1px solid #dce4ea;
  backdrop-filter: blur(10px);
}
.admin-page-header .eyebrow {
  margin-bottom: 4px;
}
.admin-page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.15;
}
.admin-page-header > div > p:last-child {
  max-width: 700px;
  margin: 8px 0 0;
  color: #52677d;
}
.admin-page-header .button {
  flex: none;
}
.admin-message {
  position: relative;
  margin: 0 0 20px;
  padding: 14px 52px 14px 18px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #bfd0dc;
  border-radius: 12px;
  background: #eaf2f7;
  color: #173d59;
}
.admin-message > span {
  font-family: "Lexend", sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
}
.admin-message p {
  margin: 0;
}
.admin-message a {
  color: currentColor;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.admin-message button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}
.admin-message.success {
  border-color: #b8d9a8;
  background: #edf7e8;
  color: #285f19;
}
.admin-message.warning {
  border-color: #e8cd81;
  background: #fff7dc;
  color: #694c00;
}
.admin-message.error {
  border-color: #e5aaa6;
  background: #fff0ef;
  color: #8c2822;
}
.admin-dashboard,
.admin-settings-stack,
.admin-products-view,
.admin-coupons-view,
.admin-data-section,
.admin-wompi-layout {
  max-width: 1420px;
  margin: 0 auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stats-grid button {
  min-height: 124px;
  padding: 22px;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 14px;
  align-items: center;
  border: 1px solid #dbe4ea;
  border-radius: 16px;
  background: #fff;
  color: var(--navy-2);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 22px rgba(3, 27, 58, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.stats-grid button:hover,
.stats-grid button:focus-visible {
  border-color: #8fc76d;
  box-shadow: 0 10px 25px rgba(3, 27, 58, 0.09);
  transform: translateY(-2px);
}
.stats-grid button:focus-visible {
  outline: 3px solid rgba(73, 150, 43, 0.25);
  outline-offset: 2px;
}
.stats-grid button > svg:first-child {
  grid-column: 1;
  grid-row: auto;
  font-size: 2.25rem;
  color: var(--green);
}
.stats-grid button > svg:last-child {
  grid-column: 3;
  grid-row: auto;
  color: #6f8294;
}
.stats-grid button span {
  grid-column: 2;
  display: grid;
  gap: 2px;
}
.stats-grid button strong {
  font-family: "Lexend", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}
.admin-next-steps {
  margin-top: 22px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.6fr);
  gap: 32px;
  border: 1px solid #dbe4ea;
  border-radius: 18px;
  background: #fff;
}
.admin-next-steps h2,
.admin-section-heading h2 {
  margin: 0;
  font-size: 1.35rem;
}
.admin-next-steps p,
.admin-section-heading p {
  margin: 8px 0 0;
  color: #52677d;
}
.admin-next-step-list {
  display: grid;
  gap: 10px;
}
.admin-next-step-list button {
  min-height: 76px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  gap: 12px;
  align-items: center;
  border: 1px solid #dbe4ea;
  border-radius: 12px;
  background: #fbfcfd;
  color: var(--navy-2);
  text-align: left;
  cursor: pointer;
}
.admin-next-step-list button:hover,
.admin-next-step-list button:focus-visible {
  border-color: #8fc76d;
  background: #f4faef;
}
.admin-next-step-list button > span,
.admin-form-section-heading > span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f5df;
  color: #2d681c;
  font-family: "Lexend", sans-serif;
  font-weight: 650;
}
.admin-next-step-list strong,
.admin-next-step-list small {
  display: block;
}
.admin-next-step-list small {
  margin-top: 3px;
  color: #5b6f82;
  font-size: 0.86rem;
}
.admin-section-toolbar,
.admin-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.admin-section-toolbar {
  margin-bottom: 8px;
  padding: 18px;
  align-items: center;
  border: 1px solid #dbe4ea;
  border-radius: 14px;
  background: #fff;
}
.admin-search {
  width: min(540px, 100%);
}
.admin-search > div {
  position: relative;
  margin-top: 7px;
}
.admin-search svg {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  transform: translateY(-50%);
  color: #61778b;
  font-size: 1.2rem;
}
.admin-search input {
  width: 100%;
  padding-left: 46px;
}
.admin-result-count {
  margin: 14px 2px;
  color: #52677d;
}
.admin-product-list {
  display: grid;
  gap: 12px;
}
.admin-product-row {
  min-height: 126px;
  padding: 16px;
  display: grid;
  grid-template-columns: 82px minmax(230px, 1.2fr) minmax(420px, 1.7fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #dbe4ea;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(3, 27, 58, 0.035);
}
.admin-product-thumb {
  width: 82px;
  height: 82px;
  border: 1px solid #e0e7ec;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f8fafb;
  color: #7a8c9c;
  font-size: 1.8rem;
}
.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.admin-product-identity h2 {
  margin: 8px 0 3px;
  font-size: 1.05rem;
  line-height: 1.35;
}
.admin-product-identity p {
  margin: 0;
  color: #5b6f82;
  font-size: 0.88rem;
}
.admin-inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.admin-kind-tag,
.admin-status-tag {
  min-height: 30px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd9e3;
  border-radius: 999px;
  background: #edf4f8;
  color: #214b69;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
}
.admin-kind-tag.service {
  border-color: #bbdba9;
  background: #eef8e8;
  color: #2d681c;
}
.admin-status-tag.draft {
  border-color: #e6ca78;
  background: #fff6d8;
  color: #6c4e00;
}
.admin-status-tag.inactive {
  border-color: #d5dce2;
  background: #f0f3f5;
  color: #52616e;
}
.admin-status-tag.active {
  border-color: #bbdba9;
  background: #eef8e8;
  color: #2d681c;
}
.admin-status-tag.scheduled {
  border-color: #a9c7df;
  background: #edf5fb;
  color: #275b87;
}
.admin-status-tag.expired {
  border-color: #e4b4ae;
  background: #fff1ef;
  color: #8c3029;
}
.admin-product-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 14px;
}
.admin-product-summary span {
  display: grid;
  gap: 3px;
  color: #66798b;
  font-size: 0.8rem;
}
.admin-product-summary strong {
  color: var(--navy-2);
  font-size: 0.9rem;
  font-weight: 650;
}
.admin-edit-button {
  min-width: 116px;
}
.admin-product-editor {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.admin-coupon-editor {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.admin-main:has(.admin-product-editor) > .admin-page-header,
.admin-main:has(.admin-coupon-editor) > .admin-page-header {
  display: none;
}
.coupon-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px auto;
  align-items: end;
}
.coupon-status-filter {
  display: grid;
  gap: 7px;
  color: #20384d;
  font-size: 0.84rem;
  font-weight: 650;
}
.coupon-status-filter select {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #bccbd7;
  border-radius: 10px;
  background: #fff;
  color: var(--navy-2);
  font-size: 0.9rem;
}
.admin-coupon-list {
  display: grid;
  gap: 12px;
}
.admin-coupon-row {
  min-height: 112px;
  padding: 16px;
  display: grid;
  grid-template-columns: 58px minmax(220px, 1fr) minmax(390px, 1.35fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #dbe4ea;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(3, 27, 58, 0.035);
}
.coupon-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #edf7e8;
  color: #357a25;
  font-size: 1.8rem;
}
.coupon-scope-tag {
  min-height: 30px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d3dee6;
  border-radius: 999px;
  background: #f5f8fa;
  color: #52677d;
  font-size: 0.76rem;
  font-weight: 650;
}
.coupon-row-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 14px;
}
.coupon-row-summary span {
  display: grid;
  gap: 3px;
  color: #66798b;
  font-size: 0.8rem;
}
.coupon-row-summary strong {
  color: var(--navy-2);
  font-size: 0.9rem;
  font-weight: 650;
}
.coupon-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.coupon-delete {
  width: 44px;
  height: 44px;
  border: 1px solid #e1b7b3;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #9c3029;
  font-size: 1.15rem;
  cursor: pointer;
}
.coupon-delete:hover,
.coupon-delete:focus-visible {
  background: #fff1ef;
  outline: 3px solid rgba(156, 48, 41, 0.12);
}
.coupon-target-panel {
  display: grid;
  gap: 10px;
}
.coupon-target-search {
  width: min(520px, 100%);
  display: grid;
  gap: 5px;
}
.coupon-target-search > div {
  position: relative;
}
.coupon-target-search svg {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  transform: translateY(-50%);
  color: #61778b;
}
.coupon-target-search input {
  padding-left: 40px;
}
.coupon-target-list {
  max-height: 270px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: auto;
  border: 1px solid #dbe4ea;
  border-radius: 12px;
  background: #f8fafb;
}
.coupon-target-list label,
.coupon-category-list label {
  min-height: 50px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.coupon-target-list label:has(input:checked),
.coupon-category-list label:has(input:checked) {
  border-color: #9dcd83;
  background: #f1f9ed;
}
.coupon-target-list input,
.coupon-category-list input {
  width: 20px;
  min-height: 20px;
  margin: 0;
  flex: none;
}
.coupon-target-list strong,
.coupon-target-list small {
  display: block;
}
.coupon-target-list small {
  margin-top: 2px;
  color: #607487;
  font-size: 0.75rem;
  font-weight: 400;
}
.coupon-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.admin-editor-heading {
  padding: 12px 2px 4px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 20px;
  align-items: center;
}
.admin-editor-heading h2 {
  margin: 0;
  font-size: 1.35rem;
}
.admin-editor-heading p:last-child {
  margin: 3px 0 0;
  color: #52677d;
  font-size: 0.86rem;
}
.admin-back-button {
  width: max-content;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #275b87;
  font-weight: 650;
  cursor: pointer;
}
.admin-form-section,
.admin-zone-card,
.admin-data-section {
  border: 1px solid #dbe4ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(3, 27, 58, 0.035);
}
.admin-form-section {
  padding: 18px;
  display: grid;
  gap: 15px;
}
.admin-form-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-form-section-heading h2,
.admin-form-section-heading h3 {
  margin: 0;
  font-size: 1.05rem;
}
.admin-form-section-heading p {
  margin: 2px 0 0;
  color: #5b6f82;
  font-size: 0.82rem;
}
.admin-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-choice {
  position: relative;
  min-height: 64px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 20px 27px 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid #ccd9e3;
  border-radius: 12px;
  background: #fbfcfd;
  cursor: pointer;
}
.admin-choice.active {
  border-color: #72b84a;
  background: #f2faec;
  box-shadow: 0 0 0 2px rgba(73, 150, 43, 0.12);
}
.admin-choice input {
  width: 19px;
  height: 19px;
}
.admin-choice > svg {
  font-size: 1.45rem;
  color: var(--green);
}
.admin-choice strong,
.admin-choice small {
  display: block;
}
.admin-choice small {
  margin-top: 1px;
  color: #5b6f82;
  font-size: 0.76rem;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.admin-form-grid.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-form-grid .full {
  grid-column: 1 / -1;
}
.admin-form-section label,
.admin-zone-card label,
.admin-search {
  color: #20384d;
  font-size: 0.84rem;
  font-weight: 650;
}
.admin-form-grid > label,
.admin-content-columns label {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 3px 8px;
  align-content: start;
}
.admin-form-grid > label > input,
.admin-form-grid > label > select,
.admin-form-grid > label > textarea,
.admin-form-grid > label > small,
.admin-content-columns label > input,
.admin-content-columns label > select,
.admin-content-columns label > textarea,
.admin-content-columns label > small {
  grid-column: 1 / -1;
}
.admin-form-grid > label > span,
.admin-content-columns label > span {
  align-self: center;
  justify-self: start;
}
.admin-form-section label > span:not(.required-label),
.admin-zone-card label > span,
.admin-search > span {
  color: #67798a;
  font-weight: 400;
}
.required-label {
  color: #315f1e;
  font-size: 0.76rem;
  font-weight: 650;
}
.admin-form-section input,
.admin-form-section select,
.admin-form-section textarea,
.admin-zone-card input,
.admin-zone-card select,
.admin-search input,
.admin-data-section select {
  width: 100%;
  min-height: 44px;
  margin-top: 3px;
  border: 1px solid #bccbd7;
  border-radius: 10px;
  padding: 8px 11px;
  background: #fff;
  color: var(--navy-2);
  font-size: 0.9rem;
  font-weight: 450;
}
.admin-search input {
  padding-left: 46px;
}
.admin-form-section textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.45;
}
.admin-form-section input:focus,
.admin-form-section select:focus,
.admin-form-section textarea:focus,
.admin-zone-card input:focus,
.admin-search input:focus,
.admin-data-section select:focus {
  border-color: #4f9c31;
  outline: 3px solid rgba(73, 150, 43, 0.18);
}
.admin-form-section input[aria-invalid="true"],
.admin-form-section textarea[aria-invalid="true"] {
  border-color: #b64038;
  background: #fffafa;
}
.field-error {
  display: block;
  margin-top: 6px;
  color: #a22f28;
  font-size: 0.8rem;
  font-weight: 600;
}
.field-help {
  display: block;
  margin-top: 3px;
  color: #607487;
  font-size: 0.8rem;
  font-weight: 400;
}
.admin-check-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f6f8fa;
}
.admin-check-group .check-field,
.admin-confirmation {
  min-height: 34px;
  margin: 0;
  align-items: flex-start;
  font-weight: 450;
}
.admin-check-group .check-field input,
.admin-confirmation input {
  width: 22px;
  min-height: 22px;
  margin: 2px 0 0;
  flex: none;
}
.admin-confirmation {
  padding: 16px;
  border: 1px solid #cbd9e3;
  border-radius: 12px;
  background: #f8fafb;
}
.admin-confirmation strong,
.admin-confirmation small {
  display: block;
}
.admin-confirmation small {
  margin-top: 4px;
  color: #607487;
  font-weight: 400;
}
.admin-media-field {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
}
.admin-image-preview {
  height: 142px;
  border: 1px solid #cad6df;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f9fa;
}
.admin-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.admin-image-preview > div {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #697d8e;
}
.admin-image-preview svg {
  font-size: 2.4rem;
}
.admin-media-field > div:last-child {
  display: grid;
  gap: 6px;
}
.admin-media-field p {
  margin: 0;
  color: #607487;
  font-size: 0.84rem;
}
.admin-warranty-panel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid #d5e5cc;
  border-radius: 13px;
  background: #f7fbf4;
}
.admin-warranty-panel > svg {
  padding: 8px;
  border-radius: 11px;
  background: #e4f2dc;
  color: #347b25;
  font-size: 2.6rem;
}
.admin-form-grid.warranty-fields {
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
}
.admin-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-document-card {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 9px 12px;
  align-items: center;
  border: 1px solid #d6e0e7;
  border-radius: 13px;
  background: #fbfcfd;
}
.admin-document-card.private {
  border-color: #cbd9e5;
  background: #f5f8fb;
}
.admin-document-heading,
.admin-document-card > label:not(.admin-upload-button),
.admin-document-card > .field-error {
  grid-column: 1 / -1;
}
.admin-document-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.admin-document-heading > svg {
  color: #376b93;
  font-size: 2rem;
}
.admin-document-heading h4,
.admin-document-heading p {
  margin: 0;
}
.admin-document-heading h4 {
  color: var(--navy-2);
  font-size: 0.94rem;
}
.admin-document-heading p {
  margin-top: 2px;
  color: #607487;
  font-size: 0.78rem;
  line-height: 1.4;
}
.admin-document-card > label:not(.admin-upload-button) {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 3px 7px;
}
.admin-document-card > label:not(.admin-upload-button) input {
  grid-column: 1 / -1;
}
.admin-document-current {
  justify-self: start;
  color: #2d668f;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.admin-upload-button {
  width: max-content;
  min-height: 42px;
  cursor: pointer;
}
.admin-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.admin-content-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.admin-content-columns > div {
  min-width: 0;
  display: grid;
  gap: 12px;
}
.admin-content-columns textarea {
  min-height: 0;
}
.admin-editor-actions {
  position: sticky;
  bottom: 8px;
  z-index: 30;
  padding: 9px 10px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border: 1px solid #cad7df;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(3, 27, 58, 0.14);
  backdrop-filter: blur(8px);
}
.admin-editor-actions .button {
  min-height: 44px;
  padding-block: 8px;
}
.admin-compact-empty {
  min-height: 150px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px dashed #bdcbd6;
  border-radius: 15px;
  background: #f9fbfc;
  color: #52677d;
  text-align: left;
}
.admin-compact-empty > svg {
  flex: none;
  color: var(--green);
  font-size: 2.5rem;
}
.admin-compact-empty h2 {
  margin: 0;
  color: var(--navy-2);
  font-size: 1.25rem;
}
.admin-compact-empty p {
  max-width: 620px;
  margin: 6px 0 0;
}
.admin-data-section {
  padding: 22px;
}
.admin-section-heading {
  margin-bottom: 18px;
  align-items: center;
}
.admin-section-heading > span {
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #e8eef2;
  color: #415c72;
  font-size: 0.82rem;
  font-weight: 650;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #dbe4ea;
  border-radius: 12px;
  background: #fff;
}
.admin-data-section th,
.admin-data-section td {
  padding: 14px 16px;
  vertical-align: middle;
}
.admin-data-section th {
  background: #edf2f5;
  color: #385269;
  font-size: 0.82rem;
}
.admin-data-section select {
  min-width: 160px;
  margin: 0;
}
.admin-leads-browser {
  display: grid;
  gap: 14px;
}
.admin-leads-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(150px, 0.65fr) minmax(190px, 0.9fr) 120px;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid #d7e2e9;
  border-radius: 14px;
  background: #f7fafb;
}
.admin-leads-toolbar label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #3f586c;
  font-size: 0.78rem;
  font-weight: 700;
}
.admin-leads-toolbar input,
.admin-leads-toolbar select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  background: #fff;
}
.admin-leads-search > div {
  position: relative;
}
.admin-leads-search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  color: #5c7285;
  font-size: 1.1rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.admin-leads-search input {
  padding-left: 42px;
}
.admin-leads-per-page select {
  min-width: 0;
}
.admin-leads-results-bar {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #526a7e;
  font-size: 0.82rem;
}
.admin-leads-results-bar button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.admin-leads-results-bar button:hover,
.admin-leads-results-bar button:focus-visible {
  text-decoration: underline;
}
.admin-leads-list {
  overflow: hidden;
  border: 1px solid #d7e2e9;
  border-radius: 14px;
  background: #fff;
}
.admin-leads-columns,
.admin-lead-summary {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) 150px minmax(180px, 1.15fr) minmax(160px, 1fr) 98px 24px;
  gap: 14px;
  align-items: center;
}
.admin-leads-columns {
  min-height: 42px;
  padding: 8px 16px;
  border-bottom: 1px solid #d7e2e9;
  background: #edf2f5;
  color: #425e73;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.admin-lead-card {
  background: #fff;
}
.admin-lead-card + .admin-lead-card {
  border-top: 1px solid #e2e9ee;
}
.admin-lead-summary {
  width: 100%;
  min-height: 72px;
  padding: 10px 16px;
  border: 0;
  background: #fff;
  color: var(--navy-2);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.admin-lead-summary:hover,
.admin-lead-summary:focus-visible,
.admin-lead-card.is-expanded .admin-lead-summary {
  background: #f4f9f2;
}
.admin-lead-summary:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(63, 169, 41, 0.28);
  outline-offset: -3px;
}
.admin-lead-person,
.admin-lead-contact {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.admin-lead-person small {
  color: #668095;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}
.admin-lead-person strong,
.admin-lead-contact strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-lead-person em,
.admin-lead-contact small {
  overflow: hidden;
  color: #60778a;
  font-size: 0.76rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-lead-summary time,
.admin-lead-summary-interest {
  color: #425b70;
  font-size: 0.8rem;
  line-height: 1.35;
}
.admin-lead-summary-interest {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.admin-lead-caret {
  color: #557086;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.admin-lead-card.is-expanded .admin-lead-caret {
  transform: rotate(180deg);
}
.admin-lead-expanded {
  border-top: 1px solid #dce6ec;
  background: #fff;
}
.admin-lead-details small {
  display: block;
  margin-bottom: 4px;
  color: #567086;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.admin-lead-status {
  flex: none;
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e5f3dc;
  color: #315f1e;
  font-size: 0.74rem;
  font-weight: 750;
}
.admin-lead-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 4px 20px;
}
.admin-lead-details > div {
  min-width: 0;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid #edf1f4;
}
.admin-lead-details a,
.admin-lead-details strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy-2);
  font-size: 0.94rem;
  font-weight: 650;
}
.admin-lead-details a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}
.admin-lead-interest,
.admin-lead-message {
  grid-column: span 2;
}
.admin-lead-message p {
  margin: 0;
  color: #405a70;
  line-height: 1.55;
  white-space: pre-wrap;
}
.admin-lead-footer {
  align-items: flex-end;
  background: #fbfcfd;
}
.admin-lead-footer > div:first-child {
  display: grid;
  gap: 6px;
  color: #536b7e;
  font-size: 0.8rem;
}
.admin-lead-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-lead-footer span svg {
  color: var(--green);
  font-size: 1rem;
}
.admin-lead-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.admin-lead-actions .button {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 0.82rem;
}
.admin-order-actions {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 150px;
}
.admin-order-actions .text-link {
  min-height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.25;
  cursor: pointer;
}
.admin-order-actions .text-link:disabled {
  color: #8b9cac;
  cursor: not-allowed;
}
.admin-order-actions small {
  color: #63788b;
  font-size: 0.7rem;
}
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
}
.admin-pagination > div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.admin-pagination button {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #ccd9e2;
  border-radius: 9px;
  background: #fff;
  color: #294860;
  font-weight: 700;
  cursor: pointer;
}
.admin-pagination button:hover:not(:disabled),
.admin-pagination button:focus-visible,
.admin-pagination button.active {
  border-color: #74b85d;
  background: #edf7e8;
  color: #285f1a;
}
.admin-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.admin-zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-zone-card {
  padding: 22px;
  display: grid;
  gap: 20px;
}
.admin-zone-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.admin-zone-card h2 {
  margin: 2px 0 0;
  font-size: 1.25rem;
}
.admin-legal-layout {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.admin-legal-layout > nav {
  position: sticky;
  top: 152px;
  padding: 12px;
  display: grid;
  gap: 5px;
  border: 1px solid #dbe4ea;
  border-radius: 14px;
  background: #fff;
}
.admin-legal-layout > nav > p {
  margin: 6px 8px 10px;
  color: #687b8d;
  font-size: 0.84rem;
}
.admin-legal-layout > nav button {
  min-height: 52px;
  padding: 10px;
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  gap: 8px;
  align-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #29465e;
  text-align: left;
  cursor: pointer;
}
.admin-legal-layout > nav button:hover,
.admin-legal-layout > nav button:focus-visible,
.admin-legal-layout > nav button.active {
  background: #edf7e8;
  color: #2d681c;
}
.admin-inline-warning {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid #d6a818;
  border-radius: 6px;
  background: #fff7dc;
  color: #664a00;
}
.admin-seo-description {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
}
.admin-seo-description textarea {
  grid-column: 1 / -1;
}
.admin-seo-description > span {
  grid-column: 2;
  color: #67798a;
  font-size: 0.76rem;
  font-weight: 450;
}
.admin-inline-note {
  margin: 0;
  color: #607487;
  font-size: 0.82rem;
  line-height: 1.5;
}
.admin-wompi-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(460px, 1.4fr);
  gap: 18px;
  align-items: start;
}
.admin-info {
  max-width: none;
  padding: 26px;
  display: flex;
  gap: 18px;
  border: 1px solid #dbe4ea;
  border-radius: 16px;
  background: #fff;
}
.admin-info > svg {
  flex: none;
  font-size: 2.7rem;
  color: var(--green);
}
.admin-info h2 {
  margin: 2px 0 10px;
  font-size: 1.35rem;
}
.admin-info p:last-child {
  margin-bottom: 0;
}
.admin-wompi-layout ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}
.admin-wompi-layout li {
  padding: 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border: 1px solid #dbe4ea;
  border-radius: 14px;
  background: #fff;
}
.admin-wompi-layout li > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-2);
  color: #fff;
  font-family: "Lexend", sans-serif;
  font-weight: 650;
}
.admin-wompi-layout h3 {
  margin: 0;
  font-size: 1.05rem;
}
.admin-wompi-layout li p {
  margin: 6px 0 0;
  color: #52677d;
}

/* Excel del catálogo y preparación de picking. */
.admin-excel-layout {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 18px;
  align-items: start;
}
.admin-excel-card {
  padding: 24px;
  display: grid;
  gap: 20px;
  border: 1px solid #dbe4ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(3, 27, 58, 0.035);
}
.admin-excel-card-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.admin-excel-card-heading.compact {
  grid-template-columns: 48px minmax(0, 1fr);
}
.admin-excel-card-heading h2 {
  margin: 3px 0 7px;
  font-size: 1.35rem;
  line-height: 1.3;
}
.admin-excel-card-heading p:last-child {
  margin: 0;
  color: #52677d;
  line-height: 1.55;
}
.admin-excel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e9f6e2;
  color: #357a25;
  font-size: 1.85rem;
}
.admin-excel-icon.picking {
  width: 48px;
  height: 48px;
  background: #edf4fa;
  color: #275b87;
}
.admin-excel-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-excel-downloads .button-quiet {
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  color: #275b87;
  font-weight: 650;
}
.admin-excel-downloads .button-quiet:hover,
.admin-excel-downloads .button-quiet:focus-visible {
  background: #edf4fa;
}
.admin-excel-flow {
  padding: 11px 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border-radius: 12px;
  background: #f5f8fa;
}
.admin-excel-flow span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4f6578;
  font-size: 0.82rem;
  font-weight: 600;
}
.admin-excel-flow strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #2d681c;
  box-shadow: 0 0 0 1px #d9e3e9;
}
.admin-excel-upload {
  display: grid;
  gap: 8px;
}
.admin-excel-upload > label {
  color: #20384d;
  font-size: 0.84rem;
  font-weight: 650;
}
.admin-excel-file-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.admin-excel-file-row > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.admin-file-picker {
  min-height: 58px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed #9eb2c1;
  border-radius: 11px;
  background: #fbfcfd;
  color: #29465e;
  cursor: pointer;
}
.admin-file-picker:hover,
.admin-file-picker:focus-within {
  border-color: #5ca43d;
  background: #f5faF2;
}
.admin-file-picker > svg {
  flex: none;
  color: var(--green);
  font-size: 1.4rem;
}
.admin-file-picker strong,
.admin-file-picker small {
  display: block;
}
.admin-file-picker small {
  margin-top: 2px;
  color: #687c8e;
  font-size: 0.76rem;
  font-weight: 450;
}
.admin-excel-preview {
  padding: 16px;
  display: grid;
  gap: 14px;
  border: 1px solid #b9d9aa;
  border-radius: 13px;
  background: #f7fbf4;
}
.admin-excel-preview.has-errors {
  border-color: #e0b0ab;
  background: #fff8f7;
}
.admin-excel-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-excel-preview-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-excel-preview-heading > div > svg {
  flex: none;
  color: #41812b;
  font-size: 1.45rem;
}
.admin-excel-preview.has-errors .admin-excel-preview-heading > div > svg {
  color: #ae3d34;
}
.admin-excel-preview-heading strong,
.admin-excel-preview-heading small {
  display: block;
}
.admin-excel-preview-heading small {
  margin-top: 2px;
  color: #607487;
  font-size: 0.76rem;
}
.admin-excel-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-excel-summary span {
  padding: 10px;
  display: grid;
  gap: 2px;
  border: 1px solid #dbe4ea;
  border-radius: 10px;
  background: #fff;
  color: #63778a;
  font-size: 0.76rem;
}
.admin-excel-summary strong {
  color: var(--navy-2);
  font-size: 1.2rem;
}
.admin-excel-summary .new strong {
  color: #2d681c;
}
.admin-excel-summary .updated strong {
  color: #275b87;
}
.admin-excel-messages {
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
}
.admin-excel-messages ul {
  margin: 7px 0 0;
  padding-left: 20px;
  color: #4d6376;
  font-size: 0.82rem;
  line-height: 1.55;
}
.admin-excel-messages.error {
  border-left: 4px solid #b64038;
}
.admin-excel-messages.warning {
  border-left: 4px solid #c69916;
}
.admin-excel-preview-table {
  overflow: hidden;
  border: 1px solid #d5e0e7;
  border-radius: 10px;
  background: #fff;
}
.admin-excel-preview-row {
  min-height: 44px;
  padding: 8px 11px;
  display: grid;
  grid-template-columns: 48px 145px minmax(180px, 1fr) 110px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #e4eaee;
  font-size: 0.8rem;
}
.admin-excel-preview-row.head {
  min-height: 38px;
  border-top: 0;
  background: #eef3f6;
  color: #52677d;
  font-weight: 650;
}
.excel-action {
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf1f4;
  color: #52677d;
  font-size: 0.72rem;
  font-weight: 650;
}
.excel-action.new {
  background: #e9f6e2;
  color: #2d681c;
}
.excel-action.updated {
  background: #eaf3fa;
  color: #275b87;
}
.admin-excel-preview-table > p {
  margin: 0;
  padding: 9px 11px;
  border-top: 1px solid #e4eaee;
  color: #617689;
  font-size: 0.78rem;
}
.admin-excel-rules,
.admin-picking-contract {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: #50677a;
}
.admin-excel-rules > svg,
.admin-picking-contract > svg {
  margin-top: 2px;
  flex: none;
  color: var(--green);
  font-size: 1.25rem;
}
.admin-excel-rules p,
.admin-picking-contract p {
  margin: 3px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
}
.admin-excel-rules code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #eef3f6;
  color: #24445c;
  font-size: 0.78rem;
}
.picking-excel-card {
  position: sticky;
  top: 130px;
}
.admin-picking-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.admin-picking-stats span {
  padding: 11px 7px;
  display: grid;
  gap: 2px;
  border-radius: 10px;
  background: #f3f7fa;
  color: #63778a;
  text-align: center;
  font-size: 0.72rem;
}
.admin-picking-stats strong {
  color: var(--navy-2);
  font-size: 1.2rem;
}
.admin-picking-download {
  width: 100%;
}
.admin-picking-disclosure {
  border: 1px solid #dbe4ea;
  border-radius: 12px;
  background: #f8fafb;
}
.admin-picking-disclosure summary {
  min-height: 58px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #29465e;
  cursor: pointer;
}
.admin-picking-disclosure summary::marker {
  color: var(--green);
}
.admin-picking-disclosure summary > svg {
  font-size: 1.55rem;
  color: var(--green);
}
.admin-picking-disclosure summary strong,
.admin-picking-disclosure summary small {
  display: block;
}
.admin-picking-disclosure summary small {
  margin-top: 2px;
  color: #65798b;
  font-size: 0.76rem;
  font-weight: 450;
}
.admin-picking-disclosure[open] summary {
  border-bottom: 1px solid #dbe4ea;
}
.admin-picking-disclosure > .admin-form-grid {
  padding: 14px;
}
.admin-form-grid.four-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-picking-disclosure label > svg {
  align-self: center;
  color: #5d7487;
}

@media (max-width: 1240px) {
  .admin-excel-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .admin-form-grid.four-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-coupon-row {
    grid-template-columns: 54px minmax(210px, 1fr) minmax(300px, 1.2fr);
  }
  .coupon-row-actions {
    grid-column: 2 / -1;
    justify-self: end;
  }
  .admin-leads-toolbar {
    grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 0.7fr);
  }
  .admin-leads-columns,
  .admin-lead-summary {
    grid-template-columns: minmax(160px, 1.2fr) 125px minmax(150px, 1fr) minmax(140px, 0.9fr) 90px 20px;
    gap: 10px;
  }
  .admin-product-row {
    grid-template-columns: 72px minmax(220px, 1fr) minmax(320px, 1.3fr);
  }
  .admin-product-thumb {
    width: 72px;
    height: 72px;
  }
  .admin-edit-button {
    grid-column: 2 / -1;
    justify-self: end;
  }
  .admin-form-grid.three-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .admin-coupon-row {
    grid-template-columns: 54px 1fr;
  }
  .coupon-row-summary,
  .coupon-row-actions {
    grid-column: 2;
  }
  .admin-sidebar {
    width: 88px;
    padding: 16px 10px;
  }
  .admin-sidebar .brand {
    height: 62px;
    overflow: hidden;
    border-radius: 10px;
  }
  .admin-sidebar .brand img {
    width: 166px;
    height: 62px;
    object-position: left center;
  }
  .admin-sidebar > p,
  .admin-sidebar nav button,
  .admin-sidebar > a {
    font-size: 0;
  }
  .admin-sidebar > p {
    min-height: 12px;
  }
  .admin-sidebar nav button,
  .admin-sidebar > a {
    justify-content: center;
    padding: 0;
  }
  .admin-sidebar nav button.active {
    box-shadow: inset 3px 0 0 var(--green-light);
  }
  .admin-sidebar svg {
    font-size: 1.5rem;
  }
  .admin-main {
    width: calc(100% - 88px);
    margin-left: 88px;
    padding: 0 22px 42px;
  }
  .admin-lead-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-lead-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-lead-actions {
    justify-content: flex-start;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-next-steps,
  .admin-wompi-layout {
    grid-template-columns: 1fr;
  }
  .admin-excel-layout {
    grid-template-columns: 1fr;
  }
  .picking-excel-card {
    position: static;
  }
  .admin-product-row {
    grid-template-columns: 72px 1fr;
  }
  .admin-product-summary,
  .admin-edit-button {
    grid-column: 2;
  }
  .admin-edit-button {
    justify-self: start;
  }
  .admin-zone-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .coupon-toolbar {
    display: flex;
  }
  .coupon-status-filter {
    width: 100%;
  }
  .admin-coupon-row {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }
  .coupon-icon {
    width: 48px;
    height: 48px;
  }
  .coupon-row-summary {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .coupon-row-summary span {
    padding-top: 7px;
    border-top: 1px solid #e4e9ed;
  }
  .coupon-row-actions {
    width: 100%;
  }
  .coupon-row-actions .button {
    flex: 1;
  }
  .coupon-target-list,
  .coupon-category-list {
    grid-template-columns: 1fr;
  }
  .admin-main {
    padding: 0 14px 34px;
  }
  .admin-page-header {
    min-height: 112px;
    padding: 18px 2px 14px;
    align-items: flex-start;
  }
  .admin-page-header > div > p:last-child {
    display: none;
  }
  .admin-page-header .button {
    width: auto;
    min-width: 50px;
    padding-inline: 12px;
    font-size: 0;
  }
  .admin-page-header .button svg {
    margin: 0;
    font-size: 1.25rem;
  }
  .admin-page-header .button::after {
    content: none;
  }
  .admin-message {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid button {
    min-height: 94px;
  }
  .admin-next-steps,
  .admin-form-section,
  .admin-zone-card,
  .admin-data-section,
  .admin-excel-card {
    padding: 18px;
  }
  .admin-excel-file-row {
    grid-template-columns: 1fr;
  }
  .admin-excel-file-row .button {
    width: 100%;
  }
  .admin-excel-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-excel-preview-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-excel-preview-heading .button {
    width: 100%;
  }
  .admin-excel-preview-row {
    grid-template-columns: 42px 1fr auto;
  }
  .admin-excel-preview-row > span:nth-child(3) {
    grid-column: 2 / -1;
    grid-row: 2;
  }
  .admin-leads-toolbar {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .admin-leads-results-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-leads-columns {
    display: none;
  }
  .admin-lead-summary {
    min-height: 86px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 13px 14px;
  }
  .admin-lead-person {
    grid-column: 1;
    grid-row: 1;
  }
  .admin-lead-summary time {
    grid-column: 1;
    grid-row: 2;
  }
  .admin-lead-status {
    grid-column: 2;
    grid-row: 1;
  }
  .admin-lead-caret {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }
  .admin-lead-contact,
  .admin-lead-summary-interest {
    display: none;
  }
  .admin-lead-details {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }
  .admin-lead-interest,
  .admin-lead-message {
    grid-column: auto;
  }
  .admin-lead-actions,
  .admin-lead-actions .button {
    width: 100%;
  }
  .admin-pagination {
    gap: 8px;
  }
  .admin-pagination > div button:not(.active),
  .admin-pagination > div span {
    display: none;
  }
  .admin-pagination > button {
    padding-inline: 10px;
  }
  .admin-next-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-section-toolbar,
  .admin-section-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-section-toolbar .button {
    width: 100%;
  }
  .admin-product-row {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }
  .admin-product-thumb {
    width: 64px;
    height: 64px;
  }
  .admin-product-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .admin-product-summary span {
    padding-top: 8px;
    border-top: 1px solid #e4e9ed;
  }
  .admin-choice-grid,
  .admin-form-grid,
  .admin-form-grid.three-columns,
  .admin-form-grid.warranty-fields,
  .admin-media-field,
  .admin-content-columns,
  .admin-check-group,
  .admin-document-grid,
  .admin-warranty-panel {
    grid-template-columns: 1fr;
  }
  .admin-editor-heading {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .admin-image-preview {
    width: min(100%, 320px);
  }
  .admin-editor-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .admin-editor-actions .button {
    width: 100%;
  }
  .admin-legal-layout {
    grid-template-columns: 1fr;
  }
  .admin-legal-layout > nav {
    position: static;
  }
  .admin-info {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .admin-sidebar {
    width: 72px;
    padding-inline: 8px;
  }
  .admin-sidebar .brand {
    height: 56px;
  }
  .admin-sidebar .brand img {
    width: 150px;
    height: 56px;
  }
  .admin-main {
    width: calc(100% - 72px);
    margin-left: 72px;
    padding-inline: 10px;
  }
  .admin-page-header h1 {
    font-size: 1.45rem;
  }
  .admin-page-header .eyebrow {
    font-size: 0.68rem;
  }
  .admin-product-row {
    grid-template-columns: 1fr;
  }
  .admin-product-thumb,
  .admin-product-summary,
  .admin-edit-button {
    grid-column: 1;
  }
  .admin-product-thumb {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 360px) {
  .brand img {
    width: 145px;
  }
  .hero-copy h1 {
    font-size: 2.2rem;
  }
  .hero-capabilities {
    grid-template-columns: 1fr 1fr;
  }
  .hero-capabilities span {
    align-items: flex-start;
  }
  .footer-cta {
    padding: 0.8rem;
  }
  .admin-shell {
    grid-template-columns: 70px 1fr;
  }
  .admin-main {
    padding: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Ajustes finales de legibilidad y contención visual. */
.utility-bar {
  font-size: 0.82rem;
}
.main-nav a,
.main-nav button {
  font-size: 0.8rem;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
}
.product-image {
  overflow: hidden;
}
.product-image img {
  height: 100%;
  max-height: none;
}
html,
body {
  overflow-x: clip;
}

@media (max-width: 680px) {
  .hero-grid {
    min-height: 800px;
  }
  .hero-copy {
    padding-bottom: 38px;
  }
  .hero-capabilities {
    position: static;
    margin-top: 2.25rem;
  }
}

/* Jerarquía tipográfica y vitrinas simplificadas. */
h1 {
  font-weight: 700;
}
h2,
h3 {
  font-weight: 600;
}
label,
.button,
.main-nav a,
.main-nav button,
.eyebrow {
  font-weight: 600;
}
.hero-kicker {
  font-weight: 600;
}
strong,
b,
.text-link,
.cart-link,
.hero-capabilities span,
.service-grid article a,
.result-count,
.breadcrumbs a,
.form-status {
  font-weight: 600;
}
.checkout-form legend,
.detail-price {
  font-weight: 600;
}
.product-card-body {
  padding: 1.15rem;
}
.product-category {
  margin: 0.1rem 0 0.45rem;
  color: #64758a;
  font-size: 0.82rem;
  font-weight: 500;
}
.product-card h3 {
  min-height: 2.4em;
  margin-bottom: 0.8rem;
  font-size: 1.08rem;
  font-weight: 600;
}
.product-availability {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 3.1em;
  margin: 0 0 0.85rem;
  color: #53677d;
  font-size: 0.84rem;
  line-height: 1.35;
}
.product-availability svg {
  flex: none;
  margin-top: 0.12rem;
  color: #477896;
  font-size: 1.05rem;
}
.price {
  font-weight: 600;
}
.card-actions {
  position: relative;
  z-index: 2;
  padding-top: 1.2rem;
}
.card-actions .button {
  width: 100%;
  min-height: 48px;
  padding: 0.62rem 0.72rem;
  font-size: 0.82rem;
  line-height: 1.15;
  white-space: nowrap;
}
.card-actions .button svg {
  flex: none;
  font-size: 1rem;
}
.product-card-hit-area {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.product-card-hit-area:focus-visible {
  outline: none;
}
.product-card:has(.product-card-hit-area:focus-visible) {
  border-color: var(--green);
  box-shadow:
    0 0 0 3px rgba(70, 151, 47, 0.28) inset,
    0 9px 25px rgba(3, 27, 58, 0.08);
}

/* Tipo de oferta: visible sin competir con el nombre ni la disponibilidad. */
.product-image {
  position: relative;
}
.product-type-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.68rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 10px rgba(3, 27, 58, 0.08);
  pointer-events: none;
}
.product-type-tag.is-product {
  border-color: #bfd3e2;
  background: #edf4f8;
  color: #163f5f;
}
.product-type-tag.is-service {
  border-color: #b9dca7;
  background: #edf7e8;
  color: #2f691e;
}

/* Vitrina continua: muestra varias tarjetas, pero avanza una por interacción. */
.featured-carousel {
  position: relative;
  width: 100%;
}
.featured-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.featured-track::-webkit-scrollbar {
  display: none;
}
.featured-item {
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 0;
  padding: 0.2rem 0.15rem 0.75rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.featured-item .product-card {
  height: 100%;
}
.featured-arrow {
  position: absolute;
  top: 46%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #c2d0dc;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-2);
  font-size: 1.3rem;
  box-shadow: 0 8px 22px rgba(3, 27, 58, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, opacity 0.2s;
}
.featured-arrow.is-previous {
  left: -26px;
}
.featured-arrow.is-next {
  right: -26px;
}
.featured-arrow:hover:not(:disabled),
.featured-arrow:focus-visible {
  border-color: var(--green);
  background: #edf7e8;
  color: #285f19;
}
.featured-arrow:focus-visible {
  outline: 3px solid rgba(73, 150, 43, 0.3);
  outline-offset: 3px;
}
.featured-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.featured-controls {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
}
.featured-controls p {
  margin: 0;
  color: #52677d;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .featured-item {
    flex-basis: calc((100% - 1rem) / 2);
  }
  .featured-arrow.is-previous {
    left: -18px;
  }
  .featured-arrow.is-next {
    right: -18px;
  }
}

@media (max-width: 680px) {
  .featured-carousel {
    padding-bottom: 58px;
  }
  .featured-item {
    flex-basis: calc(100% - 38px);
    padding: 0.15rem 0.1rem 0.6rem;
  }
  .featured-track::after {
    content: "";
    flex: 0 0 38px;
  }
  .featured-item .product-image {
    height: 220px;
  }
  .featured-arrow {
    top: auto;
    bottom: 0;
    width: 48px;
    height: 48px;
    transform: none;
  }
  .featured-arrow.is-previous {
    left: calc(50% - 142px);
  }
  .featured-arrow.is-next {
    right: calc(50% - 142px);
  }
  .featured-controls {
    position: absolute;
    right: 54px;
    bottom: 15px;
    left: 54px;
    margin: 0;
  }
  .featured-controls p {
    font-size: 0.78rem;
    white-space: nowrap;
  }
}
