/* Tradovex Supplies: soft sage and black with a touch of gold, taken from the Tradovex packaging.
   Cormorant Garamond for headings, Manrope for everything else. */
:root {
  --canvas: #F3F6EE;
  --paper: #FFFFFF;
  --sage: #DDE9CF;
  --sage-deep: #B9DD94;
  --emerald: #12392B;
  --ink: #141714;
  --muted: #5B6457;
  --line: #DCE3D3;
  --gold: #B48A33;
  --gold-soft: #EBDDB8;
  --link: #1F5C3F;
  --head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16.5px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.05; margin: 0 0 .45em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: 1.15rem; max-width: 44ch; color: #343a33; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(243, 246, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font: 700 1.6rem/1 var(--head); }
.brand em { font-style: normal; font-weight: 500; color: var(--gold); margin-left: 5px; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.main-nav { display: flex; gap: 26px; margin-left: auto; font-size: .95rem; }
.main-nav a, .mobile-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.main-nav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.main-nav a[aria-current], .main-nav a:hover { border-bottom-color: var(--gold); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; border-radius: 999px; padding: 8px 14px 8px 12px; background: var(--ink); }
.cart-link:hover { color: #fff; background: var(--emerald); }
.cart-link svg { width: 18px; height: 18px; fill: currentColor; }
.cart-link b { background: var(--sage-deep); color: var(--ink); border-radius: 999px; font-size: .75rem; min-width: 20px; text-align: center; padding: 0 5px; }
.menu-btn { display: none; font: 600 .95rem var(--body); background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; color: var(--ink); }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .head-row { gap: 10px; height: 66px; }
  .brand { font-size: 1.35rem; }
  .brand .mark { width: 32px; height: 32px; }
  .main-nav { display: none; }
  .cart-link { margin-left: auto; }
  .cart-link span { display: none; }
  .menu-btn { display: block; }
  .nav-open .mobile-nav { display: grid; padding: 6px 20px 16px; }
  .mobile-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 .98rem var(--body); color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 13px 26px; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, transform .12s; }
.btn:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--sage); color: var(--ink); border-color: var(--ink); }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.done { background: var(--emerald); border-color: var(--emerald); }
.small-btn { padding: 9px 18px; font-size: .88rem; }
.text-link { font-weight: 600; font-size: .95rem; }

/* hero: product photos framed in tall arches, like a shop window */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 64px 0 72px; }
.hero h1 { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; height: clamp(380px, 46vw, 560px); }
.arch { position: absolute; margin: 0; overflow: hidden; border-radius: 999px 999px 26px 26px; background: var(--sage); box-shadow: 0 30px 60px -30px rgba(18, 57, 43, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.main { right: 0; top: 0; width: 64%; height: 100%; outline: 1px solid var(--gold-soft); outline-offset: 10px; }
.arch.side { left: 0; bottom: 0; width: 42%; height: 66%; border: 6px solid var(--canvas); animation: rise .9s .25s cubic-bezier(.2,.8,.2,1) both; }
.arch.main { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.price-chip { position: absolute; z-index: 2; left: 34%; top: 14%; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); animation: rise .9s .45s cubic-bezier(.2,.8,.2,1) both; }
.price-chip span { display: block; font-size: .78rem; color: var(--muted); }
.price-chip strong { font: 700 1.5rem/1.1 var(--head); color: var(--emerald); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 36px 0 48px; }
  .hero-art { height: 420px; }
}

/* promise band */
.band { background: var(--emerald); color: #E9F1E2; }
.promise { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.promise li { display: grid; gap: 2px; padding: 4px 28px; border-left: 1px solid rgba(201, 164, 78, .45); }
.promise li:first-child { border-left: 0; padding-left: 0; }
.promise strong { font: 600 1.35rem/1.2 var(--head); color: #fff; }
.promise span { font-size: .9rem; color: #B7C8B5; }
@media (max-width: 760px) {
  .promise { grid-template-columns: 1fr; gap: 14px; }
  .promise li { border-left: 0; padding: 0 0 12px; border-bottom: 1px solid rgba(201, 164, 78, .35); }
  .promise li:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* sections and product cards */
.block { padding: 64px 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 28px; margin-top: 22px; }
.card { display: grid; gap: 4px; align-content: start; min-width: 0; }
.card-img { display: block; position: relative; overflow: hidden; border-radius: 999px 999px 20px 20px; aspect-ratio: 4 / 5; background: var(--sage); padding: 16% 20% 10%; min-width: 0; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card-img.photo { padding: 0; }
.card-img.photo img { object-fit: cover; }
.card-img:hover img { transform: scale(1.04); }
.card .cat { font-size: .8rem; color: var(--gold); font-weight: 600; margin: 12px 0 0; }
.card h3 { margin: 0; font-size: 1.35rem; line-height: 1.15; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.card-price { font: 700 1.35rem var(--head); color: var(--emerald); }
.card-price.ask { font: 500 .9rem var(--body); color: var(--muted); }
.empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 20px; padding: 40px; text-align: center; background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.filters button { font: 600 .9rem var(--body); border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.how { border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 600 2.6rem/1 var(--head); color: var(--gold); margin-bottom: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* product page */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pdp-img { overflow: hidden; border-radius: 28px; background: var(--sage); padding: 10%; }
.pdp-img img { width: 100%; max-height: 520px; object-fit: contain; }
.pdp-img.photo { padding: 0; }
.pdp-img.photo img { max-height: none; object-fit: cover; }
.pdp h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 8px; }
.price { font: 700 2rem var(--head); color: var(--emerald); margin-bottom: .6em; }
.price .muted { font: 500 .9rem var(--body); margin-left: 8px; }
.ticks { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0 0 1.2em; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.buy { display: flex; align-items: end; gap: 14px; margin: 22px 0; flex-wrap: wrap; }
.qty { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.qty input { width: 84px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }

/* forms */
input, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #C9D3BE; border-radius: 12px; padding: 11px 13px; width: 100%; }
input:focus, textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold-soft); outline-offset: 0; }
textarea { resize: vertical; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.checkout { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: 0 30px 60px -40px rgba(18, 57, 43, .45); }
.checkout h2 { font-size: 1.8rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.totals strong { font: 700 1.6rem var(--head); color: var(--emerald); }
.form-msg { margin: 0; font-weight: 600; color: var(--link); }
.cart-layout, .contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.line { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; object-fit: cover; background: var(--sage); border-radius: 999px 999px 12px 12px; }
.line p { margin: 0; }
@media (max-width: 860px) { .cart-layout, .contact { grid-template-columns: 1fr; } .line { grid-template-columns: 60px 1fr; } .line img { width: 60px; height: 60px; } }

/* text pages */
.doc { max-width: 760px; padding: 56px 0 72px; }
.doc h2 { font-size: 1.7rem; margin-top: 1.4em; }
.doc-contact { margin-top: 44px; padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 16px; }
.doc-contact h2 { margin-top: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 20px 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }

/* footer */
.site-foot { background: var(--ink); color: #DCE4D6; margin-top: 56px; }
.site-foot a { color: var(--sage-deep); }
.site-foot .brand { color: #fff; }
.site-foot .muted { color: #9DA898; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 32px; padding: 56px 0 30px; }
.site-foot h2 { font: 600 1.25rem var(--head); color: #fff; }
.foot-base { border-top: 1px solid #2B302A; padding: 18px 0 26px; font-size: .85rem; color: #9DA898; }
.foot-base p { margin: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
