/* ===== Kisobrani Bura — Heritage label design system ===== */
:root {
  --burgundy: #5c1a2b;
  --burgundy-deep: #3e0f1c;
  --rose: #b4596b;
  --champagne: #f2e4c9;
  --cream: #faf4e7;
  --ink: #2a1a1a;
  --gold: #a8803a;
  --radius: 4px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-paper: 0 10px 30px -10px rgba(60, 20, 20, 0.35), 0 2px 6px rgba(60, 20, 20, 0.15);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--burgundy); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0 0 0.5em; line-height: 1.15; color: var(--burgundy-deep); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--burgundy); color: #fff; padding: 0.6em 1em; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 2px solid var(--burgundy); }
.site-header__inner { max-width: var(--maxw); margin: 0 auto; padding: 0.7rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; color: var(--burgundy-deep); }
.logo__mark { flex: none; }
.logo__word { width: 168px; height: 24px; flex: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--burgundy-deep); cursor: pointer; padding: 0.4rem; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); position: relative; padding: 0.2rem 0; }
.site-nav a:not(.nav-cart)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold); transition: right 0.25s ease; }
.site-nav a:not(.nav-cart):hover::after, .site-nav a.is-active::after { right: 0; }
.nav-cart { display: flex; align-items: center; gap: 0.3rem; color: var(--burgundy); }
.cart-badge { background: var(--burgundy); color: #fff; border-radius: 50%; min-width: 1.4em; height: 1.4em; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.cart-badge.bump { animation: bump 0.35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.nav-close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--burgundy-deep); color: var(--champagne); flex-direction: column; align-items: flex-start; padding: 5rem 1.5rem 2rem; gap: 1.4rem; transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { color: var(--champagne); }
  .nav-close { display: block; position: absolute; top: 1.2rem; right: 1.2rem; background: none; border: none; color: var(--champagne); cursor: pointer; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; padding: 0.75em 1.6em; border-radius: var(--radius); border: 2px solid var(--burgundy); background: var(--burgundy); color: #fff; cursor: pointer; min-height: 44px; z-index: 0; }
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--gold); transition: left 0.3s ease; z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn--outline { background: transparent; color: var(--burgundy); }
.btn--ghost-dark { background: transparent; border-color: var(--champagne); color: var(--champagne); }
.btn--ghost-dark::before { background: var(--champagne); }
.btn--ghost-dark:hover { color: var(--burgundy-deep); }
.btn--small { padding: 0.5em 1.1em; font-size: 0.85rem; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero / split screen ---------- */
.hero-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; overflow: hidden; }
.hero-split__panel { position: relative; overflow: hidden; }
.hero-split__panel--text { background: var(--burgundy-deep); color: var(--champagne); display: flex; align-items: center; padding: 3rem; }
.hero-split__panel--img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.25) saturate(1.1); }
.hero-split__divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; background: var(--gold); transform: translateX(-3px); z-index: 5; box-shadow: 0 0 20px rgba(168,128,58,0.6); }
.hero-content { max-width: 480px; }
.hero-content .eyebrow { font-family: var(--sans); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold); margin-bottom: 0.8em; display: block; }
.hero-headline { font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--champagne); }
.hero-content .lede { font-size: 1.1rem; max-width: 36ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-split .layer-a, .hero-split .layer-b { transition: transform 0.9s cubic-bezier(.16,.8,.3,1); }
@media (prefers-reduced-motion: no-preference) {
  .hero-split.reveal:not(.in-view) .layer-a { transform: translateX(-6%); }
  .hero-split.reveal:not(.in-view) .layer-b { transform: translateX(6%); }
}
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split__panel--img { height: 46vh; }
  .hero-split__divider { display: none; }
  .hero-split__panel--text { padding: 2.2rem 1.25rem; }
}

/* ---------- Sections / generic ---------- */
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section--tinted { background: var(--champagne); }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-head p { color: #5a4848; }

.ribbon { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--serif); font-style: italic; color: var(--burgundy); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 0.3em 0; margin-bottom: 1rem; }

.divider-svg { display: block; width: 100%; height: 48px; color: var(--gold); }

/* ---------- Reveal / motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 12% 0); transition: opacity 0.7s ease, transform 0.7s ease, clip-path 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .reveal, .hero-split .layer-a, .hero-split .layer-b { transition: none !important; transform: none !important; } }

.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply; z-index: 1; }

/* ---------- Product cards / catalog ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.6rem; }
.product-strip { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.product-strip .product-card { min-width: 230px; scroll-snap-align: start; }
.product-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-paper); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease; }
.product-card:hover { transform: translateY(-6px); }
.product-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--champagne); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__badge { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--burgundy); color: #fff; font-size: 0.72rem; padding: 0.25em 0.6em; border-radius: 2px; }
.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-card__name { font-size: 1.05rem; margin: 0; }
.product-card__price { font-weight: 700; color: var(--burgundy); }
.product-card__price del { color: #9a8b8b; font-weight: 400; margin-right: 0.4em; }

/* ---------- Signature feature: Burometar ---------- */
.burometar { background: var(--burgundy-deep); color: var(--champagne); border-radius: 8px; padding: clamp(1.6rem, 4vw, 3rem); position: relative; overflow: hidden; }
.burometar__gauge { width: 220px; height: 120px; margin: 0 auto 1rem; position: relative; }
.burometar__needle { transform-origin: 50% 100%; transition: transform 0.3s ease; }
.burometar input[type="range"] { width: 100%; accent-color: var(--gold); margin: 1rem 0; }
.burometar__readout { text-align: center; font-family: var(--serif); font-size: 1.4rem; }
.burometar__result { background: rgba(242,228,201,0.08); border: 1px solid rgba(242,228,201,0.3); border-radius: 6px; padding: 1rem; margin-top: 1rem; text-align: center; }

/* ---------- Icon features ---------- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.6rem; }
.feature-list__item { display: flex; gap: 0.8rem; align-items: flex-start; }
.feature-list__item svg { flex: none; color: var(--burgundy); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--burgundy-deep); color: var(--champagne); padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2rem,4vw,3rem); }
.page-hero h1 { color: var(--champagne); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { color: var(--rose); max-width: 56ch; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; display: flex; gap: 0.4rem; color: #8a7a7a; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--burgundy); }
.breadcrumbs span[aria-hidden] { color: #c5b7b7; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }

.legal-toc { background: var(--champagne); border-radius: var(--radius); padding: 1.2rem 1.4rem; max-width: 68ch; margin: 0 auto 2rem; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }

/* ---------- Notice ---------- */
.notice { border-left: 4px solid var(--gold); background: var(--champagne); padding: 1rem 1.2rem; border-radius: 0 4px 4px 0; margin: 1.2rem 0; }
.notice--error { border-color: #a23b3b; background: #f7e4e4; }
.notice--success { border-color: #3b7a4a; background: #e3f0e6; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.1rem; max-width: 68ch; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1/-1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea { font: inherit; padding: 0.7em 0.8em; border: 1.5px solid #cbb9a8; border-radius: var(--radius); background: #fff; accent-color: var(--burgundy); min-height: 44px; }
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--burgundy); }
.field-error { color: #a23b3b; font-size: 0.82rem; min-height: 1.1em; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 68ch; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: #fff; border: 1px solid #e3d5c4; border-radius: var(--radius); padding: 0.2rem 1.2rem; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 1rem; color: #4a3a3a; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.product-detail__media img { border-radius: var(--radius); box-shadow: var(--shadow-paper); aspect-ratio: 4/3; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-weight: 700; color: var(--burgundy); }
.product-detail__meta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.8rem 0; }
.qty-row { display: flex; align-items: center; gap: 0.8rem; margin: 1.2rem 0; }
.qty-row input { width: 4em; text-align: center; padding: 0.6em; border: 1.5px solid #cbb9a8; border-radius: var(--radius); min-height: 44px; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 0.9rem 0.6rem; border-bottom: 1px solid #e3d5c4; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.cart-summary { background: var(--champagne); border-radius: var(--radius); padding: 1.4rem; max-width: 360px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 0.4rem 0; }
.cart-summary__total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid #cbb9a8; padding-top: 0.6rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info__item { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-info__item svg { color: var(--burgundy); flex: none; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--burgundy-deep); color: var(--champagne); }
.site-footer__top { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.25rem 2rem; display: grid; grid-template-columns: 1.2fr 2fr 1.2fr; gap: 2rem; }
.footer-brand { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--champagne); }
.footer-brand span { color: var(--rose); font-size: 0.85rem; }
.footer-nav { display: flex; gap: 2rem; }
.footer-nav__col h3 { color: var(--champagne); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.7em; }
.footer-nav__col a { display: block; color: var(--rose); padding: 0.25em 0; }
.footer-nav__col a:hover { color: var(--champagne); }
.newsletter h3 { color: var(--champagne); font-size: 1rem; }
.newsletter p { color: var(--rose); font-size: 0.85rem; }
.newsletter__row { display: flex; gap: 0.5rem; }
.newsletter__row input { flex: 1; padding: 0.6em 0.8em; border-radius: var(--radius); border: 1.5px solid rgba(242,228,201,0.4); background: rgba(255,255,255,0.05); color: var(--champagne); min-height: 44px; }
.site-footer__bottom { border-top: 1px solid rgba(242,228,201,0.2); padding: 1.2rem 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; max-width: var(--maxw); margin: 0 auto; font-size: 0.85rem; color: var(--rose); }
.site-footer__bottom a { color: var(--champagne); }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr; } .footer-nav { flex-wrap: wrap; gap: 1.5rem; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 560px; margin: 0 auto; background: var(--burgundy-deep); color: var(--champagne); border-radius: 8px; padding: 1.2rem 1.4rem; box-shadow: var(--shadow-paper); z-index: 300; display: flex; flex-direction: column; gap: 0.8rem; }
.cookie-banner a { color: var(--champagne); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-2{margin-top:2rem}.mb-2{margin-bottom:2rem}
.flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-1{gap:1rem}.items-center{align-items:center}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.text-center{text-align:center}
@media (max-width:760px){.grid-2{grid-template-columns:1fr}}

/* COMPONENTS:
.wrap - centered max-width content container
.site-header / .site-header__inner - sticky top nav bar
.logo / .logo__mark / .logo__word - SVG logo lockup
.nav-toggle / .nav-close / .site-nav / .is-open / .is-active - mobile nav + active link state
.nav-cart / .cart-badge / .bump - header cart icon + count bubble + bump animation
.btn / .btn--outline / .btn--ghost-dark / .btn--small / .btn--full - button variants with fill-sweep hover
.hero-split / .hero-split__panel / .hero-split__panel--text / .hero-split__panel--img / .hero-split__divider / .layer-a / .layer-b - home split-screen hero
.hero-content / .hero-headline / .hero-actions - hero text block
.section / .section--tinted / .section-head - generic page section + centered heading block
.ribbon - italic label-style ribbon heading accent
.divider-svg - full-width decorative SVG section divider
.reveal / .in-view / .reveal-stagger - scroll-reveal animation hooks
.grain-overlay - fixed full-screen SVG grain texture overlay
.product-grid / .product-strip - catalog grid / mobile scroll-snap strip
.product-card / .product-card__media / .product-card__badge / .product-card__body / .product-card__name / .product-card__price - product card
.burometar / .burometar__gauge / .burometar__needle / .burometar__readout / .burometar__result - signature wind-check feature
.feature-list / .feature-list__item - icon+text feature rows
.page-hero - inner-page header band
.breadcrumbs - breadcrumb trail
.prose - readable long-form legal/text column
.legal-toc - table of contents box for legal pages
.notice / .notice--error / .notice--success - callout boxes
.form-grid / .field / .field--full / .field-error / .hp-field / .form-msg - form layout, field group, error text, honeypot, status message
.faq / .faq-item - details/summary accordion
.product-detail / .product-detail__media / .product-detail__price / .product-detail__meta / .qty-row - product page layout
.cart-table / .cart-summary / .cart-summary__row / .cart-summary__total - cart/checkout tables
.contact-layout / .contact-info / .contact-info__item - contact page split layout
.site-footer / .site-footer__top / .footer-brand / .footer-nav / .footer-nav__col / .newsletter / .newsletter__row / .site-footer__bottom - footer
.cookie-banner / .cookie-banner__actions - cookie consent banner
.skip-link / .sr-only - accessibility helpers
.mt-0 .mb-0 .mt-2 .mb-2 .flex .flex-wrap .gap-1 .items-center .grid-2 .text-center - spacing/layout utilities
*/

.qty-input { font: inherit; padding: 0.6em 0.8em; border: 1.5px solid #cbb9a8; border-radius: var(--radius); background: #fff; width: 4em; text-align: center; min-height: 44px; accent-color: var(--burgundy); }
.qty-input:focus { border-color: var(--burgundy); }

.product-detail__body { display: flex; flex-direction: column; gap: 1.2rem; }

.product-detail__info { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; line-height: 1.6; }

.product-detail__form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

@media (max-width: 760px) {
  .product-detail__body { gap: 1rem; }
}
