@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Jakarta;
  src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #0f293a;
  --green: #15803d;
  --deep: #116233;
  --muted: #53646c;
  --line: #dce4e3;
  --wash: #f5f8f7;
  --amber: #986000;
  --wrap: 1352px;
  color: var(--ink);
  font:
    16px/1.55 Inter,
    Arial,
    sans-serif;
  scroll-padding-top: 160px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
svg.icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
i[data-icon] {
  display: inline-flex;
  font-style: normal;
  align-items: center;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
button,
a {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #42a879;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4,
.brand {
  font-family: Jakarta, Inter, Arial, sans-serif;
}
h1,
h2,
h3 {
  line-height: 1.17;
  letter-spacing: -0.044em;
}
h2 {
  font-size: clamp(1.55rem, 2.25vw, 2.15rem);
  font-weight: 800;
}
h3 {
  font-size: 1.18rem;
}
.wrap {
  width: min(var(--wrap), calc(100% - clamp(40px, 9vw, 152px)));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 10px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 5px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
}
.topbar {
  background: var(--ink);
  color: #f3f9f8;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 31px;
  gap: 16px;
  font-size: 0.72rem;
  font-weight: 500;
}
.top-inner > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.top-inner b {
  font-weight: 600;
}
.top-inner i {
  color: #a5d8b9;
}
.mast {
  height: 80px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
}
.brand {
  width: clamp(164px, 17vw, 245px);
  flex: none;
}
.brand img {
  width: 100%;
  height: auto;
}
.search {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #f6f8f8;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  height: 43px;
  max-width: 640px;
  flex: 1;
  color: #607077;
}
.search input {
  border: 0;
  outline: none;
  background: none;
  width: 100%;
  min-width: 0;
  font-size: 0.85rem;
}
.search:focus-within {
  outline: 2px solid var(--green);
}
.search kbd {
  border: 1px solid #cfd9d7;
  background: white;
  color: #879493;
  padding: 0 6px;
  border-radius: 3px;
}
.help-link,
.cart-trigger {
  font-size: 0.83rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.help-link {
  margin-left: auto;
}
.cart-trigger {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
}
.cart-trigger span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  align-items: start;
}
.cart-trigger strong {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
#cart-count {
  background: #e7f3e9;
  color: var(--deep);
  min-width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.71rem;
}
.site-nav {
  border-block: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  gap: clamp(18px, 3.2vw, 58px);
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 650;
  min-height: 43px;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
}
.site-nav .current,
.site-nav a:hover {
  color: var(--deep);
  border-bottom-color: var(--green);
}
.hero {
  padding: clamp(22px, 2.1vw, 35px) 0;
  background: #f2f5f0;
  border-bottom: 1px solid #e0e6de;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3.2vw, 65px);
  align-items: stretch;
}
.hero-copy {
  padding: clamp(12px, 2.1vw, 37px) 0;
  align-self: center;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--deep);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 750;
}
.kicker-line {
  width: 25px;
  height: 2px;
  background: var(--green);
}
.hero h1 {
  font-size: clamp(2.5rem, 3.95vw, 3.75rem);
  letter-spacing: -0.061em;
  line-height: 1.065;
  margin: 16px 0 15px;
  font-weight: 800;
}
.hero h1 > span {
  color: var(--deep);
  display: block;
}
.hero h1 small {
  display: block;
  font-size: clamp(0.96rem, 1.25vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-top: 15px;
  font-weight: 720;
}
.hero-copy p {
  font-size: clamp(0.9rem, 1.06vw, 1.04rem);
  line-height: 1.65;
  color: #4a5e62;
  max-width: 580px;
  text-wrap: pretty;
}
.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-actions {
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 650;
  line-height: 1.3;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 13px 17px;
  min-height: 43px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: var(--deep);
}
.secondary {
  background: white;
  border-color: #ccd6d2;
}
.secondary:hover {
  background: #eff5f0;
  border-color: #a6bfaf;
}
.hero-image {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  overflow: hidden;
  border-radius: 11px;
  background: #d0d8c8;
}
.hero-image > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 58% 55%;
}
.hero-image figcaption {
  position: absolute;
  left: 19px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.94);
  padding: 9px 13px;
  border-radius: 6px;
  box-shadow: 0 3px 12px #0f293a18;
}
.hero-image figcaption > svg {
  color: var(--green);
}
.hero-image figcaption span {
  display: grid;
}
.hero-image figcaption small {
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  color: #566a61;
  font-weight: 750;
}
.hero-image figcaption b {
  font-size: 0.76rem;
  font-weight: 700;
}
.photo-cross {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: white;
  font: 22px/1 monospace;
}
.trust {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 18px;
}
.trust-grid > span,
.trust-grid > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 610;
  border-right: 1px solid var(--line);
}
.trust-grid > :first-child {
  justify-content: flex-start;
}
.trust-grid > :last-child {
  border: 0;
}
.trust svg {
  color: var(--deep);
}
.cats {
  padding-block: 34px 36px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title > span,
#results {
  font-size: 0.8rem;
  color: var(--muted);
}
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.category-tile {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 80px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.category-tile:hover,
.card:hover {
  border-color: #9bb6a5;
  box-shadow: 0 4px 14px #1733180a;
}
.cat-icon {
  background: #eaf3ec;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 8px;
  color: #296144;
}
.category-tile:nth-child(2) .cat-icon {
  background: #fff3dd;
  color: #91621e;
}
.category-tile:nth-child(3) .cat-icon {
  background: #e9eff3;
  color: #3c5a70;
}
.category-tile:nth-child(4) .cat-icon {
  background: #e2f1ef;
  color: #25766f;
}
.category-tile b,
.category-tile small {
  display: block;
}
.category-tile b {
  font-family: Jakarta, Inter, sans-serif;
  font-size: 0.88rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.category-tile small {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 4px;
}
.catalog-section,
.faq-section {
  background: var(--wash);
  border-block: 1px solid var(--line);
  padding: 38px 0 50px;
}
.catalog-title {
  margin-bottom: 19px;
}
.catalog-title h2 {
  margin-top: 7px;
}
.sort {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
}
.sort select {
  border: 0;
  min-height: 37px;
  font-size: 0.78rem;
  padding: 5px 23px 5px 2px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chip {
  font-size: 0.77rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 6px 13px;
  text-decoration: none;
  font-weight: 600;
}
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
#results {
  margin: 15px 0 12px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: white;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
}
.product-photo {
  background: #eef1ed;
  position: relative;
  display: block;
  aspect-ratio: 1.4;
  overflow: hidden;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.product-photo:hover img {
  transform: scale(1.035);
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: #fcf0cc;
  color: #74501e;
  border: 1px solid #e4ca85;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  color: #597264;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  font-weight: 750;
}
.card h3 {
  margin: 7px 0;
  font-size: 1.07rem;
  line-height: 1.35;
}
.card h3 a {
  text-decoration: none;
}
.features {
  padding-left: 16px;
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
}
.features li::marker {
  color: var(--green);
}
.stock {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--deep);
  margin-top: auto;
}
.stock:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
}
.stock.out {
  color: #805c2a;
}
.stock.out:before {
  background: #986000;
}
.card-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 11px;
}
.card-price b {
  font:
    800 1.4rem Jakarta,
    sans-serif;
}
.card-price small,
.card-body .saving {
  font-size: 0.68rem;
}
.saving {
  color: var(--deep);
}
.card-actions {
  margin-top: 13px;
  gap: 7px;
}
.card-actions .secondary {
  flex: 1;
}
.card-actions .btn {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
}
.guide,
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(20px, 5vw, 85px);
}
.guide {
  padding-block: 58px;
}
.guide img {
  width: 100%;
  border-radius: 10px;
}
.guide h2,
.faq-layout h2 {
  margin: 9px 0 14px;
}
.guide p,
.faq-layout p {
  color: var(--muted);
  margin-bottom: 12px;
}
.text-link,
.faq-layout > div > a {
  color: var(--deep);
  font-weight: 650;
}
.faq-layout {
  align-items: start;
  grid-template-columns: 0.75fr 1.25fr;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  color: var(--green);
}
details[open] summary:after {
  content: "−";
}
details p {
  margin-top: 10px;
  font-size: 0.9rem;
}
footer {
  background: var(--ink);
  color: #f3f7fa;
  padding: 40px 0 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 25px;
}
.foot-grid h3 {
  font-size: 0.94rem;
  margin: 5px 0 14px;
  letter-spacing: 0;
}
.foot-grid p,
.foot-grid a:not(.foot-brand) {
  font-size: 0.8rem;
  color: #d1dce0;
  display: block;
  margin: 6px 0;
  text-decoration: none;
}
.foot-grid a:hover {
  text-decoration: underline;
}
.foot-brand {
  font:
    800 1.48rem Jakarta,
    sans-serif;
  text-decoration: none;
}
.foot-brand span {
  color: #90d5a6;
}
.foot-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #78909960;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.foot-bottom small {
  font-size: 0.7rem;
  color: #d0dce0;
}
.detail {
  padding-block: 22px 60px;
}
.crumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 80px);
  align-items: start;
}
.detail-photo {
  background: var(--wash);
  border-radius: 12px;
  overflow: hidden;
}
.detail-photo img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: contain;
}
.detail h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-block: 12px;
}
.detail-grid p {
  margin-block: 12px;
}
.detail-grid .stock {
  margin-block: 16px;
}
.detail-grid small {
  color: var(--muted);
}
label:not(.sort) {
  font-size: 0.83rem;
  font-weight: 600;
}
input:not([type="checkbox"], [type="radio"], [type="search"]),
select,
textarea {
  background-color: white;
  border: 1px solid #bfcac9;
  border-radius: 5px;
  padding: 9px 10px;
  min-height: 41px;
  width: 100%;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23395259' stroke-width='1.5'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.tiers {
  border: 0;
  margin: 16px 0;
  padding: 0;
}
.tiers legend {
  font-weight: 650;
  font-size: 0.86rem;
  margin-bottom: 6px;
}
#tier-options {
  display: flex;
  gap: 8px;
}
.tier {
  flex: 1;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}
.tier:has(:checked) {
  border-color: var(--green);
  background: #f1f8f2;
}
.tier b,
.tier small {
  display: block;
}
.tier input {
  margin: 0 2px 0 0;
}
.tier small {
  font-size: 0.71rem;
}
.discount-box,
.demo-note,
.ship-meter {
  padding: 12px 15px;
  background: #edf6ef;
  color: var(--deep);
  border-radius: 6px;
  font-size: 0.84rem;
}
.wide {
  width: 100%;
}
.tabs {
  margin: 40px 0;
}
.tabs [role="tablist"] {
  display: flex;
  overflow: auto;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  white-space: nowrap;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
}
.tabs [aria-selected="true"] {
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}
#tab-panel {
  padding: 20px;
  background: var(--wash);
}
.spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
}
.spec dt {
  font-weight: 600;
}
.spec dd {
  margin: 0;
}
.detail > .product-grid {
  margin-top: 15px;
}
dialog {
  border: 0;
  box-shadow: 0 20px 100px #0b202733;
  color: var(--ink);
  padding: 0;
  max-height: 90dvh;
  max-width: calc(100% - 24px);
  border-radius: 12px;
}
dialog::backdrop {
  background: #091d2b80;
}
.drawer {
  width: min(460px, 100%);
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 12px 0 0 12px;
  max-width: 100%;
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 19px 24px;
}
.dialog-head h2 {
  font-size: 1.4rem;
}
.icon-btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
}
.icon-btn:hover {
  background: var(--wash);
}
#cart-body,
#checkout-body {
  padding: 23px;
}
.empty {
  padding: 32px;
  text-align: center;
  grid-column: 1/-1;
}
.empty h3,
.empty p {
  margin: 10px 0;
}
.ship-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ship-meter progress {
  width: 100%;
  height: 7px;
  accent-color: var(--green);
  border: none;
}
.bag-row {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
}
.bag-row img {
  width: 66px;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--wash);
  border-radius: 6px;
}
.bag-row small,
.totals small {
  display: block;
  color: var(--muted);
}
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-top: 5px;
  gap: 6px;
}
.quantity button {
  padding: 0 7px;
}
.text-btn {
  display: block;
  padding: 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-decoration: underline;
}
.totals {
  margin: 15px 0;
}
.totals p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin: 7px 0;
  font-size: 0.88rem;
}
.totals b {
  white-space: nowrap;
}
.totals .sum {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}
.small {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
}
.checkout {
  width: 900px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 25px;
  align-items: start;
}
.check-grid h3 {
  margin: 12px 0;
}
.check-grid label,
.form-stack label {
  display: block;
  margin: 7px 0;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.order-review {
  background: var(--wash);
  padding: 17px;
  border-radius: 8px;
}
.consent,
.radio-row {
  display: flex !important;
  align-items: baseline;
  gap: 7px;
}
.radio-row {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 5px;
}
.radio-row:has(:checked) {
  border-color: var(--green);
  background: #f2f8f3;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--green);
}
.receipt {
  max-width: 650px;
  margin: auto;
}
.receipt h2,
.receipt h3,
.receipt p {
  margin: 10px 0;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--green);
  background: #e8f4ea;
}
.bank-fields > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.bank-fields dt {
  font-size: 0.83rem;
  color: var(--muted);
}
.bank-fields dd {
  margin: 0;
  font-weight: 650;
}
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 25;
  transition: 0.2s;
  background: var(--ink);
  color: white;
  border-radius: 7px;
  padding: 10px 16px;
  font-size: 0.86rem;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.error {
  color: #a32f28;
  font-size: 0.84rem;
}
.error:not(:empty) {
  padding: 8px 0;
}
.demo-note {
  background: #fff4da;
  color: #6e541d;
}
.admin-body {
  background: var(--wash);
}
.admin-head {
  background: white;
  border-bottom: 1px solid var(--line);
}
.admin-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}
.admin-main {
  padding-block: 30px 60px;
}
.login {
  max-width: 460px;
  padding: 26px;
  margin: 5vh auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.login h1 {
  font-size: 1.8rem;
  margin: 10px 0;
}
.login p {
  margin: 10px 0;
}
.login button {
  margin: 7px 0;
}
.admin-intro,
.admin-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-intro h1 {
  font-size: 2.1rem;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  overflow: auto;
}
.admin-tabs button {
  border-radius: 6px;
  padding: 9px 14px;
  background: white;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.admin-tabs button.active {
  background: var(--ink);
  color: white;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.panel,
.kpis > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
}
.kpis span,
.kpis strong {
  display: block;
}
.kpis span {
  color: var(--muted);
  font-size: 0.8rem;
}
.kpis strong {
  font:
    750 1.6rem Jakarta,
    sans-serif;
  margin-top: 6px;
}
.admin-tools {
  margin-block: 16px;
}
.admin-tools input,
.admin-tools select {
  max-width: 340px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}
th,
td {
  padding: 10px 9px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  background: var(--wash);
  font-size: 0.76rem;
  white-space: nowrap;
}
td small {
  display: block;
  color: var(--muted);
}
.state {
  display: inline-block;
  background: #f5edd7;
  color: #765723;
  font-size: 0.73rem;
  font-weight: 650;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.state.paid,
.state.shipped {
  background: #e5f2e8;
  color: var(--deep);
}
.state.cancelled {
  background: #f3e9e9;
  color: #7b4141;
}
.admin-pane h2 {
  font-size: 1.3rem;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.admin-modal {
  width: 750px;
}
.admin-modal .inner {
  padding: 20px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.notice {
  color: var(--deep);
  margin-block: 10px;
}
.invoice {
  max-width: 820px;
  margin: auto;
  background: white;
  padding: 30px;
}
.invoice h1,
.invoice h2,
.invoice p {
  margin: 12px 0;
}
.invoice dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
}
.invoice dd {
  text-align: right;
}
@media (min-width: 1600px) {
  .hero-image {
    min-height: 400px;
  }
}
@media (max-width: 1100px) {
  .help-link {
    display: none;
  }
  .site-nav .wrap {
    justify-content: space-between;
    gap: 18px;
  }
  .category-tile {
    padding: 11px;
    gap: 10px;
  }
  .cat-icon {
    width: 38px;
    height: 40px;
  }
  .category-tile b {
    font-size: 0.82rem;
  }
  .product-grid {
    gap: 12px;
  }
  .hero-actions .btn {
    font-size: 0.79rem;
    padding: 11px 12px;
  }
}
@media (max-width: 850px) {
  .top-inner > span:nth-child(2) {
    display: none;
  }
  .hero-inner {
    gap: 22px;
  }
  .hero h1 {
    font-size: 2.55rem;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-block: 14px;
  }
  .trust-grid > :first-child {
    justify-content: center;
  }
  .trust-grid > :nth-child(2) {
    border: 0;
  }
  .categories,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .categories {
    gap: 10px;
  }
  .cat-icon {
    width: 44px;
    height: 44px;
  }
  .category-tile b {
    font-size: 0.92rem;
  }
  .guide,
  .faq-layout {
    gap: 24px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .hero-image {
    min-height: 315px;
  }
}
@media (max-width: 640px) {
  :root {
    scroll-padding-top: 155px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .top-inner {
    justify-content: center;
    min-height: 25px;
    font-size: 0.66rem;
  }
  .top-inner > span:nth-child(3) {
    display: none;
  }
  .mast {
    gap: 8px;
    height: auto;
    flex-wrap: wrap;
    padding-block: 8px;
  }
  .brand {
    width: 165px;
  }
  .cart-trigger {
    margin-left: auto;
    min-height: 31px;
    padding: 4px 7px;
  }
  .cart-trigger span {
    display: none;
  }
  .search {
    order: 3;
    flex: 1 0 100%;
    height: 33px;
  }
  .search input {
    font-size: 0.78rem;
  }
  .site-nav a {
    min-height: 35px;
    font-size: 0.75rem;
  }
  .site-nav .wrap {
    width: 100%;
    padding-inline: 16px;
  }
  .hero {
    padding: 20px 0 16px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(2.3rem, 8.6vw, 3.4rem);
    margin: 10px 0;
  }
  .hero h1 small {
    font-size: 0.98rem;
    margin-top: 10px;
  }
  .hero-copy p {
    font-size: 0.87rem;
    line-height: 1.5;
  }
  .hero-actions {
    margin-top: 14px;
  }
  .hero-image {
    min-height: 0;
    aspect-ratio: 1.9;
  }
  .hero-image figcaption {
    bottom: 11px;
    left: 11px;
  }
  .trust-grid {
    gap: 10px 0;
  }
  .trust-grid > span,
  .trust-grid > a {
    font-size: 0.65rem;
    gap: 6px;
    justify-content: flex-start !important;
    padding-left: 7px;
  }
  .trust svg {
    width: 16px;
  }
  .cats {
    padding-block: 23px;
  }
  .section-title {
    margin-bottom: 12px;
  }
  .section-title > span {
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .category-tile {
    min-height: 66px;
    padding: 8px;
    gap: 8px;
  }
  .category-tile b {
    font-size: 0.73rem;
  }
  .category-tile small {
    font-size: 0.66rem;
  }
  .cat-icon {
    width: 33px;
    height: 35px;
  }
  .cat-icon svg {
    width: 24px;
  }
  .catalog-section,
  .faq-section {
    padding-block: 26px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow: auto;
  }
  .chip {
    white-space: nowrap;
  }
  .card-body {
    padding: 10px;
  }
  .card h3 {
    font-size: 0.91rem;
  }
  .features {
    font-size: 0.71rem;
  }
  .card-price {
    flex-wrap: wrap;
    gap: 0 5px;
  }
  .card-price b {
    font-size: 1.17rem;
  }
  .badge {
    font-size: 0.49rem;
    padding: 3px;
    top: 6px;
    left: 6px;
  }
  .card-actions .btn {
    font-size: 0.7rem;
    padding: 6px;
  }
  .card-actions {
    gap: 5px;
  }
  .guide,
  .faq-layout,
  .detail-grid,
  .check-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .guide {
    padding-block: 30px;
  }
  .foot-bottom {
    align-items: start;
    flex-direction: column;
  }
  .foot-bottom img {
    max-width: 210px;
  }
  .foot-grid {
    gap: 15px;
  }
  .detail-grid {
    gap: 18px;
  }
  .detail-photo img {
    aspect-ratio: 1.7;
  }
  .detail h1 {
    font-size: 1.85rem;
  }
  .tabs button {
    font-size: 0.8rem;
    padding: 8px;
  }
  .checkout {
    max-width: calc(100% - 12px);
  }
  #checkout-body,
  #cart-body,
  .dialog-head {
    padding: 15px;
  }
  .receipt .bank-fields > div {
    align-items: start;
  }
  .bank-fields dd {
    text-align: right;
  }
  .admin-tools,
  .admin-intro {
    align-items: stretch;
    flex-direction: column;
  }
  .panel,
  .kpis > div {
    padding: 12px;
  }
  .kpis strong {
    font-size: 1.25rem;
  }
  .bag-row {
    grid-template-columns: 50px 1fr auto;
  }
  .toast {
    max-width: 95%;
    width: max-content;
  }
  .hero-actions .btn {
    padding-inline: 11px;
  }
  .small {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@page {
  size: A4;
  margin: 18mm;
}
@media print {
  body {
    background: white !important;
    color: #111;
  }
  body.print-invoice > :not(#invoice-print) {
    display: none !important;
  }
  body.print-invoice #invoice-print {
    display: block !important;
  }
  .invoice {
    padding: 0;
    font:
      10pt/1.45 Arial,
      sans-serif;
    max-width: none;
  }
  .invoice table {
    font-size: 9pt;
  }
  .invoice tr {
    break-inside: avoid;
  }
  .invoice .totals,
  .invoice dl {
    break-inside: avoid;
  }
  button,
  .site-header,
  .skip,
  footer,
  .no-print {
    display: none !important;
  }
  dialog::backdrop {
    display: none;
  }
}

.bank-card { padding: clamp(14px, 3vw, 32px); margin-bottom: 2rem; border: 1px solid #bdd6cf; border-radius: 14px; background: #f5faf8; }
.bank-layout { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 270px),1fr)); gap: 2rem; }
.bank-layout aside { align-self: start; padding: 1rem; border-radius: 10px; background: white; overflow-wrap: anywhere; }
