/* Paint Talk — shared styles for every page */
:root{--bg:#f7f5f0;--paper:#fffefa;--ink:#20251f;--muted:#66705f;--green:#234c3c;--green2:#17382c;--lime:#d8ef79;--coral:#f18b68;--line:#e6e3d9;--radius:20px;--shadow:0 18px 50px #25392b14}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans","Noto Sans Malayalam","Manjari",system-ui,-apple-system,sans-serif;line-height:1.65;-webkit-text-size-adjust:100%}
html[lang=ml] body{line-height:1.85;font-family:"Noto Sans Malayalam","Manjari","DM Sans",system-ui,sans-serif}
img,svg{max-width:100%}
a{color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid #7aa33a;outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--green);color:#fff;padding:10px 16px;z-index:100}.skip:focus{left:10px;top:10px}
.container{width:min(1160px,calc(100% - 36px));margin:auto}
h1,h2,h3{line-height:1.15;letter-spacing:-.02em;margin:0}
html[lang=ml] h1,html[lang=ml] h2,html[lang=ml] h3{line-height:1.35;letter-spacing:0}
.announce{background:var(--green2);color:#edf4e7;text-align:center;padding:8px 14px;font-size:13px}.announce b{color:var(--lime)}
/* header */
.site-header{position:sticky;top:0;z-index:30;background:#fffefaf2;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:18px;min-height:72px}
.logo{display:flex;align-items:center;flex:none}.logo img{height:50px;width:auto;max-width:min(235px,48vw);display:block;object-fit:contain;border-radius:0;background:transparent}
.links{display:flex;gap:4px;margin-left:auto;align-items:center}
.links a{text-decoration:none;font-size:15px;font-weight:600;color:#3d4a42;padding:8px 12px;border-radius:99px}
.links a:hover{background:#eef3e3}.links a[aria-current=page]{background:var(--green);color:#fff}
.lang{border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 14px;font-weight:700;font-size:14px;min-height:40px}
.lang:hover{background:#eef3e3}
.menu-btn{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;width:44px;height:40px;font-size:20px;line-height:1}
.head-actions{display:flex;gap:8px;align-items:center}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:99px;padding:13px 22px;background:var(--green);color:#fff;text-decoration:none;font-weight:700;min-height:46px;transition:transform .15s,box-shadow .15s}
.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px #234c3c30}
.btn.lime{background:var(--lime);color:var(--ink)}.btn.wa{background:#1f8f4d}.btn.ghost{background:#fff;color:var(--green);border:1px solid var(--line)}
.btn.sm{padding:9px 16px;min-height:38px;font-size:14px}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
/* hero */
.hero{padding:54px 0 40px;background:radial-gradient(900px 400px at 85% 0,#e8f1cf,transparent),var(--bg)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:#5f7f2f}
html[lang=ml] .eyebrow{letter-spacing:0;text-transform:none;font-size:14px}
.hero h1{font-size:clamp(38px,7vw,66px);margin:12px 0;font-weight:800}
.hero h1 em{font-style:italic;font-family:Georgia,serif;font-weight:400;color:var(--green)}
.hero p.lead{font-size:18px;color:#4d594f;max-width:560px}
.hero-art{border-radius:28px;overflow:hidden;box-shadow:var(--shadow);background:#e9f0da;position:relative}
.hero-art svg,.hero-art img{display:block;width:100%;height:auto}.hero-art img{aspect-ratio:1370 / 810;object-fit:cover}
.hero-art figcaption{position:absolute;left:12px;bottom:10px;font-size:11px;background:#ffffffcc;padding:3px 9px;border-radius:99px;color:#555}
.page-hero{padding:46px 0 30px;background:linear-gradient(125deg,#e8efdf,var(--bg) 70%)}
.page-hero h1{font-size:clamp(32px,5.5vw,52px);margin:10px 0}.page-hero p{font-size:17px;color:#4d594f;max-width:720px;margin:0}
/* sections */
.section{padding:50px 0}.section.alt{background:#fff}
.section-head{margin-bottom:26px;max-width:720px}.section-head h2{font-size:clamp(26px,4vw,38px);margin-top:8px}.section-head p{color:var(--muted);margin:10px 0 0}
.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
a.card{text-decoration:none;transition:transform .15s,box-shadow .15s}a.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card h3{font-size:20px;margin:10px 0 6px}.card p{color:var(--muted);margin:0}
.dot{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--lime);font-weight:800;color:var(--green2)}
.muted{color:var(--muted)}
.notice{padding:14px 16px;border-left:4px solid #9ab76b;background:#f0f4e9;border-radius:8px;color:#44513f;font-size:15px}
.notice.warn{border-color:#e0a050;background:#fbf2e2}
/* delivery */
.delivery{background:var(--green);color:#fff;border-radius:28px;padding:34px;display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.delivery h2{font-size:clamp(24px,4vw,36px)}.delivery p{margin:8px 0 0;color:#d6e4d0;max-width:620px}
/* About Paint Talk */
.about-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;align-items:stretch}
.about-story{background:var(--green);color:#fff;border-radius:var(--radius);padding:clamp(24px,3vw,34px);display:flex;flex-direction:column;justify-content:center}
.about-year{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.about-year strong{font-size:clamp(34px,5vw,48px);line-height:1;color:var(--lime);letter-spacing:-.04em}
.about-year span{font-weight:700;color:#e3eddd;max-width:190px;line-height:1.35}
.about-story>p{color:#e0e9dc;margin:0 0 14px}
.about-review{border-top:1px solid #ffffff35;margin-top:8px;padding-top:18px}
.about-review h3{font-size:20px;color:var(--lime);margin-bottom:6px}
.about-review p{color:#e0e9dc;margin:0 0 14px}
.about-point-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.about-point{padding:20px}
.about-point h3{font-size:17px;margin:14px 0 7px}
.about-point p{font-size:14px;line-height:1.6}
@media(max-width:900px){.about-layout{grid-template-columns:1fr}}
@media(max-width:560px){.about-point-grid{grid-template-columns:1fr}.about-story{padding:24px}}
/* brands */
.brands{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.brand-groups{display:grid;gap:26px}.brand-group-title{font-size:18px;color:var(--green2);margin:0 0 12px;font-weight:800}
.brand{background:#fff;border:1px solid var(--line);border-radius:16px;min-height:88px;display:grid;place-items:center;padding:10px;text-align:center;font-weight:800;font-size:15px;color:var(--green2)}
.brand img{max-height:60px;max-width:100%;object-fit:contain}
/* chips + filters */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 15px;font-weight:600;font-size:14px;min-height:38px}
.chip[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}
.toolbar{display:grid;gap:14px;margin-bottom:24px}
/* forms */
.field{display:grid;gap:6px;margin:12px 0}.field label{font-size:14px;font-weight:700}
.field input,.field select,.field textarea{width:100%;border:1px solid #d5dccd;border-radius:12px;padding:12px;background:#fff;color:var(--ink);min-height:46px}
.field .err{color:#b3361f;font-size:13px;min-height:0}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.check{display:flex;gap:10px;align-items:center;margin:12px 0}.check input{width:20px;height:20px}
.result{background:#edf3e6;border-radius:16px;padding:20px;margin-top:16px}
.result .big{font-size:38px;font-weight:800;color:var(--green)}
.result table{width:100%;border-collapse:collapse;margin-top:10px;font-size:15px}.result td{padding:6px 0;border-bottom:1px solid #d9e3cb}.result td:last-child{text-align:right;font-weight:700}
.status{font-size:14px;color:var(--muted);min-height:22px}
.status.bad{color:#b3361f}
/* guides */
details.acc{background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:12px;overflow:hidden}
details.acc summary{padding:18px 20px;font-weight:700;font-size:18px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}
details.acc summary::after{content:"+";font-size:22px;color:var(--green)}details.acc[open] summary::after{content:"−"}
details.acc .inner{padding:0 20px 20px;color:#3c463f}
.inner ol,.inner ul{padding-left:22px}.inner li{margin:7px 0}
.steps{counter-reset:s;list-style:none;padding:0!important}
.steps li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px 14px 58px;position:relative;margin:10px 0}
.steps li::before{content:counter(s);position:absolute;left:14px;top:12px;width:32px;height:32px;border-radius:50%;background:var(--lime);display:grid;place-items:center;font-weight:800;color:var(--green2)}
.toc{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.toc a{text-decoration:none}
/* swatches */
.swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.swatch{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden;text-align:left;padding:0}
.swatch[aria-pressed=true]{outline:3px solid var(--green)}
.swatch i{display:block;height:84px}.swatch span{display:block;padding:9px 11px}.swatch b{display:block;font-size:14px}.swatch small{color:var(--muted)}
.combo{display:flex;height:70px;border-radius:12px;overflow:hidden;margin:10px 0}.combo i{flex:1}
.cmp{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.cmp .it{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;min-width:140px}.cmp .it i{display:block;height:60px}.cmp .it div{padding:8px 10px;font-size:14px}
/* visualiser */
.stage{background:#eef1e8;border:2px dashed #b4c0ac;border-radius:18px;min-height:240px;display:grid;place-items:center;overflow:hidden;position:relative;touch-action:manipulation}
.stage canvas{max-width:100%;height:auto;display:none;cursor:crosshair}
.snaps{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.snaps figure{margin:0;width:120px}.snaps img{width:100%;border-radius:10px;border:1px solid var(--line)}.snaps figcaption{font-size:12px;color:var(--muted)}
/* work */
.proj{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.ph{aspect-ratio:4/3;background:repeating-linear-gradient(45deg,#eef1e6,#eef1e6 12px,#e5ead9 12px,#e5ead9 24px);display:grid;place-items:center;text-align:center;font-size:13px;color:#6b7563;padding:10px}
.ba{display:grid;grid-template-columns:1fr 1fr}.ba .ph{aspect-ratio:1}
.proj .body{padding:16px 18px}.proj h3{font-size:18px}.tag{font-size:12px;font-weight:700;color:#5f7f2f;text-transform:uppercase;letter-spacing:.08em}
html[lang=ml] .tag{text-transform:none;letter-spacing:0;font-size:13px}
/* contact */
.info{list-style:none;padding:0;margin:0;display:grid;gap:14px}.info li b{display:block;font-size:13px;color:var(--muted);font-weight:700}
.info a{color:var(--green);font-weight:700}
/* footer */
.footer{background:#172a21;color:#e6eee3;padding:40px 0 90px;margin-top:40px}
.footer .cols{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:28px}.footer a{color:#e6eee3;display:block;padding:3px 0;text-decoration:none}.footer a:hover{text-decoration:underline}
.footer h3{font-size:15px;margin-bottom:8px;color:var(--lime)}.footer small{color:#b4c4b0}
.footer .cols>div:first-child>img{display:block;height:64px!important;width:auto;max-width:280px;object-fit:contain;border-radius:0!important;background:transparent;margin:0 0 16px}
.fab{position:fixed;right:16px;bottom:16px;z-index:40;background:#1f8f4d;color:#fff;border-radius:99px;padding:13px 18px;text-decoration:none;font-weight:700;box-shadow:0 10px 26px #0003;display:flex;gap:8px;align-items:center}
.toast{position:fixed;left:50%;bottom:80px;transform:translateX(-50%);background:var(--green2);color:#fff;padding:10px 18px;border-radius:99px;z-index:60;font-size:14px}
.advice{white-space:pre-wrap;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:14px}
.advice:empty{display:none}
@media(min-width:901px){.vis-grid{grid-template-columns:minmax(300px,.78fr) minmax(0,1.72fr)}}
@media(max-width:900px){.vis-grid{grid-template-columns:1fr}.vis-grid>.card{order:1}.vis-preview-column{order:2}.g3,.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.brands{grid-template-columns:repeat(3,1fr)}.hero-grid{grid-template-columns:1fr}.footer .cols{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.menu-btn{display:block}.links{display:none;position:absolute;top:100%;left:0;right:0;background:#fffefa;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:10px 18px 16px;margin:0}.links.open{display:flex}.links a{padding:13px 14px;font-size:17px}.head-actions{margin-left:auto}.nav{gap:10px}}
@media(max-width:560px){.logo img{height:44px;max-width:170px}.g2,.g3,.g4,.row2,.row3{grid-template-columns:1fr}.brands{grid-template-columns:repeat(2,1fr)}.hero{padding-top:34px}.footer .cols{grid-template-columns:1fr}.delivery{padding:24px}.fab span{display:none}.fab{padding:14px}.section{padding:38px 0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Manufacturer-reference product catalogue */
.catalogue-note{line-height:1.7}
.catalogue-toolbar{align-items:start}
.filter-label{font-weight:700;font-size:14px;margin-bottom:6px}
.product-grid{align-items:stretch}
.product-card{display:flex;flex-direction:column;min-width:0}
.product-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;margin-bottom:9px}
.product-brand-logo{max-width:112px;max-height:32px;object-fit:contain;object-position:left center}
.product-category{font-size:12px;font-weight:700;color:var(--green2);background:#eef3e9;border-radius:999px;padding:6px 9px;text-align:right}
.product-brand-name{font-size:12px!important;letter-spacing:.04em;text-transform:uppercase;font-weight:800;color:var(--muted);margin:0 0 4px!important}
.product-card h3{margin:0 0 8px}
.product-card>p:not(.product-brand-name):not(.product-confirm){font-size:14px;line-height:1.6}
.product-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:16px}
.product-confirm{font-size:11px!important;color:var(--muted);line-height:1.45;margin:10px 0 0!important}
.catalogue-other{margin-top:22px;color:var(--muted);font-size:14px;line-height:1.7}
@media(max-width:560px){.product-actions{flex-direction:column}.product-actions .btn{width:100%;justify-content:center}.product-card-top{align-items:flex-start}.product-category{max-width:58%}}

/* Live catalogue media managed through the private owner dashboard */
.product-card-media{margin:12px 0 14px;border:1px solid var(--line);border-radius:14px;background:#fff;min-height:128px;display:grid;place-items:center;overflow:hidden}
.product-card-media img{width:100%;height:170px;object-fit:contain;display:block}
.product-variant-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.product-variant-list span{font-size:11px;color:var(--green2);background:#eef3e3;border:1px solid #e1e9d1;border-radius:99px;padding:4px 9px}


/* Manufacturer shade catalogue and room visualizer */
.shade-toolbar{align-items:end}
.shade-toolbar .field{margin:0}
.shade-toolbar-meta{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.shade-catalogue-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:16px}
.shade-catalogue-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.shade-catalogue-swatch{height:138px;position:relative}
.shade-preview-tag{position:absolute;left:10px;bottom:10px;background:#ffffffed;color:var(--green2);border:1px solid #dfe5d9;border-radius:99px;padding:4px 9px;font-size:11px;font-weight:700}
.shade-catalogue-details{padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1}
.shade-catalogue-details>small{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.shade-catalogue-details h3{font-size:18px;margin:2px 0}
.shade-code{font-size:18px;color:var(--green);letter-spacing:.02em}
.shade-family{font-size:12px;color:var(--muted)}
.shade-preview-note{font-size:11px;color:var(--muted);line-height:1.4;margin:4px 0}
.shade-catalogue-actions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 2px}
.shade-catalogue-actions .btn{font-size:12px;padding:8px 12px;min-height:34px}
.shade-source-link{font-size:12px;color:var(--green);font-weight:700;margin-top:auto;padding-top:12px}
.shade-compare-card{display:grid;grid-template-columns:100px 1fr;gap:14px;align-items:stretch}
.shade-swatch-large{min-height:114px;border-radius:12px}
.shade-compare-meta{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.shade-compare-meta h3{font-size:17px}
.shade-compare-meta small{font-size:11px;color:var(--muted)}
.shade-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;padding:2px}
.shade-picker-item{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px;min-width:0}
.shade-picker-item.selected{border:2px solid var(--green);background:#f2f6ec;padding:7px}
.shade-picker-swatch{width:42px;height:42px;flex:none;border-radius:9px;border:1px solid #00000012}
.shade-picker-text{display:flex;flex-direction:column;gap:1px;min-width:0}
.shade-picker-text b{font-size:13px;line-height:1.25}
.shade-picker-text strong{font-size:12px;color:var(--green)}
.shade-picker-text small{font-size:10px;color:var(--muted)}
.selected-shade-line{display:flex;align-items:center;gap:10px}
.selected-shade-dot{width:44px;height:44px;border-radius:10px;border:1px solid #00000018;flex:none}
.selected-shade-line>div{display:flex;flex-direction:column;gap:2px}
.selected-shade-line b{font-size:12px;color:var(--muted)}
.selected-shade-line strong{font-size:16px}
.selected-shade-line small{font-size:11px;color:var(--muted)}
@media(max-width:560px){
 .shade-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shade-catalogue-swatch{height:112px}
 .shade-catalogue-details{padding:11px}
 .shade-catalogue-actions{flex-direction:column;width:100%}
 .shade-catalogue-actions .btn{width:100%}
 .shade-picker-grid{grid-template-columns:1fr}
 .shade-compare-card{grid-template-columns:78px 1fr}
}

/* Colour Visualiser wall-selection controls */
.stage{touch-action:manipulation}
.stage canvas{touch-action:none;user-select:none;-webkit-user-select:none}
.vis-brush-cursor{position:absolute;z-index:4;left:0;top:0;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #234c3c,0 1px 7px #0008;pointer-events:none;mix-blend-mode:difference}
.vis-brush-cursor[hidden]{display:none}
.vis-selection-tools{margin:14px 0 18px;padding:14px;background:#f7f9f3;border:1px solid var(--line);border-radius:14px;display:grid;gap:12px}
.vis-empty-shades{display:grid;gap:8px;line-height:1.5}
.vis-empty-shades p{margin:0}
.vis-empty-shades .btn{justify-self:start;text-decoration:none}
.vis-mode-buttons,.vis-history-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.vis-brush-row{display:grid;gap:5px}
.vis-brush-row label{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:700}
.vis-brush-row output{color:var(--green)}
.vis-brush-row input{width:100%}
.vis-tool-hint{font-size:12px;color:var(--muted);line-height:1.45;flex:1 1 220px}
.vis-compare-note{font-size:13px;margin:4px 0 12px}
.vis-snaps{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}
.vis-snaps figure{width:auto;min-width:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff;padding:8px}
.vis-snaps img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border:0;border-radius:8px}
.vis-snaps figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 2px 2px}
.vis-snaps figcaption b{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.vis-snaps figcaption strong{font-size:14px;color:var(--ink)}
.vis-snap-code{font-weight:800;color:var(--green);font-size:13px}
.vis-snaps figcaption small{font-size:10px;line-height:1.4;color:var(--muted);margin-bottom:4px}
.vis-snaps button{margin-top:3px}
@media(max-width:560px){
 .vis-selection-tools{padding:11px}
 .vis-mode-buttons .btn{flex:1 1 auto}
 .vis-history-buttons .btn{flex:1 1 80px}
 .vis-snaps{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.product-benefits{margin:14px 0 8px;padding:12px 14px;border-radius:12px;background:#f7f8f3;border:1px solid #e7e7dc}
.product-benefits b,.product-warranty b{font-size:13px;color:#234c3c}
.product-benefits ul{margin:7px 0 0;padding-left:18px}
.product-benefits li{margin:4px 0;font-size:14px;line-height:1.5}
.product-warranty{margin:10px 0 0;padding:10px 12px;border-left:3px solid #d0b77a;background:#fbfaf5;font-size:13px;line-height:1.5}
.shade-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.company-shade-card{overflow:hidden;padding:0}
.shade-card-swatch{height:92px;position:relative}
.shade-card-swatch span{position:absolute;right:9px;bottom:8px;background:rgba(255,255,255,.9);padding:4px 8px;border-radius:999px;font-size:10px}
.company-shade-details{padding:16px}
.company-shade-details h3{margin:7px 0}
.company-shade-code-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}
@media(max-width:900px){.shade-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.shade-filter-grid{grid-template-columns:1fr}}

/* Compact customer-first product catalogue */
.products-hero h1{max-width:900px}.products-hero p{max-width:760px}
.products-catalogue-section{padding-top:26px}.product-search-primary{max-width:760px;margin:0 0 24px}
.category-chooser{margin:0 0 24px}.compact-section-head{margin-bottom:12px}
.compact-section-head h2{font-size:clamp(20px,2.5vw,27px);margin-bottom:5px}.compact-section-head p{font-size:14px;margin-bottom:0}
.category-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.product-category-tile{position:relative;min-height:82px;padding:14px 42px 14px 15px;text-align:left;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);display:flex;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;transition:border-color .15s,background .15s}
.product-category-tile:hover,.product-category-tile:focus-visible{border-color:var(--green);background:#f7faf4}
.product-category-tile-title{font-size:15px;font-weight:750;line-height:1.25}.product-category-tile-meta{font-size:12px;color:var(--muted)}
.product-category-tile-arrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--green)}
.category-chooser-footer{margin-top:12px}.selected-category-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 14px}
.selected-category-bar strong{font-size:18px}.product-result-count{margin:12px 0}.product-pagination{display:flex;justify-content:center;padding:22px 0 8px}
.product-info-toggle{margin-top:12px;border:1px solid var(--line);border-radius:12px;background:#fafbf8;overflow:hidden}
.product-info-toggle summary{cursor:pointer;list-style:none;padding:11px 13px;font-weight:750;font-size:13px;color:var(--green);display:flex;align-items:center;justify-content:space-between}
.product-info-toggle summary::-webkit-details-marker{display:none}.product-info-toggle summary:after{content:"+";font-size:19px;line-height:1}
.product-info-toggle[open] summary:after{content:"−"}.product-info-content{padding:0 13px 13px}
.product-info-content .product-benefits{margin:0 0 10px;padding:10px 0 0;border:0;background:transparent}
.product-info-content .product-benefits ul{margin-top:6px}.product-info-content .product-warranty{margin:8px 0 0;padding:8px 10px}
.product-variant-list{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px}.product-variant-list b{flex-basis:100%;font-size:12px;color:var(--green2)}
.product-variant-list span{font-size:11px;color:var(--green2);background:#eef3e3;border:1px solid #e1e9d1;border-radius:99px;padding:4px 9px}
.product-catalogue-note{margin-top:26px}.product-brands-section{padding-top:32px}
@media(max-width:850px){.category-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.products-catalogue-section{padding-top:18px}.category-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.product-category-tile{min-height:74px;padding:11px 32px 11px 11px}.product-category-tile-title{font-size:13px}
.product-category-tile-meta{font-size:11px}.product-category-tile-arrow{right:10px;font-size:17px}.selected-category-bar strong{font-size:16px}.product-card{padding:16px}}

.about-teaser-section{padding:16px 0}
.about-teaser{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;border:1px solid var(--line);border-radius:16px;background:#f3f6ec}
.about-teaser-copy{display:grid;gap:4px;min-width:0}
.about-teaser-copy strong{color:var(--green);font-size:17px;font-weight:800}
.about-teaser-copy span{color:var(--muted);font-size:14px;line-height:1.5}
.about-teaser-link{flex:0 0 auto;font-weight:800;color:var(--green);white-space:nowrap}
.about-teaser-link:hover{text-decoration:underline}
@media(max-width:560px){.about-teaser{align-items:flex-start;flex-direction:column;gap:8px;padding:14px 16px}.about-teaser-copy strong{font-size:15px}.about-teaser-copy span{font-size:13px}}


/* Mobile-first customer experience: compact screens, quick product discovery */
@media(max-width:560px){
  .container{width:calc(100% - 24px)}
  .announce{padding:6px 10px;font-size:11px;line-height:1.35}
  .nav{min-height:60px;gap:8px}
  .logo img{height:40px;max-width:142px}
  .head-actions{gap:6px}
  .lang{min-height:38px;padding:6px 10px;font-size:12px}
  .menu-btn{width:42px;height:40px}
  .links{max-height:calc(100dvh - 112px);overflow-y:auto;overscroll-behavior:contain}
  .hero{padding:24px 0 20px}
  .hero-grid{gap:14px}
  .hero h1{font-size:clamp(32px,9vw,42px);margin:8px 0}
  .hero p.lead{font-size:15px;line-height:1.48;margin:8px 0 0}
  .hero .actions{gap:8px;margin-top:14px}
  .hero .actions .btn{flex:1 1 145px;padding:10px 12px;min-height:44px;font-size:14px}
  .hero-art{border-radius:16px}
  .hero-art img{height: min(44vw,158px);aspect-ratio:auto;object-fit:cover}
  .section{padding:24px 0}
  .section-head{margin-bottom:13px}
  .section-head h2{font-size:22px;line-height:1.2}
  .section-head p{font-size:13px;line-height:1.45;margin-top:6px}
  .home-products-section{padding-top:24px}
  #homeCats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #homeCats .card{padding:12px;border-radius:14px;min-width:0}
  #homeCats .dot{width:32px;height:32px;border-radius:10px;font-size:13px}
  #homeCats .card h3{font-size:14px;line-height:1.25;margin:8px 0 4px}
  #homeCats .card p{font-size:11px;line-height:1.35}
  .home-products-section .actions{margin-top:12px}
  .home-products-section .actions .btn{width:100%;min-height:44px}
  .home-brands-section{padding-top:22px;padding-bottom:22px}
  .home-brands-section .brand-groups{gap:14px}
  .home-brands-section .brands{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 1px 8px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .home-brands-section .brand{flex:0 0 112px;min-width:112px;min-height:68px;padding:8px;scroll-snap-align:start;border-radius:12px}
  .home-brands-section .brand img{max-height:48px}
  .home-tools-section{padding-top:22px;padding-bottom:22px}
  .home-tools-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,82%);grid-template-columns:none;overflow-x:auto;gap:10px;padding:2px 1px 8px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .home-tools-grid .card{padding:14px;scroll-snap-align:start;border-radius:14px}
  .home-tools-grid .card h3{font-size:16px;margin:0 0 5px}
  .home-tools-grid .card p{font-size:12px;line-height:1.4}
  .home-contact-section{padding:20px 0 26px}
  .home-contact-strip{display:grid;gap:12px}
  .home-contact-copy h2{font-size:21px;margin-top:5px}
  .home-contact-copy p{font-size:12px;line-height:1.45;margin:7px 0 0;color:var(--muted)}
  .home-contact-copy p a{color:var(--green);font-weight:800;text-decoration:none}
  .home-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .home-contact-actions .btn{width:100%;min-height:42px;padding:9px 10px;font-size:12px}
  .home-contact-actions .btn:last-child{grid-column:1/-1}
  .footer{padding:26px 0 76px;margin-top:22px}
  .footer .cols{gap:18px}
  .footer .cols>div:first-child>img{height:48px!important;margin-bottom:9px}
  .footer p,.footer small{font-size:12px;line-height:1.5}
  .footer h3{margin-bottom:6px}
  .fab{right:12px;bottom:12px;min-width:48px;min-height:48px;justify-content:center}
  .section.alt .grid.g2,.section .grid.g2{gap:10px}
  .card{padding:14px;border-radius:14px}
  .btn{min-height:44px}
}
@media(min-width:561px) and (max-width:820px){
  .hero{padding:32px 0 26px}
  .section{padding:34px 0}
}


/* Mobile-first compact customer actions and catalog browsing */
.home-contact-strip{display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-contact-copy{min-width:0}
.home-contact-copy h2{font-size:clamp(22px,3vw,30px);margin-top:6px}
.home-contact-copy p{margin:8px 0 0;color:var(--muted);font-size:14px}
.home-contact-copy p a{color:var(--green);font-weight:800;text-decoration:none}
.home-contact-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.home-contact-actions .btn{min-height:42px}
@media(max-width:560px){
  .home-contact-strip{display:grid;gap:12px}
  .home-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #companyShades .shade-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #companyShades .shade-filter-grid .field:last-child{grid-column:1/-1}
  #companyShadeGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .company-shade-details{padding:10px}
  .company-shade-details h3{font-size:14px;line-height:1.25}
  .shade-card-swatch{height:76px}
  .company-shade-code-row{align-items:flex-start;flex-direction:column;margin:7px 0}
  .company-shade-code-row .chip{min-height:34px}
  .toolbar{gap:9px;margin-bottom:16px}
  .chips{gap:6px}
  .chip{padding:7px 11px;font-size:12px;min-height:36px}
  .result{padding:14px;border-radius:13px}
  .result .big{font-size:30px}
  details.acc summary{padding:13px 14px;font-size:15px}
  details.acc .inner{padding:0 14px 14px;font-size:14px}
  .info{gap:9px}
  .info li{font-size:14px;line-height:1.45}
}
@media(min-width:360px) and (max-width:560px){
  #catGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #catGrid .product-card{padding:12px;gap:0;border-radius:14px}
  #catGrid .product-card-top{display:grid;gap:5px;align-items:start;min-height:0}
  #catGrid .product-brand-logo{max-width:84px;max-height:25px}
  #catGrid .product-brand-name{font-size:10px!important;margin:6px 0 3px!important}
  #catGrid .product-category{font-size:10px;max-width:100%;text-align:left;padding:4px 7px}
  #catGrid .product-card h3{font-size:14px;line-height:1.25;margin:3px 0 5px;overflow-wrap:anywhere}
  #catGrid .product-card>p:not(.product-brand-name):not(.product-confirm){font-size:12px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  #catGrid .product-actions{padding-top:9px}
  #catGrid .product-actions .btn{min-height:37px;padding:7px 8px;font-size:11px}
  #catGrid .product-info-toggle{margin-top:8px}
  #catGrid .product-info-toggle summary{font-size:11px;padding:9px}
  #catGrid .product-info-content{font-size:12px}
}
@media(max-width:359px){
  #catGrid{grid-template-columns:1fr}
}


/* Mobile layout containment — keep every page inside the phone viewport */
@media(max-width:820px){
  html,body{
    max-width:100%;
    overflow-x:clip;
  }
  main,header,footer,section,.container,
  .grid,.brand-groups,.brand-group,
  .home-contact-strip,.home-tools-grid,
  #homeCats,#catGrid,#shadeGrid,#companyShadeGrid{
    min-width:0;
    max-width:100%;
  }
  .container{width:calc(100% - 24px)}
  .brand-groups{grid-template-columns:minmax(0,1fr)}
  .brand-group{width:100%;min-width:0}
  .home-brands-section .brands{
    display:flex;
    width:100%;
    max-width:100%;
    min-width:0;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    touch-action:pan-x pan-y;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .home-brands-section .brands::-webkit-scrollbar,
  .home-tools-grid::-webkit-scrollbar{display:none}
  .home-tools-grid{
    width:100%;
    max-width:100%;
    min-width:0;
    grid-template-columns:none;
    grid-auto-flow:column;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    touch-action:pan-x pan-y;
    scrollbar-width:none;
  }
  .home-tools-grid>.card{min-width:0}
  #homeCats{
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #homeCats>.card,#catGrid>.product-card{min-width:0;overflow-wrap:anywhere}
  #catGrid{
    width:100%;
    max-width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #catGrid .product-card-top,
  #catGrid .product-actions{min-width:0}
  .product-card h3,.product-card p{overflow-wrap:anywhere}
  .chips,.toolbar,.shade-toolbar{min-width:0;max-width:100%}
  .shade-catalogue-grid,.shade-filter-grid,.vis-grid,.vis-snaps{min-width:0;max-width:100%}
  .stage,.stage canvas{max-width:100%}
}
@media(max-width:359px){
  #homeCats,#catGrid{grid-template-columns:minmax(0,1fr)}
  .hero .actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .home-contact-actions{grid-template-columns:minmax(0,1fr)}
  .home-contact-actions .btn:last-child{grid-column:auto}
}
@supports not (overflow:clip){
  @media(max-width:820px){html,body{overflow-x:hidden}}
}


.footer-mobile-links,.footer-mobile-contact{display:none}
@media(max-width:560px){
  .container{width:calc(100% - 24px)}
  .hero{padding:16px 0 14px}
  .hero-grid{gap:10px}
  .hero h1{font-size:clamp(29px,7.4vw,36px);line-height:1.12;margin:6px 0}
  .hero p.lead{font-size:13px;line-height:1.42;margin:6px 0 0}
  .hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:11px}
  .hero .actions .btn{width:100%;min-width:0;min-height:46px;padding:8px 7px;font-size:11.5px;line-height:1.2;white-space:nowrap}
  .hero .actions .btn.wa{gap:5px}
  .hero .actions .btn.wa span{font-size:11px;white-space:nowrap}
  .hero-art{border-radius:13px}
  .hero-art img{height:clamp(118px,34vw,148px);aspect-ratio:auto;object-fit:cover}
  .home-products-section{padding:18px 0 20px}
  .home-products-section .section-head{margin-bottom:10px}
  .home-products-section .section-head h2{font-size:20px;line-height:1.18}
  #homeCats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #homeCats>.card{min-height:66px;display:flex;flex-direction:row;align-items:center;gap:8px;padding:9px 10px;border-radius:12px}
  #homeCats .dot{width:27px;height:27px;flex:0 0 27px;border-radius:8px;font-size:11px}
  #homeCats .card h3{font-size:12px;line-height:1.2;margin:0;overflow-wrap:anywhere}
  #homeCats .card p{display:none}
  .home-products-section .actions{margin-top:9px}
  .home-products-section .actions .btn{min-height:41px;font-size:13px}
  .home-brands-section{padding:18px 0}
  .home-brands-section .section-head{margin-bottom:9px}
  .home-brands-section .section-head h2{font-size:19px}
  .home-brands-section .brand-groups{gap:11px}
  .home-brands-section .brand-group-title{font-size:13px;margin-bottom:7px}
  .home-brands-section .brands{gap:7px;padding:1px 1px 5px}
  .home-brands-section .brand{flex:0 0 88px;min-width:88px;min-height:56px;padding:6px;border-radius:10px}
  .home-brands-section .brand img{max-height:40px}
  .home-tools-section{padding:18px 0}
  .home-tools-section .section-head{margin-bottom:9px}
  .home-tools-section .section-head h2{font-size:19px}
  .home-tools-grid{grid-auto-columns:minmax(0,76%);gap:8px;padding-bottom:5px}
  .home-tools-grid .card{padding:12px;min-height:82px;border-radius:12px}
  .home-tools-grid .card h3{font-size:14px;line-height:1.2;margin:0 0 4px}
  .home-tools-grid .card p{font-size:11px;line-height:1.35}
  .home-contact-section{padding:17px 0 18px}
  .home-contact-copy h2{font-size:19px}
  .home-contact-copy p{font-size:11px;line-height:1.4}
  .home-contact-actions{gap:7px}
  .home-contact-actions .btn{min-height:39px;padding:7px 8px;font-size:11px}
  .footer{padding:17px 0 76px;margin-top:12px}
  .footer .cols{display:block}
  .footer .cols>div:first-child>img{height:42px!important;margin:0 0 7px}
  .footer .cols>div:first-child p{font-size:11px;line-height:1.4;margin:5px 0 7px}
  .footer .cols>div:first-child small{font-size:10px;line-height:1.35;display:block}
  .footer .cols>div:nth-child(2),.footer .cols>div:nth-child(3){display:none}
  .footer-mobile-links{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:12px 0 8px;margin-top:8px;border-top:1px solid #ffffff27;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .footer-mobile-links::-webkit-scrollbar{display:none}
  .footer-mobile-links a{flex:0 0 auto;border:1px solid #ffffff35;border-radius:99px;padding:6px 10px;font-size:11px;white-space:nowrap;scroll-snap-align:start}
  .footer-mobile-contact{display:grid;gap:4px;padding-top:7px}
  .footer-mobile-contact a{font-size:12px;font-weight:700}
  .footer-mobile-contact small{font-size:10px;color:#b4c4b0}
}
@media(max-width:359px){
  .hero .actions .btn{font-size:10px}
  #homeCats>.card{padding:8px;gap:6px}
  #homeCats .card h3{font-size:11px}
  .home-tools-grid{grid-auto-columns:minmax(0,84%)}
}



/* Shared mobile-first compact layout across customer pages */
@media(max-width:560px){
  .page-hero{padding:22px 0 15px}
  .page-hero h1{font-size:clamp(25px,6.5vw,31px);line-height:1.16;margin:6px 0}
  .page-hero p{font-size:13px;line-height:1.45}
  .section{padding:22px 0}
  .section-head{margin-bottom:12px}
  .section-head h2{font-size:21px;line-height:1.2}
  .container{width:calc(100% - 24px)}
  .card{padding:13px;border-radius:14px}
  .field{gap:5px;margin:8px 0}
  .field input,.field select,.field textarea{min-height:42px;padding:10px}
  .row3{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #calcForm{padding:13px}
  #calcForm h3{font-size:16px}
  #calcForm .muted{font-size:12px!important;line-height:1.4}
  #calcForm .row3 .field label{font-size:12px}
  #calcForm .row3 input{font-size:14px}
  #calcOut .result{padding:13px;margin-top:0}
  #calcOut .result .big{font-size:30px}
  .page-hero + .section .grid.g3{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .page-hero + .section .grid.g3>.card{padding:12px}
  .page-hero + .section .grid.g3>.card h3{font-size:14px;line-height:1.25;margin:7px 0 4px}
  .page-hero + .section .grid.g3>.card p{font-size:11px;line-height:1.35}
  .footer{padding:20px 0 74px;margin-top:18px}
  .footer .cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .footer .cols>div:first-child{grid-column:1/-1;min-width:0}
  .footer .cols>div:first-child>img{height:44px!important;max-width:190px}
  .footer .cols>div:first-child p{font-size:11px;line-height:1.42;margin:5px 0}
  .footer .cols>div:first-child small{font-size:10px;line-height:1.35}
  .footer .cols>div:nth-child(2),.footer .cols>div:nth-child(3){display:block;min-width:0;border-top:1px solid #ffffff25;padding-top:9px}
  .footer .cols>div:nth-child(2) a,.footer .cols>div:nth-child(3) a{font-size:11px;line-height:1.35;padding:3px 0;overflow-wrap:anywhere}
  .footer .cols>div:nth-child(2) small,.footer .cols>div:nth-child(3) small{font-size:10px;line-height:1.35;display:block;margin-top:6px}
  .footer h3{font-size:13px;margin-bottom:6px}
  .info{gap:9px}
  .info li{font-size:13px;line-height:1.42}
  .info li b{font-size:11px}
  .actions{gap:8px;margin-top:14px}
  .actions .btn{min-height:42px}
  .toolbar{gap:9px;margin-bottom:16px}
  details.acc{margin-bottom:8px}
  details.acc summary{padding:13px 14px;font-size:15px}
  details.acc .inner{padding:0 14px 14px;font-size:13px}
  .steps li{padding:11px 12px 11px 52px;margin:7px 0;font-size:13px}
  .fab{right:12px;bottom:12px}
}
@media(max-width:359px){
  .page-hero h1{font-size:24px}
  .row3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-hero + .section .grid.g3{grid-template-columns:minmax(0,1fr)}
  .footer .cols{grid-template-columns:minmax(0,1fr)}
  .footer .cols>div:first-child{grid-column:auto}
}

/* Our Work: one stable gallery state and compact mobile browsing */
.work-filters[hidden]{display:none!important}

.work-project-grid{align-items:start}
.work-project-grid .work-empty-state{grid-column:1/-1;max-width:100%}
.work-project-grid .proj>img,.work-project-grid .proj .ba img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover}
.work-filters{min-width:0;max-width:100%}
@media(max-width:560px){
 .work-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:1px 1px 7px}
 .work-filters::-webkit-scrollbar{display:none}
 .work-filters .chip{flex:0 0 auto;white-space:nowrap}
 .work-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .work-project-grid .proj{min-width:0;border-radius:12px}
 .work-project-grid .proj .body{padding:9px}
 .work-project-grid .proj h3{font-size:13px;line-height:1.25;overflow-wrap:anywhere}
 .work-project-grid .proj .muted{font-size:11px;line-height:1.35}
 .work-project-grid .ph{font-size:11px}
}


/* Compact homepage product and tool cards for mobile/tablet viewports */
@media(max-width:820px){
  #homeCats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:100%;
  }
  #homeCats>.card{
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr);
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:8px;
    row-gap:2px;
    min-height:70px;
    padding:9px 10px;
    border-radius:12px;
  }
  #homeCats .dot{
    grid-column:1;
    grid-row:1/3;
    width:27px;
    height:27px;
    margin:0;
  }
  #homeCats .card h3{
    grid-column:2;
    grid-row:1;
    min-width:0;
    margin:0;
    font-size:13px;
    line-height:1.15;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  #homeCats .card p{
    display:block!important;
    grid-column:2;
    grid-row:2;
    min-width:0;
    margin:0;
    font-size:10.5px;
    line-height:1.2;
    color:var(--muted);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .home-tools-section{padding-top:18px;padding-bottom:18px}
  .home-tools-section .section-head{margin-bottom:10px}
  .home-tools-section .section-head h2{font-size:20px;line-height:1.2}
  .home-tools-grid{
    display:grid;
    width:100%;
    max-width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-flow:row;
    grid-auto-columns:auto;
    gap:8px;
    overflow:visible;
    padding:0;
  }
  .home-tools-grid>.card{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    min-height:88px;
    padding:11px;
    border-radius:12px;
    scroll-snap-align:none;
  }
  .home-tools-grid .card h3{
    margin:0 0 5px;
    font-size:13px;
    line-height:1.2;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .home-tools-grid .card p{
    display:block;
    min-width:0;
    margin:0;
    font-size:10.5px;
    line-height:1.25;
    color:var(--muted);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}
@media(max-width:359px){
  #homeCats>.card{min-height:66px;padding:8px;column-gap:6px;grid-template-columns:26px minmax(0,1fr)}
  #homeCats .dot{width:24px;height:24px}
  #homeCats .card h3,.home-tools-grid .card h3{font-size:12px}
  #homeCats .card p,.home-tools-grid .card p{font-size:10px}
  .home-tools-grid{grid-template-columns:minmax(0,1fr)}
}


/* Show complete short descriptions inside compact mobile cards */
@media(max-width:820px){
  #homeCats>.card{min-height:86px}
  #homeCats .card p{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    overflow:hidden;
    font-size:10.5px;
    line-height:1.22;
  }
  .home-tools-grid>.card{min-height:104px}
  .home-tools-grid .card p{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    overflow:hidden;
    font-size:10.5px;
    line-height:1.25;
  }
}
@media(max-width:359px){
  #homeCats>.card{min-height:82px}
  .home-tools-grid>.card{min-height:100px}
  #homeCats .card p,.home-tools-grid .card p{font-size:10px}
}


/* =========================================================
   Paint Talk — unified mobile-first layout system
   Applied after legacy component rules to keep every page
   consistent at phone and small-tablet viewport sizes.
   ========================================================= */
:root{
  --mobile-card-radius:14px;
  --mobile-card-gap:10px;
}
@media(max-width:820px){
  html,body{max-width:100%;overflow-x:clip}
  .container{width:calc(100% - 28px);max-width:100%}
  .announce{padding:7px 10px;font-size:11px;line-height:1.35}
  .nav{min-height:62px;gap:9px}
  .logo img{height:42px;max-width:152px}
  .head-actions{gap:7px}
  .lang{min-height:40px;padding:7px 11px;font-size:12px}
  .menu-btn{width:42px;height:40px}
  .links{max-height:calc(100dvh - 116px);overflow-y:auto;overscroll-behavior:contain}
  .links a{padding:12px 13px;font-size:15px}
  .page-hero{padding:25px 0 18px}
  .page-hero h1{font-size:clamp(27px,5.8vw,36px);line-height:1.16;margin:7px 0}
  .page-hero p{font-size:14px;line-height:1.45}
  .section{padding:24px 0}
  .section-head{margin-bottom:14px}
  .section-head h2{font-size:22px;line-height:1.2}
  .section-head p{font-size:13px;line-height:1.4;margin-top:6px}
  .grid{gap:var(--mobile-card-gap)}
  .grid.g3,.grid.g4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card,.proj,.shade-catalogue-card,.company-shade-card{
    border-radius:var(--mobile-card-radius);
    min-width:0;
  }
  .card{padding:14px}
  .card h3{font-size:16px;line-height:1.25}
  .card p{font-size:12px;line-height:1.4}
  .dot{width:34px;height:34px;border-radius:10px}
  .btn{min-height:43px;padding:10px 15px;font-size:13px}
  .btn.sm{min-height:38px;padding:8px 12px;font-size:12px}
  .chip{min-height:37px;padding:8px 12px;font-size:12px}
  .field{gap:5px;margin:9px 0}
  .field label{font-size:12px;line-height:1.35}
  .field input,.field select,.field textarea{min-height:43px;padding:10px 11px;font-size:16px}
  .notice{padding:11px 13px;font-size:12px;line-height:1.45}
  .actions{gap:8px;margin-top:15px}
  .actions .btn{min-height:42px}
  .footer{padding:24px 0 76px;margin-top:20px}
  .footer .cols{gap:14px}
  .footer .cols>div:first-child>img{height:46px!important;max-width:190px;margin-bottom:8px}
  .footer p{font-size:12px;line-height:1.45}
  .footer h3{font-size:13px;margin-bottom:6px}
  .footer .cols>div:nth-child(2) a,.footer .cols>div:nth-child(3) a{font-size:12px;line-height:1.4}
  .fab{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));min-width:48px;min-height:48px;padding:12px 14px}
  .toast{max-width:calc(100vw - 32px);text-align:center;bottom:76px}
  .product-card-media{min-height:90px;margin:8px 0 10px}
  .product-card-media img{height:112px}
  .product-card h3{font-size:14px;line-height:1.25}
  .product-card>p:not(.product-brand-name):not(.product-confirm){font-size:12px;line-height:1.4}
  .product-actions{gap:6px;padding-top:10px}
  .product-actions .btn{min-height:38px;padding:8px 9px;font-size:11px}
  .product-confirm{font-size:10px!important}
  .product-info-toggle{margin-top:8px}
  .product-info-toggle summary{padding:9px 10px;font-size:12px}
  .shade-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .shade-catalogue-swatch{height:96px}
  .shade-catalogue-details{padding:10px;gap:4px}
  .shade-catalogue-details h3{font-size:14px}
  .shade-code{font-size:15px}
  .shade-catalogue-actions{gap:5px;margin-top:5px}
  .shade-catalogue-actions .btn{font-size:10px;min-height:34px;padding:7px 8px}
  .shade-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .shade-filter-grid>.field:last-child{grid-column:1/-1}
  .shade-card-swatch{height:78px}
  .company-shade-details{padding:10px}
  .company-shade-details h3{font-size:14px;line-height:1.25}
  .company-shade-code-row{gap:6px;margin:7px 0}
  .shade-toolbar-meta{gap:8px}
  .chips{gap:6px}
  .work-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .work-project-grid .proj .body{padding:11px}
  .work-project-grid .proj h3{font-size:14px}
  .about-layout{gap:12px}
  .about-story{padding:20px}
  .about-point-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .about-point{padding:13px}
  .about-point h3{font-size:14px;line-height:1.25;margin:9px 0 5px}
  .about-point p{font-size:11px;line-height:1.4}
  .delivery{padding:20px;border-radius:16px;gap:12px}
  .delivery h2{font-size:22px}
  .delivery p{font-size:12px;line-height:1.45}
  .steps li{margin:7px 0}
  details.acc{margin-bottom:8px;border-radius:12px}
  details.acc summary{padding:13px 14px;font-size:15px}
  details.acc .inner{padding:0 14px 14px;font-size:13px;line-height:1.5}
  .vis-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .vis-preview-column,.vis-grid>.card{min-width:0}
  .stage{min-height:190px;border-radius:14px}
  .vis-selection-tools{padding:10px;gap:9px;margin:10px 0}
  .vis-mode-buttons{gap:6px}
  .vis-mode-buttons .btn{flex:1 1 90px}
  .vis-history-buttons{gap:6px}
  .vis-history-buttons .btn{flex:1 1 70px}
  .vis-snaps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .vis-snaps figure{padding:6px}
  .shade-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:320px}
  .shade-picker-item{padding:7px;gap:7px}
  .shade-picker-swatch{width:32px;height:32px}
  .shade-picker-text b{font-size:11px}
  .shade-picker-text strong{font-size:11px}
  .swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .swatch i{height:62px}
  .swatch span{padding:7px}
  .swatch b{font-size:12px}
  .cmp{gap:8px}
  .cmp .it{min-width:0;flex:1 1 110px}
  .cmp .it i{height:48px}
  .info{gap:10px}
  .info li{font-size:13px;line-height:1.45}
  .info li b{font-size:11px}
  .row3{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .row3>.field:last-child:nth-child(3){grid-column:1/-1}
  .row2{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .result{padding:14px;margin-top:10px}
  .result .big{font-size:30px}
  .result table{font-size:12px}
  .product-category-tile{min-height:72px;padding:10px 32px 10px 11px;border-radius:12px}
  .product-category-tile-title{font-size:13px}
  .product-category-tile-meta{font-size:10px}
  .product-category-tile-arrow{right:10px}
  .category-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .category-chooser{margin-bottom:17px}
  .compact-section-head h2{font-size:20px}
  .selected-category-bar{gap:8px;padding:8px 0 10px}
  .selected-category-bar strong{font-size:15px}
  .product-result-count{font-size:12px}
  .product-pagination{padding:14px 0 6px}
  .toolbar{gap:9px;margin-bottom:14px}
  .filter-label{font-size:12px}
  .toc{gap:6px;margin-bottom:14px}
  .toc a{font-size:12px}
}
@media(max-width:560px){
  .container{width:calc(100% - 28px)}
  .section{padding:21px 0}
  .page-hero{padding:22px 0 16px}
  .page-hero h1{font-size:clamp(26px,7vw,32px)}
  .section-head h2{font-size:20px}
  .grid.g2{grid-template-columns:minmax(0,1fr)}
  .products-catalogue-section{padding-top:16px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-card{padding:11px}
  .product-card-top{gap:6px;margin-bottom:7px}
  .product-brand-logo{max-width:78px;max-height:24px}
  .product-category{font-size:10px;padding:4px 6px;max-width:55%}
  .product-card-media{min-height:72px}
  .product-card-media img{height:88px}
  .product-actions{flex-direction:column}
  .product-actions .btn{width:100%}
  .shade-catalogue-actions{flex-direction:column;width:100%}
  .shade-catalogue-actions .btn{width:100%}
  .footer .cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer .cols>div:first-child{grid-column:1/-1}
  .footer .cols>div:nth-child(2),.footer .cols>div:nth-child(3){display:block}
  .home-products-section,.home-brands-section,.home-tools-section,.home-contact-section{padding-top:19px;padding-bottom:19px}
  .home-products-section .section-head,.home-brands-section .section-head,.home-tools-section .section-head{margin-bottom:11px}
  .home-products-section .section-head h2,.home-brands-section .section-head h2,.home-tools-section .section-head h2{font-size:20px}
  #homeCats,.home-tools-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-flow:row;
    grid-auto-columns:auto;
    gap:8px;
    overflow:visible;
    padding:0;
    width:100%;
    max-width:100%;
    align-items:stretch;
  }
  #homeCats>.card,.home-tools-grid>.card{
    display:flex!important;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    min-width:0;
    min-height:108px;
    height:100%;
    padding:11px;
    gap:4px;
    border-radius:var(--mobile-card-radius);
  }
  #homeCats .dot{
    width:25px;height:25px;flex:0 0 25px;border-radius:8px;font-size:11px;margin:0 0 3px;
  }
  #homeCats .card h3,.home-tools-grid .card h3{
    min-width:0;margin:0 0 3px;font-size:13px;line-height:1.2;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;
  }
  #homeCats .card p,.home-tools-grid .card p{
    display:-webkit-box!important;
    -webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
    min-width:0;margin:0;font-size:10.5px;line-height:1.28;
    color:var(--muted);white-space:normal;overflow:hidden;text-overflow:clip;
  }
  .home-brands-section .brand-groups{gap:12px}
  .home-brands-section .brand-group-title{font-size:13px;margin-bottom:7px}
  .home-brands-section .brands{gap:7px;padding:1px 1px 5px}
  .home-brands-section .brand{flex:0 0 94px;min-width:94px;min-height:58px;padding:6px;border-radius:11px}
  .home-brands-section .brand img{max-height:41px}
  .home-contact-copy h2{font-size:19px}
  .home-contact-copy p{font-size:11px;line-height:1.4}
  .home-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .home-contact-actions .btn{min-height:40px;padding:7px 8px;font-size:11px}
  .home-contact-actions .btn:last-child{grid-column:1/-1}
  .home-tools-grid .card{min-height:108px}
  .about-point-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .work-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:1px 1px 6px}
  .work-filters::-webkit-scrollbar{display:none}
  .work-filters .chip{flex:0 0 auto;white-space:nowrap}
  .shade-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shade-filter-grid>.field:last-child{grid-column:1/-1}
  .shade-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer{padding:21px 0 calc(76px + env(safe-area-inset-bottom));margin-top:18px}
}
@media(max-width:380px){
  .container{width:calc(100% - 24px)}
  #homeCats>.card,.home-tools-grid>.card{min-height:112px;padding:9px}
  .product-grid{grid-template-columns:minmax(0,1fr)}
  .shade-catalogue-grid,.company-shade-grid,.work-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-actions .btn{min-height:39px}
  .home-contact-actions{grid-template-columns:minmax(0,1fr)}
  .home-contact-actions .btn:last-child{grid-column:auto}
}
@media(max-width:340px){
  .grid.g3,.grid.g4,.about-point-grid,.product-grid{grid-template-columns:minmax(0,1fr)}
  .category-choice-grid,#homeCats{grid-template-columns:minmax(0,1fr)}
  #homeCats>.card,.home-tools-grid>.card{min-height:90px}
  .nav{gap:6px}
  .logo img{max-width:126px}
  .lang{padding:6px 8px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}


/* Homepage mobile refinement: compact Product cards, matching Tools cards, balanced CTAs */
@media(max-width:820px){
  .hero{padding:18px 0 16px}
  .hero-grid{gap:11px}
  .hero h1{font-size:clamp(29px,7.1vw,37px);line-height:1.12;margin:7px 0}
  .hero p.lead{font-size:14px;line-height:1.4;margin:7px 0 0}
  .hero .actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin-top:12px;
  }
  .hero .actions .btn{
    display:flex;
    width:100%;
    min-width:0;
    height:45px;
    min-height:45px;
    padding:7px 6px;
    gap:5px;
    border-radius:999px;
    font-size:11.5px;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
  }
  .hero .actions .btn.wa span{font-size:10.5px;white-space:nowrap}
  .hero-art{border-radius:14px}
  .hero-art img{height:clamp(112px,32vw,138px);aspect-ratio:auto;object-fit:cover}

  .home-products-section,.home-tools-section{padding-top:17px;padding-bottom:17px}
  .home-products-section .section-head,.home-tools-section .section-head{margin-bottom:10px}
  .home-products-section .section-head h2,.home-tools-section .section-head h2{font-size:20px;line-height:1.2}

  #homeCats,.home-tools-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-flow:row;
    grid-auto-columns:auto;
    align-items:stretch;
    gap:8px;
    width:100%;
    max-width:100%;
    overflow:visible;
    padding:0;
  }

  /* Product tiles: return to the shorter icon-left layout */
  #homeCats>.card{
    display:grid!important;
    grid-template-columns:27px minmax(0,1fr);
    grid-template-rows:auto auto;
    align-items:center;
    align-content:center;
    column-gap:8px;
    row-gap:2px;
    min-width:0;
    min-height:84px;
    height:84px;
    padding:8px 9px;
    border-radius:13px;
  }
  #homeCats .dot{
    grid-column:1;
    grid-row:1/3;
    width:25px;
    height:25px;
    margin:0;
    border-radius:8px;
    font-size:11px;
  }
  #homeCats .card h3{
    grid-column:2;
    grid-row:1;
    min-width:0;
    margin:0;
    font-size:12.5px;
    line-height:1.16;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    overflow:hidden;
  }
  #homeCats .card p{
    grid-column:2;
    grid-row:2;
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    min-width:0;
    margin:0;
    font-size:10px;
    line-height:1.2;
    color:var(--muted);
    white-space:normal;
    overflow:hidden;
    text-overflow:clip;
  }

  /* Tools & Guides use the same compact height and visual rhythm */
  .home-tools-grid>.card{
    display:flex!important;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    min-width:0;
    min-height:84px;
    height:84px;
    padding:8px 10px;
    gap:3px;
    border-radius:13px;
  }
  .home-tools-grid .card h3{
    min-width:0;
    margin:0;
    font-size:12.5px;
    line-height:1.16;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    overflow:hidden;
  }
  .home-tools-grid .card p{
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    min-width:0;
    margin:0;
    font-size:10px;
    line-height:1.2;
    color:var(--muted);
    white-space:normal;
    overflow:hidden;
    text-overflow:clip;
  }

  /* Smaller, balanced contact controls without losing tap area */
  .home-contact-section{padding-top:15px;padding-bottom:16px}
  .home-contact-strip{display:grid;gap:10px}
  .home-contact-copy h2{font-size:19px;line-height:1.2}
  .home-contact-copy p{font-size:11px;line-height:1.35;margin-top:5px}
  .home-contact-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    width:100%;
  }
  .home-contact-actions .btn{
    display:flex;
    width:100%;
    min-width:0;
    min-height:40px;
    height:40px;
    padding:7px 8px;
    gap:5px;
    font-size:11px;
    white-space:nowrap;
  }
  .home-contact-actions .btn:last-child{grid-column:1/-1}
}
@media(max-width:380px){
  .hero .actions .btn{font-size:10.5px;padding:7px 4px}
  .hero .actions .btn.wa span{font-size:9.5px}
  #homeCats>.card,.home-tools-grid>.card{min-height:82px;height:82px;padding:7px}
  #homeCats>.card{grid-template-columns:24px minmax(0,1fr);column-gap:6px}
  #homeCats .dot{width:23px;height:23px}
  #homeCats .card h3,.home-tools-grid .card h3{font-size:11.5px}
  #homeCats .card p,.home-tools-grid .card p{font-size:9.5px}
  .home-contact-actions .btn{font-size:10px;padding:7px 5px}
}
@media(max-width:340px){
  .hero .actions{grid-template-columns:minmax(0,1fr)}
  .hero .actions .btn{font-size:12px}
  #homeCats,.home-tools-grid{grid-template-columns:minmax(0,1fr)}
  #homeCats>.card,.home-tools-grid>.card{height:auto;min-height:76px}
}


/* Homepage footer: remove duplicate quick links and clarify shop address */
.footer-mobile-links,.footer-mobile-contact{display:none!important}
.footer-map-address{display:grid!important;gap:3px;margin:5px 0 3px;padding:5px 0!important;text-decoration:none!important;min-width:0}
.footer-map-address>span{font-size:10px;font-weight:800;color:var(--lime);letter-spacing:.04em}
.footer-map-address strong{font-size:11px;font-weight:500;line-height:1.35;color:#e6eee3;overflow-wrap:anywhere}
.footer-map-address small{font-size:10px;line-height:1.3;color:#c5d5bf}
.footer-map-address:hover strong{text-decoration:underline}
@media(max-width:820px){
 .footer-map-address{max-width:100%;margin:3px 0;padding:4px 0!important}
 .footer-map-address strong{font-size:11px;line-height:1.35}
 .footer-map-address small{font-size:10px}
}


/* Materials-only estimator */
.calculator-layout{align-items:start}
.calculator-results{min-width:0;position:sticky;top:14px}
.materials-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:10px 0 12px}
.material-estimator{min-width:0;padding:12px;border:1px solid #d8e1d2;border-radius:13px;background:#fbfcfa}
.material-estimator>.check{display:flex;align-items:center;gap:8px;font-size:14px}
.material-estimator .row2{gap:9px;align-items:start}
.material-estimator .field{min-width:0}
.material-estimator .field label{font-size:12px;line-height:1.3}
.material-estimator input{min-width:0}
.material-summary{background:#f0f4e9}
.material-summary-heading{font-size:14px;font-weight:700;color:var(--muted)}
.material-summary .big{font-size:34px;line-height:1.2;margin:5px 0 9px}
.material-summary h3{font-size:17px;margin:18px 0 9px}
.material-result{padding:12px 0;border-top:1px solid #d9e3cb}
.material-result-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.material-result-top span{font-weight:700}
.material-result-top strong{font-size:21px;color:var(--green);white-space:nowrap}
.material-result-meta{font-size:12px;line-height:1.4;color:var(--muted);margin-top:4px}
.material-pack{font-size:13px;line-height:1.4;font-weight:700;margin-top:7px}
.material-estimate-note{font-size:12px;line-height:1.45;margin:12px 0 0}
@media(max-width:820px){
  .calculator-results{position:static}
}
@media(max-width:560px){
  .calculator-layout{display:flex;flex-direction:column;gap:12px}
  .calculator-layout>.calculator-results{order:0;width:100%}
  .calculator-layout>#calcForm{order:1;width:100%}
  #calcOut .material-summary{margin:0}
  .material-summary .big{font-size:29px}
  .material-result-top strong{font-size:19px}
  .material-estimator{padding:10px}
  .material-estimator .row2{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Paint Talk interior Visualizer */
.vis-hero{padding-top:26px;padding-bottom:26px;background:linear-gradient(115deg,#f9fbf7 0%,#fff 56%,#f4f7ef 100%)}
.vis-hero h1{max-width:760px;font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.035em}
.vis-hero p{max-width:720px;font-size:16px}
.vis-section{padding-top:10px}
.vis-grid{align-items:start;gap:20px}
.vis-grid>.vis-sidebar{order:1;min-width:0;padding:18px;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto}
.vis-preview-column{order:2;min-width:0}
.vis-section-label{margin:0 0 11px;color:#234c3c;font-size:15px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.vis-scene-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.vis-scene-option{display:flex;flex-direction:column;gap:8px;min-width:0;padding:7px;border:1px solid #e0e7dc;border-radius:14px;background:#fff;color:#26362e;text-align:left;font:inherit;font-size:13px;font-weight:750;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}
.vis-scene-option img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:9px}
.vis-scene-option span{padding:0 4px 3px}
.vis-scene-option.selected{border:2px solid #285b45;padding:6px;background:#f3f7ef;box-shadow:0 0 0 3px #285b4510}
.vis-scene-option:focus-visible{outline:3px solid #a5bd8a;outline-offset:2px}
.vis-sidebar-divider{height:1px;margin:18px 0;background:#e9ede5}
.vis-sidebar .field{margin:0 0 12px}
.vis-sidebar .field label{font-size:12px;font-weight:700;color:#54645b}
.vis-sidebar select,.vis-sidebar input[type=search]{width:100%;min-height:42px;border:1px solid #dfe6dd;border-radius:11px;background:#fff;padding:9px 12px;font:inherit;font-size:14px;color:#253a30}
.vis-sidebar input[type=search]:focus,.vis-sidebar select:focus{outline:0;border-color:#86a58e;box-shadow:0 0 0 3px #285b4510}
.vis-family-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 9px;margin:0 0 10px;scrollbar-width:thin}
.vis-family-tabs[hidden]{display:none}
.vis-family-tab{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:34px;padding:6px 10px;border:1px solid #e0e7df;border-radius:999px;background:#fff;color:#53645a;font:inherit;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer}
.vis-family-tab.selected{background:#234c3c;border-color:#234c3c;color:#fff}
.vis-family-dot{width:14px;height:14px;flex:0 0 14px;border:1px solid #00000012;border-radius:50%;background:var(--vis-family-colour,#ddd)}
.vis-selected-shade{margin:0 0 10px;padding:10px 12px;border:1px solid #e5eadf;border-radius:12px;background:#f8faf5}
.vis-sidebar #vAddShadeEnquiry{width:100%;margin-bottom:11px}
.vis-sidebar .shade-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:390px;border-top:1px solid #edf0eb;padding-top:10px}
.vis-sidebar .shade-picker-item{gap:7px;padding:7px;border-radius:10px}
.vis-sidebar .shade-picker-swatch{width:34px;height:38px;border-radius:7px}
.vis-sidebar .shade-picker-text b{font-size:11px;line-height:1.2}
.vis-sidebar .shade-picker-text strong{font-size:11px}
.vis-sidebar .shade-picker-text small{display:none}
.vis-own-photo{margin-top:14px;border-top:1px solid #e9ede5;padding-top:12px}
.vis-own-photo summary{color:#315e49;font-size:13px;font-weight:750;cursor:pointer}
.vis-own-photo .field{margin-top:12px}
.vis-own-photo input[type=file]{width:100%;font-size:12px}
.vis-selection-tools{margin-top:12px;padding:12px;border:1px solid #e6ebe4;border-radius:12px;background:#fafbf8}
.vis-selection-tools[hidden]{display:none!important}
.vis-preview-panel{overflow:hidden;padding:12px;border:1px solid #e5eae2;border-radius:22px;background:#fff;box-shadow:0 12px 34px #1e38260c}
.vis-preview-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 6px 12px}
.vis-scene-heading{display:flex;flex-direction:column;gap:3px}
.vis-scene-kicker{color:#6d8875;font-size:10px;font-weight:800;letter-spacing:.1em}
.vis-scene-heading strong{color:#203d30;font-size:19px}
.vis-current-shade{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 13px;border:1px solid #e6ebe3;border-radius:999px;background:#f9fbf7}
.vis-current-shade .selected-shade-dot{width:30px;height:30px;border-radius:50%}
.vis-current-shade>span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}
.vis-current-shade b{font-size:12px;color:#385648}
.vis-current-shade small{font-size:11px;font-weight:800;color:#1f4433}
.vis-stage{min-height:250px;display:grid;place-items:center;border:1px solid #e7ebe4;border-radius:16px;background:#f5f6f1;overflow:hidden;position:relative}
.vis-stage canvas{display:none;width:100%;height:auto;max-width:100%;cursor:crosshair}
.vis-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px 2px}
.vis-preview-actions .status{min-width:0;font-size:12px}
.vis-preview-actions .actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.vis-comparisons{margin-top:18px;padding:18px;border:1px solid #e5eae2;border-radius:18px;background:#fff}
.vis-comparisons-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.vis-comparisons-heading h3{margin:0;color:#203d30;font-size:18px}
.vis-comparisons-heading p{margin:4px 0 0;font-size:12px}
.vis-comparison-count{padding:5px 9px;border-radius:999px;background:#f2f6ed;color:#41634c;font-size:11px;font-weight:800}
.vis-disclaimer{margin-top:18px!important;font-size:12px}
@media(max-width:900px){
 .vis-grid{grid-template-columns:1fr}
 .vis-grid>.vis-sidebar{order:2;position:static;max-height:none}
 .vis-preview-column{order:1}
}
@media(max-width:600px){
 .vis-hero{padding:20px 0}
 .vis-preview-panel{padding:8px;border-radius:17px}
 .vis-preview-topline{align-items:flex-start;flex-direction:column}
 .vis-preview-actions{align-items:stretch;flex-direction:column}
 .vis-preview-actions .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .vis-preview-actions .actions .btn{width:100%;justify-content:center}
 .vis-sidebar .shade-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:330px}
 .vis-scene-options{gap:7px}
 .vis-scene-option{font-size:12px}
}

/* ===== Guides tab (2 Dec 2026) ===== */
.guides-hero{padding:58px 0 40px;background:radial-gradient(760px 340px at 92% -10%,#dcebb4,transparent),radial-gradient(520px 260px at 0 110%,#f8dccf,transparent),linear-gradient(125deg,#e8efdf,var(--bg) 70%)}
.guides-hero h1{font-size:clamp(32px,5vw,52px);line-height:1.08;margin:10px 0 12px;max-width:20ch}
.guides-hero p{max-width:60ch;font-size:18px;color:#44513f}
.gh-jump{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px}
.gh-jump-l{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#5f7f2f;margin-right:4px}
.gh-jump a{text-decoration:none;font-weight:600;font-size:14px;padding:8px 14px;border-radius:99px;background:#fffefa;border:1px solid var(--line);color:#2f3d34;transition:background .15s,transform .15s}
.gh-jump a:hover{background:var(--lime);transform:translateY(-1px)}
.gh-h2{font-size:clamp(24px,3.2vw,34px);line-height:1.15;margin:0 0 20px}
.gh-lead{max-width:64ch;color:var(--muted);margin:-8px 0 8px}
.gh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.gh-card{position:relative;display:flex;flex-direction:column;gap:12px;padding:28px 26px 24px;border-radius:26px;background:var(--paper);border:1px solid var(--line);text-decoration:none;color:inherit;overflow:hidden;scroll-margin-top:90px;transition:transform .18s,box-shadow .18s}
.gh-card::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:var(--tone)}
.gh-card:hover,.gh-card:focus-visible{transform:translateY(-4px);box-shadow:var(--shadow)}
.gh-top{display:flex;align-items:center;gap:14px}
.gh-ico{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;font-size:30px;background:var(--tone)}
.gh-kind{font-size:11px;font-weight:800;letter-spacing:.16em;color:#5f7f2f}
.gh-card h3{font-size:23px;margin:0;color:var(--ink)}
.gh-card p{margin:0;color:var(--muted);line-height:1.55}
.gh-topics{display:flex;flex-wrap:wrap;gap:6px}
.gh-topics span{font-size:13px;font-weight:600;padding:5px 11px;border-radius:99px;background:#f0f4e9;color:#3d4a42}
.gh-go{margin-top:auto;padding-top:6px;font-weight:700;color:var(--green)}
.gh-go::after{content:" \2192";transition:margin-left .15s}
.gh-card:hover .gh-go::after{margin-left:6px}
.gh-t1{--tone:#e1efb2}.gh-t2{--tone:#cde5f1}.gh-t3{--tone:#f0dabf}.gh-t4{--tone:#f8d6c8}
.gh-journey{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gh-journey li{position:relative;display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--line);border-radius:22px;padding:20px 18px 18px}
.gh-journey .n{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--green);color:#fff;font-weight:800}
.gh-journey h3{font-size:17px;line-height:1.25;margin:12px 0 6px}
.gh-journey p{margin:0 0 10px;color:var(--muted);font-size:15px;line-height:1.5}
.gh-journey a{margin-top:auto;font-weight:700;font-size:14px;color:var(--green);text-decoration:none}
.gh-journey a::after{content:" \2192"}
.gh-rules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gh-rule{padding:22px 20px;border-radius:22px;background:linear-gradient(160deg,#f1f6e2,#fffefa);border:1px solid var(--line)}
.gh-rn{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--lime);color:var(--green2);font-weight:800}
.gh-rule h3{font-size:18px;margin:12px 0 6px}
.gh-rule p{margin:0;color:var(--muted);font-size:15px;line-height:1.5}
.gh-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:34px;border-radius:30px;background:linear-gradient(130deg,var(--green2),var(--green));color:#fff}
.gh-cta h2{margin:0 0 6px;font-size:clamp(22px,3vw,30px);color:#fff}
.gh-cta p{margin:0;max-width:52ch;color:#e3efdc}
.gh-cta-btns{display:flex;flex-wrap:wrap;gap:10px}
.gh-cta .btn.ghost{background:transparent;color:#fff;border:1.5px solid #ffffff80}
.gh-cta .btn.ghost:hover{background:#ffffff1f}
.gh-card:focus-visible,.gh-jump a:focus-visible,.gh-journey a:focus-visible{outline:3px solid #5f7f2f;outline-offset:3px}
@media(max-width:1020px){.gh-journey,.gh-rules{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.gh-grid,.gh-journey,.gh-rules{grid-template-columns:1fr}.guides-hero{padding:40px 0 30px}.guides-hero p{font-size:16px}.gh-cta{padding:26px 22px}.gh-cta-btns,.gh-cta-btns .btn{width:100%}}
/* eight menu items: collapse the menu a little earlier on tablets/small laptops */
@media(min-width:821px) and (max-width:1080px){.menu-btn{display:block}.links{display:none;position:absolute;top:100%;left:0;right:0;background:#fffefa;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:10px 18px 16px;margin:0}.links.open{display:flex}.links a{padding:13px 14px;font-size:17px}.head-actions{margin-left:auto}.nav{gap:10px}}
@media(prefers-reduced-motion:reduce){.gh-card,.gh-jump a{transition:none}.gh-card:hover{transform:none}}


/* ===== Final public-site responsive pass (2 Dec 2026) ===== */
/* Keep all page layouts fluid without disabling intentional horizontal carousels. */
html{
  max-width:100%;
  scroll-padding-top:82px;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{max-width:100%;min-width:320px;overflow-x:clip}
main,main>section,.container,.grid,.grid>*,
.footer .cols,.footer .cols>div,
.home-contact-strip,.home-contact-copy,.home-contact-actions,
.products-catalogue-section,.work-project-grid,
.vis-grid,.vis-preview-column,.vis-sidebar{
  min-width:0;
}
img,video,iframe,canvas,svg{max-width:100%}
button,a,input,select,textarea{max-width:100%}
p,li,small,strong,span{overflow-wrap:break-word}
a,button{-webkit-tap-highlight-color:transparent}

@media(max-width:820px){
  html,body{width:100%;overflow-x:clip}
  .container{width:calc(100% - 28px);max-width:1160px}
  .site-header{isolation:isolate}
  .nav{min-width:0}
  .logo{min-width:0;max-width:48%}
  .logo img{max-width:100%;height:auto;max-height:46px}
  .head-actions{flex:0 0 auto;min-width:0}
  .links{z-index:35}
  .links a{min-width:0;overflow-wrap:anywhere}
  .section,.page-hero{min-width:0}
  .grid{min-width:0}
  .grid>*{min-width:0}
  .card,.proj,.gh-card,.gh-rule,.gh-journey li{min-width:0}
  .btn,.chip{max-width:100%;white-space:normal}
  .actions{min-width:0}
  .actions>.btn{min-width:0}
  .footer .cols>div{min-width:0}
  .footer a{overflow-wrap:anywhere}
  .fab{bottom:calc(12px + env(safe-area-inset-bottom))}
}

@media(max-width:560px){
  html{scroll-padding-top:72px}
  .announce{font-size:11px;line-height:1.35;padding:6px 10px}
  .nav{min-height:60px;gap:8px}
  .logo{max-width:42vw}
  .logo img{width:auto;height:auto;max-width:100%;max-height:38px;object-fit:contain}
  .head-actions{gap:6px}
  .lang{min-height:40px;padding:6px 9px;font-size:11px;white-space:nowrap}
  .menu-btn{display:block;flex:0 0 42px;width:42px;height:42px;min-height:42px;border-radius:12px}
  .links{display:none;position:absolute;top:100%;left:0;right:0;width:100%;max-height:calc(100dvh - 104px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#fffefa;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;box-shadow:0 16px 30px #1e38261c;padding:10px 12px 14px;margin:0}
  .links.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .links a{display:flex;align-items:center;min-height:44px;padding:9px 11px;border-radius:10px;font-size:13px;line-height:1.25;white-space:normal}
  .links a[aria-current=page]{background:var(--green);color:#fff}
  .page-hero{padding:23px 0 17px}
  .page-hero h1{font-size:clamp(26px,7vw,34px);line-height:1.14;margin:7px 0}
  .page-hero p{font-size:14px;line-height:1.5}
  .section{padding:25px 0}
  .section-head{margin-bottom:14px}
  .section-head h2{font-size:clamp(21px,5.6vw,25px);line-height:1.2}
  .section-head p{font-size:13px;line-height:1.5}
  .hero{padding:24px 0 20px}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:15px}
  .hero h1{font-size:clamp(31px,8vw,40px);line-height:1.12}
  .hero p.lead{font-size:15px;line-height:1.5}
  .hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .hero .actions .btn{width:100%;min-width:0;min-height:44px;padding:10px 8px;font-size:12px;line-height:1.2}
  .hero-art{border-radius:16px}
  .hero-art img{width:100%;height:clamp(132px,42vw,180px);aspect-ratio:auto;object-fit:cover}
  .btn{min-height:44px;padding:10px 14px;font-size:13px;line-height:1.25}
  .btn.sm{min-height:40px;padding:8px 12px}
  .actions{gap:8px}
  .field{min-width:0}
  .field label{font-size:13px;line-height:1.35}
  .field input,.field select,.field textarea{
    width:100%;min-width:0;min-height:44px;padding:10px 12px;font-size:16px;line-height:1.35;
  }
  .field textarea{min-height:108px}
  .row2,.row3{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .toolbar,.chips,.toc{min-width:0;max-width:100%}
  .chips{gap:7px}
  .chip{min-height:38px;padding:8px 12px;font-size:12px}
  .toc{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 1px 8px}
  .toc::-webkit-scrollbar{display:none}
  .toc .chip{flex:0 0 auto;white-space:nowrap}
  .notice{font-size:13px;line-height:1.5;padding:12px 13px}
  details.acc{border-radius:13px}
  details.acc summary{min-height:48px;padding:13px 14px;font-size:15px;line-height:1.35}
  details.acc .inner{padding:0 14px 15px;font-size:14px;line-height:1.6}
  .steps li{font-size:13px;line-height:1.55}
  .delivery{padding:21px 17px;border-radius:18px;gap:13px}
  .delivery .btn{width:100%}
  .about-layout{grid-template-columns:minmax(0,1fr)}
  .about-point-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .about-point{padding:13px}
  .about-point h3{font-size:15px}
  .about-point p{font-size:12px;line-height:1.5}
  .category-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .product-category-tile{min-width:0;overflow-wrap:anywhere}
  .selected-category-bar{align-items:flex-start;flex-wrap:wrap}
  .selected-category-bar strong{min-width:0}
  .selected-category-bar .btn{flex:0 0 auto}
  #catGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  #catGrid>.product-card{min-width:0;overflow:hidden}
  #catGrid .product-card h3{overflow-wrap:anywhere;line-height:1.25}
  #catGrid .product-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
  #catGrid .product-actions .btn{width:100%;min-width:0;white-space:normal}
  .product-pagination{flex-wrap:wrap;gap:7px}
  .work-filters{max-width:100%}
  .work-project-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .work-project-grid .proj .body{padding:13px}
  .work-project-grid .proj h3{font-size:17px}
  .work-project-grid .proj .muted{font-size:13px}
  .gh-grid,.gh-journey,.gh-rules{grid-template-columns:minmax(0,1fr);gap:11px}
  .gh-card{padding:19px 17px 17px;border-radius:18px;gap:10px}
  .gh-top{gap:11px}
  .gh-ico{width:48px;height:48px;border-radius:15px;font-size:24px;flex:0 0 48px}
  .gh-card h3{font-size:19px;line-height:1.25}
  .gh-card p,.gh-journey p,.gh-rule p{font-size:14px;line-height:1.55}
  .gh-journey{margin-top:16px}
  .gh-journey li{padding:16px;border-radius:16px}
  .gh-rules{gap:10px}
  .gh-rule{padding:17px;border-radius:16px}
  .gh-cta{padding:22px 18px;border-radius:20px;align-items:stretch;gap:14px}
  .gh-cta-btns{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
  .gh-cta-btns .btn{width:100%}
  .home-contact-strip{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .home-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
  .home-contact-actions .btn{width:100%;min-width:0;min-height:42px;padding:8px 7px;font-size:11px}
  .home-contact-actions .btn:last-child{grid-column:1/-1}
  .footer{padding:23px 0 calc(76px + env(safe-area-inset-bottom));margin-top:22px}
  .footer .cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .footer .cols>div:first-child{grid-column:1/-1}
  .footer .cols>div:nth-child(2),.footer .cols>div:nth-child(3){display:block;min-width:0;border-top:1px solid #ffffff25;padding-top:10px}
  .footer .cols>div:first-child>img{max-width:190px;height:44px!important}
  .footer h3{font-size:13px;line-height:1.3}
  .footer a{font-size:11px;line-height:1.45;padding:4px 0;overflow-wrap:anywhere}
  .footer small,.footer p{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
  .footer-map-address strong{font-size:11px;line-height:1.45}
  .fab{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:48px;height:48px;min-width:48px;min-height:48px;padding:0;justify-content:center}
  .fab span{display:none}
  .vis-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .vis-grid>.vis-sidebar{order:2;position:static;max-height:none;overflow:visible;width:100%;padding:14px}
  .vis-preview-column{order:1;width:100%}
  .vis-preview-panel{padding:8px;border-radius:16px}
  .vis-preview-topline{align-items:flex-start;flex-direction:column;gap:9px}
  .vis-current-shade{max-width:100%;width:100%;border-radius:13px}
  .vis-stage{min-height:0}
  .vis-stage canvas{width:100%;height:auto;max-width:100%}
  .vis-preview-actions{align-items:stretch;flex-direction:column;gap:9px}
  .vis-preview-actions .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .vis-preview-actions .actions .btn{width:100%;min-width:0}
  .vis-comparisons{padding:13px;margin-top:12px;border-radius:15px}
  .vis-comparisons-heading{align-items:flex-start;flex-wrap:wrap}
  .vis-scene-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vis-scene-option{min-width:0}
  .vis-sidebar .shade-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:320px}
  .shade-enquiry-item{min-width:0}
  .info li{min-width:0;overflow-wrap:anywhere}
  .info li span,.info li a{overflow-wrap:anywhere}
}

@media(max-width:390px){
  .container{width:calc(100% - 22px)}
  .logo{max-width:39vw}
  .logo img{max-height:35px}
  .lang{padding:6px 7px;font-size:10px}
  .menu-btn{flex-basis:40px;width:40px;height:40px;min-height:40px}
  .links.open{padding:8px 9px 11px;gap:3px}
  .links a{min-height:42px;padding:8px 9px;font-size:12px}
  .page-hero h1{font-size:26px}
  .row2,.row3{grid-template-columns:minmax(0,1fr)}
  .about-point-grid{grid-template-columns:minmax(0,1fr)}
  .footer .cols{grid-template-columns:minmax(0,1fr)}
  .footer .cols>div:first-child{grid-column:auto}
  .home-contact-actions{grid-template-columns:minmax(0,1fr)}
  .home-contact-actions .btn:last-child{grid-column:auto}
  #catGrid{grid-template-columns:minmax(0,1fr)}
  .vis-preview-actions .actions{grid-template-columns:minmax(0,1fr)}
  .shade-brand-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(prefers-reduced-motion:reduce){
  .gh-card,.gh-jump a,.product-category-tile{transition:none}
  .gh-card:hover,.gh-jump a:hover,.product-category-tile:hover{transform:none}
}


/* Malayalam typography and wrapping — desktop and mobile */
html[lang="ml"] body{
  line-height:1.9;
  font-family:"Noto Sans Malayalam","Manjari","DM Sans",system-ui,sans-serif;
}
html[lang="ml"] h1,
html[lang="ml"] h2,
html[lang="ml"] h3{
  line-height:1.42;
  letter-spacing:0;
  overflow-wrap:break-word;
}
html[lang="ml"] .announce{line-height:1.55}
html[lang="ml"] .eyebrow,
html[lang="ml"] .tag{
  letter-spacing:0;
  text-transform:none;
}
html[lang="ml"] .links{gap:2px}
html[lang="ml"] .links a{
  padding:8px 9px;
  font-size:13px;
  line-height:1.45;
  white-space:normal;
  text-align:center;
}
html[lang="ml"] .lang{font-size:13px;white-space:nowrap}
html[lang="ml"] .btn,
html[lang="ml"] .chip{
  line-height:1.45;
  white-space:normal;
  text-align:center;
}
html[lang="ml"] .page-hero p,
html[lang="ml"] .hero p.lead,
html[lang="ml"] .section-head p{
  line-height:1.75;
}
html[lang="ml"] .footer a,
html[lang="ml"] .footer p,
html[lang="ml"] .footer small{
  line-height:1.65;
  overflow-wrap:anywhere;
}
html[lang="ml"] .product-category-tile-title,
html[lang="ml"] .product-card h3,
html[lang="ml"] .gh-card h3,
html[lang="ml"] .vis-section-label{
  line-height:1.5;
  overflow-wrap:break-word;
}

/* Avoid crowded full navigation on medium desktop widths in Malayalam. */
@media(min-width:1081px) and (max-width:1280px){
  html[lang="ml"] .menu-btn{display:block}
  html[lang="ml"] .links{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fffefa;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:stretch;
    padding:10px 18px 16px;
    margin:0;
    z-index:35;
  }
  html[lang="ml"] .links.open{display:flex}
  html[lang="ml"] .links a{
    min-height:44px;
    padding:11px 14px;
    text-align:left;
    font-size:15px;
  }
}

/* Malayalam-specific mobile sizing: allow natural line wraps instead of clipping. */
@media(max-width:820px){
  html[lang="ml"] .announce{font-size:12px;line-height:1.55;padding:7px 10px}
  html[lang="ml"] .nav{min-height:64px;gap:7px}
  html[lang="ml"] .logo img{max-height:38px}
  html[lang="ml"] .links.open{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:5px;
    padding:10px;
  }
  html[lang="ml"] .links a{
    display:flex;
    justify-content:center;
    align-items:center;
    min-width:0;
    min-height:52px;
    padding:8px 9px;
    font-size:12px;
    line-height:1.5;
    text-align:center;
    overflow-wrap:anywhere;
    border-radius:11px;
  }
  html[lang="ml"] .lang{min-height:40px;padding:6px 8px;font-size:11px}
  html[lang="ml"] .hero h1{font-size:clamp(28px,7.4vw,36px);line-height:1.42}
  html[lang="ml"] .hero p.lead{font-size:14px;line-height:1.75}
  html[lang="ml"] .page-hero h1{font-size:clamp(24px,6.3vw,30px);line-height:1.45}
  html[lang="ml"] .page-hero p{font-size:13px;line-height:1.7}
  html[lang="ml"] .section-head h2{font-size:20px;line-height:1.45}
  html[lang="ml"] .section-head p{font-size:13px;line-height:1.7}
  html[lang="ml"] .hero .actions .btn{
    min-height:50px;
    height:auto;
    padding:9px 7px;
    font-size:11px;
    line-height:1.5;
    white-space:normal;
    overflow-wrap:break-word;
  }
  html[lang="ml"] .btn{min-height:46px;height:auto;padding:10px 12px;font-size:12px}
  html[lang="ml"] .field label{font-size:13px;line-height:1.5}
  html[lang="ml"] .field input,
  html[lang="ml"] .field select,
  html[lang="ml"] .field textarea{font-size:16px;line-height:1.5}
  html[lang="ml"] .category-choice-grid{gap:8px}
  html[lang="ml"] .product-category-tile{
    min-height:82px;
    height:auto;
    padding:12px 30px 12px 11px;
    gap:7px;
  }
  html[lang="ml"] .product-category-tile-title{font-size:12px;line-height:1.5}
  html[lang="ml"] .product-category-tile-meta{font-size:10px;line-height:1.45}
  html[lang="ml"] #catGrid .product-card{padding:12px}
  html[lang="ml"] #catGrid .product-card h3{font-size:13px;line-height:1.5}
  html[lang="ml"] #catGrid .product-card>p{font-size:11px;line-height:1.6}
  html[lang="ml"] .gh-card{padding:18px 15px}
  html[lang="ml"] .gh-card h3{font-size:17px;line-height:1.5}
  html[lang="ml"] .gh-card p,
  html[lang="ml"] .gh-journey p,
  html[lang="ml"] .gh-rule p{font-size:13px;line-height:1.7}
  html[lang="ml"] .gh-topics span{font-size:11px;line-height:1.5}
  html[lang="ml"] .vis-section-label{font-size:13px;line-height:1.5}
  html[lang="ml"] .vis-scene-option{font-size:12px;line-height:1.5}
  html[lang="ml"] .vis-preview-actions .btn{min-height:48px}
  html[lang="ml"] details.acc summary{font-size:14px;line-height:1.5}
  html[lang="ml"] details.acc .inner{font-size:13px;line-height:1.75}
  html[lang="ml"] .steps li{font-size:12px;line-height:1.75}
  html[lang="ml"] .footer a,
  html[lang="ml"] .footer p,
  html[lang="ml"] .footer small{font-size:11px;line-height:1.65}
  html[lang="ml"] .home-contact-actions .btn{font-size:10px;line-height:1.5;min-height:46px}
}
@media(max-width:390px){
  html[lang="ml"] .links a{min-height:50px;padding:7px 6px;font-size:11px}
  html[lang="ml"] .hero h1{font-size:28px}
  html[lang="ml"] .page-hero h1{font-size:24px}
  html[lang="ml"] .product-category-tile-title{font-size:11px}
  html[lang="ml"] .home-contact-actions .btn{font-size:10px;padding:7px 5px}
}


/* Malayalam desktop/tablet correction:
   keep the language menu compact and prevent long Malayalam hero text
   from overpowering the image at zoomed and medium-width PC viewports. */
@media (min-width:821px) and (max-width:1280px){
  html[lang="ml"] .nav{position:relative;gap:12px}
  html[lang="ml"] .menu-btn{
    display:block;
    flex:0 0 44px;
    width:44px;
    height:44px;
    min-height:44px;
  }
  html[lang="ml"] .head-actions{margin-left:auto;flex:0 0 auto}
  html[lang="ml"] .links{
    display:none;
    position:absolute;
    top:100%;
    left:auto;
    right:0;
    width:min(540px,calc(100vw - 36px));
    max-width:calc(100vw - 36px);
    max-height:calc(100dvh - 128px);
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    flex-direction:initial;
    flex-wrap:initial;
    align-items:stretch;
    gap:8px;
    margin:0;
    padding:12px;
    z-index:40;
    background:#fffefa;
    border:1px solid var(--line);
    border-top:0;
    border-radius:0 0 18px 18px;
    box-shadow:0 18px 36px #1e382625;
  }
  html[lang="ml"] .links.open{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  html[lang="ml"] .links a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    min-height:50px;
    padding:9px 10px;
    border-radius:12px;
    font-size:14px;
    line-height:1.45;
    text-align:center;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  html[lang="ml"] .hero h1{
    max-width:100%;
    margin:8px 0 16px;
    font-size:clamp(42px,4.8vw,54px);
    line-height:1.36;
    letter-spacing:0;
    overflow-wrap:break-word;
  }
  html[lang="ml"] .hero p.lead{
    font-size:15px;
    line-height:1.7;
  }
  html[lang="ml"] .hero .actions .btn{
    min-height:48px;
    height:auto;
    padding:10px 13px;
    font-size:13px;
    line-height:1.45;
    white-space:normal;
  }
}
@media (min-width:821px) and (max-width:960px){
  html[lang="ml"] .hero-grid{
    grid-template-columns:minmax(0,1fr);
    gap:16px;
  }
  html[lang="ml"] .hero h1{
    max-width:16ch;
    font-size:clamp(40px,5vw,48px);
  }
  html[lang="ml"] .hero-art img{
    max-height:360px;
    object-fit:cover;
  }
}
@media (min-width:961px) and (max-width:1080px){
  html[lang="ml"] .hero-grid{
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    gap:18px;
  }
}


/* ===== Product catalogue refresh: soft, friendly product cards ===== */
.product-grid{align-items:stretch;gap:18px}
#catGrid>.product-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:0;
  overflow:hidden;
  border:1px solid #e8e4d9;
  border-radius:22px;
  background:linear-gradient(180deg,#fffefa 0%,#fff 100%);
  box-shadow:0 7px 22px rgba(38,66,48,.055);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
#catGrid>.product-card:hover{
  transform:translateY(-3px);
  border-color:#d8e2d2;
  box-shadow:0 13px 30px rgba(38,66,48,.10);
}
.product-card-top{
  min-height:48px;
  margin:0;
  padding:17px 18px 0;
  align-items:center;
}
.product-card-brand{
  display:flex;
  align-items:center;
  min-width:0;
  min-height:34px;
  flex:1 1 auto;
}
.product-brand-logo{max-width:112px;max-height:34px}
.product-brand-fallback{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  color:var(--green2);
  font-size:12px;
  font-weight:800;
  letter-spacing:.025em;
}
.product-category{
  flex:0 1 auto;
  max-width:55%;
  padding:7px 11px;
  border:1px solid #e4eadc;
  border-radius:99px;
  background:#f0f4eb;
  color:#355b43;
  font-size:11px;
  font-weight:750;
  line-height:1.35;
  text-align:center;
}
.product-card-media{
  position:relative;
  display:grid;
  place-items:center;
  width:calc(100% - 36px);
  height:188px;
  min-height:188px;
  margin:12px 18px 0;
  padding:12px;
  overflow:hidden;
  border:1px solid #edf0e7;
  border-radius:17px;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,255,255,.95),transparent 32%),
    linear-gradient(145deg,#f5f6ee 0%,#eef3e7 55%,#f8f4e9 100%);
}
.product-card-media.has-image{background:#fff}
.product-card-media img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}
.product-card-media.is-placeholder{gap:3px}
.product-placeholder-art{
  display:block;
  width:124px;
  max-width:70%;
  height:116px;
  flex:none;
  filter:drop-shadow(0 5px 5px rgba(51,79,58,.08));
}
.product-image-caption{
  display:block;
  color:#738173;
  font-size:10px;
  font-weight:650;
  line-height:1.35;
  text-align:center;
}
.product-card-body{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:5px;
  padding:15px 20px 0;
}
.product-brand-name{
  margin:0!important;
  color:#7b887a;
  font-size:10px!important;
  font-weight:850;
  letter-spacing:.11em;
  line-height:1.4;
  text-transform:uppercase;
}
#catGrid .product-card h3{
  margin:2px 0 2px;
  color:#1d3027;
  font-size:19px;
  font-weight:800;
  line-height:1.28;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
#catGrid .product-card .product-card-description{
  display:-webkit-box;
  margin:0;
  color:#657368;
  font-size:13px;
  line-height:1.58;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.product-info-toggle{
  width:calc(100% - 36px);
  margin:14px 18px 0;
  border:1px solid #e8ecdf;
  border-radius:15px;
  background:#f8faf5;
  overflow:hidden;
}
.product-info-toggle summary{
  min-height:48px;
  gap:10px;
  padding:11px 13px;
  color:#294f3e;
  font-size:12px;
  line-height:1.4;
}
.product-info-toggle summary:after{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#eaf0e4;
  color:#315c43;
  font-size:18px;
}
.product-info-hint{
  margin-left:auto;
  color:#8a9687;
  font-size:10px;
  font-weight:600;
}
.product-info-content{
  padding:0 13px 13px;
  color:#58695c;
  font-size:12px;
  line-height:1.55;
}
.product-info-content .product-benefits{margin:0;padding:9px 0 0}
.product-info-content .product-benefits b{color:#315c43;font-size:12px}
.product-info-content .product-benefits ul{margin:6px 0 0;padding-left:18px}
.product-info-content .product-benefits li{margin:4px 0;font-size:12px;line-height:1.5}
.product-info-content .product-warranty{
  margin:9px 0 0;
  padding:9px 10px;
  border-left:3px solid #d7bd84;
  border-radius:0 9px 9px 0;
  background:#fffaf0;
  color:#66583d;
  font-size:11px;
}
.product-details-pending{
  margin:0;
  padding:8px 0;
  color:#798579;
  font-size:11px;
  line-height:1.5;
}
.product-reference-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:9px;
  padding:9px 10px;
  border:1px solid #e5ebdf;
  border-radius:10px;
  background:#fff;
  color:#27543b;
  font-size:11px;
  font-weight:750;
  text-decoration:none;
}
.product-reference-link:hover{border-color:#c5d5bf;background:#f5f8f1}
.product-actions{
  display:flex;
  margin-top:auto;
  padding:16px 18px 18px;
}
#catGrid .product-actions .btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 4px 10px rgba(24,130,74,.12);
}
@media(min-width:901px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media(max-width:560px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #catGrid>.product-card{border-radius:17px}
  .product-card-top{min-height:40px;padding:12px 11px 0;gap:6px}
  .product-card-brand{min-height:26px}
  .product-brand-logo{max-width:82px;max-height:25px}
  .product-brand-fallback{font-size:9px;line-height:1.3}
  .product-category{max-width:58%;padding:5px 7px;font-size:9px}
  .product-card-media{
    width:calc(100% - 22px);
    height:120px;
    min-height:120px;
    margin:9px 11px 0;
    padding:7px;
    border-radius:13px;
  }
  .product-placeholder-art{width:82px;height:78px}
  .product-image-caption{font-size:8px}
  .product-card-body{gap:4px;padding:11px 12px 0}
  .product-brand-name{font-size:8px!important;letter-spacing:.08em}
  #catGrid .product-card h3{font-size:14px;line-height:1.32}
  #catGrid .product-card .product-card-description{
    font-size:11px;
    line-height:1.48;
    -webkit-line-clamp:3;
  }
  .product-info-toggle{width:calc(100% - 22px);margin:10px 11px 0;border-radius:12px}
  .product-info-toggle summary{min-height:40px;padding:8px 9px;font-size:10px}
  .product-info-toggle summary:after{width:20px;height:20px;font-size:15px}
  .product-info-hint{display:none}
  .product-info-content{padding:0 9px 10px;font-size:10px}
  .product-info-content .product-benefits b{font-size:10px}
  .product-info-content .product-benefits li{font-size:10px}
  .product-details-pending{font-size:10px}
  .product-reference-link{font-size:10px;padding:8px}
  .product-actions{padding:11px 11px 12px}
  #catGrid .product-actions .btn{min-height:38px;padding:7px 6px;font-size:10px}
}
@media(max-width:359px){
  .product-grid{grid-template-columns:minmax(0,1fr)}
  .product-card-media{height:164px;min-height:164px}
  .product-placeholder-art{width:118px;height:110px}
  .product-card-body{padding:13px 15px 0}
  #catGrid .product-card h3{font-size:17px}
  .product-info-toggle{width:calc(100% - 30px);margin-left:15px;margin-right:15px}
  .product-actions{padding:13px 15px 15px}
}
html[lang="ml"] .product-category,
html[lang="ml"] .product-info-toggle summary,
html[lang="ml"] .product-image-caption,
html[lang="ml"] .product-reference-link{
  line-height:1.55;
  letter-spacing:0;
  overflow-wrap:anywhere;
}
html[lang="ml"] #catGrid .product-card h3{line-height:1.55;letter-spacing:0}
html[lang="ml"] #catGrid .product-card .product-card-description{-webkit-line-clamp:4}


/* Product card row alignment — reserve matching text space before the information panel.
   This keeps the Product information panels on one horizontal line even when
   product names and descriptions have different lengths. */
#catGrid .product-card-body .product-brand-name{
  min-height:1.4em;
}
#catGrid .product-card-body h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  min-height:2.56em;
  overflow:hidden;
}
#catGrid .product-card-body .product-card-description{
  min-height:4.74em;
}
html[lang="ml"] #catGrid .product-card-body h3{
  min-height:3.1em;
}
html[lang="ml"] #catGrid .product-card-body .product-card-description{
  min-height:6.32em;
}
@media(max-width:560px){
  #catGrid .product-card-body h3{
    -webkit-line-clamp:2;
    min-height:2.64em;
  }
  #catGrid .product-card-body .product-card-description{
    min-height:4.44em;
  }
  html[lang="ml"] #catGrid .product-card-body h3{
    min-height:3.1em;
  }
  html[lang="ml"] #catGrid .product-card-body .product-card-description{
    min-height:5.92em;
  }
}


/* Paint Talk Home tab refresh — scoped styles only; other public pages are unaffected. */
body[data-page="index"]{
  --home-cream:#fbfaf3;
  --home-sage:#e9efdf;
  --home-sage-deep:#dce7d3;
  --home-forest:#234c3c;
  --home-ink:#1e2d24;
  background:var(--home-cream);
}
body[data-page="index"] .announce{
  padding:7px 12px;
  background:#17382c;
  color:#f3f5e9;
  font-size:12px;
  letter-spacing:.01em;
}
body[data-page="index"] .site-header{
  background:rgba(251,250,243,.96);
  border-bottom:1px solid #e6e8dc;
  box-shadow:0 3px 16px rgba(35,76,60,.035);
}
body[data-page="index"] .nav{min-height:70px;gap:16px}
body[data-page="index"] .logo img{height:49px;max-width:min(215px,42vw)}
body[data-page="index"] .links a{font-size:14px;padding:8px 11px}
body[data-page="index"] .lang{background:#fff;border-color:#e2e7dc}
body[data-page="index"] .menu-btn{border-color:#dce4d8;color:var(--home-forest)}
body[data-page="index"] .hero{
  padding:42px 0 30px;
  background:
    radial-gradient(ellipse at 4% 96%,rgba(218,234,205,.7),transparent 31%),
    radial-gradient(ellipse at 96% 5%,rgba(223,235,209,.9),transparent 32%),
    linear-gradient(120deg,#fbfaf3 0%,#f5f6ed 100%);
  overflow:hidden;
}
body[data-page="index"] .hero-grid{
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  gap:34px;
  align-items:center;
}
body[data-page="index"] .hero-grid>div:first-child{position:relative;z-index:1}
body[data-page="index"] .hero .eyebrow{
  color:#58745a;
  font-size:12px;
  letter-spacing:.14em;
}
body[data-page="index"] .hero h1{
  max-width:600px;
  color:var(--home-ink);
  font-size:clamp(42px,5vw,62px);
  line-height:1.06;
  letter-spacing:-.035em;
  margin:10px 0 14px;
}
body[data-page="index"] .hero p.lead{
  max-width:540px;
  padding-left:15px;
  border-left:3px solid #c6d6b9;
  color:#59675c;
  font-size:17px;
  line-height:1.58;
}
body[data-page="index"] .hero .actions{gap:10px;margin-top:22px}
body[data-page="index"] .hero .actions .btn{
  min-height:48px;
  padding:12px 19px;
  font-size:14px;
  box-shadow:0 7px 18px rgba(35,76,60,.08);
}
body[data-page="index"] .hero .actions .btn:first-child{
  background:#fff;
  color:var(--home-forest);
  border:1px solid #d7e0d1;
}
body[data-page="index"] .hero .actions .btn.wa{
  background:#1d8150;
  color:#fff;
}
body[data-page="index"] .hero-art{
  border-radius:25px;
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 18px 45px rgba(38,60,43,.13);
  background:#e8efdf;
}
body[data-page="index"] .hero-art img{
  aspect-ratio:1370 / 810;
  object-fit:cover;
}
body[data-page="index"] .section{padding:42px 0}
body[data-page="index"] .home-products-section{
  background:var(--home-cream);
  padding-top:37px;
  padding-bottom:38px;
}
body[data-page="index"] .home-products-section .section-head{
  margin:0 auto 22px;
  max-width:760px;
  text-align:center;
}
body[data-page="index"] .home-products-section .section-head .eyebrow,
body[data-page="index"] .home-brands-section .section-head .eyebrow{
  color:#64805e;
  letter-spacing:.14em;
}
body[data-page="index"] .home-products-section .section-head h2{
  margin-top:8px;
  color:var(--home-forest);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(25px,3.2vw,34px);
  line-height:1.2;
  letter-spacing:-.015em;
}
body[data-page="index"] #homeCats{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
}
body[data-page="index"] #homeCats>.card{
  position:relative;
  display:flex;
  min-width:0;
  min-height:142px;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:7px;
  padding:18px 18px 17px;
  overflow:hidden;
  border:1px solid #e4e9dc;
  border-radius:19px;
  background:linear-gradient(145deg,#fffefa 0%,#f1f5e9 100%);
  box-shadow:0 6px 18px rgba(36,65,43,.045);
  transition:transform .18s ease,box-shadow .18s ease;
}
body[data-page="index"] #homeCats>.card:nth-child(4n+2){background:linear-gradient(145deg,#fffefa 0%,#edf3e8 100%)}
body[data-page="index"] #homeCats>.card:nth-child(4n+3){background:linear-gradient(145deg,#fffefa 0%,#f7f1df 100%)}
body[data-page="index"] #homeCats>.card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 24px rgba(36,65,43,.09);
}
body[data-page="index"] #homeCats .dot{
  display:grid;
  width:38px;
  height:38px;
  border-radius:12px;
  background:#e0ebd8;
  color:#28513e;
  font-size:14px;
  font-weight:850;
}
body[data-page="index"] #homeCats>.card h3{
  margin:2px 22px 0 0;
  color:#26392e;
  font-size:16px;
  line-height:1.22;
}
body[data-page="index"] #homeCats>.card p{
  max-width:31ch;
  color:#6c786c;
  font-size:12px;
  line-height:1.4;
}
body[data-page="index"] #homeCats>.card:after{
  content:"↗";
  position:absolute;
  right:13px;
  bottom:13px;
  display:grid;
  width:27px;
  height:27px;
  place-items:center;
  border-radius:50%;
  background:#28513e;
  color:#fff;
  font-size:15px;
}
body[data-page="index"] .home-products-section>.container>.actions{
  justify-content:center;
  margin-top:18px;
}
body[data-page="index"] .home-products-section>.container>.actions .btn{
  min-height:43px;
  padding:10px 19px;
}
body[data-page="index"] .home-brands-section{
  padding-top:34px;
  padding-bottom:38px;
  background:#f0f3e8;
  border-top:1px solid #e6eadf;
  border-bottom:1px solid #e6eadf;
}
body[data-page="index"] .home-brands-section .section-head{
  margin:0 auto 20px;
  text-align:center;
}
body[data-page="index"] .home-brands-section .section-head h2{
  color:var(--home-forest);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(25px,3vw,32px);
}
body[data-page="index"] .home-brands-section .brand-groups{
  gap:22px;
}
body[data-page="index"] .home-brands-section .brand-group-title{
  margin-bottom:9px;
  color:#526958;
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body[data-page="index"] .home-brands-section .brands{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
body[data-page="index"] .home-brands-section .brand{
  min-width:0;
  min-height:74px;
  padding:10px;
  border:1px solid #e3e8dc;
  border-radius:14px;
  background:rgba(255,255,255,.82);
  box-shadow:0 3px 11px rgba(36,65,43,.035);
}
body[data-page="index"] .home-brands-section .brand img{
  max-width:100%;
  max-height:46px;
  object-fit:contain;
}
body[data-page="index"] .home-contact-section{
  padding:28px 0 36px;
  background:var(--home-cream);
}
body[data-page="index"] .home-contact-strip{
  align-items:center;
  gap:20px;
  padding:24px 25px;
  border:1px solid #e3e8dc;
  border-radius:21px;
  background:linear-gradient(125deg,#fffefa 0%,#f1f4e9 100%);
  box-shadow:0 7px 22px rgba(36,65,43,.045);
}
body[data-page="index"] .home-contact-copy .eyebrow{color:#64805e}
body[data-page="index"] .home-contact-copy h2{
  color:var(--home-forest);
  font-family:Georgia,"Times New Roman",serif;
}
body[data-page="index"] .home-contact-copy p{
  color:#657166;
  line-height:1.5;
}
body[data-page="index"] .home-contact-actions{gap:8px}
body[data-page="index"] .home-contact-actions .btn{
  min-height:43px;
  padding:10px 14px;
  font-size:12px;
}
body[data-page="index"] .home-contact-actions .btn.wa{background:#1d8150}
body[data-page="index"] .home-contact-actions .btn.ghost{
  background:#fff;
  border-color:#dce5d8;
}
body[data-page="index"] .footer{
  margin-top:0;
  padding:32px 0 calc(40px + env(safe-area-inset-bottom));
  background:#17382c;
  color:#edf3e9;
}
body[data-page="index"] .footer .cols{gap:24px}
body[data-page="index"] .footer h3{color:#d8e6c8}
body[data-page="index"] .footer a{color:#edf3e9}
body[data-page="index"] .footer p{color:#d2ddcf}
body[data-page="index"] .footer small{color:#c0cfbc}
body[data-page="index"] .footer .cols>div:first-child>img{margin-bottom:12px}
body[data-page="index"] .fab{box-shadow:0 10px 25px rgba(12,35,22,.28)}

/* Phone-first home layout */
@media(max-width:820px){
  body[data-page="index"] .nav{min-height:62px;gap:8px}
  body[data-page="index"] .logo img{height:42px;max-width:154px}
  body[data-page="index"] .head-actions{gap:6px}
  body[data-page="index"] .lang{min-height:37px;padding:6px 10px;font-size:12px}
  body[data-page="index"] .menu-btn{width:41px;height:39px}
  body[data-page="index"] .links{top:100%;padding:9px 14px 14px;background:#fbfaf3;border-bottom:1px solid #e3e8dc}
  body[data-page="index"] .links a{font-size:16px;padding:12px 13px}
  body[data-page="index"] .hero{
    padding:20px 0 18px;
    background:
      radial-gradient(ellipse at 96% 6%,rgba(221,235,210,.8),transparent 35%),
      linear-gradient(180deg,#fbfaf3 0%,#f5f6ed 100%);
  }
  body[data-page="index"] .hero-grid{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:15px;
  }
  body[data-page="index"] .hero-grid>div:first-child{width:100%}
  body[data-page="index"] .hero .eyebrow{font-size:10px;letter-spacing:.13em}
  body[data-page="index"] .hero h1{
    max-width:14ch;
    margin:8px 0 10px;
    font-size:clamp(32px,8.3vw,39px);
    line-height:1.08;
    letter-spacing:-.035em;
  }
  body[data-page="index"] .hero p.lead{
    max-width:100%;
    margin:0;
    padding-left:11px;
    font-size:14px;
    line-height:1.48;
  }
  body[data-page="index"] .hero .actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:14px;
  }
  body[data-page="index"] .hero .actions .btn{
    width:100%;
    min-width:0;
    min-height:44px;
    padding:8px 7px;
    gap:5px;
    font-size:11px;
    line-height:1.2;
    white-space:normal;
    text-align:center;
  }
  body[data-page="index"] .hero .actions .btn.wa span{font-size:10.5px}
  body[data-page="index"] .hero-art{
    width:100%;
    border-radius:17px;
  }
  body[data-page="index"] .hero-art img{
    width:100%;
    height:clamp(172px,54vw,218px);
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center;
  }
  body[data-page="index"] .home-products-section{padding:24px 0 25px}
  body[data-page="index"] .home-products-section .section-head{
    margin:0 0 15px;
    text-align:left;
  }
  body[data-page="index"] .home-products-section .section-head .eyebrow{font-size:10px}
  body[data-page="index"] .home-products-section .section-head h2{
    max-width:24ch;
    font-size:23px;
    line-height:1.18;
  }
  body[data-page="index"] #homeCats{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  body[data-page="index"] #homeCats>.card{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    grid-template-rows:auto auto;
    align-content:center;
    align-items:center;
    column-gap:9px;
    row-gap:3px;
    min-height:96px;
    height:auto;
    padding:11px 10px;
    border-radius:15px;
  }
  body[data-page="index"] #homeCats .dot{
    grid-column:1;
    grid-row:1/3;
    width:31px;
    height:31px;
    border-radius:10px;
    font-size:12px;
  }
  body[data-page="index"] #homeCats>.card h3{
    grid-column:2;
    grid-row:1;
    min-width:0;
    margin:0 18px 0 0;
    font-size:13px;
    line-height:1.24;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  body[data-page="index"] #homeCats>.card p{
    grid-column:2;
    grid-row:2;
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    min-width:0;
    margin:0;
    font-size:10px;
    line-height:1.32;
    color:#687568;
    overflow:hidden;
  }
  body[data-page="index"] #homeCats>.card:after{
    right:8px;
    bottom:8px;
    width:20px;
    height:20px;
    font-size:12px;
  }
  body[data-page="index"] .home-products-section>.container>.actions{margin-top:13px}
  body[data-page="index"] .home-products-section>.container>.actions .btn{width:100%;min-height:43px}
  body[data-page="index"] .home-brands-section{
    padding:24px 0 26px;
  }
  body[data-page="index"] .home-brands-section .section-head{
    margin-bottom:15px;
    text-align:left;
  }
  body[data-page="index"] .home-brands-section .section-head h2{font-size:23px;line-height:1.2}
  body[data-page="index"] .home-brands-section .brand-groups{gap:17px}
  body[data-page="index"] .home-brands-section .brand-group-title{
    margin-bottom:8px;
    font-size:11px;
    letter-spacing:.05em;
  }
  body[data-page="index"] .home-brands-section .brands{
    display:flex;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 1px 8px;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  body[data-page="index"] .home-brands-section .brands::-webkit-scrollbar{display:none}
  body[data-page="index"] .home-brands-section .brand{
    flex:0 0 104px;
    min-width:104px;
    min-height:64px;
    padding:7px;
    scroll-snap-align:start;
    border-radius:12px;
  }
  body[data-page="index"] .home-brands-section .brand img{max-height:43px}
  body[data-page="index"] .home-contact-section{padding:20px 0 23px}
  body[data-page="index"] .home-contact-strip{
    display:grid;
    grid-template-columns:1fr;
    gap:13px;
    padding:16px;
    border-radius:18px;
  }
  body[data-page="index"] .home-contact-copy h2{font-size:22px}
  body[data-page="index"] .home-contact-copy p{font-size:11px;line-height:1.5}
  body[data-page="index"] .home-contact-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  body[data-page="index"] .home-contact-actions .btn{
    min-width:0;
    min-height:42px;
    padding:8px 7px;
    font-size:11px;
    line-height:1.2;
    white-space:normal;
  }
  body[data-page="index"] .home-contact-actions .btn:last-child{grid-column:1/-1}
  body[data-page="index"] .footer{
    padding:24px 0 calc(78px + env(safe-area-inset-bottom));
    border-radius:22px 22px 0 0;
    margin-top:0;
  }
  body[data-page="index"] .footer .cols{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px 12px;
  }
  body[data-page="index"] .footer .cols>div:first-child{
    grid-column:1/-1;
  }
  body[data-page="index"] .footer .cols>div:first-child>img{
    height:48px!important;
    margin-bottom:8px;
  }
  body[data-page="index"] .footer .cols>div:first-child p,
  body[data-page="index"] .footer .cols>div:first-child small{
    font-size:11px;
    line-height:1.45;
  }
  body[data-page="index"] .footer .cols>div:nth-child(2),
  body[data-page="index"] .footer .cols>div:nth-child(3){
    min-width:0;
  }
  body[data-page="index"] .footer h3{font-size:13px}
  body[data-page="index"] .footer a,
  body[data-page="index"] .footer small{
    font-size:11px;
    line-height:1.45;
    overflow-wrap:anywhere;
  }
}
@media(max-width:380px){
  body[data-page="index"] .hero h1{font-size:clamp(29px,8.1vw,34px)}
  body[data-page="index"] .hero .actions{grid-template-columns:1fr}
  body[data-page="index"] #homeCats>.card{min-height:91px;padding:9px}
  body[data-page="index"] #homeCats>.card h3{font-size:12px}
  body[data-page="index"] .home-brands-section .brand{flex-basis:96px;min-width:96px}
}
@media(min-width:561px) and (max-width:900px){
  body[data-page="index"] .hero-grid{grid-template-columns:1fr}
  body[data-page="index"] .hero h1{max-width:18ch;font-size:clamp(38px,5.5vw,48px)}
  body[data-page="index"] .hero-art img{height:clamp(220px,38vw,330px);aspect-ratio:auto}
  body[data-page="index"] #homeCats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="index"] .home-brands-section .brands{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  html[lang="ml"] body[data-page="index"] .hero h1{
    max-width:100%;
    font-size:clamp(27px,7.6vw,34px);
    line-height:1.42;
    letter-spacing:0;
  }
  html[lang="ml"] body[data-page="index"] .hero p.lead{font-size:13px;line-height:1.75}
  html[lang="ml"] body[data-page="index"] .home-products-section .section-head h2,
  html[lang="ml"] body[data-page="index"] .home-brands-section .section-head h2{
    font-size:20px;
    line-height:1.45;
  }
  html[lang="ml"] body[data-page="index"] #homeCats>.card h3{line-height:1.4}
  html[lang="ml"] body[data-page="index"] #homeCats>.card p{line-height:1.55}
  html[lang="ml"] body[data-page="index"] .home-contact-copy h2{line-height:1.4}
}


/* Paint Talk public-page refresh — reference-led, phone-first styles for every non-Home tab. */
/* Shared shell: warm ivory, quiet sage, forest-green actions. Home keeps its own scoped treatment. */
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]){
  --public-cream:#fbfaf4;
  --public-paper:#fffefa;
  --public-sage:#eaf0e3;
  --public-sage-2:#dce8d5;
  --public-forest:#234c3c;
  --public-ink:#1f3026;
  --public-muted:#69776c;
  --public-line:#e4e9df;
  background:var(--public-cream);
  color:var(--public-ink);
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .announce{
  background:#17382c;
  color:#f1f4e9;
  padding:7px 12px;
  font-size:11px;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .announce b{color:#d8e6c8}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .site-header{
  background:rgba(251,250,244,.96);
  border-bottom:1px solid var(--public-line);
  box-shadow:0 3px 18px rgba(31,55,39,.04);
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .nav{min-height:68px;gap:14px}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .logo img{height:47px;max-width:min(205px,42vw)}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links a{
  color:#34463a;
  font-size:14px;
  padding:8px 11px;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links a[aria-current="page"]{
  background:#234c3c;
  color:#fff;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links a:hover{background:#e9f0e3}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .lang{
  background:#fff;
  border-color:#e0e7dc;
  color:#253b2e;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .menu-btn{
  border-color:#dce5d9;
  color:#234c3c;
  background:#fff;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .btn{
  box-shadow:0 5px 15px rgba(35,76,60,.07);
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .btn.wa{background:#1f8550}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .btn.lime{background:#dce9c9;color:#234c3c}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .btn.ghost{
  background:#fff;
  border-color:#dfe7dc;
  color:#234c3c;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero{
  position:relative;
  overflow:hidden;
  padding:42px 0 34px;
  background:
    radial-gradient(ellipse at 95% 8%,rgba(216,232,206,.85),transparent 34%),
    radial-gradient(ellipse at 5% 100%,rgba(232,238,217,.75),transparent 32%),
    linear-gradient(120deg,#fbfaf4 0%,#f3f6ed 100%);
  border-bottom:1px solid #e9ede4;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero .eyebrow{
  color:#658060;
  font-size:11px;
  letter-spacing:.15em;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero h1{
  color:#1e3126;
  font-size:clamp(32px,4.5vw,50px);
  line-height:1.08;
  margin:9px 0 11px;
  letter-spacing:-.03em;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero p{
  max-width:720px;
  color:#657267;
  font-size:15px;
  line-height:1.55;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) main>.section{padding:38px 0}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .section-head h2,
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .gh-h2{
  color:#234c3c;
  font-family:Georgia,"Times New Roman",serif;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .card{
  border-color:#e5eade;
  background:#fffefa;
  box-shadow:0 7px 22px rgba(35,76,60,.045);
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .fab{
  background:#1f8550;
  box-shadow:0 9px 23px rgba(20,56,34,.23);
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .footer{
  margin-top:0;
  background:#17382c;
  color:#eaf2e6;
  border-radius:24px 24px 0 0;
}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .footer h3{color:#d8e6c8}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .footer a{color:#eaf2e6}
body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .footer small{color:#c5d5c0}

/* PRODUCTS — simple category chooser, airy catalogue cards, easy mobile search. */
body[data-page="products"] .products-hero h1{max-width:16ch}
body[data-page="products"] .products-catalogue-section{
  padding-top:28px;
  background:var(--public-cream);
}
body[data-page="products"] .product-search-primary{
  max-width:100%;
  margin:0 auto 25px;
  padding:16px 18px;
  border:1px solid var(--public-line);
  border-radius:18px;
  background:#fffefa;
  box-shadow:0 6px 20px rgba(35,76,60,.04);
}
body[data-page="products"] .product-search-primary label{
  color:#58705d;
  font-size:12px;
  font-weight:800;
}
body[data-page="products"] .product-search-primary input{
  min-height:48px;
  border-radius:12px;
  border-color:#dce5d8;
  background:#fbfcf8;
}
body[data-page="products"] .category-chooser{
  margin:0 0 28px;
  padding:23px;
  border:1px solid #e4eadf;
  border-radius:22px;
  background:linear-gradient(140deg,#fffefa 0%,#f1f5e9 100%);
  box-shadow:0 9px 28px rgba(35,76,60,.045);
}
body[data-page="products"] .compact-section-head{margin-bottom:16px}
body[data-page="products"] .compact-section-head h2{
  color:#234c3c;
  font-size:clamp(22px,2.7vw,29px);
}
body[data-page="products"] .category-choice-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}
body[data-page="products"] .product-category-tile{
  min-height:104px;
  padding:15px 36px 15px 15px;
  border-color:#e0e8db;
  border-radius:16px;
  background:rgba(255,255,255,.86);
  box-shadow:0 3px 12px rgba(35,76,60,.035);
}
body[data-page="products"] .product-category-tile:hover,
body[data-page="products"] .product-category-tile:focus-visible{
  border-color:#9cb38e;
  background:#fff;
  box-shadow:0 8px 19px rgba(35,76,60,.08);
}
body[data-page="products"] .product-category-tile-title{
  color:#263c2f;
  font-size:14px;
}
body[data-page="products"] .product-category-tile-meta{
  color:#7a867b;
  font-size:11px;
}
body[data-page="products"] .product-category-tile-arrow{
  right:12px;
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:#234c3c;
  color:white;
  font-size:16px;
}
body[data-page="products"] .selected-category-bar{
  padding:12px 0;
  border-bottom:1px solid #e8ede4;
}
body[data-page="products"] .selected-category-bar strong{
  color:#234c3c;
  font-size:20px;
}
body[data-page="products"] .product-result-count{color:#708072;font-size:12px}
body[data-page="products"] #brandFilterGroup{
  padding:12px 14px;
  border:1px solid #e6ebe2;
  border-radius:14px;
  background:#f3f6ee;
}
body[data-page="products"] .product-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:16px;
}
body[data-page="products"] #catGrid .product-card{
  overflow:hidden;
  border:1px solid #e3e9de;
  border-radius:20px;
  background:#fffefa;
  box-shadow:0 5px 17px rgba(35,76,60,.045);
}
body[data-page="products"] #catGrid .product-card-media{
  background:linear-gradient(140deg,#f5f6ed,#edf2e5);
  border-color:#e9eee5;
  border-radius:15px;
}
body[data-page="products"] #catGrid .product-info-toggle{
  border-color:#e3eade;
  border-radius:13px;
  background:#f6f8f2;
}
body[data-page="products"] .product-catalogue-note{
  margin-top:24px;
  border-radius:14px;
  background:#f1f5eb;
}

/* COLOURS — retain the three-step verified shade flow, polish each step and result. */
body[data-page="colours"] .colours-hero h1{max-width:18ch}
body[data-page="colours"] .shade-finder-section{padding:25px 0 48px}
body[data-page="colours"] .shade-finder-shell{
  padding:clamp(17px,3vw,30px);
  border:1px solid #e2e9de;
  border-radius:24px;
  background:#fffefa;
  box-shadow:0 12px 35px rgba(35,76,60,.06);
}
body[data-page="colours"] .shade-finder-header{
  padding-bottom:20px;
  border-bottom-color:#e8eee4;
}
body[data-page="colours"] .shade-finder-kicker{
  color:#658060;
  letter-spacing:.13em;
}
body[data-page="colours"] .shade-finder-header h2{
  color:#234c3c;
  font-family:Georgia,"Times New Roman",serif;
}
body[data-page="colours"] .shade-progress{
  border-color:#e6ece2;
  border-radius:15px;
  background:#f5f7f0;
}
body[data-page="colours"] .shade-progress-step.is-current>span,
body[data-page="colours"] .shade-progress-step.is-complete>span{background:#234c3c}
body[data-page="colours"] .shade-step-section{
  padding-bottom:22px;
  border-bottom-color:#edf1e9;
}
body[data-page="colours"] .shade-step-number{
  border-radius:11px;
  background:#e7efdf;
  color:#28533e;
}
body[data-page="colours"] .shade-step-title h3{color:#273e31}
body[data-page="colours"] .shade-brand-option{
  min-height:70px;
  border-color:#e1e9dc;
  border-radius:15px;
  background:#fff;
}
body[data-page="colours"] .shade-brand-option[aria-pressed="true"]{
  border-color:#73956d;
  background:#f0f5eb;
  box-shadow:inset 0 0 0 1px #73956d;
}
body[data-page="colours"] .shade-brand-mark{
  border-radius:12px;
  background:#eaf1e4;
  color:#315a42;
}
body[data-page="colours"] .shade-application-buttons button{
  border-radius:14px;
  border-color:#e0e8db;
  background:#fff;
}
body[data-page="colours"] .shade-application-buttons button[aria-pressed="true"]{
  border-color:#78976b;
  background:#eef4e8;
  color:#234c3c;
}
body[data-page="colours"] .shade-results-panel{margin-top:24px}
body[data-page="colours"] .shade-results-heading h3{color:#234c3c}
body[data-page="colours"] .shade-enquiry{
  margin-top:24px;
  border-radius:18px;
  background:#f5f7f0;
  border-color:#e2e9dd;
}
body[data-page="colours"] .shade-enquiry-count{
  background:#234c3c;
  color:#fff;
}

/* VISUALIZER — room controls and the large live canvas are the main product experience. */
body[data-page="visualiser"] .vis-hero{
  padding:34px 0 28px;
  background:
    radial-gradient(ellipse at 93% 10%,rgba(215,231,205,.85),transparent 33%),
    linear-gradient(120deg,#fbfaf4,#f0f5ec);
}
body[data-page="visualiser"] .vis-hero h1{max-width:18ch}
body[data-page="visualiser"] .vis-section{padding:24px 0 42px}
body[data-page="visualiser"] .vis-grid{
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.5fr);
  gap:17px;
  align-items:start;
}
body[data-page="visualiser"] .vis-grid>.vis-sidebar{
  order:1;
  position:sticky;
  top:90px;
  max-height:calc(100vh - 108px);
  padding:19px;
  border:1px solid #e2e9de;
  border-radius:20px;
  background:#fffefa;
  box-shadow:0 7px 22px rgba(35,76,60,.045);
}
body[data-page="visualiser"] .vis-preview-column{order:2}
body[data-page="visualiser"] .vis-section-label{
  color:#234c3c;
  font-size:12px;
  letter-spacing:.08em;
}
body[data-page="visualiser"] .vis-scene-option{
  border-color:#e2e9de;
  border-radius:14px;
  background:#fffefa;
}
body[data-page="visualiser"] .vis-scene-option.selected{
  border-color:#78996d;
  background:#f0f5ea;
}
body[data-page="visualiser"] .vis-preview-panel{
  border-color:#e2e9de;
  border-radius:22px;
  background:#fffefa;
  box-shadow:0 12px 32px rgba(35,76,60,.07);
}
body[data-page="visualiser"] .vis-preview-topline{
  padding:8px 8px 15px;
}
body[data-page="visualiser"] .vis-scene-heading strong{color:#234c3c}
body[data-page="visualiser"] .vis-current-shade{
  border-color:#e2e9de;
  background:#f4f7ef;
}
body[data-page="visualiser"] .vis-stage{
  border-color:#e4eadd;
  border-radius:17px;
  background:#f0f2e9;
}
body[data-page="visualiser"] .vis-comparisons{
  border-color:#e2e9de;
  border-radius:18px;
  background:#fffefa;
}
body[data-page="visualiser"] .vis-comparisons-heading h3{color:#234c3c}
body[data-page="visualiser"] .vis-disclaimer{
  border-color:#e8e8d9;
  border-left-color:#b9aa7a;
  border-radius:13px;
  background:#f8f7ef;
}
body[data-page="visualiser"] #vShadeGrid .shade-picker-item{
  border-color:#e1e9dc;
  border-radius:12px;
}
body[data-page="visualiser"] #vShadeGrid .shade-picker-item.selected{
  border-color:#78976b;
  background:#f0f5ea;
}

/* OUR WORK — real projects only; make the gallery feel intentional even while empty. */
body[data-page="work"] .work-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}
body[data-page="work"] .work-project-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px;
  align-items:stretch;
}
body[data-page="work"] .work-project-grid .proj{
  border:1px solid #e2e9de;
  border-radius:19px;
  background:#fffefa;
  box-shadow:0 6px 19px rgba(35,76,60,.045);
}
body[data-page="work"] .work-empty-state{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:150px;
  padding:26px;
  border:1px dashed #cddbc8;
  border-radius:19px;
  background:
    radial-gradient(circle at 95% 0%,rgba(218,233,208,.75),transparent 31%),
    linear-gradient(120deg,#fffefa,#f1f5ea);
  color:#506456;
  font-size:14px;
}
body[data-page="work"] .work-empty-state:before{
  content:"✧";
  display:grid;
  place-items:center;
  flex:0 0 52px;
  width:52px;
  height:52px;
  border-radius:16px;
  background:#e3edda;
  color:#28513c;
  font-size:27px;
}
body[data-page="work"] .work-filters .chip[aria-pressed="true"]{
  background:#234c3c;
  border-color:#234c3c;
}

/* GUIDES — editorial cards with clear reading hierarchy; article content remains intact. */
body[data-page="guides"] .guides-hero{
  padding:37px 0 28px;
}
body[data-page="guides"] .guides-hero h1{max-width:19ch}
body[data-page="guides"] .gh-jump{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:20px;
}
body[data-page="guides"] .gh-jump-l{
  color:#607365;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-page="guides"] .gh-jump a{
  padding:7px 12px;
  border:1px solid #dfe8da;
  border-radius:999px;
  background:#fffefa;
  color:#28513c;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
body[data-page="guides"] .gh-h2{margin-bottom:17px}
body[data-page="guides"] .gh-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
body[data-page="guides"] .gh-card{
  min-width:0;
  padding:22px;
  gap:11px;
  border:1px solid #e4eade;
  border-radius:20px;
  background:#fffefa;
  box-shadow:0 6px 18px rgba(35,76,60,.04);
}
body[data-page="guides"] .gh-card:before{height:5px}
body[data-page="guides"] .gh-top{gap:11px}
body[data-page="guides"] .gh-ico{
  width:48px;
  height:48px;
  border-radius:15px;
  font-size:24px;
}
body[data-page="guides"] .gh-card h3{
  color:#234c3c;
  font-size:20px;
  line-height:1.25;
}
body[data-page="guides"] .gh-card p{
  color:#68776b;
  font-size:13px;
  line-height:1.5;
}
body[data-page="guides"] .gh-topics span{
  background:#eff4e9;
  color:#45634e;
  font-size:11px;
}
body[data-page="guides"] .gh-go{color:#234c3c;font-size:13px}
body[data-page="guides"] .gh-cta{
  border-radius:22px;
  background:linear-gradient(125deg,#17382c,#285641);
  box-shadow:0 10px 25px rgba(28,61,39,.12);
}

/* DETAIL GUIDES — calm, readable long-form pages, especially on narrow phones. */
body[data-page="painting-guide"],
body[data-page="waterproofing"],
body[data-page="wood-polishing"]{
  background:#fbfaf4;
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero{
  padding:29px 0 23px;
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) main>.section>.container{
  max-width:900px!important;
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .toc{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:12px;
  margin:0 0 18px;
  border:1px solid #e3e9dd;
  border-radius:15px;
  background:#f1f5eb;
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) details.acc{
  margin:0 0 10px;
  border:1px solid #e2e9de;
  border-radius:15px;
  background:#fffefa;
  box-shadow:0 4px 13px rgba(35,76,60,.035);
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) details.acc summary{
  min-height:54px;
  align-items:center;
  padding:15px 17px;
  color:#284536;
  line-height:1.4;
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) details.acc .inner{
  padding:0 17px 18px;
  color:#59685c;
  line-height:1.7;
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .steps li{
  border-color:#e5ecdf;
  border-radius:12px;
  background:#f8faf5;
  line-height:1.55;
}
body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .steps li:before{
  background:#e0ead6;
  color:#234c3c;
}

/* CONTACT — genuine shop information first, enquiry form second on phones. */
body[data-page="contact"] .page-hero h1{max-width:18ch}
body[data-page="contact"] main>.section>.container>.grid.g2{
  gap:18px;
}
body[data-page="contact"] main>.section .grid.g2>.card{
  padding:24px;
  border:1px solid #e2e9de;
  border-radius:20px;
  background:#fffefa;
  box-shadow:0 8px 24px rgba(35,76,60,.05);
}
body[data-page="contact"] .info{gap:0}
body[data-page="contact"] .info li{
  position:relative;
  min-width:0;
  padding:13px 0 13px 42px;
  border-bottom:1px solid #edf0e8;
  line-height:1.5;
}
body[data-page="contact"] .info li:last-child{border-bottom:0}
body[data-page="contact"] .info li:before{
  position:absolute;
  left:0;
  top:14px;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:10px;
  background:#eaf1e3;
  color:#315a42;
  font-size:14px;
}
body[data-page="contact"] .info li:nth-child(1):before{content:"⌖"}
body[data-page="contact"] .info li:nth-child(2):before{content:"☎"}
body[data-page="contact"] .info li:nth-child(3):before{content:"▣"}
body[data-page="contact"] .info li:nth-child(4):before{content:"◉"}
body[data-page="contact"] .info li:nth-child(5):before{content:"◷"}
body[data-page="contact"] .info li:nth-child(6):before{content:"⌂"}
body[data-page="contact"] .info li b{color:#718071;font-size:11px}
body[data-page="contact"] .info li span,
body[data-page="contact"] .info li a{font-size:14px;overflow-wrap:anywhere}
body[data-page="contact"] #cForm h3{
  margin:0 0 8px;
  color:#234c3c;
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
}
body[data-page="contact"] #cForm .field{margin:12px 0}
body[data-page="contact"] #cForm input,
body[data-page="contact"] #cForm textarea{
  border-color:#dfe7dc;
  border-radius:12px;
  background:#fcfdf9;
}
body[data-page="contact"] #cForm textarea{min-height:124px}
body[data-page="contact"] #cForm>button{width:100%;margin-top:4px}
body[data-page="contact"] #cForm>p{font-size:11px!important;line-height:1.5}

/* ABOUT — editorial brand story and tidy value cards, preserving existing wording. */
body[data-page="about"] .page-hero h1{max-width:16ch}
body[data-page="about"] #about{background:#f1f4e9}
body[data-page="about"] #about .section-head{margin-bottom:18px}
body[data-page="about"] #about .about-layout{
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:15px;
}
body[data-page="about"] .about-story{
  border:1px solid #dfe8d9;
  border-radius:22px;
  padding:clamp(22px,3vw,31px);
  background:linear-gradient(145deg,#fffefa 0%,#e8f0e2 100%);
  color:#263b2e;
  box-shadow:0 8px 25px rgba(35,76,60,.05);
}
body[data-page="about"] .about-year strong{color:#315a42}
body[data-page="about"] .about-year span{color:#617163}
body[data-page="about"] .about-story>p{color:#56685b;line-height:1.65}
body[data-page="about"] .about-review{
  border-top-color:#dce6d7;
}
body[data-page="about"] .about-review h3{color:#234c3c}
body[data-page="about"] .about-review p{color:#607064}
body[data-page="about"] .about-point-grid{gap:12px}
body[data-page="about"] .about-point{
  border:1px solid #e1e9dc;
  border-radius:18px;
  background:#fffefa;
  box-shadow:0 5px 16px rgba(35,76,60,.04);
}
body[data-page="about"] .about-point .dot{
  background:#e3edda;
  color:#28513c;
}
body[data-page="about"] .about-point h3{color:#294434}
body[data-page="about"] .about-point p{color:#6b786d}

/* RESPONSIVE — one-column mobile flow, touch-sized controls, no horizontal spill. */
@media(max-width:900px){
  body[data-page="products"] .category-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="products"] .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="work"] .work-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="guides"] .gh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="visualiser"] .vis-grid{grid-template-columns:minmax(0,1fr)}
  body[data-page="visualiser"] .vis-grid>.vis-sidebar{
    position:static;
    max-height:none;
  }
}
@media(max-width:820px){
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .nav{min-height:62px;gap:8px}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .logo img{height:42px;max-width:150px}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .head-actions{gap:6px}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .lang{min-height:38px;padding:6px 10px;font-size:11px}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links{
    top:100%;
    display:none;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    padding:12px 14px 15px;
    border:1px solid #e1e8dd;
    border-top:0;
    border-radius:0 0 17px 17px;
    background:#fbfaf4;
    box-shadow:0 14px 24px rgba(25,54,34,.12);
  }
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links.open{display:grid}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:43px;
    padding:8px 7px;
    border:1px solid #e7ece3;
    border-radius:12px;
    background:#fffefa;
    font-size:12px;
    line-height:1.3;
    text-align:center;
  }
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links a[aria-current="page"]{
    background:#234c3c;
    border-color:#234c3c;
  }
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero{padding:25px 0 19px}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero h1{
    max-width:100%;
    font-size:clamp(27px,7vw,35px);
    line-height:1.2;
  }
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero p{font-size:13px;line-height:1.55}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) main>.section{padding:23px 0}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .footer{
    padding:24px 0 calc(78px + env(safe-area-inset-bottom));
    border-radius:19px 19px 0 0;
  }
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .footer .cols{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px 12px;
  }
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .footer .cols>div:first-child{grid-column:1/-1}
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .fab{
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    min-height:48px;
    min-width:48px;
  }

  body[data-page="products"] .products-catalogue-section{padding-top:18px}
  body[data-page="products"] .product-search-primary{
    padding:12px;
    margin-bottom:15px;
    border-radius:15px;
  }
  body[data-page="products"] .category-chooser{
    padding:15px;
    margin-bottom:20px;
    border-radius:18px;
  }
  body[data-page="products"] .category-choice-grid{gap:8px}
  body[data-page="products"] .product-category-tile{
    min-height:82px;
    padding:11px 31px 11px 11px;
    border-radius:13px;
  }
  body[data-page="products"] .product-category-tile-title{font-size:12px;line-height:1.35}
  body[data-page="products"] .product-category-tile-meta{font-size:10px}
  body[data-page="products"] .product-category-tile-arrow{
    right:8px;
    width:21px;
    height:21px;
    font-size:13px;
  }
  body[data-page="products"] #catGrid{gap:9px}
  body[data-page="products"] #catGrid .product-card{border-radius:16px}
  body[data-page="products"] #catGrid .product-card-media{border-radius:12px}
  body[data-page="products"] .product-catalogue-note{margin-top:17px}

  body[data-page="colours"] .shade-finder-section{padding:15px 0 28px}
  body[data-page="colours"] .shade-finder-shell{
    padding:15px;
    border-radius:18px;
  }
  body[data-page="colours"] .shade-finder-header h2{font-size:20px}
  body[data-page="colours"] .shade-progress{margin:14px 0 18px}
  body[data-page="colours"] .shade-brand-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body[data-page="colours"] .shade-brand-option{min-height:59px;padding:9px}
  body[data-page="colours"] .shade-brand-mark{
    width:31px;height:31px;flex-basis:31px;border-radius:9px;font-size:10px
  }
  body[data-page="colours"] .shade-brand-name{font-size:11px}
  body[data-page="colours"] .shade-application-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body[data-page="colours"] .shade-application-buttons button{
    min-height:49px;
    padding:8px;
    font-size:11px;
    line-height:1.4;
  }
  body[data-page="colours"] .shade-results-panel{margin-top:17px}
  body[data-page="colours"] .shade-results-grid{gap:9px}
  body[data-page="colours"] .shade-enquiry{
    margin-top:17px;
    padding:14px;
    border-radius:15px;
  }
  body[data-page="colours"] .shade-enquiry-head h2{font-size:16px}

  body[data-page="visualiser"] .vis-section{padding:15px 0 30px}
  body[data-page="visualiser"] .vis-grid{display:flex;flex-direction:column;gap:12px}
  body[data-page="visualiser"] .vis-grid>.vis-sidebar{
    order:1;
    width:100%;
    padding:15px;
    border-radius:18px;
  }
  body[data-page="visualiser"] .vis-preview-column{
    order:2;
    width:100%;
  }
  body[data-page="visualiser"] .vis-scene-options{gap:8px}
  body[data-page="visualiser"] .vis-scene-option{font-size:12px}
  body[data-page="visualiser"] .vis-preview-panel{padding:9px;border-radius:17px}
  body[data-page="visualiser"] .vis-preview-topline{
    align-items:flex-start;
    flex-direction:row;
    gap:8px;
  }
  body[data-page="visualiser"] .vis-scene-heading strong{font-size:16px}
  body[data-page="visualiser"] .vis-current-shade{padding:6px 9px;gap:6px}
  body[data-page="visualiser"] .vis-current-shade .selected-shade-dot{width:25px;height:25px}
  body[data-page="visualiser"] .vis-stage{min-height:0;border-radius:13px}
  body[data-page="visualiser"] .vis-preview-actions{
    display:flex;
    align-items:stretch;
    flex-direction:column;
    padding:9px 2px 1px;
  }
  body[data-page="visualiser"] .vis-preview-actions .actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  body[data-page="visualiser"] .vis-preview-actions .actions .btn{min-width:0;padding:8px 5px;font-size:11px}
  body[data-page="visualiser"] .vis-comparisons{padding:13px;border-radius:15px}
  body[data-page="visualiser"] .vis-comparisons-heading h3{font-size:16px}
  body[data-page="visualiser"] .vis-disclaimer{margin-top:12px!important}

  body[data-page="work"] .work-project-grid{gap:9px}
  body[data-page="work"] .work-empty-state{
    min-height:122px;
    padding:17px;
    gap:12px;
    font-size:12px;
  }
  body[data-page="work"] .work-empty-state:before{
    flex-basis:42px;width:42px;height:42px;border-radius:13px;font-size:22px
  }

  body[data-page="guides"] .guides-hero{padding:24px 0 18px}
  body[data-page="guides"] .gh-jump{
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    padding:1px 1px 7px;
  }
  body[data-page="guides"] .gh-jump::-webkit-scrollbar{display:none}
  body[data-page="guides"] .gh-jump a{flex:0 0 auto;white-space:nowrap;font-size:10px}
  body[data-page="guides"] .gh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body[data-page="guides"] .gh-card{padding:15px;gap:8px;border-radius:15px}
  body[data-page="guides"] .gh-ico{width:37px;height:37px;border-radius:11px;font-size:19px}
  body[data-page="guides"] .gh-kind{font-size:9px;letter-spacing:.08em}
  body[data-page="guides"] .gh-card h3{font-size:14px;line-height:1.3}
  body[data-page="guides"] .gh-card p{font-size:11px;line-height:1.45}
  body[data-page="guides"] .gh-topics{gap:4px}
  body[data-page="guides"] .gh-topics span{padding:4px 7px;font-size:9px}
  body[data-page="guides"] .gh-go{font-size:11px}
  body[data-page="guides"] .gh-cta{padding:19px;border-radius:17px;gap:11px}
  body[data-page="guides"] .gh-cta h2{font-size:19px;line-height:1.35}
  body[data-page="guides"] .gh-cta p{font-size:12px;line-height:1.5}
  body[data-page="guides"] .gh-cta-btns,
  body[data-page="guides"] .gh-cta-btns .btn{width:100%}

  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero{padding:21px 0 16px}
  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .toc{
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    padding:9px;
  }
  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .toc::-webkit-scrollbar{display:none}
  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .toc .chip{flex:0 0 auto;white-space:nowrap}
  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) details.acc summary{
    min-height:50px;
    padding:13px;
    font-size:14px;
  }
  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) details.acc .inner{
    padding:0 13px 14px;
    font-size:13px;
  }
  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .steps li{
    padding:12px 12px 12px 49px;
    font-size:12px;
    line-height:1.5;
  }
  body:is([data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .steps li:before{
    left:10px;top:11px;width:28px;height:28px;
  }

  body[data-page="contact"] main>.section .grid.g2{gap:11px}
  body[data-page="contact"] main>.section .grid.g2>.card{padding:16px;border-radius:17px}
  body[data-page="contact"] .info li{padding:11px 0 11px 39px}
  body[data-page="contact"] .info li:before{top:12px;width:27px;height:27px}
  body[data-page="contact"] .info li span,
  body[data-page="contact"] .info li a{font-size:12px;line-height:1.5}
  body[data-page="contact"] #cForm h3{font-size:19px}
  body[data-page="contact"] #cForm .field{margin:10px 0}
  body[data-page="contact"] #cForm>button{width:100%}

  body[data-page="about"] #about{padding-top:25px;padding-bottom:28px}
  body[data-page="about"] #about .section-head h2{font-size:23px}
  body[data-page="about"] .about-layout{grid-template-columns:1fr;gap:11px}
  body[data-page="about"] .about-story{padding:18px;border-radius:18px}
  body[data-page="about"] .about-year{gap:10px;margin-bottom:12px}
  body[data-page="about"] .about-year strong{font-size:35px}
  body[data-page="about"] .about-year span{max-width:none;font-size:12px;line-height:1.5}
  body[data-page="about"] .about-story>p{font-size:12px;line-height:1.6}
  body[data-page="about"] .about-review{margin-top:7px;padding-top:13px}
  body[data-page="about"] .about-review h3{font-size:16px}
  body[data-page="about"] .about-review p{font-size:12px;line-height:1.5}
  body[data-page="about"] .about-review .btn{width:100%}
  body[data-page="about"] .about-point-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body[data-page="about"] .about-point{padding:12px;border-radius:14px}
  body[data-page="about"] .about-point .dot{width:28px;height:28px;border-radius:9px;font-size:11px}
  body[data-page="about"] .about-point h3{font-size:13px;line-height:1.3;margin:9px 0 5px}
  body[data-page="about"] .about-point p{font-size:10px;line-height:1.45}
}

/* Extra-small screens and Malayalam: avoid cramped two-column typography. */
@media(max-width:390px){
  body[data-page="products"] .category-choice-grid{grid-template-columns:1fr}
  body[data-page="products"] .product-grid{grid-template-columns:1fr}
  body[data-page="guides"] .gh-grid{grid-template-columns:1fr}
  body[data-page="work"] .work-project-grid{grid-template-columns:1fr}
  body[data-page="about"] .about-point-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  html[lang="ml"] body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero h1{
    font-size:clamp(25px,6.8vw,32px);
    line-height:1.45;
    letter-spacing:0;
  }
  html[lang="ml"] body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .page-hero p{font-size:12px;line-height:1.75}
  html[lang="ml"] body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) .links a{font-size:11px;line-height:1.55}
  html[lang="ml"] body[data-page="products"] .product-category-tile-title{font-size:11px;line-height:1.5}
  html[lang="ml"] body[data-page="colours"] .shade-brand-name{font-size:10px;line-height:1.55}
  html[lang="ml"] body[data-page="colours"] .shade-application-buttons button{font-size:10px;line-height:1.55}
  html[lang="ml"] body[data-page="visualiser"] .vis-section-label{font-size:11px;line-height:1.6}
  html[lang="ml"] body[data-page="guides"] .gh-card h3{font-size:12px;line-height:1.5}
  html[lang="ml"] body[data-page="contact"] .info li span,
  html[lang="ml"] body[data-page="contact"] .info li a{line-height:1.75}
  html[lang="ml"] body[data-page="about"] .about-point h3{line-height:1.5}
}
@media(prefers-reduced-motion:reduce){
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) *,
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) *:before,
  body:is([data-page="work"],[data-page="products"],[data-page="colours"],[data-page="visualiser"],[data-page="guides"],[data-page="contact"],[data-page="about"],[data-page="painting-guide"],[data-page="waterproofing"],[data-page="wood-polishing"]) *:after{transition:none!important}
}
