.store { min-height: 68vh; }
.store-hero { background: #09271e; color: white; padding: clamp(22px,5vw,55px); border-radius: 20px; margin-bottom: 24px; }
.store-hero h1 { margin: 0 0 10px; font-size: clamp(2rem,5vw,3.7rem); overflow-wrap: anywhere; }
.store-hero p { margin: 0; color: #d8e8dd; }
.store-hero .kicker { color: var(--mint); margin-bottom: 10px; }
.store-tools { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 12px; margin-bottom: 18px; }
.store-tools label { display: grid; gap: 6px; font-weight: 650; min-width: 0; }
.store-tools input { min-width: 0; border: 1px solid #bbcfc3; padding: 10px 12px; border-radius: 8px; background: white; }
.store-tools select { width: 100%; }
.store .grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.store-card-image { background: #fff; display: grid; place-items: center; min-height: 145px; }
.store-card-image img { display: block; width: 100%; height: 150px; object-fit: contain; padding: 12px; }
.store-card-image.unknown { background: #e5eee6; color: var(--muted); }
.store .price { color: #163f2d; font: 750 1.2rem Arial; }
.store .card-body .price { margin-bottom: 8px; }
.store .card-body > a:last-child { margin-top: auto; }
.store .card-body h3 { line-height: 1.2; }
.store .product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.product-layout .store-card-image { border: 1px solid var(--line); border-radius: 17px; min-height: 290px; }
.product-layout .store-card-image img { height: 330px; }
.store .panel { background: white; border: 1px solid var(--line); border-radius: 14px; padding: clamp(14px,3vw,25px); }
.store .panel + .panel { margin-top: 12px; }
.store .btn.outline { background: #fff; }
.store .pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.store dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; }
.store dd { margin: 0; overflow-wrap: anywhere; }
.store .back { display: inline-block; margin-bottom: 16px; text-decoration: underline; }
.store .items { list-style: none; padding: 0; }
.store .items li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.store .items li > div { display: flex; align-items: center; gap: 8px; }
.store textarea, .store form input { width: 100%; }
.store form input { border: 1px solid #bbcfc3; padding: 10px 12px; border-radius: 8px; }
.store form label { display: grid; gap: 4px; margin-bottom: 12px; font-weight: 650; }
.store .link-list { padding-left: 1.25em; }
.store .link-list a { text-decoration: underline; text-underline-offset: 3px; }
.store .link-list li { margin: 9px 0; }
@media(max-width:850px){.store .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.store .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store .product-layout{grid-template-columns:1fr}.store-tools{grid-template-columns:1fr 1fr}.store-tools label:first-child{grid-column:1/-1}.store-card-image img{height:112px}.store-card-image{min-height:112px}.product-layout .store-card-image img{height:240px}.product-layout .store-card-image{min-height:240px}}

/* Shop layout */
:root {
  --shop-soft: #edf3ed;
  --shop-shadow: 0 10px 30px rgb(12 48 31 / .075);
  --shop-radius: 22px;
}
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; transform: translateY(-160%); background: white; padding: .65rem 1rem; border-radius: .6rem; }
.skip-link:focus { transform: translateY(0); }
.shop-page header { border-bottom: 1px solid var(--line); }
.shop-page nav [aria-current="page"] { color: #21603e; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5rem; }
.store { padding-block: clamp(24px, 5vw, 54px); }
.store-hero { padding: clamp(25px, 5.5vw, 70px); border-radius: var(--shop-radius); box-shadow: var(--shop-shadow); }
.store:is([data-page="catalog"],[data-page="category"]) .store-hero {
  background: linear-gradient(90deg,#09271e 17%,rgba(9,39,30,.95) 44%,rgba(9,39,30,.18) 100%), url('assets/hero.png') right 53% / auto 155% no-repeat, #09271e;
}
.store-hero h1 { font-size: clamp(2rem, 4.75vw, 4.1rem); max-width: 22ch; text-wrap: balance; }
.store-hero p:not(.kicker) { max-width: 47ch; }
.store[data-page="product"] .store-hero { padding-block: clamp(22px, 3.5vw, 42px); background: linear-gradient(120deg,#09271e,#205139); }
.catalog-brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.catalog-brands button { border-radius: 999px; white-space: nowrap; padding: 7px 13px; font-size: .9rem; }
.catalog-brands [aria-pressed="true"] { background: #123c2a; color: #fff; border-color: #123c2a; }
.store-tools:has(#find) { padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.store #result { margin-bottom: 11px; color: var(--muted); font-weight: 650; }
.store .card { box-shadow: none; transition: box-shadow .18s, border-color .18s; }
.store .card:hover, .store .card:focus-within { border-color: #9fbaa8; box-shadow: var(--shop-shadow); }
.store-card-image { margin: 8px 8px 0; border-radius: 12px; overflow: hidden; background: #fff; }
.store-card-image img { height: clamp(128px, 14vw, 180px); }
.store .card-body { padding: 15px; }
.store .card-body .meta { color: #426a55; }
.store .card-body .price { margin: 7px 0 13px; }
.store .card-body > a:last-child { border: 1px solid var(--line); background: var(--shop-soft); justify-content: center; }
.store .product-layout > .store-card-image { margin: 0; }
.store .product-layout .panel .price { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.store .panel { border-radius: 16px; }
@media(max-width:600px) {
  .shop-page .store { width: calc(100% - 28px); }
  .store:is([data-page="catalog"],[data-page="category"]) .store-hero { background-size: auto, auto 145%, auto; background-position: center, 63% 52%, center; }
  .store-hero { border-radius: 17px; margin-bottom: 16px; }
  .catalog-brands { gap: 6px; }
  .catalog-brands button { padding: 6px 10px; }
  .store-tools:has(#find) { gap: 10px; padding: 12px; }
  .store .card-body { padding: 10px; }
  .store .card-body > a:last-child { padding-inline: 5px; }
  .store-card-image img { height: 113px; padding: 7px; }
}
@media(prefers-reduced-motion:reduce) { .store .card { transition: none; } }

.site-footer .footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.site-footer p { margin: 8px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.purchase-note { color: var(--muted); font-size: .9rem; }
#products .store-card-image { display: block; background: #fff; }
#products .card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
#products .card-body .btn { margin-top: auto; }
#products .card { display: flex; flex-direction: column; }
:focus-visible { outline: 2px solid #08704d; outline-offset: 3px; }
@media (max-width: 590px) {
  .site-footer .footer-layout { grid-template-columns: 1fr; gap: 10px; }
  .navbar nav { flex-wrap: wrap; justify-content: flex-start; gap: 0 16px; }
  .navbar nav a { display: inline-flex; align-items: center; min-height: 44px; }
  #products .card-body .btn { min-height: 44px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-switch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  font-size: .875rem;
  color: var(--muted);
  text-decoration: none;
}
.language-switch strong { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.featured-specs { margin-block: 16px; }
.featured-specs li { margin-block: 5px; }
.source-copy summary { cursor: pointer; }
@media (min-width: 591px) and (max-width: 1000px) {
  .navbar { flex-wrap: wrap; padding-block: 10px; }
  .navbar nav { order: 3; width: 100%; gap: 24px; }
}
@media (max-width: 590px) {
  .header-actions { gap: 7px; }
  .header-actions .outline { font-size: .82rem; padding-inline: 8px; }
  .language-switch { font-size: .78rem; }
}
