:root{
  --bg:#f6f6f6;--bg-soft:#ffffff;--bg-elev:#ffffff;--panel:#ffffff;--panel-solid:#ffffff;--header-bg:#ffffff;--text:#111111;--muted:#5f5f5f;--line:rgba(0,0,0,.08);--accent:#111111;--accent-2:#333333;--success:#177245;--danger:#b42318;--shadow:none;--radius:0px;--max:1200px;
}
html[data-theme="light"],html[data-theme="dark"]{
  --bg:#f6f6f6;--bg-soft:#ffffff;--bg-elev:#ffffff;--panel:#ffffff;--panel-solid:#ffffff;--header-bg:#ffffff;--text:#111111;--muted:#5f5f5f;--line:rgba(0,0,0,.08);--accent:#111111;--accent-2:#333333;--shadow:none;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#ffffff;color:var(--text)}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}canvas{display:block}
.container,.container-wide{width:min(calc(100% - 2rem),var(--max));margin:0 auto}.container-wide{width:min(calc(100% - 2rem),1320px)}
section{padding:72px 0}.page-hero{padding:132px 0 56px}.eyebrow{color:var(--accent-2);text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:700}.section-title{font-size:clamp(2rem,3vw,3.6rem);line-height:1.05;margin:.2em 0 .35em}.section-subtitle{color:var(--muted);max-width:760px;line-height:1.75}.center .section-subtitle{margin-left:auto;margin-right:auto;text-align:center}
.site-header{position:sticky;top:0;z-index:60;background:var(--header-bg);border:none;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.header-inner{display:grid;grid-template-columns:84px 1fr 150px;align-items:center;height:78px}
.site-logo{justify-self:center;display:inline-flex;align-items:center;justify-content:center;min-width:180px}
.site-logo img,.footer-logo img{width:auto;height:auto;max-height:46px;max-width:min(280px,56vw)}
html[data-theme="dark"] .site-logo img,html[data-theme="dark"] .footer-logo img,html[data-theme="dark"] .drawer-logo img{filter:none}
html[data-theme="light"] .site-logo img,html[data-theme="light"] .footer-logo img,html[data-theme="light"] .drawer-logo img{filter:none}
.logo-text{font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.header-actions{justify-self:end;display:flex;gap:10px;align-items:center}.header-icon,.theme-toggle,.button,.button-ghost,.button-soft{border:none;background:var(--panel);color:var(--text);border-radius:0;padding:11px 16px;cursor:pointer;transition:.25s ease}.button,.button-ghost,.button-soft{display:inline-flex;align-items:center;gap:8px}.button{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;font-weight:700}.button:hover,.button-ghost:hover,.button-soft:hover,.header-icon:hover,.theme-toggle:hover{transform:none;box-shadow:none;filter:invert(1)}.button-ghost{background:transparent}.button-soft{background:color-mix(in oklab,var(--panel-solid) 88%, transparent)}
.menu-toggle{width:42px;height:42px;padding:0;border:none;background:transparent;color:var(--text);display:grid;align-content:center;justify-content:start;gap:5px;cursor:pointer}.menu-toggle span{display:block;width:24px;height:2px;background:currentColor;border-radius:0}.menu-toggle:hover{opacity:.85}
.search-bar{border:none;padding:10px 0;background:var(--panel-solid)}.search-bar input{width:100%;padding:14px 16px;border-radius:0;background:var(--bg-soft);border:none;color:var(--text)}
.mobile-drawer{position:fixed;inset:0;pointer-events:none;opacity:0;transition:.25s ease;background:rgba(4,8,18,.52)}.mobile-drawer.open{pointer-events:auto;opacity:1}.drawer-panel{width:100vw;height:100%;background:var(--header-bg);padding:22px clamp(16px,3vw,34px);display:flex;flex-direction:column;transform:translateX(-100%);transition:.25s ease}.mobile-drawer.open .drawer-panel{transform:none}.drawer-top{display:flex;justify-content:center;align-items:center;padding-bottom:18px;border:none;position:relative}.drawer-close{border:none;background:none;color:var(--text);font-size:2rem;cursor:pointer;position:absolute;right:0;top:0}.drawer-links{display:grid;gap:8px;padding-top:18px}.drawer-links a{padding:16px 18px;font-size:clamp(1rem,2vw,1.15rem);background:transparent}.drawer-links a:hover{background:var(--text);color:var(--bg)}
.hero{min-height:100svh;display:grid;place-items:center;position:relative;overflow:hidden}.hero-slider{position:absolute;inset:0}.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.08);animation:slideShow 24s infinite}.hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.22))}.hero-slide:nth-child(2){animation-delay:8s}.hero-slide:nth-child(3){animation-delay:16s}@keyframes slideShow{0%,28%{opacity:1;transform:scale(1.02)}33%,100%{opacity:0;transform:scale(1.12)}}
.hero-content{position:relative;z-index:2;width:min(calc(100% - 2rem),1240px);display:grid;grid-template-columns:1.08fr .92fr;gap:28px;align-items:end}.glass-card,.card,.product-card,.metric-card,.admin-card{background:var(--panel);backdrop-filter:blur(18px);border:none;border-radius:0;box-shadow:none}.glass-card,.card,.metric-card,.admin-card{padding:24px}.hero h1{font-size:clamp(3rem,6vw,6rem);line-height:.96;margin:.16em 0}.hero p{font-size:1.08rem;color:var(--muted);max-width:640px;line-height:1.7}.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.info-card .mini-panel{display:grid;gap:16px}.mini-item{display:grid;grid-template-columns:12px 1fr;gap:12px}.mini-dot{width:12px;height:12px;border-radius:0;background:linear-gradient(135deg,var(--accent),var(--accent-2));margin-top:8px}.card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.badge{padding:8px 14px;background:rgba(255,255,255,.08);border:none;border-radius:0;font-size:.8rem}.hero-stat{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px}.hero-stat .pill{color:var(--text)}
.grid-2,.grid-3,.grid-4{display:grid;gap:20px}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}
.product-card{display:flex;flex-direction:column;padding:0;overflow:hidden}.product-image{background:var(--bg-soft)}.product-image.ratio-2x3{aspect-ratio:2/3}.product-image img{width:100%;height:100%;object-fit:cover}.product-content{padding:20px}.product-meta,.pill-row,.stat-inline{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.pill{padding:8px 12px;border:none;border-radius:0;color:var(--muted);font-size:.84rem;background:rgba(255,255,255,.05)}.product-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.filter-panel{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin:24px 0 28px}.filter-panel input,.filter-panel select,.contact-form input,.contact-form textarea,.admin-form input,.admin-form textarea,.admin-form select,.account-form input,.account-form textarea{width:100%;padding:14px 15px;border-radius:0;border:none;background:var(--panel-solid);color:var(--text)}.filter-actions{display:flex;gap:12px;align-items:center}
.two-col{display:grid;grid-template-columns:1.12fr .88fr;gap:26px;align-items:start}.contact-form,.admin-form,.panel-stack,.account-form{display:grid;gap:14px}.status-message{padding:12px 14px;border-radius:0;font-size:.95rem;display:none}.status-message.success{display:block;background:rgba(92,208,165,.14);border:none;color:var(--success)}.status-message.error{display:block;background:rgba(255,138,138,.14);border:none;color:var(--danger)}
.pdf-shell{width:min(calc(100% - 2rem),1200px);margin:0 auto}.pdf-stage{background:var(--panel);border:none;border-radius:0;padding:18px}.pdf-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.pdf-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.pdf-count{padding:10px 14px;border:none;border-radius:0;color:var(--muted);background:rgba(255,255,255,.06)}.pdf-viewer{display:grid;place-items:center;min-height:72vh;background:var(--bg-elev);border-radius:0;padding:16px}.pdf-viewer canvas{max-width:100%;height:auto;border-radius:0;box-shadow:0 20px 50px rgba(0,0,0,.28)}.pdf-loader{color:var(--muted)}
.site-footer{border-top:1px solid var(--line);margin-top:60px;background:var(--header-bg)}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:22px;padding:48px 0}.site-footer h4{margin:0 0 14px}.site-footer a,.site-footer p{display:block;color:var(--muted);margin:0 0 10px;line-height:1.7}.footer-copy{max-width:320px}.footer-bottom{padding:16px 0 28px;color:var(--muted);border-top:1px solid var(--line)}
.notice,.empty-state{padding:16px;border-radius:16px;border:1px solid var(--line);background:var(--panel)}.empty-state{text-align:center}.center{text-align:center}
.account-shell{display:grid;grid-template-columns:280px 1fr;gap:22px}.account-nav{background:var(--panel);border:none;border-radius:0;padding:22px;height:max-content}.account-nav a{display:block;padding:12px 14px;color:var(--muted);border-bottom:none}.account-nav a:last-child{border-bottom:none}.account-nav a.active,.account-nav a:hover{color:var(--bg);background:var(--text)}
.admin-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.admin-sidebar{padding:24px;background:var(--panel-solid);border-right:none}.admin-sidebar nav{display:grid;gap:10px;margin-top:22px}.admin-sidebar a{padding:12px 14px;border-radius:0;color:var(--muted)}.admin-sidebar a:hover,.admin-sidebar a.active{background:var(--text);color:var(--bg)}.admin-main{padding:28px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.metric-card h3{margin:0 0 8px;font-size:.95rem;color:var(--muted)}.metric-card strong{font-size:2rem}.toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px 10px;border-bottom:none;text-align:left;vertical-align:top}.table th{font-size:.84rem;text-transform:uppercase;color:var(--muted);letter-spacing:.08em}.table input,.table select,.table textarea{width:100%;padding:8px 10px;border-radius:0;border:none;background:var(--panel-solid);color:var(--text)}
.admin-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.admin-form-grid.two{grid-template-columns:repeat(2,1fr)}.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.kpi-grid .card{padding:20px}.logo-lockup{display:flex;align-items:center;gap:14px}
.invoice-sheet{background:white;color:#111;border-radius:0;padding:28px;box-shadow:none}.invoice-sheet table input,.invoice-sheet table select,.invoice-sheet input,.invoice-sheet textarea{width:100%;padding:10px 12px;border-radius:0;background:#fff;color:#111;border:none}.invoice-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.invoice-address{font-size:.92rem;line-height:1.6;color:#445}.invoice-totals{margin-left:auto;max-width:320px}
.hidden-mobile{}
@media (max-width: 1180px){.grid-4{grid-template-columns:repeat(2,1fr)}.metrics{grid-template-columns:repeat(2,1fr)}.footer-grid,.grid-3,.hero-content,.two-col,.account-shell,.kpi-grid{grid-template-columns:1fr 1fr}.filter-panel{grid-template-columns:repeat(3,1fr)}.info-card{display:none}}
@media (max-width: 768px){.header-inner{grid-template-columns:52px 1fr 120px;height:72px}.site-logo img{max-height:34px;max-width:44vw}.header-icon,.theme-toggle{padding:10px 12px}.hero{min-height:92svh}.hero-content,.grid-2,.grid-3,.grid-4,.footer-grid,.filter-panel,.metrics,.two-col,.admin-shell,.account-shell,.kpi-grid,.admin-form-grid,.admin-form-grid.two{grid-template-columns:1fr}.admin-shell{display:block}.admin-sidebar{position:sticky;top:0;z-index:40}.hidden-mobile,.info-card{display:none !important}.hero h1{font-size:clamp(2.4rem,12vw,4.2rem)}.page-hero{padding-top:112px}.hero-content{align-items:center;padding-top:100px;padding-bottom:32px}.pdf-viewer{min-height:100svh}.pdf-stage{padding:14px}.product-image.ratio-2x3{aspect-ratio:2/3}.footer-grid{padding:36px 0}.site-logo{min-width:auto}.drawer-links a{font-size:1rem}}
@media print{.site-header,.site-footer,.no-print{display:none !important}body{background:#fff}.invoice-sheet{box-shadow:none;border-radius:0;padding:0}}


/* Cleanup overrides */
*,:before,:after{border-radius:0 !important;}
.glass-card,.card,.product-card,.metric-card,.admin-card,.pdf-stage,.pdf-viewer,.account-nav,.notice,.empty-state,.invoice-sheet,.header-icon,.theme-toggle,.button,.button-ghost,.button-soft,input,textarea,select,canvas{border-radius:0 !important;}
.glass-card,.card,.product-card,.metric-card,.admin-card,.pdf-stage,.account-nav,.notice,.empty-state,.button,.button-ghost,.button-soft,.header-icon,.theme-toggle,input,textarea,select{border:none !important;}
.main-nav a,.drawer-links a,.account-nav a,.admin-sidebar a{position:relative;text-decoration:none;}
.main-nav a:hover,.main-nav a.active,.drawer-links a.active,.drawer-links a:hover{background:var(--text);color:var(--bg);}

/* v5 invoice/forms refinements */
.filter-panel input,.filter-panel select,.contact-form input,.contact-form textarea,.admin-form input,.admin-form textarea,.admin-form select,.account-form input,.account-form textarea,.table input,.table select,.table textarea,.invoice-sheet input,.invoice-sheet textarea,.invoice-sheet select{background:#e9e9e9 !important;color:#111 !important;}
[data-theme="dark"] .filter-panel input,[data-theme="dark"] .filter-panel select,[data-theme="dark"] .contact-form input,[data-theme="dark"] .contact-form textarea,[data-theme="dark"] .admin-form input,[data-theme="dark"] .admin-form textarea,[data-theme="dark"] .admin-form select,[data-theme="dark"] .account-form input,[data-theme="dark"] .account-form textarea,[data-theme="dark"] .table input,[data-theme="dark"] .table select,[data-theme="dark"] .table textarea{background:#dcdcdc !important;color:#111 !important;}
.invoice-footer-address{border:none !important;color:#445;}
.invoice-sheet-editor .invoice-header{margin-bottom:10px;}
.invoice-pos{max-width:80mm;margin:0 auto;font-size:.92rem;}
.invoice-pos .grid-2{grid-template-columns:1fr !important;}
.invoice-pos .table th:nth-child(1),.invoice-pos .table td:nth-child(1),.invoice-pos .table th:nth-child(4),.invoice-pos .table td:nth-child(4),.invoice-pos .table th:nth-child(5),.invoice-pos .table td:nth-child(5){display:none;}
.invoice-pos .table{font-size:.88rem;}
.invoice-pos .invoice-header{display:block;}

.icon-count{display:inline-flex;min-width:18px;height:18px;padding:0 5px;align-items:center;justify-content:center;background:var(--text);color:var(--bg);font-size:.72rem;margin-left:6px}
.header-actions{display:flex;align-items:center;gap:8px;justify-self:end}
.main-nav{display:none}
.mobile-drawer .drawer-panel{background:var(--panel-solid);width:min(100vw,520px)}
.drawer-top-centered{display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.drawer-top-centered .drawer-logo{justify-self:center}.drawer-top-centered .drawer-close{justify-self:end}
.inline-form{display:inline-flex}.inline-form button{white-space:nowrap}
.header-icon i,.theme-toggle i,.menu-toggle i{pointer-events:none}

/* v7 invoice and admin refinements */
.drawer-top-centered{justify-content:center !important}
.drawer-logo{margin:0 auto}
.drawer-logo img{display:block;margin:0 auto;max-height:58px;width:auto}
.notice,.empty-state{border:none !important;border-radius:0 !important}
.invoice-page-body{background:#f4f4f4;color:#111}
.invoice-page-wrap{padding:24px}
.invoice-sheet-print{max-width:980px;margin:0 auto;background:#fff;color:#000;padding:16mm;box-shadow:none}
.invoice-logo{max-height:60px;width:auto;display:block}
.invoice-brand{display:flex;align-items:center;gap:16px}
.invoice-header-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;text-align:right}
.invoice-address-grid{display:grid;grid-template-columns:1fr auto;gap:24px;margin:20px 0 16px}
.invoice-codes{display:grid;gap:14px;justify-items:end;align-content:start}
#invoice-qr{width:120px;height:120px;background:#fff}
#invoice-barcode{width:260px;height:60px}
.invoice-table thead th{font-weight:800 !important;color:#000 !important;border-top:3px double #000 !important;border-bottom:3px double #000 !important;background:transparent !important}
.invoice-table tbody td{color:#000 !important;background:#fff !important}
.invoice-totals-box{margin-left:auto;max-width:360px;margin-top:22px}
.summary-line{display:flex;justify-content:space-between;gap:16px;padding:6px 0;color:#000}
.summary-line.total span,.summary-line.total strong,.invoice-totals-box strong{font-weight:800 !important}
.invoice-footer-address{margin-top:28px;padding-top:12px;color:#000;text-align:center}
.invoice-notes p{margin:8px 0 0;color:#000}
.invoice-pos{max-width:80mm !important;padding:6mm !important;font-size:.85rem}
.invoice-pos .invoice-header{display:block}
.invoice-pos .invoice-brand{display:block;text-align:center}
.invoice-pos .invoice-logo{margin:0 auto 8px auto;max-height:44px}
.invoice-pos .invoice-header-meta,.invoice-pos .invoice-address-grid{grid-template-columns:1fr !important;text-align:left}
.invoice-pos #invoice-barcode{width:100%;height:52px}
.invoice-pos .invoice-codes{justify-items:center}
.invoice-pos .invoice-table th:nth-child(2),.invoice-pos .invoice-table td:nth-child(2),.invoice-pos .invoice-table th:nth-child(5),.invoice-pos .invoice-table td:nth-child(5){display:none}
.invoice-sheet .table th,.invoice-sheet .table td,.invoice-sheet p,.invoice-sheet strong,.invoice-sheet span,.invoice-sheet h1,.invoice-sheet h2,.invoice-sheet h3,.invoice-sheet h4,.invoice-sheet div{color:#000 !important}
@media print{body.invoice-page-body{background:#fff}.invoice-page-wrap{padding:0}.invoice-sheet-print{max-width:none;padding:0;box-shadow:none}}

.invoice-logo-top{text-align:center;margin-bottom:12px}
.invoice-title-block{text-align:center;margin-bottom:18px}
.invoice-title-block h1{margin:0;font-size:2rem;letter-spacing:.08em;font-weight:800;color:#000 !important}
.invoice-no-sub{margin-top:6px;font-size:1rem;font-weight:700;color:#000 !important}
.invoice-header-meta-single{margin:0 auto 18px;max-width:680px;text-align:center;grid-template-columns:repeat(3,1fr)}
#invoice-barcode text{font-size:18px !important;font-weight:700 !important;fill:#000 !important}
.invoice-words{margin-top:18px;color:#000 !important;font-weight:600}
.invoice-signature-note{margin-top:18px;color:#000 !important;font-weight:800}
.invoice-bank-details{margin-top:12px;color:#000 !important}
.invoice-pos .invoice-title-block h1{font-size:1.45rem}
.invoice-pos .invoice-no-sub{font-size:.95rem}
.invoice-pos #invoice-barcode text{font-size:16px !important}


/* v9 header, breadcrumbs, gallery, compatibility */
html,body{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.site-header{position:-webkit-sticky;position:sticky;background:#fff !important;color:#111}
.site-header .header-icon,.site-header .theme-toggle{background:transparent !important;color:#111 !important}
.site-header .header-icon:hover,.site-header .theme-toggle:hover,.site-header .menu-toggle:hover{background:#111 !important;color:#fff !important;filter:none !important}
.site-header .menu-toggle{justify-content:flex-start;color:#111}
.site-logo-header img{filter:none !important}
.breadcrumb-bar{background:#fff;border-top:none;border-bottom:none;padding:10px 0 12px}
.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:.92rem;color:#666}
.breadcrumbs a{color:#444}
.breadcrumbs a:hover{color:#000}
.breadcrumbs span{color:#111;font-weight:600}
.search-bar{background:#fff !important}
.search-bar input{background:#efefef !important;color:#111 !important}
.mobile-drawer .drawer-panel{background:#ffffff !important;color:#111}
.drawer-close,.drawer-links a,.drawer-logo{color:#111 !important}
.drawer-links a:hover{background:#111 !important;color:#fff !important}
.drawer-logo img{filter:none !important}
.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:28px;align-items:start}
.product-gallery-shell{padding:18px;background:var(--panel-solid);overflow:hidden}
.product-gallery{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:18px;align-items:start}
.product-main-view{position:relative;background:transparent}
.product-image-animate{overflow:hidden;background:transparent}
.product-image-animate img{width:100%;height:100%;object-fit:cover;transition:opacity .28s ease,-webkit-transform .4s ease;transition:opacity .28s ease,transform .4s ease;transition:opacity .28s ease,transform .4s ease,-webkit-transform .4s ease;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.product-image-animate img.is-swapping{animation:fadeSlide .42s ease}
@-webkit-keyframes fadeSlide{0%{opacity:.2;-webkit-transform:scale(.985)}100%{opacity:1;-webkit-transform:scale(1)}}
@keyframes fadeSlide{0%{opacity:.2;transform:scale(.985)}100%{opacity:1;transform:scale(1)}}
.product-gallery-side{display:grid;gap:12px}
.gallery-thumb{border:none;background:transparent;padding:0;cursor:pointer;opacity:.72;transition:opacity .25s ease,-webkit-transform .25s ease;transition:opacity .25s ease,transform .25s ease;transition:opacity .25s ease,transform .25s ease,-webkit-transform .25s ease}
.gallery-thumb:hover,.gallery-thumb.active{opacity:1;-webkit-transform:translateY(-2px);transform:translateY(-2px)}
.gallery-thumb img{width:100%;aspect-ratio:2/3;object-fit:cover}
.zoom-trigger{position:absolute;right:14px;top:14px;z-index:2;border:none;background:#fff;color:#111;padding:10px 12px;cursor:pointer}
.zoom-trigger:hover{background:#111;color:#fff}
.image-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);display:grid;place-items:center;z-index:200;padding:30px}
.image-lightbox[hidden]{display:none}
.lightbox-stage{max-width:min(92vw,1200px);max-height:88vh;display:flex;align-items:center;justify-content:center}
.lightbox-stage img{max-width:100%;max-height:88vh;object-fit:contain}
.lightbox-close{position:absolute;top:20px;right:20px;border:none;background:#fff;color:#111;padding:12px 14px;font-size:1rem;cursor:pointer}
.lightbox-close:hover{background:#111;color:#fff}
body.lightbox-open{overflow:hidden}
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))){.glass-card,.card,.product-card,.metric-card,.admin-card{background:var(--panel-solid)}}
@media (max-width: 980px){.product-detail-grid{grid-template-columns:1fr}.product-gallery{grid-template-columns:1fr}.product-gallery-side{grid-template-columns:repeat(4,1fr);order:2}.product-copy-card{order:2}}
@media (max-width: 640px){.header-inner{grid-template-columns:64px 1fr 132px;height:72px}.site-logo{min-width:0}.site-logo img{max-height:40px;max-width:52vw}.product-gallery-side{grid-template-columns:repeat(4,1fr);gap:8px}.breadcrumb-bar{padding:8px 0 10px}.breadcrumbs{gap:8px;font-size:.84rem}}


/* v10 product swipe and lightbox arrows */
.product-main-view{touch-action:pan-y;-webkit-user-select:none;user-select:none}
.lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);border:none;background:#fff;color:#111;padding:14px 16px;cursor:pointer;z-index:3}
.lightbox-arrow:hover{background:#111;color:#fff}
.lightbox-arrow-left{left:20px}
.lightbox-arrow-right{right:20px}
@media (max-width: 640px){
  .lightbox-arrow{padding:12px 14px}
  .lightbox-arrow-left{left:10px}
  .lightbox-arrow-right{right:10px}
}


/* v11 layout, search, product spacing */
section{padding:30px 0 !important;}
.page-hero{padding:30px 0 !important;}
.product-page-hero{padding-top:15px !important;padding-right:0 !important;padding-bottom:15px !important;}
.product-gallery-shell{padding:12px 0 12px 0 !important;background:transparent !important;}
.product-gallery{display:grid;grid-template-columns:64px minmax(0,1fr) !important;gap:14px !important;align-items:start;}
.product-gallery-side{display:grid;grid-template-columns:1fr !important;gap:8px !important;align-content:start;}
.gallery-thumb{width:64px !important;}
.gallery-thumb img{width:64px !important;aspect-ratio:2/3;object-fit:cover;}
.product-main-view{min-width:0;}
.search-bar form[data-live-search-form]{position:relative;}
.live-search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;color:#111;box-shadow:0 18px 40px rgba(0,0,0,.12);z-index:90;max-height:420px;overflow:auto;}
.live-search-item,.live-search-all{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:10px 12px;color:#111;background:#fff;}
.live-search-item:hover,.live-search-all:hover{background:#111;color:#fff;}
.live-search-all{grid-template-columns:1fr;font-weight:700;}
.live-search-thumb{width:44px;height:66px;overflow:hidden;background:#f1f1f1;}
.live-search-thumb img{width:100%;height:100%;object-fit:cover;}
.live-search-copy{display:grid;gap:2px;min-width:0;}
.live-search-copy strong{font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.live-search-copy small{font-size:.78rem;opacity:.72;}
.live-search-empty{padding:14px 12px;color:#666;background:#fff;}
@media (max-width: 980px){.product-gallery{grid-template-columns:1fr !important;}.product-gallery-side{grid-template-columns:repeat(4,56px) !important;order:2;}.gallery-thumb,.gallery-thumb img{width:56px !important;}}
@media (max-width: 640px){section{padding:30px 0 !important;}.page-hero{padding:24px 0 !important;}.product-page-hero{padding-top:15px !important;padding-bottom:15px !important;}.product-gallery{grid-template-columns:1fr !important;gap:10px !important;}.product-gallery-side{grid-template-columns:repeat(4,52px) !important;gap:6px !important;}.gallery-thumb,.gallery-thumb img{width:52px !important;}.live-search-results{top:calc(100% + 6px);max-height:60vh;}}

/* v12 landing cards, featured controls, product customization */
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.custom-service-card{display:flex;flex-direction:column;justify-content:space-between;min-height:240px}
.custom-service-card h3{margin:.4rem 0 .55rem}
.custom-service-card p{color:var(--muted);line-height:1.7}
.product-customization-card .section-title{font-size:clamp(1.6rem,2.4vw,2.4rem)}
.customization-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.customization-grid label{display:block;font-size:.88rem;font-weight:700;margin-bottom:8px}
.customization-grid select{width:100%;padding:14px 15px;border:none;background:var(--panel-solid);color:var(--text)}
.customization-checks{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px}
.customization-checks label{display:flex;align-items:center;gap:8px;padding:12px 14px;background:var(--panel-solid);color:var(--text)}
.featured-settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.featured-pick,.settings-check{display:flex;align-items:flex-start;gap:10px;padding:14px;background:var(--panel-solid);color:var(--text)}
.featured-pick span{display:grid;gap:2px}
.featured-pick small{color:var(--muted)}
@media (max-width: 1180px){.grid-5{grid-template-columns:repeat(3,1fr)}}
@media (max-width: 900px){.customization-grid{grid-template-columns:repeat(2,1fr)}.featured-settings-grid{grid-template-columns:1fr}.grid-5{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.customization-grid{grid-template-columns:1fr}.grid-5{grid-template-columns:1fr}.customization-checks{display:grid;grid-template-columns:1fr}}


.hero-image-only{
  min-height:72vh;
}
.hero-image-only .hero-slider,
.hero-image-only .hero-slide{
  min-height:72vh;
}

.hero-image-only .hero-slide::after{display:none;background:none !important;}


/* v12.1 theme parity, unified hover, request quote toggle support */
:root{
  --bg:#f6f6f6;--bg-soft:#ffffff;--bg-elev:#ffffff;--panel:#ffffff;--panel-solid:#ffffff;--header-bg:#ffffff;--text:#111111;--muted:#5f5f5f;--line:rgba(0,0,0,.08);--accent:#111111;--accent-2:#333333;--success:#177245;--danger:#b42318;--shadow:none;--radius:0px;--max:1200px;
}
html[data-theme="light"],html[data-theme="dark"]{
  --bg:#f6f6f6;--bg-soft:#ffffff;--bg-elev:#ffffff;--panel:#ffffff;--panel-solid:#ffffff;--header-bg:#ffffff;--text:#111111;--muted:#5f5f5f;--line:rgba(0,0,0,.08);--accent:#111111;--accent-2:#333333;--shadow:none;
}
html[data-theme="dark"]{
  --surface-plain:var(--panel-solid);
  --surface-soft:#dcdcdc;
  --surface-search:var(--panel-solid);
  --interactive-hover-bg:#ffffff;
  --interactive-hover-text:#111111;
  --button-primary-text:var(--button-custom-text,#ffffff);
}

.site-header{background:var(--surface-plain) !important;color:var(--text)}
.site-header .header-icon,.site-header .theme-toggle{background:transparent !important;color:var(--text) !important}
.site-header .header-icon:hover,.site-header .theme-toggle:hover,.site-header .menu-toggle:hover,.button:hover,.button-soft:hover,.button-ghost:hover,.zoom-trigger:hover,.lightbox-close:hover,.lightbox-arrow:hover,.drawer-links a:hover{background:var(--interactive-hover-bg) !important;color:var(--interactive-hover-text) !important;filter:none !important}
.button{color:var(--button-primary-text)}
.button-ghost{background:transparent;color:var(--text)}
.button-soft{background:var(--panel-solid);color:var(--text)}
.breadcrumb-bar,.search-bar,.mobile-drawer .drawer-panel{background:var(--surface-plain) !important;color:var(--text)}
.breadcrumbs a,.drawer-close,.drawer-links a,.drawer-logo{color:var(--text) !important}
.search-bar input,.filter-panel input,.filter-panel select,.contact-form input,.contact-form textarea,.admin-form input,.admin-form textarea,.admin-form select,.account-form input,.account-form textarea,.table input,.table select,.table textarea, input, textarea, select{background:var(--surface-soft) !important;color:#111 !important}
.live-search-results,.live-search-item,.live-search-all{background:var(--surface-plain);color:var(--text)}
.live-search-empty,.live-search-thumb{background:var(--surface-soft)}
.live-search-item:hover,.live-search-all:hover{background:var(--interactive-hover-bg) !important;color:var(--interactive-hover-text) !important}
.settings-check,.featured-pick,.customization-checks label,.customization-grid select{background:var(--panel-solid) !important;color:var(--text) !important}
html[data-theme="light"] .site-logo img,html[data-theme="light"] .footer-logo img,html[data-theme="light"] .drawer-logo img{filter:none !important}
html[data-theme="dark"] .site-logo img,html[data-theme="dark"] .footer-logo img,html[data-theme="dark"] .drawer-logo img{filter:invert(1) brightness(9) contrast(1.04) !important}
.notice,.empty-state,.card,.glass-card,.product-card,.metric-card,.admin-card,.pdf-stage,.pdf-viewer,.account-nav,.invoice-sheet{background:var(--panel) !important;color:var(--text)}

.admin-form .span-2{grid-column:1 / -1;}


.design-repeater{display:grid;gap:16px;margin-top:18px}.design-repeater-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px}.design-repeater-list{display:grid;gap:14px}.design-card-item{background:var(--panel-solid);padding:18px}.design-card-item-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.design-card-actions{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width: 768px){.design-repeater-head,.design-card-item-head{align-items:flex-start;flex-direction:column}.design-card-actions{width:100%}}

.theme-toggle{display:none !important}
.invoice-page-body,.invoice-page-wrap,.invoice-sheet-print,.invoice-sheet,.invoice-export-clone{background:#ffffff !important;color:#000000 !important}
.invoice-export-clone{padding:16mm;box-shadow:none !important}
.invoice-export-clone *{color:#000000 !important}


/* sticky header white background fix */
.site-header,
.site-header.is-sticky,
.site-header.scrolled,
body .site-header{
  background:#ffffff !important;
  background-color:#ffffff !important;
  opacity:1 !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
.site-header::before{content:none !important;}
.breadcrumb-bar{background:#ffffff !important;background-color:#ffffff !important;}


/* button custom color settings + drawer background fix */
.button{background:var(--button-custom-bg,#111111) !important;color:var(--button-custom-text,#ffffff) !important;background-image:none !important;border:none !important}
.site-header .header-icon:hover,.site-header .theme-toggle:hover,.site-header .menu-toggle:hover,.button:hover,.button-soft:hover,.button-ghost:hover,.zoom-trigger:hover,.lightbox-close:hover,.lightbox-arrow:hover,.drawer-links a:hover{background:var(--button-custom-hover-bg,#ffffff) !important;color:var(--button-custom-hover-text,#111111) !important;filter:none !important}
.menu-toggle{background:var(--surface-plain,#ffffff) !important;color:var(--text) !important}
.mobile-drawer{background:rgba(0,0,0,.28) !important}
.mobile-drawer .drawer-panel{background:var(--surface-plain,#ffffff) !important;background-color:var(--surface-plain,#ffffff) !important;box-shadow:20px 0 40px rgba(0,0,0,.08)}
.button-soft{background:var(--surface-soft,#f2f4f7) !important;color:var(--text) !important}
.button-ghost{background:transparent !important;color:var(--text) !important}


/* logo size settings */
.site-logo img{max-height:var(--header-logo-height,40px) !important;width:auto}
/* separate hamburger hover colors */
.drawer-links a:hover{background:var(--drawer-hover-bg,var(--button-custom-hover-bg,#111111)) !important;color:var(--drawer-hover-text,var(--button-custom-hover-text,#ffffff)) !important}
