:root {
  color-scheme: light;
  --pine: #123d2b;
  --ink: #172a20;
  --muted: #53655a;
  --lime: #d9eda6;
  --mist: #f3f6ef;
  --line: #dce5da;
  --white: #fff;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid #718834; outline-offset: 3px; }
[data-icon] { display: inline-flex; flex-shrink: 0; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1248px, calc(100% - 88px)); margin-inline: auto; }
.top { background: var(--pine); color: #e9f3df; font-size: 12px; }
.top .shell { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.masthead { min-height: 84px; display: grid; grid-template-columns: auto minmax(230px, 580px) auto; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 800; letter-spacing: -.6px; line-height: 1.06; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; margin-top: 5px; }
.mark { background: var(--pine); color: var(--lime); width: 44px; height: 44px; border-radius: 12px 12px 12px 3px; display: grid; place-items: center; }
.mark .icon { width: 27px; height: 27px; }
.search { display: flex; align-items: center; gap: 11px; background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: 4px 4px 4px 13px; }
.search > span { color: #587061; }
.search input { background: transparent; border: none; min-width: 0; flex: 1; height: 38px; padding: 0 2px; color: var(--ink); }
.search button, .add, .checkout { border: 1px solid var(--pine); border-radius: 6px; background: var(--pine); color: white; font-weight: 650; padding: 10px 17px; }
.search button:hover, .add:hover, .checkout:hover { background: #255d42; }
.basket { background: white; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; white-space: nowrap; font-weight: 700; }
#count { display: grid; place-items: center; padding: 0 5px; min-width: 22px; height: 22px; border-radius: 20px; background: var(--lime); font-size: 12px; }
.navigation { border-top: 1px solid var(--line); }
.navigation .shell { display: flex; align-items: stretch; gap: clamp(12px, 2vw, 32px); min-height: 46px; overflow-x: auto; scrollbar-width: thin; }
.navigation button { border: 0; padding: 0 3px; background: white; white-space: nowrap; font-size: 14px; }
.navigation button:hover, .navigation button[aria-pressed="true"] { box-shadow: inset 0 -3px var(--pine); color: var(--pine); }
.navigation button:first-child { display: flex; align-items: center; gap: 8px; font-weight: 750; }
.navigation button .icon { width: 17px; height: 17px; }
.hero { color: white; min-height: 395px; display: grid; align-items: center; background: linear-gradient(90deg,#071c11aa,transparent 74%), #1c3825 url("campo.png") center 53% / cover; }
.hero-copy { padding-block: 50px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(55px, 6.3vw, 94px); line-height: .94; font-weight: 800; letter-spacing: -.062em; }
.hero p { max-width: 390px; font-size: 17px; line-height: 1.48; margin: 20px 0 23px; color: #f3f8ee; }
.primary { display: inline-flex; align-items: center; gap: 15px; color: var(--ink); background: var(--lime); border: 1px solid var(--lime); border-radius: 7px; padding: 12px 17px; font-weight: 750; }
.primary:hover { background: #eff8d7; }
.primary .icon { width: 18px; height: 18px; }
.service { background: var(--mist); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 19px; }
.service-grid > div { display: flex; align-items: center; gap: 13px; padding: 4px 22px; border-left: 1px solid var(--line); }
.service-grid > div:first-child { border: none; padding-left: 0; }
.service-grid .icon { width: 26px; height: 26px; color: var(--pine); }
.service-grid strong, .service-grid small { display: block; }
.service-grid strong { font-size: 14px; }
.service-grid small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.families { padding-block: 35px 38px; }
h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; margin-top: 17px; }
.family { text-align: left; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; display: grid; gap: 10px; font-size: 14px; font-weight: 750; }
.family:hover, .family[aria-pressed="true"] { border-color: #557652; background: var(--mist); }
.family > span:first-child { width: 38px; height: 38px; border-radius: 9px 9px 9px 3px; background: var(--tone); color: var(--pine); display: grid; place-items: center; }
.family-label { display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.family-label .icon { width: 13px; height: 13px; }
.catalog { background: var(--mist); padding-block: 35px 43px; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
#result-count { color: var(--muted); margin-top: 7px; font-size: 14px; }
.sort { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.sort select { background: white; padding: 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0; }
.filters button { background: white; border: 1px solid var(--line); border-radius: 30px; padding: 6px 11px; font-size: 13px; }
.filters button:hover, .filters button[aria-pressed="true"] { color: white; background: var(--pine); border-color: var(--pine); }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product-image { display: grid; place-items: center; border: none; width: 100%; height: 180px; min-height: 168px; background: var(--tone); padding: 0; overflow: hidden; }
.catalog-photo { width: 100%; height: 180px; object-fit: contain; background: #f7f8f7; }
.product-image:hover .pack { transform: translateY(-3px); }
.pack { width: 124px; height: 150px; transition: transform 160ms; }
.product-copy { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.product-category { color: #335c43; font-size: 12px; font-weight: 700; }
.product h3 { font-size: 18px; line-height: 1.2; margin: 4px 0; letter-spacing: -.025em; }
.name-link { text-align: left; padding: 0; background: transparent; border: none; font-weight: inherit; }
.name-link:hover { text-decoration: underline; }
.presentation, .demo-note { color: var(--muted); font-size: 13px; }
.product-summary { color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.media-demo { font-size: 11px; color: var(--pine); background: var(--mist); align-self: flex-start; border-radius: 4px; padding: 4px 6px; margin-top: 9px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 13px; margin-top: auto; }
.price { font-size: 19px; font-weight: 800; white-space: nowrap; }
.price small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.add { padding: 7px 10px; font-size: 13px; }
.demo-note { margin-top: 16px; }
.empty { grid-column: 1/-1; text-align: center; padding: 46px 18px; background: white; border-radius: 8px; }
.empty p { margin: 8px 0 15px; color: var(--muted); }
footer { color: #e8f2e7; background: var(--pine); padding-block: 23px; }
footer .shell { display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 13px; }
dialog { color: var(--ink); padding: 0; border: 1px solid var(--line); border-radius: 12px; width: min(540px, calc(100% - 26px)); max-height: calc(100% - 26px); }
dialog::backdrop { background: #0a211acc; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 19px; border-bottom: 1px solid var(--line); }
.icon-button { display: inline-grid; place-items: center; padding: 6px; min-width: 34px; min-height: 34px; border-radius: 6px; border: 1px solid var(--line); background: white; }
.icon-button .icon { width: 17px; height: 17px; }
.detail-image { background: var(--tone); display: grid; place-items: center; padding: 14px; }
.detail-image .pack { height: 180px; width: 150px; }
.detail-copy { padding: 20px; }
.detail-copy p { color: var(--muted); margin: 9px 0; line-height: 1.45; }
.detail-copy .product-category { font-weight: 700; color: var(--pine); }
.detail-bottom, .subtotal { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
#detail { width: min(1000px, calc(100% - 32px)); }
#detail .cart-head { position: sticky; top: 0; background: white; z-index: 1; }
.detail-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.detail-gallery { padding: 22px; background: #f6f8f4; }
.detail-gallery .detail-image { padding: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; min-height: 330px; }
.photo-zoom { width: 100%; display: flex; flex-direction: column; padding: 0; border: 0; background: white; }
.photo-zoom img { width: 100%; height: 330px; object-fit: contain; }
.photo-zoom > span { padding: 9px; font-size: 12px; color: var(--pine); background: var(--mist); text-align: center; width: 100%; border-top: 1px solid var(--line); }
.photo-thumbnails { display: flex; gap: 9px; margin-top: 13px; }
.photo-thumbnails button { width: 66px; height: 66px; border: 1px solid var(--line); border-radius: 6px; padding: 3px; background: white; }
.photo-thumbnails button[aria-pressed="true"] { outline: 2px solid var(--pine); outline-offset: 2px; }
.photo-thumbnails img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.gallery-caption { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 12px; }
.detail-layout .detail-copy { padding: 25px; }
.detail-copy .detail-presentation { color: var(--pine); margin: 9px 0 17px; }
.detail-copy .detail-description { color: var(--ink); font-size: 15px; line-height: 1.6; }
.product-attributes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; border-block: 1px solid var(--line); padding-block: 17px; margin-block: 20px; }
.product-attributes dt { color: var(--muted); font-size: 12px; }
.product-attributes dd { margin: 3px 0 0; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.documents { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.documents h3 { font-size: 17px; }
.documents > p { font-size: 12px; }
.document-list { display: grid; gap: 8px; margin-top: 11px; }
.document-list a { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 7px; padding: 11px; }
.document-list a:hover { border-color: #557652; background: var(--mist); }
.document-list strong { font-size: 13px; display: block; }
.document-list small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.document-list .icon { margin-left: auto; width: 17px; height: 17px; }
.pdf-tag { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 39px; background: #ecf2e8; border-radius: 5px 10px 5px 5px; font-weight: 750; font-size: 10px; color: var(--pine); }
#photo-viewer { width: min(840px, calc(100% - 26px)); background: #f5f7f5; padding: 40px 12px 12px; }
#photo-viewer > button { position: absolute; right: 8px; top: 8px; }
#expanded-photo { display: block; width: 100%; max-height: 80vh; object-fit: contain; }
@media (max-width: 750px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { padding: 14px; }
  .detail-gallery .detail-image { min-height: 240px; }
  .photo-zoom img { height: 240px; }
  .detail-layout .detail-copy { padding: 18px; }
}
#cart { margin: 0 0 0 auto; height: 100%; max-height: 100%; border-radius: 0; }
#cart-body { padding: 0 19px 19px; }
.cart-line { border-bottom: 1px solid var(--line); padding-block: 15px; display: grid; gap: 7px; }
.cart-line > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.quantity { display: flex; align-items: center; gap: 9px; }
.link-button { border: 0; background: transparent; color: var(--pine); text-decoration: underline; padding: 6px; }
.checkout { width: 100%; margin-top: 17px; }
#toast { display: none; position: fixed; right: 20px; bottom: 20px; z-index: 2; padding: 12px 16px; border-radius: 8px; background: var(--pine); color: white; box-shadow: 0 5px 18px #162a2340; }
#toast.visible { display: block; }
@media (max-width: 1010px) {
  .shell { width: calc(100% - 48px); }
  .category-grid, .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .top { font-size: 10px; }
  .masthead { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding-block: 11px; }
  .brand { font-size: 19px; }
  .mark { width: 38px; height: 38px; }
  .search { grid-column: 1/-1; grid-row: 2; }
  .search input { font-size: 14px; }
  .basket-label { display: none; }
  .hero { min-height: 370px; background-image: linear-gradient(90deg,#071c11db,#071c1158),url("campo.png"); background-position: center, 85% center; }
  .hero-copy { padding-block: 37px; }
  .hero p { max-width: 285px; }
  .service-grid { grid-template-columns: 1fr; padding-block: 7px; }
  .service-grid > div { border-left: 0; padding: 7px 0; }
  .service-grid > div:first-child { padding: 7px 0; }
  .category-grid { gap: 7px; }
  .family { padding: 9px 7px; font-size: clamp(10px, 2.8vw, 14px); }
  .family-label .icon { display: none; }
  .section-head { flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .product-copy { padding: 10px; }
  .product h3 { font-size: 16px; }
  .product-image, .catalog-photo { min-height: 136px; height: 148px; }
  .pack { width: 105px; height: 125px; }
  .card-bottom { flex-wrap: wrap; }
  .price { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
