:root {
  color-scheme: light;
  --ink: #142922;
  --muted: #52635d;
  --line: #dce6e1;
  --green: #0a9a73;
  --green-strong: #07775a;
  --green-dark: #00694e;
  --on-green: #041c16;
  --mint: #e7f6ef;
  --surface: #f4f9f7;
  --wrap: 1240px;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.sr-only, .toast:empty { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 8; top: 10px; left: 12px; padding: 10px 16px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.icon { width: 22px; height: 22px; display: block; flex: none; }
.inline { display: inline-flex; align-items: center; gap: 8px; }
.preview-label { margin-inline: auto; font-size: .8125rem; color: #684716; }
.masthead { min-height: 94px; display: grid; grid-template-columns: 238px minmax(240px, 560px) 1fr; gap: 28px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; color: var(--green); flex: none; }
.brand-mark .icon { width: 43px; height: 43px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.55rem; line-height: 1.12; letter-spacing: -.055em; color: inherit; }
.brand small { font-size: .8125rem; color: var(--muted); margin-top: 3px; }
.search { display: flex; min-width: 0; border: 1px solid #cedcd4; border-radius: 7px; overflow: hidden; height: 46px; background: #fff; }
.search:focus-within { border-color: var(--green-dark); box-shadow: 0 0 0 2px #0a9a732b; }
.search input { border: 0; background: transparent; padding: 0 15px; width: 100%; min-width: 0; color: var(--ink); }
.search input:focus { outline: none; }
.search input::placeholder { color: #586760; }
.search button { display: grid; place-items: center; width: 52px; flex: none; border: 0; color: var(--green-dark); background: #e9f5ef; }
.search button:focus-visible { outline-offset: -5px; }
.search button:hover { background: #d8efe5; }
.cart-button { justify-self: end; min-height: 44px; padding: 0 0 0 5px; background: transparent; border: 0; display: flex; align-items: center; gap: 15px; text-align: left; color: var(--ink); }
.cart-icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--green-dark); }
.cart-count { position: absolute; top: -6px; right: -7px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 4px; border: 1px solid #fff; border-radius: 20px; background: var(--green-strong); color: #fff; font-size: .75rem; font-weight: 700; }
.cart-label strong, .cart-label small { display: block; }
.cart-label small { color: var(--green-dark); font-size: .8125rem; }
.nav-band { background: var(--green-strong); color: #fff; }
.main-nav { display: flex; align-items: stretch; min-height: 54px; gap: 6px; justify-content: center; }
.main-nav a { display: flex; align-items: center; padding: 0 clamp(8px, 1.5vw, 21px); font-size: .9375rem; font-weight: 650; border-block: 3px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { color: #fff; background: var(--green-dark); border-bottom-color: #fff; }
.main-nav a:focus-visible { outline-color: #fff; outline-offset: -5px; }
.mobile-menu-button { display: none !important; }
.hero-grid { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.category-rail { align-self: start; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.category-rail button { display: flex; align-items: center; padding: 8px 11px; gap: 7px; width: 100%; min-height: 52px; border: 0; background: var(--green); color: #fff; text-align: left; font-size: 1.1875rem; font-weight: 700; line-height: 1.15; }
.category-rail button:focus-visible { outline-color: #fff; outline-offset: -5px; }
.category-rail .icon { width: 18px; height: 18px; }
.rail-chevron { margin-left: auto; transition: transform .15s ease; }
#category-toggle[aria-expanded="true"] .rail-chevron { transform: rotate(180deg); }
.rail-links { list-style: none; padding: 0; margin: 0; }
.rail-links li + li { border-top: 1px solid var(--line); }
.rail-links a { padding: 9px 13px; min-height: 46px; display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 550; }
.rail-links a:focus-visible { outline-offset: -4px; }
.rail-links a:hover { background: var(--surface); }
.rail-links .rail-arrow { margin-left: auto; color: #657b6f; }
.rail-links .rail-arrow .icon { width: 14px; height: 14px; }
.rail-links .rail-item-icon { color: var(--green); }
.rail-state { padding: 14px; font-size: .875rem; color: var(--muted); }
.rail-state .retry { display: block; margin-top: 7px; }
.hero { --hero-tint: #d8eeea; position: relative; min-height: 410px; display: grid; align-items: center; overflow: hidden; border-radius: 9px; isolation: isolate; background: var(--hero-tint); }
.hero[data-slide="1"] { --hero-tint: #e6f0fb; }
.hero-image { position: absolute; width: 100%; height: 100%; inset: 0; z-index: -2; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--hero-tint), color-mix(in srgb, var(--hero-tint) 90%, transparent) 27%, transparent 64%); pointer-events: none; }
.hero-copy { padding: 40px 44px 83px; max-width: 54%; }
.eyebrow { letter-spacing: .095em; text-transform: uppercase; font-size: .875rem; font-weight: 750; color: var(--green-dark); }
.hero h1 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.058em; line-height: 1.04; }
.hero-copy > p:not(.eyebrow) { margin-top: 15px; max-width: 31ch; color: #304e42; }
.hero-copy .button { margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 17px; border-radius: 5px; border: 1px solid transparent; font-weight: 700; font-size: .9375rem; text-align: center; }
.primary { background: var(--green); color: var(--on-green); }
.primary:hover { background: var(--green-dark); color: #fff; }
.outline { background: #fff; border-color: #bfd0c7; color: var(--green-dark); }
.outline:hover { background: var(--mint); }
.hero-controls { position: absolute; left: 44px; bottom: 24px; display: flex; align-items: center; gap: 7px; }
.hero-control { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: #ffffffb8; border: 1px solid #b6d6cc; border-radius: 50%; color: var(--green-dark); }
.hero-control:hover { background: #fff; }
.hero-control .icon { width: 17px; height: 17px; }
.hero-dots { display: flex; align-items: center; }
.hero-dots button { display: grid; place-items: center; border: 0; min-width: 25px; height: 32px; background: transparent; padding: 0; }
.hero-dots button::before { content: ""; display: block; width: 8px; height: 8px; border: 1px solid #346b57; background: transparent; border-radius: 50%; }
.hero-dots button[aria-current="true"]::before { background: var(--green-dark); }
.section { margin-top: 50px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(1.52rem, 2.5vw, 2.15rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
.text-link { color: var(--green-dark); font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #124437; }
.text-button { border: 0; background: transparent; min-height: 34px; padding: 0; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; min-height: 156px; }
.category-card { display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-align: center; font-weight: 650; font-size: .9rem; }
.category-card > span:last-child { display: grid; place-items: center; padding: 9px 6px; min-height: 46px; overflow-wrap: anywhere; }
.category-card:hover, .product-card:hover, .blog-card:hover { border-color: #83bba6; }
.media { position: relative; width: 100%; display: grid; place-items: center; background: #edf5f0; overflow: hidden; color: #527d69; }
.media .icon { width: 34px; height: 34px; }
.media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.category-card .media { min-height: 104px; aspect-ratio: 1.65; }
.category-card .media img { object-fit: cover; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 3px; }
.product-tabs button { border: 0; border-bottom: 3px solid transparent; padding: 6px 15px 4px; min-height: 43px; background: #fff; color: var(--muted); font-weight: 700; font-size: .9rem; }
.product-tabs button[aria-selected="true"] { color: var(--green-dark); border-color: var(--green); }
.product-tabs button:hover { color: var(--green-dark); background: var(--surface); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; min-height: 282px; }
.product-card { display: flex; flex-direction: column; min-width: 0; position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.product-card > a:focus-visible { outline-offset: -4px; }
.product-card .media { aspect-ratio: 4/3; }
.product-card .product-copy { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 14px; }
.product-card h3 { font-size: 1.025rem; overflow-wrap: anywhere; }
.product-category { font-size: .8125rem; color: var(--muted); overflow-wrap: anywhere; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; color: var(--green-dark); }
.price s { color: var(--muted); font-size: .8125rem; }
.sale-label { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 8px; background: var(--green-strong); border-radius: 4px; color: #fff; font-size: .8125rem; font-weight: 700; pointer-events: none; }
.product-copy .price { margin-bottom: 4px; }
.add-button { width: 100%; margin-top: auto; }
.add-button[data-added] { background: var(--mint); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.journal { background: var(--surface); padding: 1px 0 48px; margin-top: 48px; }
.journal .section { margin-top: 46px; }
.blog-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.blog-card .media { aspect-ratio: 2; }
.blog-copy { display: grid; align-content: start; gap: 9px; padding: 17px; }
.blog-copy h3 { font-size: 1.15rem; overflow-wrap: anywhere; }
.blog-copy time { font-size: .8125rem; color: var(--green-dark); font-weight: 650; }
.blog-copy p { color: var(--muted); overflow-wrap: anywhere; }
.notice { grid-column: 1 / -1; align-self: start; color: var(--muted); padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.retry { padding: 0; border: 0; min-height: 32px; background: none; color: var(--green-dark); text-decoration: underline; font-weight: 700; }
.placeholder { pointer-events: none; min-height: 156px; height: 100%; border: 1px solid #e3ebe6; border-radius: 8px; background: #f0f5f2; }
.product-grid .placeholder { min-height: 0; aspect-ratio: .92; }
.blog-grid { min-height: 242px; }
.blog-grid .placeholder { min-height: 242px; }
.footer { background: #102d25; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .9fr .9fr 1fr; gap: 26px; padding-block: 39px; }
.footer h2 { font-size: 1rem; margin: 5px 0 10px; }
.footer p, .footer small, .footer-grid > div > a:not(.brand) { color: #d2e2da; font-size: .9rem; }
.footer-grid > div > a:not(.brand) { display: table; margin-top: 8px; }
.footer-grid > div > a.inline { display: inline-flex; }
.footer .brand + p { margin-top: 13px; max-width: 29ch; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer a:focus-visible { outline-color: #b4ecd0; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 14px; border-top: 1px solid #ffffff35; font-size: .875rem; color: #d2e2da; }
.route-page { min-height: min(530px, 58vh); padding-block: 56px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--muted); }
.breadcrumb a { text-decoration: underline; }
.route-page h1 { font-size: clamp(2.25rem, 7vw, 3.6rem); letter-spacing: -.055em; }
.route-page p { margin-block: 16px 25px; color: var(--muted); }
.drawer { color: var(--ink); border: 0; border-left: 1px solid var(--line); margin: 0 0 0 auto; height: 100%; width: min(100%, 420px); max-width: 100%; max-height: 100%; padding: 21px; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer::backdrop { background: #0a261db0; }
.menu-drawer { margin: 0 auto 0 0; border-left: 0; border-right: 1px solid var(--line); max-width: 340px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.45rem; }
.icon-button { background: #fff; border: 1px solid var(--line); border-radius: 5px; color: var(--green-dark); display: inline-grid; place-items: center; padding: 0; width: 42px; height: 42px; }
.icon-button:hover { background: var(--mint); }
.drawer-nav { display: grid; margin-block: 12px; background: var(--green-strong); border-radius: 5px; overflow: hidden; }
.drawer-nav a { color: #fff; padding: 11px 12px; border-bottom: 1px solid #ffffff52; }
.drawer-nav a:hover, .drawer-nav a[aria-current] { background: var(--green-dark); color: #fff; }
.drawer-nav a:focus-visible { outline-color: #fff; outline-offset: -4px; }
.drawer-inquiries { color: var(--green-dark); font-weight: 700; }
.cart-lines { flex: 1; overflow-y: auto; }
.cart-lines > p { padding-block: 16px; }
.cart-footer { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 12px; }
.cart-footer p { display: flex; justify-content: space-between; gap: 10px; }
.toast:not(:empty) { position: fixed; z-index: 5; right: 17px; bottom: 17px; width: max-content; max-width: calc(100% - 34px); border-radius: 7px; padding: 12px 18px; background: #0e3a2d; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 1080px) {
  .masthead, .hero-grid { grid-template-columns: 208px minmax(0, 1fr); }
  .masthead { grid-template-columns: 208px minmax(0, 1fr) auto; gap: 20px; }
  .hero-copy { padding-inline: 30px; max-width: 61%; }
  .hero-controls { left: 30px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 325px; }
  .category-card .media { aspect-ratio: 2; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .masthead { min-height: 85px; grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto; }
  .hero-grid { grid-template-columns: 185px minmax(0, 1fr); gap: 15px; margin-top: 18px; }
  .hero { min-height: 365px; }
  .hero-copy { max-width: 69%; }
  .hero::before { background: linear-gradient(90deg, var(--hero-tint), color-mix(in srgb, var(--hero-tint) 92%, transparent) 38%, transparent 85%); }
  .cart-label { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .product-card .media { aspect-ratio: 1.65; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 30px); }
  .preview-label { font-size: .75rem; }
  .masthead { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 13px; padding-block: 12px; }
  .masthead .brand { justify-self: center; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-mark .icon { width: 35px; height: 35px; }
  .brand strong { font-size: 1.27rem; }
  .brand small { font-size: .75rem; }
  .masthead .brand strong, .masthead .brand small { overflow-wrap: anywhere; }
  .cart-button { grid-column: 3; grid-row: 1; }
  .search { grid-row: 2; grid-column: 1 / -1; }
  .nav-band { min-height: 4px; }
  .main-nav { display: none; }
  .mobile-menu-button { display: inline-grid !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; margin-top: 12px; }
  .category-rail button { min-height: 43px; }
  .hero { min-height: 330px; }
  .hero-copy { max-width: 78%; padding: 24px 17px 72px; }
  .hero h1 { font-size: clamp(1.9rem, 7.6vw, 2.9rem); }
  .hero-copy > p:not(.eyebrow) { font-size: .9375rem; margin-top: 10px; }
  .hero-copy .button { margin-top: 15px; }
  .hero-image { object-position: 60% center; }
  .hero::before { background: linear-gradient(90deg, var(--hero-tint), color-mix(in srgb, var(--hero-tint) 96%, transparent) 43%, color-mix(in srgb, var(--hero-tint) 50%, transparent) 73%, transparent); }
  .hero-controls { left: 17px; bottom: 17px; }
  .section, .journal { margin-top: 35px; }
  .section-heading { gap: 10px; margin-bottom: 13px; }
  .section-heading .text-link { text-align: right; }
  .category-grid { gap: 8px; min-height: 284px; }
  .category-card { font-size: .8125rem; }
  .category-card .media { min-height: 78px; aspect-ratio: 1.3; }
  .category-card > span:last-child { padding: 7px 4px; min-height: 53px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-card .media { aspect-ratio: 4/3; }
  .product-card .product-copy { padding: 10px; }
  .product-tabs button { padding-inline: 10px; }
  .blog-grid { grid-template-columns: 1fr; gap: 10px; }
  .journal { padding-bottom: 28px; }
  .journal .section { margin-top: 31px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 12px; padding-block: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 22px); }
  .hero-copy { max-width: 90%; }
  .product-card h3 { font-size: .925rem; }
  .product-tabs button { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Catalogue */
html[data-shop-entry] #home { display: none; }
html[data-shop-entry] #shop-page[hidden] { display: block !important; }
#shop-page { min-height: 100svh; }
.shop-banner {
  padding-block: clamp(28px, 4.7vw, 58px);
  background: radial-gradient(ellipse at 88% 0%, #c9e9e0, transparent 65%), #eaf5f0;
  border-bottom: 1px solid var(--line);
}
.shop-banner h1 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); letter-spacing: -.055em; }
.shop-banner .breadcrumb { margin: 12px 0 0; font-size: .9375rem; }
.shop-banner .breadcrumb [aria-current] { color: var(--ink); font-weight: 650; }
.shop-body {
  --catalogue-image-ratio: 1.25;
  display: grid;
  grid-template: "toolbar" auto "filters" auto "results" 1fr / minmax(0, 1fr);
  column-gap: 25px;
  row-gap: 17px;
  align-items: start;
  min-height: 450px;
  padding-block: 29px 48px;
}
.shop-body[data-layout="sidebar"], html[data-shop-entry="sidebar"] .shop-body {
  grid-template: "filters toolbar" auto "filters results" 1fr / minmax(215px, 248px) minmax(0, 1fr);
}
.shop-toolbar { grid-area: toolbar; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.shop-search { flex: 1 1 230px; max-width: 435px; }
.shop-tools { flex: 0 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.shop-layout-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.shop-layout-switch a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 5px 10px; font-size: .875rem; font-weight: 650; }
.shop-layout-switch a + a { border-inline-start: 1px solid var(--line); }
.shop-layout-switch .icon, .shop-filter-toggle .icon { width: 18px; height: 18px; }
.shop-layout-switch a:hover, .shop-layout-switch a[aria-current] { background: var(--mint); color: var(--green-dark); }
.shop-layout-switch a[aria-current] { box-shadow: inset 0 -2px var(--green); }
.shop-layout-switch a:focus-visible { outline-offset: -4px; }
.shop-sort { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: .875rem; font-weight: 650; }
.shop-sort span { flex: none; }
.shop-sort select, .shop-price input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid #bed0c5;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 6px 10px;
}
.shop-sort select { padding-inline-end: 26px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%2300694e' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center; }
.shop-filter-toggle { gap: 6px; padding-inline: 10px; }
.shop-body[data-layout="sidebar"] .shop-filter-toggle, html[data-shop-entry="sidebar"] .shop-filter-toggle { display: none; }
.shop-filter-panel { grid-area: filters; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.shop-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 15px; background: var(--surface); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.shop-filter-head h2 { font-size: 1.14rem; }
.shop-filter-head button { font-size: .8375rem; text-align: right; }
#shop-filters-form { display: grid; gap: 17px; padding: 15px; }
.shop-filter-panel fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.shop-filter-panel legend { padding: 0; margin-bottom: 6px; font-weight: 700; }
.shop-option { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 2px 3px; font-size: .9rem; cursor: pointer; }
.shop-option:is(:hover, :has(input:checked)) { color: var(--green-dark); }
.shop-option:has(input:checked) { font-weight: 700; }
.shop-option input { align-self: center; flex: none; margin: 0; width: 16px; height: 16px; accent-color: var(--green); }
.shop-category-name { min-width: 0; overflow-wrap: anywhere; }
.shop-category-count { margin-inline-start: auto; color: var(--muted); font-size: .8125rem; min-width: 25px; text-align: right; font-variant-numeric: tabular-nums; }
.shop-category-message { color: var(--muted); margin-block: 3px; font-size: .875rem; }
.shop-price-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shop-price-fields label { min-width: 0; color: var(--muted); font-size: .875rem; }
.shop-price input { display: block; width: 100%; margin-top: 3px; }
.shop-price input[aria-invalid="true"] { border-color: #9a3626; }
.shop-price .button { margin-top: 8px; width: 100%; }
.shop-price-error { color: #8c2819; font-size: .875rem; margin-top: 5px; }
.shop-price-error:empty { margin: 0; }
.shop-body[data-layout="grid"] #shop-filters-form { grid-template-columns: minmax(200px, 1fr) minmax(185px, 240px); align-items: start; gap: 24px; }
.shop-results { grid-area: results; min-width: 0; }
.shop-count { margin-bottom: 13px; color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; scroll-margin: 15px; }
#shop-category-feedback:not(:empty) { margin-bottom: 13px; }
#shop-category-feedback .notice { padding-block: 9px; }
#shop-category-feedback .retry, #shop-cards .retry { min-height: 44px; }
#shop-cards .notice a { display: inline-block; margin-top: 5px; }
.shop-product-grid { min-height: clamp(165px, 25vw, 345px); }
.shop-body[data-layout="sidebar"] .shop-product-grid, html[data-shop-entry="sidebar"] .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-product-grid .media, .shop-skeleton-photo { aspect-ratio: var(--catalogue-image-ratio); }
.shop-product-grid .product-copy { overflow-wrap: anywhere; }
.shop-product-grid .product-category { min-height: 1.5em; }
.shop-product-grid .product-copy h3 { min-block-size: 2.24em; }
.shop-skeleton { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.shop-skeleton-photo { display: block; background: #eaf3ef; }
.shop-skeleton-copy { display: block; height: 147px; background: linear-gradient(#eff5f2 0 0) 13px 15px / 58% 11px no-repeat, linear-gradient(#eff5f2 0 0) 13px 39px / 72% 13px no-repeat, linear-gradient(#eff5f2 0 0) 13px 69px / 42% 12px no-repeat; }
.shop-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 24px; }
.shop-pagination a, .shop-pagination span { display: inline-grid; place-items: center; min-width: 37px; min-height: 40px; padding: 4px 8px; font-size: .875rem; }
.shop-pagination a { border: 1px solid var(--line); border-radius: 5px; color: var(--green-dark); font-weight: 700; }
.shop-pagination a:hover { background: var(--mint); }
.shop-pagination a[aria-current] { background: var(--green-strong); border-color: var(--green-strong); color: #fff; }

@media (max-width: 1050px) {
  .shop-body { column-gap: 17px; }
  .shop-body[data-layout="sidebar"], html[data-shop-entry="sidebar"] .shop-body { grid-template-columns: 214px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .shop-body[data-layout="sidebar"], html[data-shop-entry="sidebar"] .shop-body { grid-template: "toolbar" auto "filters" auto "results" 1fr / minmax(0, 1fr); }
  .shop-body[data-layout="sidebar"] .shop-filter-toggle, html[data-shop-entry="sidebar"] .shop-filter-toggle { display: inline-flex; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-search { flex: initial; width: 100%; max-width: none; }
  .shop-body:is([data-layout="sidebar"], [data-layout="grid"]) .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #shop-filters-form, .shop-body[data-layout="grid"] #shop-filters-form { grid-template-columns: minmax(0, 1fr) minmax(166px, 1fr); gap: 14px; }
}
@media (max-width: 630px) {
  .shop-body { --catalogue-image-ratio: 1.15; padding-block: 17px 32px; row-gap: 12px; }
  .shop-toolbar { gap: 9px; }
  .shop-tools { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px; }
  .shop-layout-switch { justify-self: end; }
  .shop-sort { grid-column: 1 / -1; justify-content: space-between; }
  .shop-sort select { width: clamp(147px, 55%, 210px); }
  .shop-body:is([data-layout="sidebar"], [data-layout="grid"]) .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #shop-filters-form, .shop-body[data-layout="grid"] #shop-filters-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 10px; }
  .shop-categories { grid-column: 1 / -1; }
  .shop-price { grid-column: 1 / -1; }
  .shop-pagination a, .shop-pagination span { min-width: 33px; padding-inline: 6px; }
}

/* Product details */
html[data-product-entry] #home { display: none; }
html[data-product-entry] #product-detail[hidden] { display: block !important; }
#product-detail { min-height: 100svh; }
.detail-banner { background: #eaf5f0; border-bottom: 1px solid var(--line); }
.detail-banner .breadcrumb { min-height: 62px; margin-block: 0; padding-block: 10px; flex-wrap: wrap; font-size: .9375rem; }
.detail-banner [aria-current] { color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(25px, 5vw, 74px);
  padding-block: 34px 48px;
  align-items: start;
}
#product-detail[data-state="unavailable"] .detail-layout, #product-detail[data-state="error"] .detail-layout {
  grid-template-columns: minmax(0, 1fr);
}
.detail-visual { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #edf5f0; }
.detail-photo { aspect-ratio: 1; position: relative; display: grid; place-content: center; text-align: center; color: var(--muted); }
.detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.detail-photo .icon { width: 36px; height: 36px; margin: 0 auto 9px; color: var(--green-dark); }
.detail-zoom-trigger { position: absolute; right: 11px; bottom: 11px; gap: 6px; box-shadow: 0 2px 10px #102d2517; }
.detail-zoom-trigger .icon, .detail-add .icon, .detail-inquiry .icon { width: 20px; height: 20px; }
.detail-info { min-width: 0; }
.detail-info h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.054em; overflow-wrap: anywhere; }
#detail-status { margin-top: 13px; color: var(--muted); }
#detail-status:empty { display: none; }
.detail-error-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 20px; }
.detail-prices { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; margin-top: 14px; }
.detail-prices .price { column-gap: 11px; }
.detail-prices .price strong { font-size: clamp(1.52rem, 3vw, 2rem); }
.detail-prices .price s { font-size: .975rem; }
.detail-discount, .detail-availability { width: fit-content; padding: 4px 9px; border-radius: 5px; background: var(--mint); color: var(--green-dark); font-size: .875rem; font-weight: 700; }
.detail-availability { margin-top: 8px; }
.detail-meta { margin: 18px 0 0; padding-block: 11px; border-block: 1px solid var(--line); }
.detail-meta > div { display: grid; grid-template-columns: minmax(75px, 23%) minmax(0, 1fr); gap: 9px; padding-block: 3px; }
.detail-meta dt { color: var(--muted); }
.detail-meta dd { margin: 0; overflow-wrap: anywhere; }
.detail-description { margin-top: 15px; }
.detail-description h2 { font-size: 1.12rem; margin-bottom: 6px; }
.detail-description p { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
#detail-purchase { margin-top: 18px; }
#detail-purchase > label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; }
.detail-purchase-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: stretch; }
.detail-quantity-control { display: grid; grid-template-columns: 44px 48px 44px; border: 1px solid #bed0c5; border-radius: 6px; min-height: 46px; }
.detail-quantity-control > * { appearance: none; border: 0; padding: 0; min-width: 0; color: var(--ink); background: #fff; text-align: center; }
.detail-quantity-control button { font-size: 1.25rem; color: var(--green-dark); font-weight: 650; }
.detail-quantity-control button:first-child { border-radius: 6px 0 0 6px; }
.detail-quantity-control button:last-child { border-radius: 0 6px 6px 0; }
.detail-quantity-control button:disabled { color: var(--muted); background: var(--surface); cursor: default; }
.detail-quantity-control button:hover:not(:disabled) { background: var(--mint); }
.detail-quantity-control input { border-inline: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.detail-quantity-control input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #9a3626; }
.detail-quantity-control :focus-visible { outline-offset: -3px; }
.detail-add, .detail-inquiry { gap: 8px; }
.detail-add { min-height: 46px; min-width: 156px; }
.detail-add:disabled { opacity: .7; cursor: default; }
.detail-quantity-error, .detail-cart-status, .detail-estimate { font-size: .875rem; margin-top: 7px; color: var(--muted); }
.detail-quantity-error { color: #8c2819; }
.detail-quantity-error:empty, .detail-cart-status:empty { margin: 0; }
.detail-inquiry { margin-top: 13px; }
.detail-related { padding-block: 24px 48px; border-top: 1px solid var(--line); }
.detail-related .product-grid { min-height: 0; }

.detail-zoom {
  width: min(880px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
}
.detail-zoom[open] { display: flex; flex-direction: column; }
.detail-zoom::backdrop { background: #102d25bd; }
body:has(.detail-zoom[open]) { overflow: hidden; }
.detail-zoom .drawer-head { flex: none; }
.detail-zoom .drawer-head > div { display: flex; align-items: center; gap: 7px; }
.detail-zoom .drawer-head h2 { font-size: 1.12rem; }
.detail-zoom-body { margin-top: 11px; background: var(--surface); border-radius: 5px; overflow: auto; min-height: 45px; }
.detail-zoom-body img { display: block; width: 100%; max-height: min(69dvh, 720px); object-fit: contain; }
.detail-zoom-body[data-enlarged] img { width: 165%; max-width: none; max-height: none; }
.detail-zoom-status { color: var(--muted); margin-top: 7px; }
.detail-zoom-status:empty { display: none; }

@media (max-width: 760px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 21px 32px; }
  .detail-banner .breadcrumb { min-height: 48px; }
  .detail-related { padding-block: 21px 32px; }
}
@media (max-width: 460px) {
  .detail-add { flex: 1 1 125px; min-width: 0; }
  .detail-purchase-row { flex-wrap: nowrap; }
  .detail-inquiry { width: 100%; }
}

/* Shopping cart */
html[data-cart-entry] #home { display: none; }
html[data-cart-entry] #shopping-cart[hidden] { display: block !important; }
#shopping-cart { min-height: 100svh; }
.shopping-cart { padding-block: 32px 50px; }
.cart-message { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; margin-bottom: 12px; padding: 9px 13px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.cart-message .text-button { flex: none; }
.cart-empty { display: grid; gap: 18px; justify-items: center; padding: clamp(35px, 7vw, 92px) 20px; border: 1px solid var(--line); border-radius: 8px; text-align: center; background: var(--surface); }
.cart-empty .icon { width: 32px; height: 32px; color: var(--green-dark); }
.cart-empty h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); }
.shopping-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.shopping-table th { font-size: .9rem; background: var(--surface); text-align: left; padding: 14px 17px; }
.shopping-table th:first-child { width: 39%; border-radius: 8px 0 0 0; }
.shopping-table th:nth-child(2) { width: 16%; }
.shopping-table th:nth-child(3) { width: 19%; }
.shopping-table th:nth-child(4) { width: 17%; }
.shopping-table th:last-child { width: 9%; border-radius: 0 8px 0 0; text-align: center; }
.shopping-row td { border-top: 1px solid var(--line); padding: 13px 17px; vertical-align: middle; }
.shopping-row .basket-product { display: table-cell; }
.shopping-row .basket-remove { text-align: center; }
.shopping-row .basket-thumbnail { display: inline-block; vertical-align: middle; margin-right: 12px; width: 70px; }
.shopping-row .basket-product-copy { display: inline-flex; vertical-align: middle; width: calc(100% - 87px); }
.basket-thumbnail .media { aspect-ratio: 1; border-radius: 5px; }
.basket-thumbnail .media .icon { width: 22px; height: 22px; }
.basket-product-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.basket-product-copy a { font-weight: 700; overflow-wrap: anywhere; }
.basket-unit, .basket-subtotal { font-variant-numeric: tabular-nums; }
.basket-subtotal { font-weight: 750; }
.basket-unavailable, .basket-previous-price { color: #704218; font-size: .8125rem; line-height: 1.35; }
.basket-unavailable { padding: 3px 6px; background: #f9eee1; border-radius: 4px; font-weight: 700; }
.basket-previous-price:empty { display: none; }
.basket-stepper { width: max-content; display: grid; grid-template-columns: 41px 39px 41px; align-items: stretch; border: 1px solid #bed0c5; border-radius: 5px; }
.basket-stepper button, .basket-stepper .basket-amount { display: grid; place-items: center; min-height: 42px; padding: 0; text-align: center; }
.basket-stepper button { background: #fff; color: var(--green-dark); border: 0; border-radius: 4px; font-size: 1.14rem; font-weight: 700; }
.basket-stepper button:hover:not(:disabled) { background: var(--mint); }
.basket-stepper button:disabled { background: var(--surface); color: var(--muted); }
.basket-stepper .basket-amount { border-inline: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.basket-remove-button { width: 40px; height: 40px; }
.basket-remove-button .icon { width: 19px; height: 19px; }
.shopping-cart-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 15px; margin-block: 15px 24px; }
.shopping-summary { width: min(100%, 430px); margin-left: auto; border: 1px solid var(--line); border-radius: 8px; padding: 17px; background: var(--surface); }
.shopping-summary h2 { font-size: 1.37rem; }
.shopping-summary dl { margin-block: 15px 12px; }
.shopping-summary dl > div { display: flex; justify-content: space-between; gap: 9px; padding-block: 9px; border-top: 1px solid var(--line); }
.shopping-summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.shopping-estimate-row { font-size: 1.1rem; color: var(--green-dark); font-weight: 750; }
.shopping-checkout { width: 100%; }
.shopping-checkout:disabled, .mini-cart-actions button:disabled { opacity: .68; }
.shopping-summary p { margin-top: 7px; font-size: .875rem; color: var(--muted); }
.shopping-summary #shopping-delivery-message { margin-top: 0; }
.cart-confirm { width: min(440px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 8px; padding: 21px; color: var(--ink); }
.cart-confirm::backdrop { background: #0a261db0; }
.cart-confirm h2 { font-size: 1.4rem; }
.cart-confirm p { margin-block: 10px 18px; color: var(--muted); }
.cart-confirm form { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }

#cart-drawer .cart-message { margin: 8px 0 0; }
.cart-row { display: flex; flex-direction: column; gap: 7px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.cart-row .basket-product { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 10px; }
.cart-row .basket-unit { color: var(--muted); }
.cart-row .basket-quantity { display: flex; justify-content: space-between; gap: 7px; padding-left: 66px; }
.cart-row .basket-stepper { grid-template-columns: 35px 34px 35px; }
.cart-row .basket-stepper button, .cart-row .basket-stepper .basket-amount { min-height: 38px; }
.cart-footer small { color: var(--muted); font-size: .8125rem; }
.mini-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

@media (max-width: 880px) {
  .shopping-row td, .shopping-table th { padding-inline: 9px; }
  .shopping-row .basket-thumbnail { width: 58px; margin-right: 7px; }
  .shopping-row .basket-product-copy { width: calc(100% - 69px); }
  .shopping-table th:nth-child(3) { width: 21%; }
  .shopping-table th:first-child { width: 35%; }
  .shopping-table th:last-child { width: 11%; }
}
@media (max-width: 680px) {
  .shopping-cart { padding-block: 20px 33px; }
  .shopping-table, .shopping-table tbody { display: block; }
  .shopping-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .shopping-row { display: grid; grid-template-columns: minmax(0, 1fr) min-content 42px; grid-template-areas: "product product remove" "unit quantity quantity" "subtotal subtotal subtotal"; gap: 8px; padding: 11px; align-items: center; }
  .shopping-row + .shopping-row { border-top: 1px solid var(--line); }
  .shopping-row td { display: block; border: 0; padding: 0; }
  .shopping-row .basket-product { grid-area: product; display: block; }
  .shopping-row .basket-unit { grid-area: unit; color: var(--muted); font-size: .9rem; }
  .shopping-row .basket-unit::before { content: "Each "; }
  .shopping-row .basket-quantity { grid-area: quantity; justify-self: end; }
  .shopping-row .basket-remove { grid-area: remove; justify-self: end; }
  .shopping-row .basket-subtotal { grid-area: subtotal; border-top: 1px solid var(--line); padding-top: 7px; display: flex; justify-content: space-between; gap: 7px; }
  .shopping-row .basket-subtotal::before { content: "Item subtotal"; color: var(--muted); font-size: .9rem; font-weight: 500; }
  .basket-stepper { grid-template-columns: 44px 36px 44px; }
  .basket-stepper button, .basket-stepper .basket-amount { min-height: 44px; }
  .basket-remove-button { width: 42px; height: 44px; }
  .cart-row .basket-stepper { grid-template-columns: 44px 34px 44px; }
  .cart-row .basket-stepper button, .cart-row .basket-stepper .basket-amount { min-height: 44px; }
}

/* Checkout and confirmation */
html[data-order-entry] #home { display: none; }
html[data-order-entry="checkout"] #checkout-page[hidden],
html[data-order-entry="receipt"] #receipt-page[hidden] { display: block !important; }
.order-page { min-height: 100svh; }
.order-body { padding-block: 30px 52px; }
.order-demo { padding: 10px 14px; margin-bottom: 16px; background: #fcf4e9; color: #644019; border: 1px solid #ebd8bf; border-radius: 6px; overflow-wrap: anywhere; white-space: pre-wrap; }
.order-card { padding: 22px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.order-card h2 { font-size: 1.36rem; margin-bottom: 16px; }
.order-gate { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--surface); }
.order-gate p { flex: 1 0 100%; margin-bottom: 4px; color: var(--muted); }
#checkout-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .62fr); gap: 22px; align-items: start; }
.checkout-fields { display: grid; gap: 16px; }
.order-fields, .order-payment { border: 0; margin: 0; padding: 0; min-width: 0; }
.order-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.order-wide { grid-column: 1 / -1; }
.order-field { font-weight: 650; display: block; min-width: 0; }
.order-field input, .order-field textarea {
  display: block; width: 100%; margin-top: 5px; min-height: 44px; padding: 9px 11px;
  border: 1px solid #a9c1b4; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-weight: 400;
}
.order-field textarea { resize: vertical; }
.order-field [aria-invalid="true"] { border-color: #965133; }
.order-optional { font-size: .89rem; color: var(--muted); font-weight: 400; }
.order-field-error { display: block; margin-top: 4px; color: #8d3418; font-size: .87rem; font-weight: 500; }
.order-payment { display: grid; gap: 9px; }
.order-method { border: 1px solid var(--line); border-radius: 6px; }
.order-method:has(input:checked) { border-color: var(--green-dark); background: #f6faf8; }
.order-method label { min-height: 46px; padding: 11px 13px; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; cursor: pointer; }
.order-method input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--green-dark); }
.order-method small, .order-items small { display: block; font-size: .875rem; color: var(--muted); }
.payment-needs-review { border-color: var(--green-strong); box-shadow: 0 0 0 2px var(--mint); }
.order-payment-alert { margin-bottom: 11px; padding: 9px 12px; border-radius: 5px; background: var(--mint); color: var(--green-dark); font-weight: 650; scroll-margin-block: 16px; }
.order-advance { padding: 13px; border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 5px 5px; overflow-wrap: anywhere; }
.order-advance h3 { font-size: 1.06rem; }
.order-advance > p { margin-top: 9px; white-space: pre-wrap; }
.order-advance .receipt-details { margin-bottom: 9px; }
.order-payment-notice { margin-block: 8px; padding: 10px 13px; border-radius: 5px; background: var(--surface); color: var(--ink); font-size: .89rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.order-payment-notice p + p { margin-top: 5px; }
.order-notice-lead { font-style: italic; }
.order-summary { width: 100%; margin: 0; padding: 20px; }
.order-items { padding: 0; margin: 11px 0 0; list-style: none; }
.order-items li { min-height: 64px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding-block: 9px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.order-items li:first-child { border-top: 0; }
.order-items .media { aspect-ratio: 1; border-radius: 5px; }
.order-items .icon { width: 19px; height: 19px; }
.order-line-total { text-align: right; font-variant-numeric: tabular-nums; font-size: .9rem; }
.order-summary a.button { margin-top: 8px; }
.order-summary #checkout-feedback { color: var(--ink); margin: 0 0 8px; }
#checkout-feedback:empty { display: none; }
.checkout-processing { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; padding: 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.checkout-processing strong { color: var(--green-dark); }
.checkout-processing p { margin: 3px 0 0; color: var(--muted); font-size: .875rem; }
.checkout-spinner { width: 19px; height: 19px; flex: none; margin-top: 2px; border: 2px solid var(--line);
  border-top-color: var(--green-dark); border-radius: 50%; animation: checkout-spin .8s linear infinite; }
@keyframes checkout-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .checkout-spinner { animation: none; } }
.checkout-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.receipt-body { max-width: 850px; }
.receipt-card { padding: clamp(15px, 4vw, 35px); overflow-wrap: anywhere; }
.receipt-card h2 { margin-bottom: 6px; font-size: 1.65rem; }
.receipt-card h3 { font-size: 1.17rem; margin-top: 13px; }
.receipt-intro, .receipt-transfer > p, .receipt-transfer > small { margin-bottom: 14px; color: var(--muted); }
.receipt-details { margin-block: 10px 18px; }
.receipt-details > div { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.1fr); align-items: center; gap: 9px; padding-block: 9px; border-top: 1px solid var(--line); }
.receipt-details dd { margin: 0; overflow-wrap: anywhere; }
.receipt-copy { margin-left: 7px; }
.receipt-totals { padding: 4px 14px; background: var(--surface); border-radius: 5px; }
.receipt-totals > div:first-child { border-top: 0; }
.receipt-totals dd { text-align: right; }
.receipt-transfer { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 15px; margin-bottom: 16px; }
.receipt-transfer h3 { margin: 0; }
.receipt-transfer p { white-space: pre-wrap; }
.receipt-transfer small { display: block; margin: 8px 0 0; }
.receipt-transfer .order-demo { margin: 12px 0 0; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.receipt-status:empty { display: none; }
.receipt-status { margin-top: 8px; color: var(--muted); }
@media (max-width: 780px) {
  #checkout-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .order-body { padding-block: 18px 34px; }
  .order-card, .order-summary { padding: 15px; }
}
@media (max-width: 490px) {
  .order-fields { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .receipt-details > div { grid-template-columns: minmax(0, .86fr) minmax(0, 1.15fr); }
  .receipt-copy { display: block; margin-left: 0; }
}
@media print {
  body:has(#receipt-content:not([hidden])) > :is(header, footer, dialog, .skip-link, #cart-feedback) { display: none !important; }
  #receipt-page .shop-banner, .receipt-copy, .receipt-actions, .receipt-whatsapp, .receipt-status { display: none !important; }
  #receipt-page, #receipt-page .order-body { min-height: 0; color: #111; padding: 0; width: 100%; }
  .receipt-card, .receipt-transfer { border: 0; padding: 0; background: #fff; }
  .receipt-details > div { break-inside: avoid; }
}

/* Articles, FAQ, contact and policy pages */
html[data-info-entry] #home { display: none; }
html[data-info-entry] #route-page[hidden] { display: block !important; }
.info-page { min-height: 100svh; }
.info-page .shop-banner h1 { overflow-wrap: anywhere; }
.info-page .breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
.site-body { padding-block: 30px 54px; }
.site-split { display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(235px, 1fr); gap: 22px; align-items: start; }
.site-panel { border: 1px solid var(--line); border-radius: 8px; padding: clamp(14px, 2.4vw, 24px); min-width: 0; }
.site-panel h2 { font-size: 1.28rem; line-height: 1.3; margin-bottom: 10px; }
.site-muted, .site-feedback { color: var(--muted); }
.site-feedback { margin-top: 8px; overflow-wrap: anywhere; }
.site-feedback:empty { display: none; }
.site-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-prose { line-height: 1.75; overflow-wrap: anywhere; }
.site-prose p + p { margin-top: 13px; }
.site-prose section + section { margin-top: 20px; }
.site-prose > .button { margin-top: 18px; }
.blog-layout { grid-template-areas: "results search"; }
.blog-results { grid-area: results; min-width: 0; }
.blog-status { color: var(--muted); margin-bottom: 9px; }
.blog-search { grid-area: search; background: var(--surface); }
.blog-search label { display: block; font-weight: 750; margin-bottom: 7px; }
.blog-search-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; }
.blog-search-controls input, .contact-field :is(input, textarea) {
  display: block; width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid #a9c1b4;
  border-radius: 5px; background: #fff; color: var(--ink); font: inherit;
}
.blog-search-controls .button { padding-inline: 12px; }
.blog-search > .text-link { display: inline-block; margin-top: 12px; }
.blog-feed { display: grid; gap: 20px; }
.blog-feed-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.blog-feed-card > .media, .blog-article > .media { aspect-ratio: 2.45; }
.blog-feed-card > .media img, .blog-article > .media img { object-position: center 42%; }
.blog-feed-copy { padding: clamp(14px, 2.6vw, 25px); overflow-wrap: anywhere; }
.blog-feed-copy h2 { font-size: clamp(1.22rem, 2.8vw, 1.77rem); line-height: 1.25; }
.blog-feed-copy p { margin-top: 8px; color: var(--muted); }
.blog-meta { display: flex; gap: 4px 14px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; font-weight: 550; overflow-wrap: anywhere; }
.blog-meta:empty { display: none; }
.blog-feed-copy .blog-meta { margin-bottom: 7px; }
.blog-more { display: inline-block; margin-top: 12px; }
.blog-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.blog-pagination:empty { display: none; }
.blog-article, .related-articles { max-width: 870px; margin-inline: auto; }
.blog-article > .media { margin-block: 12px 18px; border-radius: 7px; }
.blog-prose { max-width: 72ch; margin-block: 12px 19px; white-space: pre-line; }
.blog-lead { color: var(--muted); font-weight: 600; font-size: 1.07rem; }
.related-articles { margin-top: 22px; background: var(--surface); }
.related-articles ul { padding-left: 19px; margin-top: 6px; }
.related-articles li + li { margin-top: 6px; }
.faq-accordion { border: 1px solid var(--line); }
.faq-question { overflow-wrap: anywhere; }
.faq-question + .faq-question { border-top: 1px solid var(--line); }
.faq-question summary { min-height: 55px; padding: 8px 12px 8px 17px; display: flex; align-items: center; justify-content: space-between; gap: 9px; font-weight: 550; cursor: pointer; list-style: none; }
.faq-question summary::-webkit-details-marker { display: none; }
.faq-question summary:focus-visible { outline-offset: -4px; border-radius: 6px; }
.faq-question summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 4px; background:
  linear-gradient(var(--green-dark), var(--green-dark)) center / 12px 2px no-repeat,
  linear-gradient(var(--green-dark), var(--green-dark)) center / 2px 12px no-repeat, var(--surface); }
.faq-question[open] summary::after { background-size: 12px 2px, 0 0, auto; }
.faq-answer { padding: 2px 13px 13px; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.faq-question summary { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .faq-question[open] .faq-answer { animation: faq-open .13s ease-out both; }
  @keyframes faq-open { from { opacity: .4; } to { opacity: 1; } }
}
.faq-support { background: var(--surface); }
.faq-support p { color: var(--muted); margin-bottom: 14px; }
.faq-support .button { margin: 0 5px 6px 0; }
.contact-layout { display: grid; gap: 17px; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card { text-align: center; overflow-wrap: anywhere; }
.contact-card :is(p, address, a) { display: block; margin-top: 4px; }
.contact-card address { font-style: normal; white-space: pre-line; }
.contact-card p { white-space: pre-line; }
.contact-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 6px; margin-bottom: 8px; background: var(--mint); color: var(--green-dark); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 15px; }
.contact-field label { display: block; font-weight: 680; margin-bottom: 5px; }
.contact-field textarea { resize: vertical; }
.contact-field [aria-invalid] { border-color: #965133; }
.contact-wide { grid-column: 1 / -1; }
.contact-draft { padding: 13px; background: var(--surface); border-radius: 6px; overflow-wrap: anywhere; }
.contact-draft-text { white-space: pre-wrap; margin-block: 7px 11px; }
.policy-copy { max-width: 80ch; }
.policy-links { background: var(--surface); }
.policy-links a { display: block; padding-block: 4px; }
.policy-links [aria-current="page"] { font-weight: 750; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 2px 19px; margin-block: 16px 6px; }
.footer-policies a { margin: 0; }
@media (max-width: 790px) {
  .site-body { padding-block: 18px 34px; }
  .site-split { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .blog-layout { grid-template-areas: "search" "results"; }
  .blog-feed { gap: 13px; }
}
@media (max-width: 570px) {
  .contact-details, .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-card { text-align: left; }
  .contact-icon { float: left; margin-right: 10px; }
  .contact-card h2 { padding-top: 7px; margin-bottom: 11px; }
  .contact-card > :is(p, a, address) { clear: both; }
  .blog-feed-card > .media, .blog-article > .media { aspect-ratio: 1.85; }
}

/* Pharma Care storefront */
.header-search { position: relative; min-width: 0; }
.header-search .search { border-radius: 999px; border-color: #e1e6e3; box-shadow: 0 1px 5px #152d2426; }
.header-search .search:focus-within { border-color: var(--green-dark); box-shadow: 0 0 0 2px #0a9a732b; }
.header-search .search input { padding-inline-start: 20px; font-size: .95rem; }
.header-search .search button { width: 47px; color: var(--ink); background: #fff; }
.header-search .search button:hover { background: var(--mint); }
.header-search .search .icon { width: 20px; height: 20px; }
.search-suggestions { position: absolute; z-index: 5; top: calc(100% + 6px); inset-inline: 0; max-height: 48svh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 7px 22px #132a2521; }
.search-option { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; padding: 7px 12px; overflow-wrap: anywhere; }
.search-option + .search-option { border-top: 1px solid var(--line); }
.search-option .media { height: 40px; border-radius: 5px; }
.search-option .media img { object-fit: contain; }
.search-option .media .icon { width: 21px; height: 21px; }
.search-option-copy small { display: block; color: var(--muted); }
.search-option-price { color: var(--green-dark); font-weight: 680; font-size: .875rem; }
.search-option:hover, .search-option[aria-selected="true"] { color: var(--green-dark); background: var(--mint); }
.home-section-heading { margin-bottom: clamp(17px, 3vw, 37px); text-align: center; }
.home-section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.85rem); letter-spacing: -.035em; font-weight: 550; }
.home-more-link { display: table; margin: 18px auto 0; }
.home-products .product-tabs { justify-content: safe center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; gap: 0; margin-bottom: clamp(16px, 3vw, 38px); }
.home-products .product-tabs button { position: relative; flex: none; padding-inline: clamp(13px, 2vw, 27px); text-transform: uppercase; letter-spacing: .025em; }
.home-products .product-tabs button + button::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 1px; height: 13px; transform: translateY(-50%); background: #c5d2cd; }
.home-products .product-tabs button:focus-visible { outline-offset: -3px; }
.home-products .product-grid { gap: clamp(9px, 2.1vw, 28px); }
.home-products .product-card { border-radius: 2px; }
.home-products .product-card .media { aspect-ratio: 1.08; background: #fafcfb; }
.home-products .product-card .media img { box-sizing: border-box; padding: 7%; object-fit: contain; }
.home-products .product-card .product-copy { text-align: center; align-items: center; padding: 13px 10px 17px; }
.home-products .product-copy .price { justify-content: center; }
.home-products .product-card .add-button { width: auto; }
.home-products .product-card .sale-label { left: auto; right: 10px; border-radius: 2px; }
.home-featured { margin-top: clamp(30px, 5vw, 65px); padding-block: clamp(27px, 6vw, 73px); background: #eef5f3; }
.home-featured .section { margin-top: 0; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.15vw, 30px); }
.featured-card { flex-direction: row; align-items: center; background: #fff; border-radius: 2px; min-height: 150px; padding: clamp(8px, 2vw, 23px); gap: 13px; }
.featured-card > a { width: clamp(66px, 8vw, 98px); flex: none; }
.featured-card > a .media { aspect-ratio: 1; }
.featured-card > a img { object-fit: contain; }
.featured-card .product-copy { min-width: 0; flex: 1; padding: 0; }
.featured-card .add-button { width: fit-content; }
.custom-medicine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(17px, 4.5vw, 44px); border-radius: 8px; border: 1px solid var(--line); background: linear-gradient(105deg, var(--mint), #f1f9f6); }
.custom-medicine h2 { font-size: clamp(1.55rem, 3.2vw, 2.18rem); letter-spacing: -.03em; }
.custom-medicine p { margin-top: 8px; color: var(--muted); }
.custom-medicine .button { gap: 7px; }
.shop-body[data-category-landing] { grid-template: "toolbar" auto "results" auto / minmax(0, 1fr); }
.shop-category-landing { grid-area: results; }
.shop-category-landing h2 { margin: 10px 0 20px; text-align: center; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.shop-category-landing .category-grid { min-height: 0; }
#shop-back-categories { display: inline-block; margin: 1px 0 10px; }
.faq-layout { grid-template-columns: minmax(0, 890px); justify-content: center; gap: 26px; }
.faq-answer { padding-inline: 17px; }
.custom-medicine-page { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); max-width: 1080px; margin-inline: auto; padding: 0; overflow: hidden; background: var(--surface); }
.medicine-photo { position: relative; background: var(--mint); }
.medicine-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.medicine-fields { display: grid; align-content: start; gap: 15px; min-width: 0; padding: clamp(18px, 4vw, 46px); }
.medicine-fields h2 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -.02em; }
.medicine-request-actions { display: grid; gap: 8px; }
.medicine-request-actions .button { justify-self: start; background: var(--green-strong); color: #fff; }
.medicine-request-actions .button:hover { background: var(--green-dark); }
.medicine-request-actions p:empty { display: none; }
@media (max-width: 700px) {
  .custom-medicine-page { grid-template-columns: minmax(0, 1fr); }
  .medicine-photo { aspect-ratio: 4 / 3; }
  .medicine-request-actions .button { width: 100%; }
}
.faq-support { text-align: center; padding: clamp(20px, 4vw, 38px); }
.faq-support h2 { font-size: clamp(1.42rem, 3vw, 2.05rem); font-weight: 800; }
.faq-support .button { margin-inline: 0; }
.faq-support-phone { display: table; margin: 8px auto 0; color: var(--green-dark); font-weight: 700; }
.footer #footer-email, .footer #footer-phone { overflow-wrap: anywhere; }
.footer-credit { display: grid; gap: 4px; justify-items: center; padding: 1px 0 18px; text-align: center; color: #e1efea; font-size: .875rem; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }
.mini-cart-actions { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .header-search { grid-row: 2; grid-column: 1 / -1; }
  .home-products .product-tabs button { font-size: .8rem; }
  .shop-body[data-category-landing] .shop-tools { display: flex; }
}
@media (max-width: 570px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { min-height: 112px; }
  .featured-card > a { width: 79px; }
}
