/* ============================================================================
   Durban's Pallets — public shop, quote basket, customer panel extras.
   Builds on the style.css tokens. Mobile first; no horizontal scroll.
   ============================================================================ */
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1200px, 100% - 48px); } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }
.hide-sm { }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
.muted { color: var(--text-3); }
.btn-sm { padding: .55rem .85rem; font-size: .84rem; }
.btn-wa { background: #25d366; color: #0b2e17; }
.btn-wa:hover { background: #1fbd5a; }
.btn-light { background: #fff; color: var(--ink); }

/* Top bar + header */
.topbar { background: var(--ink); color: rgba(255,255,255,.78); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: inherit; }
.topbar i { color: #fbbf24; margin-right: .3rem; }
.topbar__right { display: flex; gap: 1.2rem; }
@media (max-width: 760px) { .topbar .wrap > span:first-child { display: none; } .topbar .wrap { justify-content: center; } }

.site-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; align-items: center; gap: 1rem; height: 72px; }
.mainnav { display: flex; align-items: center; gap: .3rem; margin-left: 1rem; }
.mainnav > a, .dd > a { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; padding: .55rem .75rem; border-radius: 10px; color: var(--text-2); font-weight: 700; font-size: .92rem; text-decoration: none !important; }
.mainnav > a:hover, .dd > a:hover, .mainnav a.is-on { color: var(--text); background: var(--surface-2); }
.mainnav a.is-on { color: var(--brand); }
.dd > a i { font-size: .65rem; }
.mainnav__acct { display: none !important; }
.dd { position: relative; }
.dd__menu { position: absolute; top: calc(100% + 6px); left: -8px; width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e-3); padding: .5rem; display: none; }
.dd:hover .dd__menu, .dd:focus-within .dd__menu { display: block; }
.dd__menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.dd__menu a { display: flex; gap: .7rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; color: var(--text); text-decoration: none !important; font-size: .9rem; }
.dd__menu a:hover { background: var(--brand-50); }
.dd__menu a > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.dd__menu a strong { display: block; font-size: .9rem; }
.dd__menu a small { color: var(--text-3); font-size: .76rem; }
.dd__menu a.dd__sub { padding: .3rem .7rem .3rem 3.6rem; color: var(--text-2); font-size: .84rem; }
.dd__menu a.dd__all { justify-content: space-between; font-weight: 800; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: .3rem; padding-top: .7rem; }
.site-nav__right { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.navsearch { position: relative; }
.navsearch i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: .82rem; }
.navsearch input { width: 200px; height: 40px; padding: 0 .8rem 0 2.2rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface-2); outline: none; font-size: .86rem; transition: width var(--t), border-color var(--t); }
.navsearch input:focus { width: 240px; border-color: var(--brand); }
.basket-btn { position: relative; padding: .6rem .95rem; }
.basket-n { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; font-size: .72rem; display: grid; place-items: center; padding: 0 6px; border: 2px solid var(--surface); }
.basket-n[hidden] { display: none; }
.burger { display: none; }
@media (max-width: 1080px) { .navsearch { display: none; } }
@media (max-width: 920px) {
  .burger { display: inline-grid; }
  .site-nav .mainnav { position: fixed; inset: 110px 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--e-3); padding: .5rem 16px 1rem; max-height: calc(100dvh - 110px); overflow-y: auto; display: none; }
  .site-nav .mainnav.open { display: flex; }
  .mainnav > a, .dd > a { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 44px; }
  .mainnav__acct { display: inline-flex !important; }
  .dd__menu { position: static; display: block; width: auto; box-shadow: none; border: 0; padding: 0 0 .5rem; }
  .dd__menu a.dd__sub { padding-left: 3.6rem; }
}
@media (max-width: 760px) { .site-nav .mainnav { inset: 72px 0 auto 0; max-height: calc(100dvh - 72px); } .site-nav .wrap { gap: .5rem; } .brand__word { font-size: 1.02rem; } .brand__word small { display: none; } }

/* Hero */
.phero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 85% 20%, rgba(217,119,6,.35), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(146,64,14,.45), transparent 60%), #1c1917; }
.phero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.phero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.phero__img img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.phero .eyebrow { background: rgba(251,191,36,.14); color: #fbbf24; }
.phero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.1rem; }
.phero h1 span { color: #fbbf24; }
.phero .lead { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 56ch; margin-bottom: 2rem; }
.phero .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.phero .btn-ghost:hover { background: rgba(255,255,255,.16); }
.phero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.phero__proof { display: flex; flex-wrap: wrap; gap: 1.4rem; color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 600; }
.phero__proof i { color: #fbbf24; margin-right: .35rem; }
.phero__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl); padding: 1.4rem; backdrop-filter: blur(10px); }
.phero__card h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.phero__card form { display: grid; gap: .6rem; }
.phero__card select, .phero__card input { width: 100%; height: 48px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.95); color: #1c1917; padding: 0 .9rem; font-size: .95rem; }
.phero__card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.phero__card small { color: rgba(255,255,255,.65); font-size: .78rem; }
@media (max-width: 900px) { .phero .wrap { grid-template-columns: 1fr; } }

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.4rem; }
.trust div { display: flex; gap: .8rem; align-items: center; }
.trust i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.trust strong { display: block; font-size: .92rem; }
.trust small { color: var(--text-3); font-size: .8rem; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust .wrap { grid-template-columns: 1fr; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; }
.sec-head p { color: var(--text-2); max-width: 60ch; margin-top: .4rem; }
.kicker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.cat { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; transition: transform var(--t), box-shadow var(--t); }
.cat:hover { transform: translateY(-3px); box-shadow: var(--e-2); }
.cat__img { aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__body { padding: .9rem 1rem 1rem; }
.cat__body strong { display: block; font-size: .98rem; }
.cat__body small { color: var(--text-3); font-size: .8rem; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cats { grid-template-columns: 1fr 1fr; gap: .7rem; } }

/* Product grid + card */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .pgrid { grid-template-columns: 1fr 1fr; gap: .7rem; } }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t); min-width: 0; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--e-2); border-color: var(--brand-100); }
.pcard__img { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__badge { position: absolute; top: .7rem; left: .7rem; background: var(--coral); color: #fff; font-weight: 800; font-size: .74rem; padding: .2rem .55rem; border-radius: var(--r-pill); }
.pcard__body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1rem; flex: 1; }
.pcard__cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.pcard h3 { font-family: var(--font); font-size: .95rem; font-weight: 700; line-height: 1.35; }
.pcard h3 a { color: var(--text); }
.pcard__price { margin-top: auto; padding-top: .3rem; }
.price-now { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.price-was { color: var(--text-3); font-size: .88rem; }
.price-unit { color: var(--text-3); font-size: .76rem; }
.price-ask { font-weight: 700; color: var(--brand); }
.pcard__actions { display: flex; gap: .4rem; margin-top: .5rem; }
.pcard__actions .btn-primary { flex: 1; }
@media (max-width: 520px) { .pcard__body { padding: .7rem; } .pcard h3 { font-size: .86rem; } .price-now { font-size: 1.05rem; } .pcard__actions .btn { padding: .55rem .5rem; font-size: .78rem; } .pcard__actions .btn-ghost { display: none; } }

/* Shop page */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .84rem; color: var(--text-3); margin-bottom: 1rem; }
.crumbs a { color: var(--text-2); }
.page-head { padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 32px); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.page-head p { color: var(--text-2); max-width: 65ch; margin-top: .5rem; }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; padding-block: 2rem 4rem; }
.shop-side { position: sticky; top: 90px; align-self: start; }
.shop-side h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-family: var(--font); margin: 0 0 .6rem; }
.shop-side a { display: flex; justify-content: space-between; padding: .55rem .75rem; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: .9rem; text-decoration: none !important; }
.shop-side a:hover { background: var(--surface); color: var(--text); }
.shop-side a.is-on { background: var(--brand-50); color: var(--brand); }
.shop-side a.sub { padding-left: 1.7rem; font-size: .85rem; }
.shop-side a span { color: var(--text-3); font-size: .8rem; }
.shop-side .help { margin-top: 1.4rem; padding: 1.1rem; border-radius: var(--r-lg); background: var(--ink); color: rgba(255,255,255,.8); font-size: .86rem; }
.shop-side .help strong { color: #fff; display: block; margin-bottom: .3rem; }
.shop-side .help .btn { margin-top: .8rem; width: 100%; }
.shop-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.shop-bar select { padding: .55rem .8rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .86rem; }
.chips-row { display: none; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1rem; scrollbar-width: none; }
.chips-row a { flex-shrink: 0; padding: .5rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .84rem; color: var(--text-2); text-decoration: none !important; }
.chips-row a.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; padding-top: 1.2rem; } .shop-side { display: none; } .chips-row { display: flex; } }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: 2rem 3rem; }
.gallery__main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.gallery__thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery__thumbs button { width: 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.gallery__thumbs button.is-on { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: .3rem 0 .8rem; }
.pdp__price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pdp__price .price-now { font-size: 2rem; }
.pdp__short { color: var(--text-2); margin-bottom: 1.4rem; }
.buybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; display: grid; gap: .8rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.qty button { width: 44px; height: 46px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 1.1rem; font-weight: 700; }
.qty input { width: 80px; height: 46px; border: 0; text-align: center; font-weight: 800; font-size: 1rem; background: transparent; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buybox__row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.buybox__row .btn-primary { flex: 1; min-width: 180px; }
.buybox .field { margin: 0; }
.buybox__est { font-size: .86rem; color: var(--text-2); }
.pdp__facts { display: grid; gap: .5rem; margin-top: 1.2rem; font-size: .88rem; }
.pdp__facts div { display: flex; gap: .6rem; color: var(--text-2); }
.pdp__facts i { color: var(--brand); width: 18px; margin-top: .2rem; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

/* Rich text */
.rich { color: var(--text-2); }
.rich h3 { color: var(--text); font-size: 1.12rem; margin: 1.4rem 0 .5rem; font-family: var(--font); font-weight: 800; }
.rich p { margin-bottom: .8rem; max-width: 70ch; }
.rich ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.rich li { margin-bottom: .35rem; }
.tabbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 2rem); }

/* How it works */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.how div { padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.how div::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; margin-bottom: .9rem; }
.how h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.how p { color: var(--text-2); font-size: .9rem; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.split p { color: var(--text-2); margin-bottom: 1rem; max-width: 60ch; }
.ticks { list-style: none; display: grid; gap: .55rem; margin: 1rem 0 1.6rem; }
.ticks li { display: flex; gap: .6rem; color: var(--text-2); }
.ticks i { color: var(--mint); margin-top: .25rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__img { order: -1; } }

/* Testimonials */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.tcard .stars { color: #f59e0b; font-size: .85rem; }
.tcard p { color: var(--text-2); flex: 1; }
.tcard strong { font-size: .92rem; }
.tcard small { color: var(--text-3); display: block; font-size: .8rem; }
@media (max-width: 900px) { .quotes-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.05rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-2); padding-bottom: 1.1rem; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; color: var(--text); text-decoration: none !important; transition: transform var(--t), box-shadow var(--t); }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--e-2); }
.post-card time { font-size: .78rem; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: 1.1rem; margin: .5rem 0; }
.post-card p { color: var(--text-2); font-size: .9rem; flex: 1; }
.post-card span { color: var(--brand); font-weight: 700; font-size: .88rem; margin-top: .8rem; }
.article { max-width: 760px; margin-inline: auto; padding-block: 2rem 4rem; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; }

/* CTA band (overrides style.css) */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; text-align: left; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin-bottom: 0; max-width: 55ch; }
.cta-band__btns { display: flex; gap: .7rem; flex-wrap: wrap; }

/* Footer */
.site-foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 24px; font-size: .9rem; }
.site-foot .wrap { display: grid; }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.site-foot h3 { color: #fff; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-foot a { color: rgba(255,255,255,.72); margin: 0; }
.foot-grid > div > a { display: block; padding: .25rem 0; }
.foot-grid p { margin-bottom: .6rem; display: flex; gap: .6rem; }
.foot-grid p i { color: #fbbf24; margin-top: .25rem; width: 16px; }
.foot-about { margin: 1rem 0; max-width: 40ch; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.socials a:hover { background: var(--brand); text-decoration: none; }
.foot-legal { display: flex !important; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 10px 24px rgba(37,211,102,.35); z-index: 50; text-decoration: none !important; transition: transform var(--t); }
.wa-float:hover { transform: scale(1.06); }

/* Quote basket */
.qgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; padding-block: 2rem 4rem; align-items: start; }
@media (max-width: 960px) { .qgrid { grid-template-columns: 1fr; } }
.qline { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.qline:last-child { border-bottom: 0; }
.qline img, .thumb { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); flex-shrink: 0; }
.who .thumb { width: 44px; height: 44px; border-radius: 10px; }
.qline h3 { font-family: var(--font); font-size: .95rem; font-weight: 700; }
.qline h3 a { color: var(--text); }
.qline small { color: var(--text-3); }
.qline input.note { width: 100%; margin-top: .4rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 8px; font-size: .82rem; background: var(--surface-2); }
.qline__side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.qline .qty button { width: 36px; height: 38px; }
.qline .qty input { width: 64px; height: 38px; }
.qline .rm { background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: .8rem; font-weight: 700; }
.qline .rm:hover { color: var(--coral); }
@media (max-width: 560px) { .qline { grid-template-columns: 56px 1fr; } .qline img { width: 56px; height: 56px; } .qline__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.totals { padding: 1rem 1.2rem; display: grid; gap: .35rem; justify-items: end; border-top: 1px solid var(--line); }
.totals div { display: flex; gap: 2rem; justify-content: space-between; min-width: 240px; font-size: .92rem; }
.totals span { color: var(--text-3); }
.totals__grand { font-size: 1.1rem !important; padding-top: .35rem; border-top: 1px solid var(--line); }
.totals__grand b { font-family: var(--font-display); font-size: 1.35rem; }
.totals small { color: var(--text-3); font-size: .78rem; }

/* Quote statuses */
.qs-new { background: var(--brand-50); color: var(--brand); }
.qs-reviewing { background: var(--violet-50); color: var(--violet); }
.qs-quoted { background: var(--amber-50); color: var(--amber); }
.qs-accepted, .qs-completed { background: var(--mint-50); color: var(--mint); }
.qs-declined, .qs-cancelled { background: var(--coral-50); color: var(--coral); }
.timeline { display: flex; gap: 0; margin: .4rem 0 1.4rem; overflow-x: auto; }
.timeline div { flex: 1; min-width: 110px; text-align: center; position: relative; font-size: .76rem; font-weight: 700; color: var(--text-3); padding-top: 30px; }
.timeline div::before { content: ''; position: absolute; top: 8px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); z-index: 1; }
.timeline div::after { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.timeline div:first-child::after { display: none; }
.timeline div.done { color: var(--text); }
.timeline div.done::before { background: var(--brand); border-color: var(--brand); }
.timeline div.done::after { background: var(--brand); }

/* Messages */
.msgs { display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem; max-height: 460px; overflow-y: auto; }
.msg { max-width: 82%; padding: .7rem .95rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .9rem; white-space: pre-line; }
.msg small { display: block; color: var(--text-3); font-size: .72rem; margin-top: .3rem; white-space: normal; }
.msg.me { align-self: flex-end; background: var(--brand-50); border-color: transparent; }
.msg-form { display: flex; gap: .5rem; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
.msg-form textarea { flex: 1; min-height: 46px; height: 46px; resize: vertical; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); outline: none; }
.msg-form textarea:focus { border-color: var(--brand); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; padding-block: 2rem 4rem; align-items: start; }
.contact-cards { display: grid; gap: .8rem; }
.ccard { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); }
.ccard i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.ccard small { color: var(--text-3); display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ccard span, .ccard a { white-space: pre-line; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 2rem); }
.form-card h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.form-card > p { color: var(--text-2); margin-bottom: 1.2rem; font-size: .92rem; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid2 .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }

/* Stats + about */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stats div { text-align: center; padding: 1.4rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stats b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--brand); }
.stats span { color: var(--text-2); font-size: .88rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.prose { padding-block: 2rem 4rem; }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state i { font-size: 2.6rem; color: var(--line-strong); margin-bottom: 1rem; }
.empty-state h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.empty-state p { color: var(--text-2); margin-bottom: 1.2rem; }

/* Print (quotes) */
@media print {
  .adm-side, .adm-top, .adm-head__actions, .no-print, .site-nav, .wa-float, .toast, form { display: none !important; }
  body.adm { display: block; }
  body { background: #fff; color: #000; }
  .card { break-inside: avoid; border-color: #ccc; }
  .grid-2 { grid-template-columns: 1fr !important; }
}

/* Admin chart */
.spark { display: flex; align-items: flex-end; gap: 3px; height: 180px; }
.spark span { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; min-width: 4px; opacity: .9; }
.spark span.zero { background: var(--line); }
.spark__axis { display: flex; justify-content: space-between; font-size: .74rem; color: var(--text-3); margin-top: .4rem; }
.line-edit input, .line-edit textarea { width: 100%; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .86rem; }
.line-edit .num input { max-width: 110px; text-align: right; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; }
.img-grid figure { position: relative; border: 1px solid var(--line); border-radius: 12px; background: #fff; aspect-ratio: 1; overflow: hidden; }
.img-grid img { width: 100%; height: 100%; object-fit: contain; }
.img-grid figcaption { position: absolute; inset: auto 4px 4px auto; display: flex; gap: 4px; }
.img-grid .btn-xs { padding: .25rem .45rem; }
.shop > div, .qgrid > *, .pdp > * { min-width: 0; }

/* Inbox + templates */
.mail-row { color: inherit; text-decoration: none !important; }
.mail-row.unread strong { font-weight: 800; color: var(--text); }
.mail-row.unread::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex-shrink: 0; margin-right: -.3rem; }
.mail-row.is-open { background: var(--brand-50); }
.mail-row:hover { background: var(--surface-2); }
.mail-frame { width: 100%; min-height: 420px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mail-text { white-space: normal; font-size: .92rem; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; max-height: 560px; overflow-y: auto; }
.inbox-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
@media (max-width: 1100px) { .inbox-grid { grid-template-columns: 1fr; } }
.line-edit th, .line-edit td { padding: .6rem .45rem; }
.line-edit td.cell-main { min-width: 200px; }
.line-edit input[type=number] { min-width: 68px; text-align: center; }
.line-edit .num input:not([type=number]) { min-width: 84px; }
