:root {
  --emerald: #0f5f46;
  --emerald-dark: #073d2e;
  --emerald-soft: #e8f2ee;
  --ink: #17211d;
  --muted: #64706b;
  --line: #dce5df;
  --paper: #fffdf8;
  --cream: #f6f1e8;
  --wood: #9b7149;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(10, 35, 26, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 58px;
  padding: 8px clamp(14px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 10px));
  box-shadow: none;
  pointer-events: none;
}

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

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--paper);
  background: var(--emerald);
  font-weight: 800;
}

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

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

.brand small {
  color: var(--muted);
  font-size: 0.7rem;
}

.menu-toggle {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--emerald-dark);
}

.main-nav {
  order: 4;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  color: #25332d;
  font-size: 0.86rem;
  font-weight: 650;
}

.site-header.menu-open .main-nav {
  display: flex;
}

.main-nav a {
  padding: 6px 0;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-left: 0;
}

.language-switcher a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--emerald-dark);
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
}

.language-switcher a[aria-current="true"] {
  border-color: var(--emerald);
  color: var(--white);
  background: var(--emerald);
}

.hero {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 9vw, 120px) clamp(18px, 6vw, 80px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 24, 18, 0.88) 0%, rgba(7, 61, 46, 0.76) 34%, rgba(7, 61, 46, 0.2) 64%, rgba(7, 61, 46, 0.04) 100%),
    url("/assets/hero-emerald-universal.png") center / cover;
}

.hero-content {
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c6f0dc;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 820;
}

h3 {
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.03rem, 1.5vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

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

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-stats dt {
  font-weight: 850;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.store-home {
  display: grid;
  gap: 12px;
  padding: clamp(10px, 2.5vw, 22px);
  background: #f4f7f4;
}

.shop-hero,
.home-carousel,
.home-board,
.home-products {
  width: min(1160px, calc(100% - 24px));
  margin: 0 auto;
}

.shop-hero {
  display: grid;
  gap: 10px;
}

.shop-search-card {
  display: grid;
  gap: 7px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(8px, 2vw, 12px);
  background: var(--white);
}

.shop-search-card h1 {
  max-width: none;
  color: var(--emerald-dark);
  font-size: clamp(2.2rem, 7vw, 4.8rem);
}

.store-search {
  display: grid;
  gap: 4px;
  color: var(--emerald-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.store-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.store-search-row input,
.store-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fbfaf6;
}

.store-search-row input:focus,
.store-search input:focus {
  outline: 3px solid rgba(15, 95, 70, 0.16);
  border-color: var(--emerald);
}

.search-submit {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: var(--emerald);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
}

.home-carousel {
  position: relative;
  min-height: clamp(150px, 22vw, 240px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--emerald-dark);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  min-height: 100%;
  overflow: hidden;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.carousel-slide[data-active="true"] {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 24, 18, 0.08), rgba(3, 24, 18, 0.78));
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-copy {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 520px;
  gap: 6px;
  padding: clamp(14px, 3vw, 28px);
}

.carousel-copy strong {
  font-size: clamp(1.25rem, 4vw, 2.55rem);
  line-height: 1;
}

.carousel-copy span {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.78rem, 1.5vw, 0.98rem);
}

.carousel-badge {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.68rem !important;
  font-weight: 850;
}

.home-board,
.home-products {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(12px, 2.6vw, 20px);
  background: var(--white);
}

.home-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.home-section-title h2 {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.home-section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.home-section-title a {
  color: var(--emerald-dark);
  font-weight: 850;
}

.category-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.category-board button {
  display: grid;
  height: 70px;
  grid-template-rows: 30px 1em;
  align-content: center;
  justify-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 6px;
  color: var(--category-accent, var(--emerald-dark));
  background: #fbfaf6;
  cursor: pointer;
  font-weight: 850;
}

.category-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--category-accent, var(--emerald-dark));
  background: color-mix(in srgb, var(--category-accent, var(--emerald)) 12%, var(--white));
}

.category-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.category-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-board button[aria-pressed="true"] {
  border-color: var(--category-accent, var(--emerald));
  color: var(--white);
  background: var(--category-accent, var(--emerald));
}

.category-board button[aria-pressed="true"] .category-icon {
  color: var(--category-accent, var(--emerald));
  background: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #fbfaf6;
  color: var(--emerald-dark);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.page-hero {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 6vw, 80px) clamp(36px, 5vw, 70px);
  background: var(--cream);
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 24px;
}

.catalog-tools {
  margin: 26px 0 0;
}

.search-box {
  display: grid;
  max-width: 520px;
  gap: 8px;
  color: var(--emerald-dark);
  font-weight: 800;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
}

.search-box input:focus {
  outline: 3px solid rgba(15, 95, 70, 0.16);
  border-color: var(--emerald);
}

.category-tabs button {
  display: grid;
  height: 68px;
  grid-template-rows: 28px 1em;
  align-items: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 6px;
  color: var(--category-accent, var(--ink));
  background: var(--white);
  cursor: pointer;
  font-weight: 760;
}

.category-tabs .category-icon {
  width: 28px;
  height: 28px;
  background: color-mix(in srgb, var(--category-accent, var(--emerald)) 12%, var(--white));
}

.category-tabs .category-icon svg {
  width: 16px;
  height: 16px;
}

.category-tabs button[aria-pressed="true"] {
  border-color: var(--category-accent, var(--emerald));
  color: var(--white);
  background: var(--category-accent, var(--emerald));
}

.category-tabs button[aria-pressed="true"] .category-icon {
  color: var(--category-accent, var(--emerald));
  background: var(--white);
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(10, 35, 26, 0.05);
}

.product-card-link {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  background: #fbfaf6;
}

.product-media img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.product-title {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.14;
}

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

.pill {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-info p,
.product-summary {
  margin: 0;
  color: var(--muted);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: auto;
}

.price-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.price-row strong {
  color: var(--emerald-dark);
  font-size: 1.8rem;
}

.price-note {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-facts li,
.product-facts > span {
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.product-detail-link {
  width: fit-content;
  margin-top: 2px;
  color: var(--emerald-dark);
  font-weight: 850;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.card-actions .button {
  flex: 1;
}

.text-button {
  border-color: var(--line);
  color: var(--emerald-dark);
  background: var(--white);
}

.service-band {
  background: var(--emerald-dark);
  color: var(--white);
}

.service-band .eyebrow,
.service-band .section-heading p {
  color: #c6f0dc;
}

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

.service-grid article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.service-grid span {
  color: #c6f0dc;
  font-weight: 850;
}

.service-grid h3 {
  margin-top: 18px;
}

.service-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.route-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(58px, 8vw, 100px) clamp(18px, 6vw, 80px);
  background: var(--cream);
}

.route-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.route-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-card span,
.route-card strong {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--white);
  text-align: center;
}

.route-card strong {
  color: var(--white);
  background: var(--emerald);
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.inquiry-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.inquiry-copy ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--ink);
}

.inquiry-copy li + li {
  margin-top: 8px;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--emerald-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffefd;
  font-weight: 500;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 3px solid rgba(15, 95, 70, 0.16);
  border-color: var(--emerald);
}

.hidden {
  display: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--emerald-dark);
  font-weight: 760;
}

.form-status[data-state="error"] {
  color: #a03322;
}

.product-dialog {
  width: min(960px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(6, 27, 20, 0.34);
}

.product-dialog::backdrop {
  background: rgba(3, 24, 18, 0.62);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.dialog-product {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
}

.dialog-product img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  padding: 18px;
  background: #fbfaf6;
}

.dialog-details {
  padding: clamp(24px, 5vw, 42px);
}

.dialog-details p {
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-list span {
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--emerald-dark);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.whatsapp-card {
  display: grid;
  align-content: start;
  gap: 18px;
  color: var(--white);
  background: var(--emerald-dark);
}

.whatsapp-card .eyebrow,
.whatsapp-card p {
  color: #d8f6e7;
}

.whatsapp-card .button {
  width: fit-content;
  color: var(--emerald-dark);
  background: #f2d991;
}

.contact-mini {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-mini a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--emerald-dark);
  font-weight: 800;
}

.product-page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(18px, 6vw, 80px);
  background: var(--cream);
}

.product-page-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-page-media img {
  width: 100%;
  aspect-ratio: 1;
  max-height: min(70vh, 560px);
  object-fit: contain;
  padding: 18px;
}

.product-page-copy h1 {
  max-width: none;
  color: var(--emerald-dark);
  font-size: clamp(2.3rem, 6vw, 5.2rem);
}

.product-page-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.product-commerce-page {
  background: #f5f6f2;
}

.product-shop-layout {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px);
}

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

.product-main-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(74vh, 720px);
  object-fit: contain;
  padding: clamp(16px, 4vw, 36px);
}

.product-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-mini-strip span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  color: var(--emerald-dark);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.product-buy-box {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(10, 35, 26, 0.05);
}

.product-breadcrumb {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-buy-box h1 {
  max-width: none;
  color: var(--emerald-dark);
  font-size: clamp(2rem, 4.6vw, 4rem);
}

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

.commerce-price {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.commerce-price span,
.commerce-price em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 750;
}

.commerce-price strong {
  color: var(--emerald-dark);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1;
}

.commerce-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.commerce-facts div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfaf6;
}

.commerce-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.commerce-facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.commerce-whatsapp {
  width: 100%;
}

.product-info-band {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
  gap: clamp(18px, 3vw, 34px);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px) clamp(40px, 6vw, 72px);
}

.product-info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
}

.product-info-panel h2 {
  max-width: none;
  color: var(--emerald-dark);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-panel {
  align-content: start;
}

.product-detail-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
}

.loading {
  grid-column: 1 / -1;
  color: var(--muted);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--cream);
}

.thank-you {
  width: min(640px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 54px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you h1 {
  max-width: none;
  margin-top: 38px;
  color: var(--emerald-dark);
  font-size: clamp(2rem, 6vw, 4rem);
}

.thank-you p {
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 980px) {
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-section,
  .inquiry-section,
  .dialog-product,
  .contact-grid,
  .product-page-hero,
  .product-detail-section,
  .product-shop-layout,
  .product-info-band {
    grid-template-columns: 1fr;
  }

  .product-buy-box {
    position: static;
  }

  .dialog-product img {
    min-height: 360px;
  }
}

@media (max-width: 740px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    min-height: 48px;
    padding: 7px 10px;
  }

  .brand {
    flex: 0 1 auto;
    gap: 7px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 7px;
  }

  .brand strong {
    overflow: hidden;
    max-width: 42vw;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    margin-right: auto;
  }

  .menu-toggle span {
    width: 18px;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    display: none;
    order: 5;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 7px 0 2px;
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .language-switcher {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 2px;
  }

  .language-switcher a {
    padding: 4px 5px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    font-size: 0.62rem;
  }

  .language-switcher a[aria-current="true"] {
    border-color: var(--emerald);
    background: var(--emerald);
    color: var(--white);
  }

  .hero {
    min-height: 740px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(7, 61, 46, 0.12) 0%, rgba(3, 24, 18, 0.9) 70%),
      url("/assets/hero-emerald-universal.png") center top / cover;
  }

  .store-home {
    gap: 8px;
    padding: 8px;
  }

  .shop-search-card,
  .home-board,
  .home-products {
    padding: 10px;
  }

  .shop-hero,
  .home-carousel,
  .home-board,
  .home-products {
    width: calc(100% - 16px);
  }

  .shop-search-card {
    width: 100%;
  }

  .store-search-row input {
    padding: 9px 12px;
  }

  .search-submit {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .shop-search-card h1 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .home-carousel {
    min-height: 138px;
  }

  .carousel-copy {
    gap: 5px;
    padding: 12px;
  }

  .carousel-copy strong {
    font-size: clamp(1.1rem, 6.5vw, 1.65rem);
  }

  .carousel-copy span {
    font-size: 0.74rem;
  }

  .carousel-badge {
    padding: 3px 7px;
    font-size: 0.62rem !important;
  }

  .home-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
  }

  .home-section-title h2 {
    font-size: 1rem;
  }

  .home-section-title p,
  .home-section-title a {
    font-size: 0.78rem;
  }

  .category-board {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .category-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .category-board button,
  .category-tabs button {
    height: 58px;
    grid-template-rows: 24px 1em;
    gap: 5px;
    padding: 7px 3px;
  }

  .category-icon {
    width: 24px;
    height: 24px;
  }

  .category-icon svg {
    width: 14px;
    height: 14px;
  }

  .category-label {
    font-size: 0.58rem;
    line-height: 1.05;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  .hero-stats,
  .trust-strip,
  .service-grid,
  .route-card,
  .form-row {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-shop-layout {
    gap: 12px;
    padding: 10px;
  }

  .product-info-band {
    gap: 12px;
    padding: 0 10px 36px;
  }

  .product-buy-box,
  .product-info-panel {
    padding: 16px;
  }

  .product-mini-strip,
  .commerce-facts {
    grid-template-columns: 1fr;
  }

  .product-main-image img {
    max-height: none;
    padding: 12px;
  }

  .product-info {
    gap: 9px;
    padding: 10px;
  }

  .product-info h3,
  .product-title {
    font-size: 0.96rem;
  }

  .product-info p,
  .product-summary,
  .product-detail-link,
  .product-facts {
    display: none;
  }

  .pill {
    padding: 4px 7px;
    font-size: 0.66rem;
  }

  .price-row {
    gap: 5px;
  }

  .price-row strong {
    font-size: 1.18rem;
  }

  .price-row span {
    font-size: 0.72rem;
  }

  .card-actions {
    gap: 7px;
  }

  .card-actions .button {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 0.8rem;
  }

  .card-actions {
    flex-direction: column;
  }

  .product-media,
  .product-page-media img,
  .dialog-product img {
    aspect-ratio: 1 / 1;
  }

  .dialog-product img {
    min-height: 0;
    height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
