/* Storefront styles: bulk food ingredients B2B */
:root {
    --green: #2f6b3f;
    --green-dark: #1d4d2f;
    --green-deep: #143822;
    --green-soft: #e9f1ea;
    --gold: #c8962e;
    --gold-dark: #a87a1d;
    --gold-soft: #fbf3e2;
    --cream: #faf7f0;
    --ink: #1f2421;
    --muted: #5f6861;
    --line: #e4dfd3;
    --white: #fff;
    --danger: #b3261e;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(31, 36, 33, .08);
    --serif: "Merriweather", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; color: var(--green-deep); }
h1, h2 { font-family: var(--serif); font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.2vw, 50px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-accent { background: var(--gold); color: var(--white); }
.btn-accent:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); background: var(--white); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-whatsapp { background: #1f9d55; color: var(--white); }
.btn-whatsapp:hover { background: #17803f; color: var(--white); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.eyebrow-light { color: #e7c77e; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; margin: 0 6px 6px 0; color: var(--ink); text-decoration: none; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--green-deep); color: #cfe0d3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; }
.topbar-contact { display: flex; gap: 18px; }
.topbar a { color: #fff; text-decoration: none; }
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-deep); }
.logo span { display: flex; flex-direction: column; line-height: 1.15; }
.logo strong { font-family: var(--serif); font-size: 21px; }
.logo small { font-size: 12px; color: var(--muted); }
.logo-light { color: var(--white); }
.logo-light small { color: #b9cbbd; }
.search { flex: 1; display: flex; max-width: 520px; margin-left: auto; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--cream); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 16px; font: inherit; font-size: 15px; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--green); }
.search button { border: 0; background: var(--green); color: var(--white); padding: 0 16px; display: grid; place-items: center; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 0; background: transparent; color: var(--ink); }
.menu-toggle { display: none; }
.nav { border-top: 1px solid var(--line); background: var(--white); }
.nav ul { display: flex; gap: 28px; }
.nav li { position: relative; }
.nav a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--green); border-bottom-color: var(--green); }
.nav .menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.nav .has-menu:hover .menu, .nav .has-menu:focus-within .menu { display: block; }
.nav .menu a { padding: 9px 12px; border-radius: 6px; border: 0; }
.nav .menu a:hover { background: var(--green-soft); }
.nav .menu .menu-all { color: var(--green); font-weight: 600; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(120deg, var(--cream) 0%, #f3ecdc 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { margin-bottom: 18px; }
.hero-search { display: flex; gap: 8px; margin: 26px 0 16px; max-width: 620px; }
.hero-search input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--white); }
.hero-search input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--green-dark); font-weight: 600; font-size: 14px; }
.hero-points li::before { content: "✓ "; color: var(--gold-dark); }
.rates-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px; }
.rates-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.rates-head h2 { font-size: 20px; margin: 0; }
.rates-head span { font-size: 13px; color: var(--muted); }
.rates-card table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.rates-card th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.rates-card td { padding: 8px 6px; border-bottom: 1px solid #f0ece3; }
.rates-card td a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.rates-card td a:hover { color: var(--green); }
.rates-card td img { border-radius: 6px; flex-shrink: 0; }
.rates-card td small { color: var(--muted); }
.rates-note { font-size: 12px; color: var(--muted); }

/* ---------- stats ---------- */
.stats { background: var(--green-dark); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 28px; color: #f1d18b; }
.stat span { font-size: 14px; color: #cfe0d3; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 64px; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--green-deep); color: #dce8df; }
.section-dark h2 { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head-center { justify-content: center; text-align: center; }
.page-head { background: var(--cream); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 8px; }
.page-head .lead { margin: 0; }
.page-head-slim { padding: 14px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b8b1a2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); }
.page-head-slim .breadcrumbs ol { margin: 0; }

/* ---------- categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.category-card:hover { box-shadow: var(--shadow); border-color: var(--green); }
.category-card img { width: 104px; height: 104px; border-radius: 10px; flex-shrink: 0; }
.category-card h3 { margin-bottom: 4px; }
.category-card p { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.category-card .count { font-size: 14px; font-weight: 600; color: var(--green); }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-media { position: relative; display: block; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-dark); font-weight: 700; margin: 0 0 4px; text-decoration: none; display: inline-block; }
.product-body h3 { font-size: 16px; margin-bottom: 4px; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-body h3 a:hover { color: var(--green); }
.product-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.product-price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.product-price .from, .product-price .per { font-size: 13px; color: var(--muted); }
.product-price strong { font-size: 20px; color: var(--green-deep); }
.product-price .on-request { font-size: 16px; }
.product-moq { font-size: 13px; color: var(--muted); margin: 2px 0 14px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }

/* ---------- steps / why ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.why { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.checklist-light strong { color: var(--white); }
.industries-title { color: var(--white); margin-top: 8px; }
.industries { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.industries li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 12px 14px; font-size: 15px; color: var(--white); }

/* ---------- two column / faq / forms ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col-wide { grid-template-columns: 1.4fr 1fr; }
.sticky-col { position: sticky; top: 130px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.enquiry-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); scroll-margin-top: 140px; }
.enquiry-card h2 { font-size: 24px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.form input, .form textarea, .form select, .filters input, .filters select { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid #cfc8b8; border-radius: 8px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.form input:focus, .form textarea:focus, .filters input:focus, .filters select:focus { outline: 2px solid var(--green); border-color: var(--green); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-product { background: var(--green-soft); padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.form-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.alert ul { list-style: disc; padding-left: 18px; margin-top: 4px; }
.alert-success { background: #e6f4ea; border: 1px solid #9fd0ad; color: #17522b; }
.alert-error { background: #fdecea; border: 1px solid #f1b1ab; color: var(--danger); }

/* ---------- catalogue ---------- */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 130px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filter-title { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 0 8px; font-weight: 700; }
.filter-title:first-child { margin-top: 0; }
.filter-list a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.filter-list a span { color: var(--muted); font-size: 13px; }
.filter-list a:hover { background: var(--cream); }
.filter-list a.active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.filters .btn { margin-top: 16px; }
.clear-link { display: block; text-align: center; margin-top: 10px; font-size: 14px; }
.result-count { color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.subcats { margin-top: 32px; }
.subcats h2 { font-size: 20px; }
.catalog-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; padding: 24px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid #efdcb2; }
.catalog-cta h2 { font-size: 21px; margin-bottom: 4px; }
.catalog-cta p { margin: 0; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pagination .page { padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 14px; }
.pagination .current { background: var(--green); border-color: var(--green); color: var(--white); }
.pagination .disabled { color: #b0aa9c; }

/* ---------- product page ---------- */
.product-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.gallery-main img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; overflow: hidden; }
.gallery-thumbs button.active { border-color: var(--green); }
.product-info h1 { font-size: clamp(28px, 3.2vw, 40px); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 18px 0; }
.facts li { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.facts span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts strong { font-size: 15px; }
.price-box { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--white); box-shadow: var(--shadow); }
.price-main { margin: 0; color: var(--muted); }
.price-main strong { font-size: 32px; color: var(--green-deep); }
.moq { margin: 4px 0 14px; }
.slabs { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: 15px; }
.slabs caption { text-align: left; font-weight: 700; margin-bottom: 6px; color: var(--green-deep); }
.slabs th, .slabs td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); }
.slabs th { background: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-row .btn { flex: 1; }
.packs { margin-top: 20px; }
.packs h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--green-dark); font-weight: 600; font-size: 14px; }
.product-details h2 { font-size: 24px; margin-top: 8px; }
.product-details > * + h2 { margin-top: 36px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table th { width: 40%; background: var(--cream); font-weight: 600; }
.prose { font-size: 16px; }
.prose h2 { font-size: 24px; margin-top: 28px; }
.prose h3 { margin-top: 22px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); text-decoration: none; color: var(--ink); }
.contact-card span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
a.contact-card:hover { border-color: var(--green); }

/* ---------- footer ---------- */
.footer { background: var(--green-deep); color: #b9cbbd; padding-top: 56px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 36px; }
.footer h2 { font-family: var(--sans); font-size: 15px; color: var(--white); margin-bottom: 14px; font-weight: 700; }
.footer li { margin-bottom: 8px; }
.footer a { color: #dce8df; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { margin-top: 14px; max-width: 380px; }
.social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.legal { font-size: 13px; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 22px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #1f9d55; color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 70; }
.wa-float:hover { background: #17803f; color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-cat:nth-of-type(n+4) { display: none; }
}
@media (max-width: 900px) {
    .hero-inner, .why, .two-col, .two-col-wide, .product-top { grid-template-columns: 1fr; gap: 32px; }
    .hero-inner { padding-top: 40px; padding-bottom: 44px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .catalog { grid-template-columns: 1fr; }
    .filters, .sticky-col { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 52px 0; }
}
@media (max-width: 760px) {
    .topbar-note { display: none; }
    .topbar-inner { justify-content: center; }
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .menu-toggle { display: grid; order: -1; }
    .logo { margin-right: auto; }
    .logo small { display: none; }
    .search { order: 5; flex-basis: 100%; max-width: none; }
    .header-cta { padding: 9px 14px; font-size: 14px; }
    .nav { display: none; }
    .nav.open { display: block; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav a { border-bottom: 1px solid var(--line); padding: 12px 0; }
    .nav .menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
    .nav .menu a { padding: 8px 0; border-bottom: 0; }
    .nav-cat { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .product-grid, .product-grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-body { padding: 12px; }
    .product-actions { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .hero-search { flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .catalog-cta { flex-direction: column; align-items: flex-start; }
    .contact-cards { grid-template-columns: 1fr; }
    .enquiry-card { padding: 20px; }
}
@media (max-width: 480px) {
    .steps, .industries, .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .header-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ================= Phase 2: accounts, quote list, tracking notice ================= */
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-link { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.header-link:hover { color: var(--green); }
.count-badge { position: absolute; top: -8px; left: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--white); font-size: 11px; display: grid; place-items: center; }
.link-button { background: none; border: 0; padding: 0; color: var(--green); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.link-button.danger { color: var(--danger); }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .check input { width: auto; margin: 0; }

/* product page: add to quote list */
.add-quote { display: flex; gap: 10px; margin: 6px 0 12px; }
.add-quote .btn { flex: 1; }
.qty-input { display: flex; align-items: stretch; border: 1px solid #cfc8b8; border-radius: 8px; overflow: hidden; background: var(--white); }
.qty-input input { width: 110px; border: 0; padding: 10px 12px; font: inherit; font-size: 15px; min-width: 0; }
.qty-input input:focus { outline: none; }
.qty-input:focus-within { outline: 2px solid var(--green); }
.qty-input span { display: grid; place-items: center; padding: 0 12px; background: var(--cream); color: var(--muted); font-size: 14px; border-left: 1px solid var(--line); }
.wish-form { display: contents; }
.wish-btn.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-dark); }

/* cards & tables used in account and quote list */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.card-soft { background: var(--cream); }
.card h2 { font-size: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px 10px; border-bottom: 1px solid #f0ece3; vertical-align: middle; }
.data-table tfoot td { font-weight: 600; text-align: right; }
.data-table tfoot td:last-child { text-align: left; }
.data-table tfoot .total td { font-size: 17px; color: var(--green-deep); border-bottom: 0; }
.qt-product { display: flex; align-items: center; gap: 12px; }
.qt-product img { border-radius: 8px; flex-shrink: 0; }
.qt-product div { display: flex; flex-direction: column; }
.qt-product a { font-weight: 600; color: var(--ink); text-decoration: none; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eee; color: var(--ink); white-space: nowrap; }
.status-submitted, .status-new { background: #fff4d6; color: #7a5600; }
.status-quoted, .status-contacted { background: #e3f0ff; color: #1b4f8a; }
.status-accepted, .status-won { background: #e6f4ea; color: #17522b; }
.status-declined, .status-lost, .status-cancelled, .status-expired { background: #f3eeee; color: #7a3b36; }
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0 0 14px; }
.details div { background: var(--cream); border-radius: 8px; padding: 10px 12px; }
.details dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.details dd { margin: 0; font-weight: 600; }
.quote-message { margin-top: 16px; background: var(--green-soft); border-radius: 8px; padding: 14px; }
.quote-message p { margin: 6px 0 0; }

/* account area */
.account { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-nav { position: sticky; top: 130px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.account-nav a, .account-nav .link-button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.account-nav a:hover { background: var(--cream); }
.account-nav a.active { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.account-nav .link-button { color: var(--danger); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.tile { display: block; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); }
.tile strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--green-deep); }
.tile span { font-size: 14px; color: var(--muted); }
.tile:hover { border-color: var(--green); }
.notice-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--gold-soft); border: 1px solid #efdcb2; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.address p { margin: 0 0 8px; }
.inline-actions { display: flex; gap: 16px; }
.inline-actions form { display: inline; }

/* login / register */
.auth-section { background: var(--cream); }
.auth-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; max-width: 1040px; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; }
.auth-links { font-size: 14px; margin: 16px 0 0; }
.auth-aside h2 { font-size: 22px; }

/* cookie notice */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: var(--green-deep); color: #e3ece5; border-radius: 12px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; z-index: 80; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14px; }
.consent a { color: #f1d18b; }

@media (max-width: 900px) {
    .account, .auth-wrap { grid-template-columns: 1fr; }
    .account-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; }
    .account-nav nav { display: flex; gap: 4px; }
    .account-nav a, .account-nav .link-button { white-space: nowrap; width: auto; }
    .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .header-link span { display: none; }
    .header-actions { gap: 10px; }
    .count-badge { left: 12px; }
    .add-quote { flex-direction: column; }
    .qty-input input { width: 100%; }
    .consent { flex-direction: column; align-items: flex-start; }
}
