/* =====================================================================
   Brickwood Timber Yard & Hardware
   Palette taken from the yard billboard: signal red, charcoal wordmark,
   pine-tree green, sawdust cream and cut-timber gold.
   ===================================================================== */

/* ---------- Fonts (self-hosted Google Fonts) ---------- */
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/rokkitt-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/rokkitt-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/rokkitt-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/instrument-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Kaushan Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/kaushan-script-latin-400-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --red: #b3202d;
  --red-700: #8f1823;
  --red-50: #fbecec;
  --char: #2f2c29;
  --char-900: #23201e;
  --char-600: #4a4541;
  --pine: #2c5a3a;
  --pine-50: #e8f0ea;
  --sawdust: #efecd6;
  --sawdust-2: #f7f5e9;
  --timber: #d9b074;
  --timber-700: #a2733a;
  --ink: #2f2c29;
  --muted: #6b645d;
  --line: #e3ddca;
  --wa: #1c9e50;
  --wa-700: #157a3d;
  --wa-50: #e6f6ec;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 78px;
  --shadow: 0 18px 40px -22px rgba(35, 32, 30, .45);
  --font-display: 'Rokkitt', 'Roboto Slab', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-script: 'Kaushan Script', 'Brush Script MT', cursive;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--red);
  --bs-link-color-rgb: 179, 32, 45;
  --bs-link-hover-color: var(--red-700);
  --bs-border-color: var(--line);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--font-display); font-weight: 700; color: var(--char); letter-spacing: -.005em; line-height: 1.1; }
h1, .h1 { font-weight: 800; }
p { margin-bottom: 1rem; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-700); }
img { max-width: 100%; height: auto; }
/* Every content image fills its frame regardless of aspect ratio */
.hero-media img, .page-hero-media img, .material-tile img, .product-media img, .post-media img, .post-lead-media img,
.use-card img, .photo-stack img, .parallax-media img, .gallery-item img, .ask-card img, .service-media img,
.framed-photo img, .pgallery img, .post-cover img, .mini-product img, .cart-line img, .drawer-item img, .avatar {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
::selection { background: var(--timber); color: var(--char-900); }
:focus-visible { outline: 3px solid var(--timber); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--char); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.container.narrow { max-width: 860px; }
@media (max-width: 767.98px) { .g-5, .gx-5 { --bs-gutter-x: 1.5rem; } .g-lg-5 { --bs-gutter-x: 1.5rem; } }
html, body { overflow-x: clip; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { --bs-btn-border-radius: var(--radius-sm); font-weight: 600; letter-spacing: .005em; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.4rem; --bs-btn-font-size: 1.02rem; }
.btn-sm { --bs-btn-padding-y: .45rem; --bs-btn-padding-x: .8rem; --bs-btn-font-size: .9rem; }
.btn-brand { --bs-btn-bg: var(--red); --bs-btn-border-color: var(--red); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--red-700); --bs-btn-hover-border-color: var(--red-700); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--red-700); --bs-btn-active-color: #fff; --bs-btn-focus-shadow-rgb: 179, 32, 45; }
.btn-wa { --bs-btn-bg: var(--wa); --bs-btn-border-color: var(--wa); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--wa-700); --bs-btn-hover-border-color: var(--wa-700); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--wa-700); --bs-btn-active-color: #fff; }
.btn-wa-soft { --bs-btn-bg: var(--wa-50); --bs-btn-border-color: var(--wa-50); --bs-btn-color: var(--wa-700); --bs-btn-hover-bg: var(--wa); --bs-btn-hover-border-color: var(--wa); --bs-btn-hover-color: #fff; }
.btn-outline-dark { --bs-btn-color: var(--char); --bs-btn-border-color: var(--char); --bs-btn-hover-bg: var(--char); --bs-btn-hover-border-color: var(--char); }
.btn-glass { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.7); --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--char); --bs-btn-hover-border-color: #fff; backdrop-filter: blur(4px); background: rgba(255,255,255,.08); }
.btn-light { --bs-btn-color: var(--char); }
.link-arrow { font-weight: 600; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "\f061"; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8em; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--char-900); color: rgba(239, 236, 214, .82); font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 38px; }
.topbar-item { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar-item i { color: var(--timber); }
a.topbar-item:hover { color: #fff; }
.topbar-spacer { flex: 1; }
.topbar-social { color: inherit; }
.topbar-social:hover { color: #fff; }
@media (max-width: 575.98px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(35, 32, 30, .6); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); transition: min-height .25s; }
.site-header.scrolled .nav-wrap { min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--char); flex-shrink: 0; }
.brand:hover { color: var(--char); }
.brand-mark { width: 50px; height: 50px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; letter-spacing: .02em; text-transform: uppercase; color: var(--char); }
.brand-sub { font-weight: 700; font-size: .6rem; letter-spacing: .11em; text-transform: uppercase; color: var(--red); margin-top: .22rem; }
.brand-img { height: 52px; width: auto; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--timber); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: .55rem .75rem; color: var(--char); text-decoration: none; font-weight: 500; font-size: .97rem; }
.main-nav a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.main-nav + .nav-actions { margin-left: .5rem; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--char); display: inline-grid; place-items: center; font-size: 1.1rem; transition: background-color .2s; }
.icon-btn:hover { background: var(--sawdust-2); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1; font-style: normal; }
.cart-count[hidden] { display: none; }
.bump { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (max-width: 575.98px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.42rem; }
  .brand-sub { font-size: .5rem; }
}

/* Mobile nav */
.mobile-nav { --bs-offcanvas-width: min(86vw, 360px); }
.mobile-links { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.mobile-links a { display: flex; justify-content: space-between; align-items: center; padding: .9rem .2rem; border-bottom: 1px solid var(--line); color: var(--char); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.mobile-links a[aria-current] { color: var(--red); }
.mobile-links i { font-size: .8rem; color: var(--muted); }
.mini-title { font-weight: 600; color: var(--muted); font-size: .9rem; margin-bottom: .6rem; }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--char); font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: all .2s; cursor: pointer; }
.chip:hover { border-color: var(--char); color: var(--char); }
.chip.active { background: var(--char); border-color: var(--char); color: #fff; }
.chip-count { font-size: .75rem; opacity: .65; }

/* Search modal */
.search-modal .modal-content { border: 0; border-radius: var(--radius); padding: 1.25rem; }
.search-form { display: flex; align-items: center; gap: .75rem; border-bottom: 2px solid var(--char); padding-bottom: .75rem; }
.search-form i { color: var(--muted); font-size: 1.2rem; }
.search-form input { flex: 1; border: 0; outline: 0; font-size: 1.35rem; font-family: var(--font-display); font-weight: 600; min-width: 0; }
.search-suggest { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sawdust { background: var(--sawdust-2); }
.section-charcoal { background: var(--char-900); color: rgba(239, 236, 214, .85); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-title { font-size: clamp(1.95rem, 3.3vw, 2.75rem); margin-bottom: .6rem; }
.section-intro { color: var(--muted); max-width: 62ch; margin-bottom: 0; }
.section-charcoal .section-intro { color: rgba(239, 236, 214, .7); }
.page-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: .6rem 0 .8rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--char-900); color: #fff; }
.hero-swiper { height: clamp(560px, 86vh, 780px); }
.hero-slide { position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { transform: scale(1.02); transition: transform 7.5s ease-out; }
.swiper-slide-active .hero-media img { transform: scale(1.1); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(35,32,30,.88) 0%, rgba(35,32,30,.6) 38%, rgba(35,32,30,.1) 72%),
              linear-gradient(0deg, rgba(35,32,30,.75) 0%, rgba(35,32,30,0) 45%); }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(7rem, 14vh, 9rem); }
.hero-title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.012em; max-width: 13ch; margin-bottom: 1.1rem; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(247, 245, 233, .9); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-content > * { opacity: 0; transform: translateY(24px); }
.swiper-slide-active .hero-content > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.swiper-slide-active .hero-content > *:nth-child(2) { animation-delay: .12s; }
.swiper-slide-active .hero-content > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 2.2rem; z-index: 5; display: flex; align-items: center; gap: 1.5rem; }
.hero-pagination { display: flex; gap: .5rem; position: static; width: auto !important; }
.hero-pagination .swiper-pagination-bullet { width: 44px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); opacity: 1; margin: 0 !important; position: relative; overflow: hidden; }
.hero-pagination .swiper-pagination-bullet::after { content: ""; position: absolute; inset: 0; background: var(--timber); transform: scaleX(0); transform-origin: left; }
.hero-pagination .swiper-pagination-bullet-active::after { animation: fill var(--hero-delay, 6.5s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: .5rem; }
.hero-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; transition: all .2s; }
.hero-arrows button:hover { background: #fff; color: var(--char); }

/* The billboard seal */
.seal { position: absolute; z-index: 6; right: max(4vw, calc((100vw - 1320px) / 2 + 12px)); bottom: 7.5rem; width: 168px; height: 168px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); border: 3px solid rgba(255,255,255,.85); }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal-ring text { fill: #fff; font-family: var(--font-body); font-weight: 700; font-size: 15.5px; letter-spacing: 2.2px; text-transform: uppercase; }
.seal-core { width: 74px; height: 74px; background: var(--sawdust); border-radius: 50%; padding: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 991.98px) { .seal { width: 118px; height: 118px; bottom: auto; top: 1.4rem; } .seal-core { width: 52px; height: 52px; } .seal-ring text { font-size: 16px; } }
@media (max-width: 575.98px) { .seal { width: 92px; height: 92px; top: 1rem; right: 1rem; } .seal-core { width: 40px; height: 40px; padding: 4px; } .hero-arrows { display: none; } .hero-content { padding-bottom: 5.5rem; } .hero-controls { bottom: 1.6rem; } }

/* ---------- Trade band (billboard red panel) ---------- */
.trade-band { display: flex; align-items: stretch; background: var(--red); color: #fff; overflow: hidden; }
.trade-lead { flex-shrink: 0; margin: 0; background: var(--char); color: var(--sawdust); padding: 1.05rem 1.6rem; font-weight: 600; font-size: .95rem; display: flex; align-items: center; position: relative; z-index: 2; }
.trade-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.trade-band:hover .trade-track { animation-play-state: paused; }
.trade-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.trade-list li { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; padding: .85rem 0; white-space: nowrap; display: flex; align-items: center; }
.trade-list li::after { content: "|"; color: var(--timber); margin: 0 1.4rem; font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767.98px) { .trade-band { flex-direction: column; } .trade-lead { justify-content: center; padding: .6rem 1rem; font-size: .88rem; } .trade-list li { font-size: 1.15rem; padding: .7rem 0; } }

/* ---------- Materials grid ---------- */
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.material-tile { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--char); isolation: isolate; }
.material-tile.is-large { grid-column: span 2; grid-row: span 2; }
.material-tile.span-2 { grid-column: span 2; }
.material-tile.span-4 { grid-column: span 4; }
.material-tile img { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); z-index: -2; }
.material-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(35,32,30,.82) 0%, rgba(35,32,30,.1) 55%); }
.material-tile:hover img { transform: scale(1.06); }
.material-tile:hover { color: #fff; }
.material-info { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; display: flex; flex-direction: column; }
.material-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.05; }
.is-large .material-name { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.material-meta { font-size: .88rem; color: var(--sawdust); opacity: .9; }
@media (max-width: 991.98px) {
  .material-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .material-tile.is-large { grid-column: span 2; grid-row: span 1; height: auto; }
  .material-tile.span-2, .material-tile.span-4 { grid-column: span 1; }
  .material-tile.span-sm-2 { grid-column: span 2; }
  .material-name { font-size: 1.12rem; }
  .material-info { left: .8rem; right: .8rem; bottom: .7rem; }
  .material-meta { font-size: .8rem; }
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (min-width: 1200px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
@media (max-width: 767.98px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sawdust); }
.product-media img { transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.stock-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; background: #fff; color: var(--pine); white-space: nowrap; }
.stock-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.product-media .stock-pill { position: absolute; top: .7rem; left: .7rem; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.stock-low { color: #b86b00; } .stock-out { color: var(--red); } .stock-order { color: #3d5a99; }
.sale-pill { position: absolute; top: .7rem; right: .7rem; background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.05rem 1.1rem; }
.product-cat { font-size: .82rem; font-weight: 600; color: var(--pine); text-decoration: none; margin-bottom: .2rem; }
.product-cat:hover { color: var(--pine); text-decoration: underline; }
.product-name { font-size: 1.22rem; line-height: 1.15; margin-bottom: .5rem; }
.product-name a { color: var(--char); text-decoration: none; }
.product-name a:hover { color: var(--red); }
.product-price { margin: auto 0 .85rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .4rem; }
.product-price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--red); line-height: 1; }
.product-price strong.ask { font-size: 1.1rem; color: var(--char); }
.product-price .per { color: var(--muted); font-size: .88rem; }
.product-price del { color: var(--muted); font-size: .85rem; }
.product-actions { display: flex; gap: .45rem; }
.product-actions .btn-brand { flex: 1; }
.product-actions .btn-wa-soft { width: 40px; padding-left: 0; padding-right: 0; font-size: 1.15rem; }
@media (max-width: 575.98px) {
  .product-body { padding: .75rem .75rem .85rem; }
  .product-name { font-size: 1.05rem; }
  .product-price strong { font-size: 1.2rem; }
  .product-actions .btn-sm { font-size: .82rem; }
  .product-media .stock-pill { font-size: .66rem; top: .45rem; left: .45rem; }
}

/* ---------- About split ---------- */
.photo-stack { position: relative; padding: 0 12% 18% 0; }
.photo-a { aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; margin: 0; }
.photo-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin: 0; border: 6px solid #fff; box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: "\f00c"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--pine-50); color: var(--pine); display: grid; place-items: center; font-size: .72rem; }

/* ---------- Parallax ---------- */
.parallax { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; color: #fff; text-align: center; background: var(--char-900); }
.parallax-media { position: absolute; left: 0; right: 0; top: -18%; height: 136%; will-change: transform; }
.parallax-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,32,30,.55), rgba(35,32,30,.72)); }
.parallax-content { position: relative; z-index: 2; padding: 5rem 1rem; max-width: 820px; }
.script-line { font-family: var(--font-script); color: var(--timber); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; margin-bottom: .6rem; }
.parallax-title { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; margin-bottom: 1rem; }
.parallax-text { color: rgba(247, 245, 233, .9); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 1.8rem; }

/* ---------- Uses / services cards ---------- */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 991.98px) { .use-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .use-grid { grid-template-columns: 1fr; } }
.use-card { position: relative; display: block; height: 380px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.use-card img { position: absolute; inset: 0; z-index: -2; transition: transform .6s; }
.use-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(35,32,30,.92) 0%, rgba(35,32,30,.35) 50%, rgba(35,32,30,0) 75%); }
.use-card:hover img { transform: scale(1.06); }
.use-card:hover { color: #fff; }
.use-body { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.use-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: .4rem; }
.use-title { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1.1; }
.use-text { font-size: .95rem; color: rgba(247, 245, 233, .85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575.98px) { .use-card { height: 300px; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 4.2rem; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--timber); }
.step::after { content: ""; position: absolute; top: 1.8rem; left: 3.4rem; right: -1rem; height: 1px; background: rgba(217, 176, 116, .35); }
.step:last-child::after { display: none; }
.step-title { color: #fff; font-size: 1.45rem; margin-bottom: .4rem; }
.step-text { color: rgba(239, 236, 214, .75); margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } .step { padding: 0 0 0 4rem; } .step::before { font-size: 2.8rem; } }

/* ---------- Testimonials ---------- */
.testimonial-swiper { padding-bottom: 3rem; margin-top: 2rem; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); height: auto; margin: 0; }
.testimonial blockquote p { font-size: 1.08rem; }
.testimonial figcaption { display: flex; gap: .8rem; align-items: center; }
.testimonial figcaption span { display: flex; flex-direction: column; }
.testimonial small { color: var(--muted); }
.stars { color: #e0a42b; margin-bottom: .8rem; }
.avatar { width: 48px !important; height: 48px !important; border-radius: 50%; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq .accordion-button { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--char); background: transparent; padding: 1.25rem 0; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--red); }
.faq .accordion-button::after { background-image: none; content: "\2b"; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .9rem; width: 32px; height: 32px; border-radius: 50%; background: var(--sawdust-2); display: grid; place-items: center; transition: transform .25s; }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background-color: var(--red-50); }
.faq .accordion-body { padding: 0 0 1.4rem; color: var(--char-600); }
.ask-card { margin-top: 1.8rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ask-card img { aspect-ratio: 16 / 9; height: auto; }
.ask-body { padding: 1.2rem; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 991.98px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.post-media img { transition: transform .5s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.post-meta i { color: var(--timber-700); margin-right: .25rem; }
.post-title { font-size: 1.35rem; line-height: 1.15; margin-bottom: .55rem; }
.post-title a { color: var(--char); text-decoration: none; }
.post-title a:hover { color: var(--red); }
.post-excerpt { color: var(--char-600); font-size: .97rem; flex: 1; }
.post-lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.post-lead-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; display: block; }
.post-lead-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.post-lead-title a { color: var(--char); text-decoration: none; }
.post-lead-title a:hover { color: var(--red); }
@media (max-width: 991.98px) { .post-lead { grid-template-columns: 1fr; gap: 1.3rem; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band-inner > div:first-child { max-width: 680px; }
.cta-script { font-family: var(--font-script); color: var(--sawdust); font-size: 1.6rem; margin-bottom: .2rem; }
.cta-title { color: #fff; font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 800; margin-bottom: .6rem; }
.cta-text { color: rgba(255,255,255,.88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char-900); color: rgba(239, 236, 214, .72); padding: 4.5rem 0 0; font-size: .96rem; }
.site-footer a { color: rgba(239, 236, 214, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-title { font-size: 1.25rem; color: var(--timber); margin-bottom: 1rem; }
.footer-about { max-width: 38ch; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.footer-contact li { display: flex; gap: .8rem; }
.footer-contact i { color: var(--timber); width: 18px; margin-top: .3rem; text-align: center; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(239,236,214,.25); display: grid; place-items: center; }
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom { margin-top: 3.5rem; padding: 1.4rem 0; border-top: 1px solid rgba(239,236,214,.14); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom-links { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.footer-bottom-links span { opacity: .4; }

/* ---------- Mobile action bar & floats ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -16px rgba(35,32,30,.4); }
.mobile-bar a, .mobile-bar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; padding: .55rem 0 .5rem; color: var(--char); text-decoration: none; font-size: .72rem; font-weight: 600; border: 0; background: none; }
.mobile-bar i { font-size: 1.2rem; }
.mobile-bar .is-wa { color: var(--wa); }
.mobile-bar .cart-count { top: 3px; right: calc(50% - 24px); }
@media (max-width: 991.98px) { body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); } }
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 1035; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 12px 28px -10px rgba(28,158,80,.7); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.07); }

/* ---------- Cart drawer ---------- */
.cart-drawer { --bs-offcanvas-width: min(92vw, 420px); }
.cart-drawer .offcanvas-title { font-size: 1.6rem; }
.drawer-items { display: grid; gap: 1rem; }
.drawer-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .8rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.drawer-item .thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--sawdust); }
.drawer-item h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.drawer-item h3 a { color: var(--char); text-decoration: none; }
.item-meta { font-size: .82rem; color: var(--muted); margin-bottom: .45rem; }
.item-total { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.item-remove { border: 0; background: none; color: var(--muted); font-size: .82rem; padding: 0; margin-top: .4rem; }
.item-remove:hover { color: var(--red); }
.drawer-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.drawer-empty i { font-size: 2.6rem; color: var(--timber); margin-bottom: 1rem; }
.drawer-empty[hidden], [data-cart-footer][hidden] { display: none !important; }
.offcanvas-footer { padding: 1.1rem 1rem calc(1.1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--sawdust-2); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--red); }
.drawer-note { font-size: .82rem; color: var(--muted); margin: .2rem 0 .9rem; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--char); font-size: .8rem; }
.qty button:hover { background: var(--sawdust-2); }
.qty input { width: 54px; height: 38px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 30px; height: 30px; }
.qty-sm input { width: 42px; height: 30px; font-size: .9rem; }

/* Toasts & fly-to-cart */
.toast-zone { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 2000; display: grid; gap: .5rem; width: min(92vw, 420px); pointer-events: none; }
@media (max-width: 991.98px) { .toast-zone { bottom: calc(76px + env(safe-area-inset-bottom)); } }
.bw-toast { pointer-events: auto; display: flex; align-items: center; gap: .8rem; background: var(--char-900); color: #fff; border-radius: 12px; padding: .8rem 1rem; box-shadow: 0 16px 36px -14px rgba(0,0,0,.6); animation: toastIn .35s cubic-bezier(.2,.8,.2,1); font-size: .95rem; }
.bw-toast i { color: #4cd17f; font-size: 1.2rem; }
.bw-toast a { color: var(--timber); font-weight: 600; margin-left: auto; white-space: nowrap; }
.bw-toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
.fly-img { position: fixed; z-index: 3000; border-radius: 12px; object-fit: cover; pointer-events: none; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.btn.is-added { --bs-btn-bg: var(--pine); --bs-btn-border-color: var(--pine); --bs-btn-hover-bg: var(--pine); --bs-btn-hover-border-color: var(--pine); --bs-btn-active-bg: var(--pine); --bs-btn-active-border-color: var(--pine); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--char-900); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,32,30,.9) 0%, rgba(35,32,30,.6) 50%, rgba(35,32,30,.3) 100%); }
.page-hero-inner { position: relative; z-index: 2; padding: 4rem 12px 2.8rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin: .4rem 0 .6rem; max-width: 20ch; }
.page-hero-text { color: rgba(247, 245, 233, .88); max-width: 60ch; margin: 0; font-size: 1.08rem; }
@media (max-width: 575.98px) { .page-hero { min-height: 260px; } .page-hero-inner { padding: 3rem 12px 2rem; } }
.crumbs { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.crumbs li { color: rgba(247, 245, 233, .7); }
.crumbs li + li::before { content: "/"; margin: 0 .55rem; opacity: .5; }
.crumbs a { color: rgba(247, 245, 233, .9); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs-dark li { color: var(--muted); }
.crumbs-dark a { color: var(--char-600); }
.crumbs-dark a:hover { color: var(--red); }

/* ---------- Shop ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.shop-toolbar .chip-row { flex: 1 1 520px; min-width: 0; }
.shop-filter { display: flex; gap: .5rem; flex: 0 1 460px; }
.shop-filter .form-select { max-width: 190px; }
.input-icon { position: relative; flex: 1; }
.input-icon i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.input-icon .form-control { padding-left: 2.4rem; }
.form-control, .form-select { border-color: var(--line); border-radius: var(--radius-sm); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--timber-700); box-shadow: 0 0 0 .2rem rgba(217, 176, 116, .35); }
.form-label { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--char); text-decoration: none; font-weight: 600; }
.pager a.active, .pager a:hover { background: var(--char); color: #fff; border-color: var(--char); }
.empty-state { text-align: center; padding: 3.5rem 1rem; max-width: 620px; margin: 0 auto; }
.empty-state i { font-size: 2.8rem; color: var(--timber); margin-bottom: 1rem; }
.empty-state h2 { font-size: 1.8rem; }
.empty-state p { color: var(--muted); }
.category-copy { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); max-width: 820px; }
@media (max-width: 767.98px) { .shop-filter { flex: 1 1 100%; } .shop-filter .form-select { max-width: 150px; } }

/* ---------- Product page ---------- */
.pgallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sawdust); }
.pgallery-main .swiper-slide { display: block; }
.pgallery-main .swiper-pagination-bullet-active { background: var(--red); }
.zoom-hint { position: absolute; right: .8rem; top: .8rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--char); pointer-events: none; }
.pgallery-thumbs { margin-top: .7rem; }
.pgallery-thumbs .swiper-slide { width: 96px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; opacity: .55; cursor: pointer; border: 2px solid transparent; transition: opacity .2s; }
.pgallery-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--red); }
.pinfo-title { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: .3rem 0 .8rem; }
.pinfo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .7rem; margin-bottom: 1rem; }
.pinfo-price strong { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; color: var(--red); line-height: 1; }
.pinfo-price .per { color: var(--muted); }
.pinfo-price .stock-pill { background: var(--pine-50); align-self: center; }
.pinfo-price .stock-low { background: #fdf1dc; } .pinfo-price .stock-out { background: var(--red-50); }
.pinfo-lead { font-size: 1.1rem; color: var(--char-600); }
.buy-box { background: var(--sawdust-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; margin: 1.4rem 0; }
.opt-group { margin-bottom: 1rem; }
.opt-group legend { font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.opt-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 500; transition: all .15s; }
.opt input:checked + span { background: var(--char); color: #fff; border-color: var(--char); }
.opt input:focus-visible + span { outline: 3px solid var(--timber); }
.buy-row { display: flex; align-items: center; gap: .8rem; }
.qty-unit { color: var(--muted); }
.line-estimate { margin: .8rem 0 1rem; font-size: .95rem; color: var(--char-600); min-height: 1.5em; }
.line-estimate strong { color: var(--char); }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 575.98px) { .buy-actions { grid-template-columns: 1fr; } }
.assure { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--char-600); font-size: .95rem; }
.assure i { color: var(--pine); width: 22px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 1039; background: #fff; border-top: 1px solid var(--line); padding: .6rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; box-shadow: 0 -8px 20px -16px rgba(0,0,0,.4); }
.sticky-buy[hidden] { display: none; }
.sticky-buy strong { color: var(--red); font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- Prose (articles, rich text) ---------- */
.prose { color: var(--char-600); }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 2.2rem 0 .8rem; color: var(--char); }
.prose h3 { font-size: 1.4rem; margin: 1.8rem 0 .6rem; color: var(--char); }
.prose h4 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--red); }
.prose ol li[data-list="bullet"] { list-style-type: disc; }
.prose strong { color: var(--char); }
.prose blockquote { border-left: 4px solid var(--red); background: var(--sawdust-2); padding: 1rem 1.3rem; margin: 1.5rem 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--char); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--radius); margin: 1rem 0; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.prose th, .prose table tr:first-child td { background: var(--sawdust); color: var(--char); font-weight: 600; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }
.lead-prose { font-size: 1.15rem; max-width: 70ch; }

/* ---------- Post page ---------- */
.post-header { padding-bottom: 2rem; }
.post-cat { display: inline-block; margin: 1.6rem 0 .6rem; padding: .25rem .8rem; border-radius: 999px; background: var(--pine-50); color: var(--pine); font-weight: 600; font-size: .85rem; }
.post-h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; margin-bottom: 1rem; }
.post-meta-lg { font-size: .95rem; gap: .4rem 1.4rem; }
.post-cover { margin: 1.8rem 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; }
@media (max-width: 767.98px) { .post-cover { aspect-ratio: 16 / 10; } }
.post-content { font-size: 1.1rem; line-height: 1.78; }
.toc { background: var(--sawdust-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.toc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--char); margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.toc a { color: var(--char-600); text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: var(--red-50); border: 1px solid #f2cfd2; border-radius: var(--radius); padding: 1.5rem; margin: 2.5rem 0 1.5rem; }
.post-cta h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.share span { font-weight: 600; margin-right: .3rem; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--char); text-decoration: none; }
.share a:hover, .share button:hover { background: var(--char); color: #fff; border-color: var(--char); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* ---------- Side cards ---------- */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.2rem; }
.side-card-red { background: var(--red); border-color: var(--red); color: rgba(255,255,255,.9); }
.side-card-red .side-title { color: #fff; }
.side-title { font-size: 1.35rem; margin-bottom: .9rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; gap: .7rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--char); text-decoration: none; font-weight: 500; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--red); }
.side-links i { color: var(--red); width: 20px; text-align: center; }
.mini-product { display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--char); }
.mini-product:last-child { border-bottom: 0; }
.mini-product img { width: 64px; height: 52px; border-radius: var(--radius-sm); }
.mini-product span { display: flex; flex-direction: column; line-height: 1.25; }
.mini-product small { color: var(--red); font-weight: 600; }

/* ---------- Services page ---------- */
.service-list { display: grid; gap: 3.5rem; }
.service-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.service-row.flip .service-media { order: 2; }
.service-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; display: block; }
.service-title { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin: .6rem 0; }
.service-title a { color: var(--char); text-decoration: none; }
.service-title a:hover { color: var(--red); }
@media (max-width: 991.98px) { .service-row { grid-template-columns: 1fr; gap: 1.3rem; } .service-row.flip .service-media { order: 0; } }

/* ---------- About ---------- */
.framed-photo { margin: 0; }
.framed-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; height: auto; }
.framed-photo figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value { text-align: center; padding: 0 1rem; }
.value-icon { width: 68px; height: 68px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--red); color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.value h3 { color: #fff; font-size: 1.6rem; }
.value p { color: rgba(239, 236, 214, .75); }
@media (max-width: 767.98px) { .values { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 12px; grid-auto-flow: dense; }
.gallery-masonry .gallery-item:nth-child(5n + 1) { grid-row: span 2; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--sawdust); }
.gallery-item img { transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item[hidden] { display: none; }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(0deg, rgba(35,32,30,.8), rgba(35,32,30,0)); opacity: 0; transition: opacity .25s; }
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; }
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery-cap { opacity: 1; font-size: .78rem; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.contact-card { display: flex; gap: .75rem; align-items: center; padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--char-600); background: #fff; transition: all .2s; }
.contact-card:hover { border-color: var(--char); color: var(--char); box-shadow: var(--shadow); }
.contact-card i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--red-50); color: var(--red); display: grid; place-items: center; font-size: 1.2rem; }
.contact-card.is-wa i { background: var(--wa-50); color: var(--wa); }
.contact-card span { display: flex; flex-direction: column; font-size: .86rem; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.contact-card strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--char); }
@media (max-width: 991.98px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .contact-cards { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-top: 1.2rem; }
.hours-card { background: var(--sawdust-2); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.4rem 0; }
.hours-card h3 { font-size: 1.25rem; }
.hours-card i { color: var(--red); }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sawdust); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Cart page ---------- */
.cart-page { padding-bottom: 5rem; }
.cart-page .section-intro { margin-bottom: 2rem; }
.cart-lines { display: grid; gap: 1rem; }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; }
.cart-line .thumb { width: 110px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; background: var(--sawdust); }
.cart-line h3 { font-size: 1.2rem; margin: 0 0 .2rem; }
.cart-line h3 a { color: var(--char); text-decoration: none; }
.cart-line .controls { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.cart-line .line-total { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--char); text-align: right; }
@media (max-width: 575.98px) { .cart-line { grid-template-columns: 80px 1fr; } .cart-line .thumb { width: 80px; height: 70px; } .cart-line .line-total { grid-column: 2; text-align: left; font-size: 1.1rem; } }
.checkout-card, .checkout-done { position: sticky; top: calc(var(--header-h) + 1rem); background: var(--sawdust-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: .8rem 0; }
.summary-row strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem .5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 500; font-size: .92rem; text-align: center; }
.seg input:checked + span { border-color: var(--char); background: var(--char); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--timber); }
.checkout-done { text-align: center; }
.checkout-done > i { font-size: 3rem; color: var(--wa); margin-bottom: .8rem; }

/* ---------- Developer page & 404 ---------- */
.dev-page, .notfound { padding: 0 0 5rem; }
.dev-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.dev-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; background: #fff; }
.dev-card h2 { font-size: 1.6rem; }
.dev-card h2 a { color: var(--red); }
.dev-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sawdust); color: var(--char); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem; }
@media (max-width: 767.98px) { .dev-cards { grid-template-columns: 1fr; } }
.notfound { padding-top: 4rem; }
.notfound-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--timber); margin: 0; }
.notfound-search { display: flex; gap: .5rem; max-width: 520px; margin: 1.5rem auto 0; }

/* ---------- WOW reveal helper ---------- */
.animate__animated.animate__fadeIn, .animate__animated.animate__fadeInUp { --animate-duration: .7s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .trade-track { animation: none; flex-wrap: wrap; width: auto; }
  .trade-list[aria-hidden] { display: none; }
  .trade-list { flex-wrap: wrap; padding: 0 1rem; }
  .hero-content > * { opacity: 1; transform: none; }
  .wow { visibility: visible !important; }
}
