:root {
  --ink: #18261a;
  --body: #17201a;
  --muted: #566153;
  --green: #37592b;
  --green-dark: #263c23;
  --paper: #f9f7f3;
  --surface: #f4f1ea;
  --line: #dfded5;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #57823b; outline-offset: 4px; }
h1, h2, h3, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.05; }
.shell { width: min(100% - 3.5rem, 1320px); margin-inline: auto; }
.icon { width: 1.45rem; height: 1.45rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-source { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link { position: absolute; z-index: 5; inset: .6rem auto auto .6rem; background: white; padding: .7rem; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.utility { color: #fcfbf6; background: #283a25; }
.utility-inner { min-height: 2.55rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.utility span, .utility a { display: inline-flex; align-items: center; gap: .65rem; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.utility a:hover, .navigation-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.utility .icon { width: 1.35rem; height: 1.35rem; }

.masthead { display: grid; grid-template-columns: max-content minmax(13rem, 35rem) max-content; justify-content: space-between; align-items: center; gap: 1.2rem; min-height: 5.7rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); white-space: nowrap; }
.brand-mark { width: 3.7rem; height: 3.7rem; color: var(--green); }
.brand-copy { font-size: clamp(2.2rem, 4.4vw, 3.45rem); }
.brand strong { display: block; font-weight: 850; letter-spacing: -.075em; line-height: .98; }
.brand small { display: flex; justify-content: space-between; margin-top: .4rem; font-size: .26em; font-weight: 750; line-height: 1.1; text-transform: uppercase; }
.brand small span { white-space: pre; }
.search { display: flex; align-items: center; min-height: 2.65rem; padding: 0 .45rem; border: 1px solid #d5d6ce; border-radius: .9rem; box-shadow: 0 1px 3px #17201a12; }
.search button { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: transparent; border: 0; padding: 0; }
.search .icon { width: 1.25rem; height: 1.25rem; }
.search input { width: 100%; min-width: 0; background: transparent; border: 0; padding: .62rem .45rem .62rem .15rem; font-size: .83rem; }
.search input::placeholder { color: #4a514a; }
.header-actions { display: flex; align-items: center; gap: clamp(.65rem, 2.5vw, 2.35rem); }
.header-actions button { position: relative; display: grid; justify-items: center; gap: .3rem; border: 0; padding: .1rem .15rem; background: transparent; white-space: nowrap; font-size: .77rem; font-weight: 550; }
.header-actions button:hover { color: var(--green); }
.cart-count { position: absolute; top: -.22rem; right: .12rem; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green); color: white; font-size: .65rem; }

.navigation { display: flex; align-items: center; gap: clamp(.8rem, 2.6vw, 2.8rem); min-height: 3.4rem; border-top: 1px solid #ebe8df; }
.navigation-links { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: .8rem; white-space: nowrap; font-size: .89rem; font-weight: 600; }
.navigation-divider { width: 1px; height: 1.25rem; background: #c9cbbf; }
.pill { display: inline-flex; width: fit-content; justify-content: center; align-items: center; gap: .62rem; min-height: 2.45rem; padding: .55rem 1.45rem; border: 0; border-radius: 3rem; background: var(--green); color: #fff; font-size: .96rem; font-weight: 700; white-space: nowrap; }
.pill:hover { background: var(--green-dark); }
.pill .icon { width: 1.25rem; height: 1.25rem; }
.category-button { min-height: 2.2rem; border-radius: .5rem; padding: .48rem .95rem; font-size: .86rem; }

.hero { background: #e8e4d8 url("hero.webp") center 52% / cover no-repeat; }
.hero-inner { min-height: clamp(19.9rem, 31vw, 27rem); display: flex; flex-direction: column; justify-content: center; padding: 1.8rem clamp(0rem, 3vw, 2.7rem); }
.hero h1 { font-size: clamp(3.35rem, 5.8vw, 5.1rem); font-weight: 850; line-height: .94; letter-spacing: -.064em; }
.hero p { max-width: 29rem; margin: .82rem 0 1rem; font-size: clamp(1rem, 1.7vw, 1.35rem); line-height: 1.22; }

.benefits { background: #f1eee5; }
.benefits-inner { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .65rem; padding-block: .95rem; }
.benefits-inner li { display: flex; align-items: center; justify-content: center; gap: .85rem; line-height: 1.25; font-size: .93rem; }
.benefits-inner .icon { width: 2.4rem; height: 2.4rem; color: var(--green-dark); stroke-width: 1.3; }

.storefront-section { padding-top: clamp(1.65rem, 3.45vw, 3.2rem); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1.3rem; margin-bottom: 1.35rem; }
.section-heading h2, .knowledge h2 { font-size: clamp(1.7rem, 3.12vw, 2.65rem); font-weight: 820; letter-spacing: -.048em; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-dark); font-size: .91rem; font-weight: 700; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 1.24rem; height: 1.24rem; }

.category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .55rem; }
.category-card { overflow: hidden; display: flex; flex-direction: column; border-radius: .8rem; background: var(--tint); transition: transform .18s ease; }
.category-card:hover { transform: translateY(-3px); }
.category-minerals { --tint: #dededc; --photo: url("minerals.webp"); }
.category-organics { --tint: #dbe2c6; --photo: url("organics.webp"); }
.category-biology { --tint: #cae0df; --photo: url("biology.webp"); }
.category-soil { --tint: #e8d7bf; --photo: url("soil.webp"); }
.category-pure { --tint: #e8dbd2; --photo: url("pure.webp"); }
.category-professional { --tint: #ddd9d8; --photo: url("professional.webp"); }
.category-photo { aspect-ratio: 1.48; background: var(--photo) center / cover no-repeat; }
.category-details { position: relative; display: grid; align-content: start; gap: .3rem; padding: .6rem .9rem .88rem; }
.category-details strong { color: #101813; font-size: clamp(1.03rem, 1.9vw, 1.5rem); line-height: 1.12; letter-spacing: -.04em; }
.category-details > span:last-child { font-size: clamp(.74rem, 1.24vw, .96rem); line-height: 1.28; }
.category-icon .icon { width: 1.85rem; height: 1.85rem; color: var(--green-dark); }
.category-arrow { position: absolute; right: .55rem; top: .65rem; width: 1.55rem; height: 1.55rem; display: grid; place-items: center; border-radius: 50%; background: #fffefa; }
.category-arrow .icon { width: .95rem; height: .95rem; }

.product-section { padding-bottom: clamp(1.75rem, 3vw, 2.9rem); }
.product-tabs { display: flex; gap: .2rem; margin-left: auto; border-bottom: 1px solid var(--line); }
.product-tabs a { padding: .47rem clamp(.55rem, 1.35vw, 1.35rem); font-weight: 650; font-size: .86rem; border-radius: 2rem; white-space: nowrap; }
.product-tabs a[aria-current] { background: var(--green); color: white; }
.product-tabs a:hover:not([aria-current]) { background: #eeeae0; }
.all-products { margin-left: clamp(0rem, 2.4vw, 2rem); }
.product-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; }
.product-card { position: relative; background: #fffdfa; border: 1px solid #e7e4de; border-radius: .8rem; box-shadow: 0 2px 3px #232e2214; overflow: hidden; min-width: 0; }
.product-card img, .product-image-empty { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: contain; display: grid; place-items: center; background: #f5f3ec; }
.product-image-empty .icon { width: 30%; height: 70%; color: var(--green); }
.product-info { padding: .65rem .85rem .85rem; }
.product-info h3 { font-size: 1rem; letter-spacing: -.025em; }
.product-info h3 a:hover { text-decoration: underline; }
.price { margin: .55rem 0; color: var(--ink); font-size: 1.12rem; font-weight: 800; }
.sizes { display: flex; flex-wrap: wrap; gap: .24rem; }
.sizes li { padding: .22rem .4rem; border: 1px solid var(--line); border-radius: 1rem; font-size: .73rem; }
.favorite-toggle { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: #fffefa; }
.favorite-toggle .icon { width: 1.1rem; height: 1.1rem; }
[data-favorite][aria-pressed="true"] .icon { fill: currentColor; }
.empty-state { padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid var(--line); background: #fbfaf6; border-radius: .75rem; color: var(--muted); }

.knowledge { display: grid; grid-template-columns: minmax(0, 34%) 1fr; align-items: stretch; min-height: 13.4rem; background: #f3f0e9; }
.knowledge-photo { background: #b8be92 url("knowledge.webp") center / cover no-repeat; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.knowledge-inner { align-self: center; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(11rem,.8fr); gap: 1.4rem; padding: 1.3rem clamp(1rem, 4vw, 5rem) 1.3rem clamp(1rem, 3vw, 3rem); }
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; margin-bottom: .55rem; }
.knowledge h2 { font-size: clamp(1.4rem, 2.72vw, 2.45rem); }
.knowledge h2 + p { margin: .55rem 0 .7rem; font-size: .9rem; }
.knowledge .pill { font-size: .83rem; min-height: 2rem; padding: .43rem .95rem; }
.knowledge ul { display: grid; gap: .65rem; align-content: center; padding-left: clamp(.7rem, 3vw, 2.7rem); border-left: 1px solid #d3d2c9; }
.knowledge li { display: flex; gap: .8rem; align-items: center; font-size: .82rem; line-height: 1.3; }
.knowledge li strong, .service-benefits strong { display: block; font-size: .93rem; }
.knowledge li .icon { color: var(--green); width: 2.2rem; height: 2.2rem; stroke-width: 1.4; }
.service-benefits { padding-block: 1.25rem; }
.service-benefits li { font-size: .81rem; }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 1.25rem; gap: .75rem; font-size: .82rem; }
.footer-inner strong { display: block; margin-bottom: .2rem; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.15rem; }
.footer-links a, .info-page a { text-decoration: underline; text-underline-offset: .2em; }
.footer-withdraw { font-weight: 700; }
.info-page { max-width: 60rem; padding-block: clamp(2rem, 4.5vw, 4.75rem); line-height: 1.6; overflow-wrap: anywhere; }
.info-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.3rem; }
.info-page h2 { margin-block: 1.5rem .45rem; }
.info-page p + p { margin-top: .75rem; }
.info-page address { font-style: normal; }
.info-page table { width: 100%; border-collapse: collapse; margin-block: .8rem; font-variant-numeric: tabular-nums; }
.info-page th, .info-page td { padding: .5rem .65rem; border-bottom: 1px solid var(--line); text-align: left; }
.info-page th[scope="row"] { font-weight: 500; }
.info-page td { white-space: nowrap; }
.info-table { overflow-x: auto; }
.info-fields { list-style: disc; padding-inline-start: 1.25rem; }
.info-page .stack-form { display: grid; gap: 1rem; max-width: 30rem; margin-block: 1rem; }
.info-page .stack-form label { display: grid; gap: .25rem; font-weight: 600; }
.info-page .stack-form small { font-weight: 400; }
.info-page .stack-form input:not([type="hidden"]) { width: 100%; padding: .6rem .75rem; border: 1px solid var(--muted); border-radius: .5rem; background: white; color: var(--body); }
.info-page .stack-form button { justify-self: start; }
.unit-price { color: var(--muted); font-size: .82rem; margin-top: .18rem; }
.product-legal { margin-top: 1rem; }
.product-legal .info-content p + p { margin-top: .7rem; }
dialog { width: min(29rem, 90vw); padding: 1.8rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--paper); color: var(--body); }
dialog::backdrop { background: #101b1290; }
dialog h2 { padding-right: 1.75rem; margin-bottom: 1rem; }
dialog li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
dialog li a { text-decoration: underline; }
.dialog-close { position: absolute; top: .45rem; right: .55rem; background: transparent; border: 0; font-size: 1.75rem; }

.secondary-page { min-height: 50vh; padding-block: 2rem 3rem; }
.secondary-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.055em; margin: .9rem 0 1.25rem; }
.secondary-page .category-grid { margin-bottom: 1.25rem; }
.back-link, .pagination a { text-decoration: underline; color: var(--green-dark); text-underline-offset: 3px; }
.pagination { display: flex; gap: 1rem; padding-top: 1rem; }
.product-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; margin-top: 1.3rem; }
.product-detail h1 { margin-top: 0; }
.product-detail > img { width: 100%; height: auto; object-fit: contain; background: #f5f3ec; border-radius: .8rem; }
.product-detail p { line-height: 1.5; }
.product-detail .pill { margin-top: 1.1rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 2rem); }
  .masthead { gap: .8rem; }
  .brand-mark { width: 3.1rem; height: 3.1rem; }
  .navigation { gap: .85rem; }
  .navigation-links { justify-content: start; overflow-x: auto; scrollbar-width: thin; padding: .45rem .2rem; }
  .navigation-divider { flex: none; }
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-photo { aspect-ratio: 1.9; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 1.5rem); }
  .utility-inner { justify-content: space-between; min-height: 2rem; }
  .utility span:nth-child(2), .utility span:nth-child(3), .utility span:nth-child(4) { display: none; }
  .utility span, .utility a { font-size: .71rem; gap: .38rem; }
  .utility .icon { width: 1rem; height: 1rem; }
  .masthead { grid-template-columns: minmax(0,1fr) max-content; gap: .65rem .4rem; padding-block: .7rem; }
  .brand { gap: .28rem; }
  .brand-mark { width: 2.45rem; height: 2.45rem; }
  .brand-copy { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  .brand small { margin-top: .25rem; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .header-actions { gap: .39rem; }
  .header-actions button { font-size: .59rem; gap: .14rem; }
  .header-actions .icon { width: 1.15rem; height: 1.15rem; }
  .cart-count { right: .05rem; width: .83rem; height: .83rem; font-size: .53rem; }
  .navigation { min-height: 2.95rem; }
  .navigation-links { font-size: .77rem; }
  .category-button { min-height: 1.85rem; padding: .33rem .55rem; font-size: .73rem; }
  .hero { background-image: linear-gradient(90deg,#f3ede1ef 0%,#f3ede1c5 36%,#f3ede112 85%),url("hero.webp"); background-position: center, 57% center; }
  .hero-inner { min-height: 19rem; padding-inline: .15rem; }
  .hero h1 { font-size: clamp(2.75rem, 9vw, 3.4rem); }
  .hero p { max-width: 16.5rem; }
  .wide-break { display: none; }
  .benefits-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem .3rem; }
  .benefits-inner li { justify-content: flex-start; gap: .45rem; font-size: .75rem; }
  .benefits-inner .icon { width: 1.65rem; height: 1.65rem; }
  .section-heading { flex-wrap: wrap; margin-bottom: .85rem; }
  .section-heading .text-link { font-size: .78rem; }
  .category-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-photo { aspect-ratio: 1.6; }
  .product-tabs { margin-left: 0; order: 3; min-width: 100%; }
  .all-products { margin-left: 0; }
  .knowledge { grid-template-columns: 1fr; }
  .knowledge-photo { min-height: 10rem; clip-path: none; background-position: 50% 53%; }
  .knowledge-inner { grid-template-columns: 1fr; padding: 1.15rem; }
  .knowledge ul { border-left: 0; border-top: 1px solid var(--line); padding: .8rem 0 0; }
  .service-benefits strong { font-size: .82rem; }
  .footer-inner { align-items: start; flex-direction: column; }
  .product-detail { grid-template-columns: 1fr; gap: 1rem; }
}

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

.preview-label { margin: -.45rem 0 .65rem; color: var(--muted); font-size: .83rem; }
.preview-product img { background: #fafafa; }
.preview-product p { margin-top: .35rem; color: var(--muted); font-size: .82rem; }
.preview-product a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.header-actions a { position: relative; display: grid; justify-items: center; gap: .3rem; padding: .1rem .15rem; font-size: .77rem; font-weight: 550; }
.header-actions a:hover { color: var(--green); }
.page-width { width: min(100% - 2rem, 78rem); margin-inline: auto; padding-block: 2rem; }
.page-width--narrow { max-width: 48rem; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; margin-top: 1rem; }
.stack-form, .add-to-cart { display: grid; gap: .8rem; }
.stack-form label:not(.checkbox-label), .add-to-cart label { display: grid; gap: .35rem; }
.stack-form input:not([type=checkbox],[type=radio]), .stack-form select, .add-to-cart select, .add-to-cart input, .cart-row input {
  width: 100%; min-width: 0; padding: .62rem .75rem; border: 1px solid var(--line); border-radius: .4rem; background: white;
}
.stack-form fieldset { border: 1px solid var(--line); border-radius: .45rem; }
.stack-form fieldset label { margin-block: .4rem; }
.checkbox-label { display: flex; align-items: center; gap: .4rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
.checkout-summary, .cart-totals, .bank-instructions { padding: 1.3rem; background: var(--surface); border-radius: .75rem; align-self: start; }
.checkout-summary p, .cart-totals p, .prose p { margin-block: .65rem; }
.cart-table { margin-block: 1rem; }
.cart-row { display: grid; grid-template-columns: auto 1fr minmax(9rem, auto) auto; gap: .65rem; align-items: center; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.cart-row img { width: 4rem; height: 4rem; object-fit: contain; }
.cart-row form { display: flex; flex-wrap: wrap; gap: .35rem; }
.cart-row input { max-width: 5rem; }
.prose > form { margin-block: 1rem; }
.prose ul { padding-inline-start: 1.2rem; list-style: disc; }
.prose a, .cart-section a:not(.button), .checkout-grid a { text-decoration: underline; text-underline-offset: .2rem; }
.cart-section .button, .checkout-section .button, .prose .button {
  display: inline-block; width: fit-content; padding: .7rem 1.25rem; border: 0; border-radius: 3rem;
  background: var(--green); color: white; font-weight: 700;
}
.add-to-cart { margin-top: 1.1rem; }
.add-to-cart input { max-width: 8rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 650px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 1rem; }
  .header-actions a { gap: .14rem; font-size: .59rem; }
  .cart-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Shared shop subpages */
.shop-subpage { background: #f8f5f0; }
.shop-subpage .subpage-nav { justify-content: space-evenly; gap: 1rem; min-height: 3.1rem; }
.subpage-nav a { padding: .62rem 1rem; text-align: center; white-space: nowrap; font-size: .9rem; font-weight: 680; border-radius: .6rem; }
.subpage-nav a:hover { color: var(--green); background: #eeede3; }
.subpage-nav a.active { background: linear-gradient(#426735,#2b481f); color: white; }
.shop-subpage .preview-label { margin: 0 0 .75rem; font-size: .82rem; }
.shop-subpage h1 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.055em; }
.media-placeholder {
  display: grid; place-content: center; justify-items: center; gap: .45rem; width: 100%; height: 100%;
  min-height: 4rem; background: #ece8df; color: #596450; font-size: .8rem;
}
.media-placeholder .icon { width: 2rem; height: 2rem; }
.media-placeholder span { font-size: .78rem; }
.product-card-photo { display: block; aspect-ratio: 1.9; overflow: hidden; background: #efebe3; }
.product-card-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-card-photo .media-placeholder .icon { width: 1.6rem; height: 1.6rem; opacity: .78; }
.product-card-listing { background: #f5f1ea; }
.product-card-listing .product-info { position: relative; padding: .68rem 3.7rem .55rem .95rem; }
.product-card-listing .product-info h3 { font-size: 1.18rem; }
.product-card-listing .price { margin-top: .43rem; }
.card-subtitle { margin-top: .25rem; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.card-action { position: absolute; right: .55rem; bottom: .55rem; padding: 0 .65rem; min-height: 2rem; }

.category-banner {
  background-image: linear-gradient(90deg,#f2eae0 0%,#f2eae0f4 36%,#f2eae030 68%), var(--photo, url("hero.webp"));
  background-position: center, right 55%;
  background-size: cover;
  background-repeat: no-repeat;
}
.category-banner.category-minerals { --photo: url("hero.webp"); }
.category-banner-inner { min-height: clamp(10.5rem, 15vw, 14rem); display: grid; align-content: center; gap: .48rem; padding-block: 1.6rem; }
.category-banner-inner p { max-width: 37rem; font-size: clamp(1rem,1.6vw,1.3rem); line-height: 1.35; }
.shop-benefits { background: #f2eee7; }
.shop-benefits .benefits-inner { padding-block: .65rem; }
.shop-benefits li:not(:last-child) { border-right: 1px solid #dedbd0; }
.shop-benefits .icon { width: 1.75rem; height: 1.75rem; }

.catalog-page { padding-block: 1.9rem 3rem; }
.catalog-page > h1, .catalog-page > .category-grid { margin-bottom: 1rem; }
.catalog-layout { display: grid; grid-template-columns: minmax(12rem,16.5rem) minmax(0,1fr); gap: clamp(1.2rem,2.5vw,2.1rem); }
.filters { padding: .8rem 1.2rem 1.4rem; border-radius: .9rem; background: #f1ede5; }
.filters details { padding: .55rem 0 .85rem; border-bottom: 1px solid var(--line); }
.filters details:last-of-type { margin-bottom: .7rem; }
.filters summary { cursor: pointer; font-size: 1.04rem; color: var(--ink); font-weight: 760; margin-bottom: .28rem; }
.filters label, .filters li a { display: flex; align-items: center; gap: .58rem; min-height: 1.65rem; font-size: .86rem; line-height: 1.2; }
.filters li a:hover { text-decoration: underline; }
.filters input { accent-color: var(--green); width: 1rem; height: 1rem; margin: 0; }
.filter-mark { display: grid; place-items: center; width: .95rem; height: .95rem; border-radius: .22rem; border: 1px solid #aaa99c; }
.filters a[aria-current] .filter-mark { border-color: var(--green); color: white; background: var(--green); }
.filter-submit { min-height: 1.9rem; font-size: .8rem; padding: .35rem .9rem; }
.catalog-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .75rem; min-height: 2.2rem; margin-bottom: 1rem; }
.filter-chip { display: inline-flex; gap: .38rem; align-items: center; padding: .37rem .63rem; border-radius: 2rem; background: #e9e9d9; color: var(--green-dark); font-size: .8rem; }
.catalog-sort { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; padding: .42rem .66rem; border: 1px solid #d5d2c9; border-radius: .65rem; font-size: .82rem; white-space: nowrap; }
.catalog-sort select { border: 0; background: transparent; font-weight: 670; color: var(--ink); }
.catalog-results .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
.catalog-guide { display: grid; grid-template-columns: minmax(6rem,.65fr) 1fr auto; align-items: center; gap: .9rem; margin-top: 1.25rem; padding-right: 1rem; overflow: hidden; border-radius: .85rem; background: #f0ece2; }
.catalog-guide-image { min-height: 7.4rem; height: 100%; background: url("minerals.webp") center / cover; }
.catalog-guide h2 { font-size: 1.23rem; }
.catalog-guide p { font-size: .84rem; margin: .35rem 0; }
.catalog-guide .eyebrow { color: var(--green); }

.product-page { padding-block: .95rem 2.75rem; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; font-size: .84rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 680; }
.product-detail-wide { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: start; gap: clamp(1.1rem,3vw,3rem); margin-top: 0; }
.product-gallery { display: grid; gap: .65rem; }
.product-gallery.has-thumbnails { grid-template-columns: minmax(3rem,5.25rem) 1fr; }
.gallery-thumbnails { display: grid; align-content: start; gap: .55rem; max-height: 30rem; overflow-y: auto; scrollbar-width: thin; }
.gallery-thumbnails button { display: grid; place-content: center; justify-items: center; gap: .35rem; padding: .25rem; min-height: 3.2rem; aspect-ratio: 1; border: 1px solid transparent; border-radius: .66rem; background: #ebe6dc; font-size: .73rem; overflow: hidden; }
.gallery-thumbnails button[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.gallery-thumbnails button img { width: 100%; height: auto; border-radius: .36rem; }
.gallery-stage { border-radius: .9rem; overflow: hidden; aspect-ratio: 1.28; min-height: 14rem; background: #ece8df; }
.gallery-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-stage .media-placeholder .icon { width: 2.85rem; height: 2.85rem; }
.product-overview .product-subtitle { margin-top: .38rem; font-size: 1.02rem; }
.product-attributes { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 1.05rem; }
.product-attributes li { display: inline-flex; align-items: center; gap: .4rem; background: #eaeade; border-radius: 2rem; padding: .3rem .62rem; font-size: .82rem; }
.product-attributes .icon { width: 1.2rem; height: 1.2rem; color: var(--green); }
.detail-price { font-size: clamp(1.55rem,3vw,2.18rem); }
.variant-group { border: 0; margin: 0; padding: 0; }
.variant-group legend { font-weight: 700; margin-bottom: .4rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.variant-option { position: relative; min-width: 6.2rem; text-align: center; cursor: pointer; }
.variant-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; margin: 0; }
.variant-option span { display: block; min-height: 2.24rem; border: 1px solid #d3d0c7; border-radius: .55rem; padding: .48rem .75rem; font-size: .86rem; font-weight: 650; }
.variant-option input:checked + span { background: #e8ecd9; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.variant-option input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.variant-option input:disabled + span { opacity: .52; }
.variant-option small { display: block; font-size: .65rem; }
.purchase-row { display: grid; grid-template-columns: auto minmax(6.4rem,8rem) 1fr; align-items: center; gap: .75rem; margin-top: .95rem; }
.purchase-row > label { font-weight: 650; font-size: .84rem; }
.stepper { display: grid; grid-template-columns: 1.8rem 1fr 1.8rem; align-items: center; min-width: 5.9rem; border: 1px solid #d8d5ca; border-radius: .62rem; overflow: hidden; }
.stepper button { background: transparent; border: none; font-size: 1.12rem; padding: .28rem 0; color: var(--green-dark); }
.stepper button:hover { background: #eeede2; }
.stepper input { width: 100%; min-width: 0; padding: 0; text-align: center; appearance: textfield; border: none; background: transparent; font-weight: 650; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.purchase-row .pill { width: 100%; border-radius: .65rem; min-width: 0; padding-inline: .65rem; }
.detail-favorite { display: inline-flex; align-items: center; gap: .35rem; margin: .8rem 0 0; padding: .3rem 0; border: 0; background: none; color: var(--green-dark); font-size: .83rem; }
.detail-favorite .icon { width: 1.1rem; height: 1.1rem; }
.product-assurances { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .82rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.product-assurances li { display: flex; align-items: center; gap: .27rem; font-size: .74rem; color: var(--muted); }
.product-assurances .icon { width: 1.35rem; height: 1.35rem; color: var(--green); }
.product-information { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; margin-top: 1.4rem; }
.info-panel { border-radius: .85rem; overflow: hidden; border: 1px solid #ede9df; background: #f4f0e9; }
.info-panel h2, .info-panel summary { margin: 0; padding: .55rem .85rem; background: #efebe3; color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.info-panel summary { cursor: pointer; }
.info-content { padding: .65rem .85rem .88rem; font-size: .87rem; line-height: 1.4; overflow-wrap: anywhere; }
.info-content p + p { margin-top: .5rem; }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 5rem 1fr; padding: .25rem 0; gap: .45rem; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; }
.application-tiles { display: flex; flex-wrap: wrap; gap: .5rem; }
.application-tiles li { display: grid; justify-items: center; gap: .45rem; border-radius: .72rem; padding: .55rem .75rem; background: #ececde; text-align: center; }
.application-tiles .icon { color: var(--green); width: 2rem; height: 2rem; }
.related-products { margin-top: 1.65rem; }
.related-products h2 { margin-bottom: .85rem; font-size: clamp(1.32rem,2.35vw,1.85rem); letter-spacing: -.03em; }
.related-products .related-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }

.cart-page { padding-block: 1.55rem 2.75rem; }
.cart-intro { margin-top: .3rem; font-size: 1.08rem; margin-bottom: .8rem; }
.cart-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(15rem,1fr); gap: 1.25rem; }
.cart-panel, .cart-summary { border-radius: .95rem; padding: 1.15rem 1.3rem; border: 1px solid #ebe6dc; background: #faf7f2; box-shadow: 0 3px 10px #2928180c; }
.cart-summary { align-self: start; }
.cart-line { display: grid; grid-template-columns: minmax(7rem,1fr) minmax(4rem,5.5rem) minmax(5.8rem,7.3rem) minmax(4.5rem,5.8rem) 1.2rem; gap: .6rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.cart-line[hidden] { display: none; }
.cart-line:last-of-type { border-bottom: 0; }
.cart-head { padding-top: .1rem; font-size: .83rem; font-weight: 750; }
.cart-item { display: flex; align-items: center; min-width: 0; gap: .65rem; }
.cart-item-image { display: block; border-radius: .55rem; overflow: hidden; width: clamp(3.4rem,8vw,6.9rem); aspect-ratio: 1.42; flex: none; }
.cart-item-image img { display: block; width: 100%; height: 100%; object-fit: contain; background: #efebe3; }
.cart-item-image .media-placeholder { min-height: 0; }
.cart-item-image .media-placeholder .icon { width: 1.2rem; height: 1.2rem; }
.cart-item-image .media-placeholder span { display: none; }
.cart-item-title { color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.cart-item p { margin-top: .18rem; color: var(--muted); font-size: .76rem; line-height: 1.32; }
.cart-size select { width: 100%; color: var(--ink); border: 1px solid #dfded1; border-radius: .55rem; padding: .35rem; background: #eaecdf; }
.cart-line-price { text-align: right; font-size: .94rem; }
.cart-remove { background: transparent; color: var(--green-dark); border: 0; padding: 0; font-size: 1.35rem; }
.cart-summary h2 { font-size: clamp(1.45rem,2.5vw,1.95rem); letter-spacing: -.042em; margin-bottom: .85rem; }
.cart-breakdown { margin: 0; }
.cart-breakdown div { display: flex; justify-content: space-between; gap: .6rem; margin: .58rem 0; font-size: .91rem; }
.cart-breakdown dd { margin: 0; text-align: right; }
.cart-summary-total { display: flex; justify-content: space-between; align-items: center; gap: .55rem; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.13rem; }
.cart-summary-total p { font-weight: 400; color: var(--muted); font-size: .73rem; }
.cart-shipping-hint { margin: .7rem 0 0; padding: .52rem .65rem; border-radius: .45rem; background: #e9ebdc; color: var(--green-dark); font-size: .82rem; }
.cart-checkout { width: 100%; margin-top: .9rem; border-radius: .65rem; }
.cart-return { margin-top: .65rem; text-align: center; font-size: .82rem; }
.cart-return a, .cart-page .empty-state a, .catalog-results .empty-state a { text-decoration: underline; }
.cart-demo-empty { margin-top: .6rem; }

@media (max-width: 950px) {
  .catalog-layout { grid-template-columns: minmax(10rem,12rem) minmax(0,1fr); gap: .85rem; }
  .filters { padding-inline: .8rem; }
  .catalog-results .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cart-panel, .cart-summary { padding-inline: .75rem; }
  .cart-item { gap: .35rem; }
  .cart-item-image { width: 3.8rem; }
}
@media (max-width: 700px) {
  .shop-subpage .subpage-nav { justify-content: start; overflow-x: auto; gap: .2rem; scrollbar-width: thin; }
  .subpage-nav a { padding: .52rem .56rem; font-size: .79rem; }
  .category-banner { background-image: linear-gradient(90deg,#f2eae0fb 12%,#f2eae0bd 57%,#f2eae042), var(--photo, url("hero.webp")); }
  .shop-benefits li:not(:last-child) { border: 0; }
  .catalog-layout, .product-detail-wide, .cart-layout { grid-template-columns: 1fr; }
  .filters { padding: .48rem .75rem .6rem; }
  .filters details { padding: .35rem 0 .5rem; }
  .filters label, .filters li a { display: inline-flex; min-height: 1.45rem; margin-right: .55rem; }
  .filters li { display: inline; }
  .catalog-toolbar { margin-top: .5rem; }
  .catalog-guide { grid-template-columns: minmax(0,1fr) auto; padding: .65rem; gap: .45rem; }
  .catalog-guide-image { display: none; }
  .catalog-guide .pill { font-size: .77rem; padding-inline: .65rem; }
  .product-detail-wide { gap: .85rem; }
  .product-gallery.has-thumbnails { grid-template-columns: minmax(2.9rem,3.45rem) 1fr; }
  .gallery-thumbnails button { font-size: .61rem; }
  .gallery-stage { aspect-ratio: 1.3; min-height: 11.75rem; }
  .product-information { grid-template-columns: 1fr; margin-top: .85rem; }
  .related-products .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
  .product-card-listing .product-info { padding: .55rem 2.4rem .45rem .55rem; }
  .product-card-listing .product-info h3 { font-size: .94rem; }
  .card-action { bottom: .4rem; right: .3rem; padding-inline: .3rem; min-height: 1.58rem; }
  .card-action .icon { width: 1rem; height: 1rem; }
  .cart-head { display: none; }
  .cart-line { grid-template-columns: minmax(3.8rem,.7fr) minmax(5.75rem,.8fr) minmax(3.7rem,.8fr) 1.2rem; gap: .45rem; }
  .cart-item { grid-column: 1 / -1; }
  .cart-item-image { width: 4.5rem; }
}
@media (max-width: 480px) {
  .purchase-row { grid-template-columns: auto minmax(6.4rem,8rem); }
  .purchase-row .pill { grid-column: 1 / -1; }
  .shop-subpage .brand-mark { flex: 0 0 1.55rem; width: 1.55rem; }
}

/* Wissensbereich */
.wissen-wrap { padding-block: 1.15rem 4rem; }
.wissen-hero { border-radius: 1.15rem; overflow: hidden; color: var(--ink); background: linear-gradient(90deg,#f1eddf 25%,#f1eddfed 50%,#f1eddf00 100%), url("knowledge.webp") center 55% / cover; }
.wissen-hero-copy { padding: clamp(1.25rem, 5vw, 4rem); max-width: 37rem; }
.wissen-hero h1, .wissen-article h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.052em; margin: 0 0 .7rem; text-wrap: balance; }
.wissen-hero-copy p, .wissen-intro { color: #334431; font-size: clamp(1.03rem, 2vw, 1.27rem); line-height: 1.5; margin: 0; }
.wissen-search { width: min(100%, 27rem); margin-top: 1.3rem; background: var(--paper, #faf8f3); }
.wissen-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.5rem 2.25rem; }
.wissen-tabs a { font-size: .88rem; font-weight: 650; padding: .5rem .84rem; border: 1px solid #dedfd1; border-radius: 10rem; color: var(--green-dark); }
.wissen-tabs a:hover { background: #e9eddd; }
.wissen-tabs a[aria-current="page"] { background: var(--green-dark); color: white; border-color: var(--green-dark); }
.wissen-group + .wissen-group { margin-top: 2.7rem; }
.wissen-section-title { display: grid; grid-template-columns: 5.25rem 1fr auto; align-items: center; gap: .95rem; margin-bottom: .85rem; }
.wissen-section-title img { width: 100%; height: 3.75rem; object-fit: cover; border-radius: .65rem; }
.wissen-section-title h2 { margin: 0 0 .18rem; font-size: clamp(1.42rem, 3vw, 2rem); letter-spacing: -.035em; }
.wissen-section-title p { margin: 0; color: #44513e; }
.wissen-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.wissen-card { padding: 1.12rem; border: 1px solid #e7e5db; border-radius: .85rem; background: #fbf9f4; }
.wissen-card h3 { margin: 0 0 .45rem; font-size: 1.16rem; line-height: 1.2; letter-spacing: -.018em; }
.wissen-card p { margin: 0; font-size: .92rem; line-height: 1.45; color: #444f42; }
.wissen-card a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: .18em; }
.wissen-article-header { max-width: 58rem; padding-block: clamp(1rem, 3vw, 2.5rem) 1.4rem; }
.wissen-byline { font-size: .88rem; color: #425640; margin: .8rem 0 1.12rem; }
.wissen-article-layout { display: grid; grid-template-columns: minmax(0, 46rem) minmax(13.25rem, 18.5rem); gap: clamp(1rem, 4vw, 3.5rem); }
.wissen-prose { font-size: 1.04rem; line-height: 1.66; overflow-wrap: break-word; }
.wissen-prose h2, .wissen-aside h2, .product-wissen h2 { margin: 0 0 .65rem; font-size: clamp(1.21rem, 2vw, 1.62rem); letter-spacing: -.027em; scroll-margin-top: 1.25rem; }
.wissen-summary, .wissen-toc { padding: clamp(.9rem, 2.8vw, 1.5rem); border-radius: .8rem; }
.wissen-summary { background: #eaf0e1; }
.wissen-toc { border: 1px solid #e5e1d5; margin-top: 1rem; }
.wissen-summary ul, .wissen-toc ol { padding-inline-start: 1.3rem; margin: 0; }
.wissen-prose a, .wissen-aside a, .product-wissen a { color: var(--green-dark); text-decoration: underline; text-underline-offset: .18em; }
.wissen-text-section { margin-top: 2rem; }
.wissen-text-section p { margin: .55rem 0; }
.wissen-faq { padding-block: .62rem; border-bottom: 1px solid #ebe8dd; }
.wissen-faq summary { cursor: pointer; font-weight: 650; }
.wissen-sources { padding-inline-start: 1.3rem; margin: 0; }
.wissen-sources li + li { margin-top: .55rem; }
.wissen-sources span { display: block; font-size: .86rem; color: #465341; }
.wissen-aside { align-self: start; position: sticky; top: 1.25rem; display: grid; gap: .9rem; }
.wissen-aside section, .product-wissen { padding: 1rem; border: 1px solid #e7e5db; border-radius: .8rem; }
.wissen-aside h2 { font-size: 1.16rem; }
.wissen-aside ul, .product-wissen ul { padding-inline-start: 1.15rem; margin: 0; }
.wissen-aside li + li, .product-wissen li + li { margin-top: .5rem; }
.product-wissen { margin-block: 1.35rem; }
@media (max-width: 860px) {
  .wissen-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wissen-article-layout { grid-template-columns: minmax(0,1fr) minmax(12rem,.38fr); }
}
@media (max-width: 620px) {
  .wissen-wrap { padding-block: .7rem 2.5rem; }
  .wissen-hero { background: linear-gradient(90deg,#f1eddf 22%,#f1eddfd9 75%,#f1eddf90 100%),url("knowledge.webp") center / cover; }
  .wissen-section-title { grid-template-columns: 3.6rem 1fr; gap: .55rem; }
  .wissen-section-title img { height: 3.1rem; }
  .wissen-section-title > .text-link { grid-column: 2; justify-self: start; }
  .wissen-grid, .wissen-article-layout { grid-template-columns: 1fr; }
  .wissen-aside { position: static; margin-top: .7rem; }
  .wissen-tabs { margin-block: 1rem 1.35rem; gap: .4rem; }
  .wissen-tabs a { font-size: .8rem; padding: .43rem .63rem; }
}
.wissen-tabs { margin-bottom: .8rem; }
.wissen-applications { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2.1rem; }
.wissen-applications a { padding: .34rem .6rem; border-radius: .35rem; background: #eeeade; color: var(--green-dark); font-size: .82rem; font-weight: 650; }
.wissen-applications a:hover { text-decoration: underline; text-underline-offset: .14em; }
.wissen-applications a[aria-current="true"] { background: #dfe9d6; }
.wissen-article-applications { margin: 1.1rem 0 0; }
