/* Ruse Vending — public site. Light editorial style: white, warm cream panels, serif headings. */
:root {
  --brand: #8B5A2B;
  --ink: #1E1712;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --cream: #F4EFE9;
  --cream-2: #F9F6F2;
  --sand: #F4EFE9;
  --line: #EAE3DB;
  --text: #3B322C;
  --muted: #7F746B;
  --accent: #C9A36A;
  --brand-soft: color-mix(in srgb, var(--brand) 10%, white);
  --brand-dark: color-mix(in srgb, var(--brand) 78%, black);
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 10px 30px rgba(30, 23, 18, .06);
  --shadow-lg: 0 24px 60px rgba(30, 23, 18, .10);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-feature-settings: "locl" 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-style: italic; color: var(--brand); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Buttons: square, uppercase, quiet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 2px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-lg { min-height: 56px; padding: 0 32px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-link { background: none; color: var(--ink); padding: 0 4px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; min-height: 0; height: 56px; }
.btn-link:hover { color: var(--brand); border-color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-small { min-height: 0; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; font-size: .72rem; letter-spacing: .14em; color: var(--ink); background: none; }
.btn-small:hover { color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 2rem; }

/* Top bar + header */
.topbar { background: var(--cream); color: var(--muted); font-size: .82rem; }
.topbar-in { display: flex; justify-content: flex-end; gap: 26px; min-height: 36px; align-items: center; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { width: auto; height: 46px; flex: none; }
.footer .logo img { height: 50px; }
.logo-light { margin-bottom: 18px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; padding: 6px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-service { color: var(--brand); }
.nav .nav-cta { margin-left: 6px; padding: 0 22px; min-height: 44px; background: none; color: var(--ink); border: 1.5px solid var(--ink); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; margin-bottom: .45em; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 14px 40px; margin: 3rem 0 0; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--muted); font-size: .85rem; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.hero-stage { position: relative; aspect-ratio: 1 / 1.02; background: var(--cream); }
.stage-main { position: absolute; inset: 14% 22% 24% 16%; }
.stage-main img, .stage-side img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.stage-main:hover img { transform: scale(1.03); }
.stage-side { position: absolute; right: 6%; bottom: 6%; width: 30%; aspect-ratio: 1; padding: 4%; background: #fff; box-shadow: var(--shadow); }
.stage-side img { mix-blend-mode: normal; }
.stage-tag { position: absolute; left: 6%; bottom: 6%; padding: 16px 20px; background: #fff; box-shadow: var(--shadow); font-size: .82rem; color: var(--muted); }
.stage-tag strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 160px; padding: 22px; background: var(--cream); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; }
.tile-icon, .category-icon { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; color: var(--brand); }
.tile-icon svg, .category-icon svg { width: 30px; height: 30px; }

/* Brands strip */
.brand-strip { border-block: 1px solid var(--line); }
.brand-strip-in { display: flex; align-items: center; gap: 12px 40px; min-height: 84px; padding: 18px 0; }
.brand-strip-label { flex: none; font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.brand-strip ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 34px; list-style: none; margin: 0; padding: 0; }
.brand-strip a { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: #A89C92; text-decoration: none; transition: color .15s; }
.brand-strip a:hover { color: var(--ink); }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--cream-2); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head > p { max-width: 46ch; color: var(--muted); margin: 0; }
.section-head h2 { margin: 0; }
.link-more { flex: none; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.link-more:hover { color: var(--brand); border-color: var(--brand); }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 250px; padding: 26px; background: var(--cream); color: var(--ink); text-decoration: none; transition: background .2s; }
.category-card:hover { background: #EEE6DD; }
.category-card h3 { margin: 0 0 6px; font-size: 1.35rem; max-width: 11ch; }
.category-count { font-size: .8rem; font-weight: 600; color: var(--brand); }
.category-card img { position: absolute; right: 12px; bottom: 12px; width: 52%; height: 58%; object-fit: contain; object-position: bottom right; mix-blend-mode: multiply; transition: transform .35s; }
.category-card:hover img { transform: translateY(-4px) scale(1.03); }
.category-card .category-icon { position: absolute; right: 20px; bottom: 20px; width: 64px; height: 64px; }
.category-card .category-icon svg { width: 44px; height: 44px; stroke-width: 1.2; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; }
.product-card { display: flex; flex-direction: column; }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--cream-2); overflow: hidden; }
.product-media img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { display: flex; flex-direction: column; gap: 3px; padding: 18px 0 0; flex: 1; }
.product-desc-short { margin-bottom: 14px !important; }
.product-cat { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--brand); text-decoration: none; }
.product-body h3 { margin: 4px 0 0; font-size: 1.15rem; line-height: 1.25; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-body h3 a:hover { color: var(--brand); }
.product-unit { color: var(--muted); font-size: .88rem; margin: 0; }
.product-desc-short { margin: 6px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 1.1rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.price-ask { font-size: .85rem; font-weight: 500; color: var(--muted); }
.price-note { margin: 28px 0 0; color: var(--muted); font-size: .85rem; }
.product-icon { display: grid; place-items: center; width: 76px; height: 76px; color: var(--brand); }
.product-icon svg { width: 44px; height: 44px; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.brand-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .85rem; font-weight: 500; text-decoration: none; transition: border-color .15s, background .15s; }
.brand-chips a small { color: var(--muted); }
.brand-chips a:hover { border-color: var(--ink); }
.brand-chips a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.brand-chips a[aria-current="true"] small { color: rgba(255,255,255,.7); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px 28px; }
.service-card { padding-top: 26px; border-top: 1.5px solid var(--ink); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 16px; }
.service-card .service-icon { width: auto; height: auto; justify-content: start; margin-bottom: 14px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .4em; }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.service-emoji { display: none; }

.service-strip { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(44px, 6vw, 72px) 0; }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.service-strip h2 { color: #fff; margin-bottom: .3em; }
.service-strip p { margin: 0; max-width: 58ch; }
.strip-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* About / process / quotes / faq */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.checks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border-left: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); transform: rotate(-45deg); }
.about-visual { display: grid; place-items: center; }
.about-badge { display: grid; justify-items: center; gap: 4px; width: 100%; padding: clamp(40px, 6vw, 72px) 32px; background: var(--cream); text-align: center; color: var(--muted); }
.about-badge img { width: 130px; height: 130px; margin-bottom: 18px; }
.about-badge strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ink); }
.about-badge span { font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brand); margin-bottom: 22px; }
.about-badge .btn-light { background: var(--ink); color: #fff; }
.about-badge .btn-light:hover { background: var(--brand-dark); }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px 28px; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--brand); margin-bottom: 8px; line-height: 1; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { margin: 0; padding: 30px; background: var(--cream); }
.quote blockquote { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.quote figcaption span { color: var(--muted); }
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font); font-weight: 300; font-size: 1.6rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* Contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #E2D8CD; font-weight: 500; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.contact-list span { width: 90px; color: var(--muted); font-weight: 500; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.contact-form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 44px); background: #fff; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.contact-form small { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, textarea, select { width: 100%; font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text); padding: 13px 14px; border: 1px solid #DDD3C8; border-radius: 2px; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { padding: 12px 14px; background: #FDECEC; border: 1px solid #F3B4B4; color: #8A1C1C; font-weight: 600; font-size: .9rem; text-transform: none; letter-spacing: 0; }

/* Catalog pages */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .25em; }
.thanks { padding: clamp(72px, 10vw, 140px) 0; border: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.search { display: flex; gap: 0; flex: 1; max-width: 560px; }
.search input { border-right: 0; }
.search .btn { min-height: 0; }
.catalog-section { padding-top: 40px; }
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.catalog-nav { position: sticky; top: 104px; display: grid; border-top: 1px solid var(--line); }
.catalog-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s, padding .15s; }
.catalog-nav a span:not(.nav-icon) { flex: 1; }
.catalog-nav small { color: var(--muted); font-size: .8rem; }
.catalog-nav .nav-icon { display: inline-grid; color: var(--brand); }
.catalog-nav .nav-icon svg { width: 18px; height: 18px; }
.catalog-nav a:hover { color: var(--ink); padding-left: 8px; }
.catalog-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.catalog-nav a[aria-current="page"] small { color: var(--brand); }
.result-info { color: var(--muted); }
.empty-state { text-align: center; padding: 64px 24px; background: var(--cream-2); }
.empty-state .category-icon { margin: 0 auto 14px; }
.empty-state p { color: var(--muted); }

.product-page { padding-top: clamp(32px, 5vw, 56px); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product-gallery { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.product-gallery img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.product-icon-lg { width: 128px; height: 128px; }
.product-icon-lg svg { width: 72px; height: 72px; }
.product-info h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 10px; }
.product-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 20px; margin: 0 0 24px; border-top: 1px solid var(--line); }
.product-meta div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.product-meta dt { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .2em; }
.product-meta dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.product-meta dd a { color: inherit; }
.product-price { display: flex; flex-direction: column; gap: 4px; padding: 6px 0 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-lg { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.price-ask.price-lg { font-size: 1.5rem; }
.product-price small { color: var(--muted); }
.product-desc { color: var(--text); font-size: 1.02rem; }
.rich-text p { margin: 0 0 .8em; }
.rich-text ul { margin: 0 0 .8em; padding-left: 1.2em; }
.rich-text ul ul { margin: .3em 0 .2em; }
.rich-text li { margin: .3em 0; }
.rich-text li::marker { color: var(--accent); }
.rich-text strong { color: var(--ink); font-weight: 600; }
.product-desc.rich-text { margin-bottom: 22px; }
.product-tabs { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.product-tablist { display: none; gap: 4px 28px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.product-tablist button { padding: 18px 0 14px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.product-tablist button:hover { color: var(--ink); }
.product-tablist button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.product-tablist button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.product-panel { max-width: 76ch; padding: 26px 0 4px; color: var(--text); }
.product-panel-title { font-size: 1.3rem; margin-bottom: 12px; }
.product-tabs.is-tabs .product-tablist { display: flex; }
.product-tabs.is-tabs .product-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.product-tabs.is-tabs .product-panel[hidden] { display: none; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 72px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 52px; }
.footer-brand p { max-width: 36ch; }
.footer h3 { font-family: var(--font); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 30px; font-size: .82rem; }

/* Responsive */
/* Client accounts, cart, orders */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav .nav-account { display: inline-flex; align-items: center; gap: 7px; max-width: 220px; }
.nav .nav-account svg { width: 18px; height: 18px; flex: none; }
.nav .nav-account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; }
.flash-bar { padding: 14px 0 0; }
.flash-bar p { margin: 0; }
.form-ok { padding: 12px 14px; background: #EAF6EF; border: 1px solid #B7DEC6; color: #1F6B43; font-weight: 600; font-size: .9rem; }
.form-hint { margin: 0; font-size: .9rem; color: var(--muted); }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.account-form { border: 1px solid var(--line); }
.account-form h2 { margin: 0; font-size: 1.4rem; }
.account-aside { padding-top: 8px; }
.account-aside h2 { font-size: 1.5rem; }
.account-steps { margin: 0 0 18px; padding-left: 20px; }
.account-steps li { margin-bottom: 8px; }
.account-settings { grid-template-columns: 1fr 1fr; margin: 56px 0 24px; }
.check-label { display: flex !important; align-items: flex-start; gap: 10px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: .92rem !important; }
.check-label input { width: auto; margin-top: 4px; }
.price-old { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); }
.product-price .price-old { font-size: .95rem; }
.cart-add { display: flex; align-items: center; gap: 10px; margin: 0; }
.qty { width: 84px; padding: 10px; text-align: center; }
.product-foot .cart-add .btn-small { cursor: pointer; }
.table-scroll { overflow-x: auto; }
.cart-table, .order-items { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 10px 12px; border-bottom: 1px solid var(--ink); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; font-weight: 600; }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table td a { color: var(--ink); text-decoration: none; }
.cart-table td small { display: block; }
.cart-table .num, .order-items .num { text-align: right; white-space: nowrap; }
.cart-thumb { width: 76px; }
.cart-thumb img, .cart-thumb .product-icon { width: 64px; height: 64px; object-fit: contain; background: var(--cream-2); }
.cart-thumb .product-icon svg { width: 28px; height: 28px; }
.cart-remove { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cart-remove:hover { color: #8A1C1C; border-color: #F3B4B4; }
.muted { color: var(--muted); }
.cart-foot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; margin-top: 28px; align-items: start; }
.cart-note label { display: grid; gap: 8px; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.cart-note label small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.cart-note .btn-link { margin-top: 10px; padding-left: 0; }
.cart-summary { padding: 24px; background: var(--cream-2); border: 1px solid var(--line); }
.cart-summary p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.cart-summary strong { font-size: 1.5rem; color: var(--ink); }
.cart-summary .btn { width: 100%; margin-top: 8px; }
.order-list { display: grid; gap: 10px; margin-bottom: 12px; }
.order { border: 1px solid var(--line); background: #fff; }
.order summary { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; }
.order summary::-webkit-details-marker { display: none; }
.order[open] summary { border-bottom: 1px solid var(--line); }
.order .order-items { margin: 8px 0; }
.order .order-items td { padding: 8px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.order > p, .order-repeat { padding: 0 18px; margin: 10px 0 14px; }
.order-status { padding: 3px 10px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; background: var(--cream); color: var(--ink); }
.status-new { background: #FFF1D6; color: #8A5A00; }
.status-done { background: #EAF6EF; color: #1F6B43; }
.status-cancelled { background: #FDECEC; color: #8A1C1C; }
@media (max-width: 820px) {
  .account-grid, .account-settings, .cart-foot { grid-template-columns: minmax(0, 1fr); }
  .order summary { grid-template-columns: 1fr auto; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
  .cart-table tr { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); padding: 14px 44px 14px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { padding: 4px 0; border: 0; }
  .cart-table td.cart-thumb { grid-row: span 4; }
  .cart-table td.num { display: flex; justify-content: space-between; align-items: center; text-align: left; }
  .cart-table td.num::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
  .cart-table td:last-child { position: absolute; top: 14px; right: 0; }
}

/* My machines / service */
.machine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 36px; }
.machine-card { display: grid; grid-template-columns: 48px 1fr; gap: 6px 14px; align-items: start; padding: 18px; border: 1px solid var(--line); background: #fff; }
.machine-card.is-selected { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.machine-card .btn { grid-column: 2; justify-self: start; }
.machine-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--cream-2); color: var(--brand); }
.machine-icon svg { width: 26px; height: 26px; }
.machine-body h3 { margin: 0 0 2px; font-size: 1.05rem; font-family: var(--font); }
.machine-body p { margin: 0; font-size: .88rem; }
.machine-status { margin-top: 6px !important; display: flex; align-items: center; gap: 6px; color: #8A5A00; font-weight: 600; }
.machine-status.ok { color: #1F6B43; font-weight: 500; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: #E08A00; }
.report-form { max-width: 720px; margin-bottom: 44px; }
.signals-title { margin-bottom: 14px; }
.signal-item { display: grid; grid-template-columns: auto auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); background: #fff; }
.signal-problem { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .signal-item { grid-template-columns: 1fr auto; } .signal-problem { grid-column: 1 / -1; white-space: normal; } }
/* Order / signal tracking */
.order summary::after { content: "▾"; color: var(--muted); transition: transform .2s; }
.order[open] summary::after { transform: rotate(180deg); }
.order summary { grid-template-columns: 1.1fr 1.1fr 1fr 1fr auto 16px; }
.order.signal summary { grid-template-columns: auto auto minmax(0, 2fr) minmax(0, 1fr) auto 16px; }
.order-body { padding: 18px 18px 6px; }
.order-body h3 { font-family: var(--font); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.order-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 18px; }
.order .order-items td { padding: 8px 0; }
.order .order-total td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.track-steps { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 4px 0 0; padding: 0; counter-reset: s; }
.track-steps li { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .82rem; color: var(--muted); }
.track-steps li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.track-steps li:first-child::before { display: none; }
.track-steps li.done::before, .track-steps li.current::before { background: var(--brand); }
.track-dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.track-steps li.done .track-dot { background: var(--brand); border-color: var(--brand); }
.track-steps li.current .track-dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: #fff; }
.track-steps li.current .track-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); }
.track-steps li.done, .track-steps li.current { color: var(--ink); font-weight: 600; }
.track-steps small { font-weight: 400; color: var(--muted); font-size: .72rem; }
.track-cancelled { padding: 10px 14px; background: #FDECEC; color: #8A1C1C; font-weight: 600; margin: 0; }
.track-due { margin: 14px 0 0; }
.track-last-msg { margin: 14px 0 0; padding: 12px 14px; background: var(--cream-2); border-left: 3px solid var(--brand); }
.track-last-msg span, .track-msg-from { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 4px; }
.track-timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.track-timeline li { position: relative; padding: 0 0 14px 4px; display: grid; gap: 2px; font-size: .92rem; }
.track-timeline li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 2px solid #fff; }
.track-timeline li.track-status::before { background: var(--brand); }
.track-timeline li.track-message::before { background: #C9A36A; }
.track-timeline li small { color: var(--muted); font-size: .76rem; }
.profile-signals-head { margin-top: 48px; }
@media (max-width: 820px) {
  .order-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .order summary, .order.signal summary { grid-template-columns: 1fr auto; }
  .order summary::after { display: none; }
  .track-steps { font-size: .7rem; }
  .track-steps li { font-size: .7rem; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 120px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta { margin: 14px 0 0; border: 1.5px solid var(--ink); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .brand-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .brand-chips a { flex: none; }
  .catalog-nav { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; border: 0; scrollbar-width: thin; }
  .catalog-nav a { flex: none; border: 1px solid var(--line); padding: 8px 14px; }
  .catalog-nav a:hover { padding-left: 14px; }
  .catalog-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .catalog-nav a[aria-current="page"] small { color: rgba(255,255,255,.7); }
  .catalog-nav .nav-icon { display: none; }
}
@media (max-width: 820px) {
  .hero-grid, .about-grid, .contact-grid, .product-detail { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .strip-in { flex-direction: column; align-items: flex-start; }
  .topbar-in { justify-content: center; gap: 16px; }
  .topbar-in span { display: none; }
  .brand-strip-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .header-in { min-height: 70px; }
  .logo img { height: 38px; }
  .category-grid, .checks, .field-row { grid-template-columns: minmax(0, 1fr); }
  .category-card { min-height: 180px; }
  .category-card img { width: 42%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .product-body h3 { font-size: 1rem; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .price { font-size: 1rem; }
  .stats { grid-template-columns: repeat(2, auto); gap: 14px 36px; }
  .stats dd { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .search { flex-direction: column; gap: 8px; }
  .search input { border-right: 1px solid #DDD3C8; }
  .contact-form .btn, .actions .btn:not(.btn-link) { width: 100%; }
  .topbar-in a:last-child { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
