*{box-sizing:border-box}body{margin:0;font-family:Arial,"Segoe UI",sans-serif;color:#222;background:#fff;line-height:1.45}a{text-decoration:none;color:inherit}.wrap{max-width:1220px;margin:auto;padding:0 22px}.top{background:#173f34;color:#fff;font-size:13px;padding:7px 0}.top span{float:right;opacity:.9}header{background:#fff;border-bottom:1px solid #e7e7e7;position:sticky;top:0;z-index:30}.nav{display:flex;gap:22px;align-items:center;min-height:78px}.brand{display:flex;gap:10px;align-items:center;min-width:220px}.brand>b{background:var(--brand);color:#fff;width:42px;height:42px;display:grid;place-items:center;border-radius:50%}.brand strong{font-size:17px;letter-spacing:.5px}.brand small{display:block;font-size:12px;color:#777}.search{flex:1;display:flex;border:1px solid #d7d7d7;border-radius:9px;overflow:hidden}.search input{border:0;padding:12px 14px;flex:1;outline:0}.search button{border:0;background:var(--brand);color:white;padding:0 18px}.nav nav{display:flex;gap:16px;font-weight:600}.mainhero,.hero{background:linear-gradient(135deg,var(--soft),#fff);padding:42px 0}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}.hero h1,.mainhero h1{font-size:clamp(34px,4.6vw,64px);line-height:1.04;margin:8px 0 18px}.hero p,.mainhero p{font-size:18px;color:#555;max-width:760px}.heroart{height:430px;border-radius:22px;overflow:hidden;background:#eee}.heroart img{width:100%;height:100%;object-fit:cover}.placeholder{width:100%;height:100%;display:grid;place-items:center;background:#f2f2f2;color:#999;font-weight:700;min-height:140px}.heroactions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.section{padding:42px 0}.section.soft{background:#f7f8f8}.section h2{font-size:30px;margin:0 0 24px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.segment{border:1px solid #e4e4e4;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(0,0,0,.04);display:flex;flex-direction:column}.segimg{aspect-ratio:4/3;background:#f5f5f5;overflow:hidden}.segimg img{width:100%;height:100%;object-fit:cover;display:block}.segment .pad{padding:18px 18px 20px;min-height:125px}.segment h3{margin:0 0 8px;font-size:20px}.segment p{margin:0;color:#666;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:62px}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product{border:1px solid #e1e1e1;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-height:440px;box-shadow:0 5px 18px rgba(0,0,0,.04)}.pimg{aspect-ratio:1/1;background:#fafafa;overflow:hidden;border-bottom:1px solid #eee;display:grid;place-items:center}.pimg img{width:100%;height:100%;object-fit:contain;display:block;padding:8px}.pbody{padding:15px;display:flex;flex-direction:column;gap:8px;flex:1}.pbody h3{font-size:18px;line-height:1.3;margin:0;min-height:47px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.code{font-family:ui-monospace,Consolas,monospace;font-size:12px;font-weight:800;letter-spacing:.3px;color:#7b4d00;background:#fff5d8;border:1px solid #f0d995;border-radius:6px;padding:3px 7px;display:inline-block;width:max-content}.publiccode{font-size:14px;margin-bottom:8px}.bigcode{font-size:16px}.prices{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.price{font-weight:800;color:var(--brand);font-size:20px}.old{text-decoration:line-through;color:#888}.prices i{font-style:normal;font-size:12px;color:#a23a2c;background:#fff0ed;padding:3px 6px;border-radius:5px}.statusline{margin-top:auto;font-size:13px;color:#666;padding-top:5px;border-top:1px solid #f0f0f0}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff!important;border:0;border-radius:8px;padding:10px 16px;font-weight:700;cursor:pointer}.btn.alt{background:var(--brand2)}.btn.ghost{background:#fff;color:var(--brand)!important;border:1px solid var(--brand)}.btn.wide{width:100%;margin-top:16px}.mini{padding:6px 9px;border:1px solid #ccc;background:#fff;border-radius:6px;cursor:pointer}.danger{color:#a32626;border-color:#e0b1b1}.form{display:grid;gap:16px}.form label{display:grid;gap:6px;font-weight:600}.form input,.form textarea,.form select,.filterbar input,.filterbar select{width:100%;padding:11px;border:1px solid #ccc;border-radius:7px;background:#fff}.form textarea{min-height:105px;resize:vertical}.form small,.helper{font-size:12px;color:#777;font-weight:400}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.span2{grid-column:1/-1}.check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:8px!important;font-weight:500!important}.check input{width:auto!important}.checks{display:flex;gap:10px 18px;flex-wrap:wrap}.scrollchecks,.categorychecks{border:1px solid #e4e4e4;padding:12px;border-radius:9px;max-height:230px;overflow:auto}.panel{border:1px solid #e3e3e3;border-radius:13px;padding:20px;background:#fff}.panel h3{margin-top:0}.narrow{max-width:850px}.admin-titlebar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 25px}.table{display:grid;gap:7px;margin-bottom:30px}.table>div{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(100px,1fr)) auto;gap:14px;align-items:center;border:1px solid #e5e5e5;border-radius:9px;padding:11px 13px;background:#fff}.table b small,.table span small,.productlist small{display:block;color:#777;font-weight:400;margin-top:3px}.rowactions{display:flex;gap:5px}.rowactions form{margin:0}.filterbar{display:grid;grid-template-columns:2fr repeat(5,minmax(130px,1fr)) auto auto;gap:8px;margin-bottom:20px}.productlist-head,.productlist>div{display:grid;grid-template-columns:55px 2fr 1fr 1.4fr 1fr 150px;gap:12px;align-items:center;padding:10px 12px}.productlist-head{background:#f0f3f2;font-size:12px;font-weight:800;border-radius:8px}.productlist>div{border-bottom:1px solid #eee}.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pagination{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px}.pagination a,.pagination b{padding:6px 10px;border:1px solid #ddd;border-radius:6px}.admincards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 34px}.admincards a{border:1px solid #ddd;border-radius:13px;padding:20px;background:#fff}.admincards b{display:block;font-size:20px}.admincards span{color:#777;font-size:13px}.image-preview{display:grid;gap:8px}.image-preview img{max-width:420px;max-height:260px;object-fit:contain;border:1px solid #ddd;border-radius:10px}.gallery-admin{display:flex;gap:10px;flex-wrap:wrap}.gallery-admin>div{display:grid;gap:6px}.gallery-admin img{width:120px;height:120px;object-fit:contain;border:1px solid #ddd;border-radius:8px}.specadmin{display:grid;gap:10px}.specrow{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;align-items:end;padding-bottom:10px;border-bottom:1px solid #eee}.specadmin.simple{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.specadmin.simple>div{border:1px solid #eee;padding:12px;border-radius:8px}.customspec{display:grid;grid-template-columns:1.2fr 1.2fr .8fr auto;gap:8px;align-items:center;margin-bottom:8px}.variantrow{display:grid;grid-template-columns:1.4fr .8fr .9fr 70px auto;gap:8px;margin-bottom:8px}.customfield{display:grid;grid-template-columns:1.4fr 1.2fr 1.2fr 70px 70px 1.5fr auto auto;gap:8px;align-items:center;margin-bottom:8px}.vendorrow{display:grid;grid-template-columns:1.7fr 1fr .9fr .7fr .8fr 1.2fr auto auto;gap:8px;align-items:center;margin-bottom:8px}.sticky-save{position:sticky;bottom:12px;background:rgba(255,255,255,.94);padding:12px;border:1px solid #ddd;border-radius:10px;display:flex;justify-content:flex-end;z-index:20}.productdetail{display:grid;grid-template-columns:1fr 1fr;gap:42px}.mainphoto{aspect-ratio:1/1;border:1px solid #e2e2e2;border-radius:14px;overflow:hidden;background:#fafafa}.mainphoto img{width:100%;height:100%;object-fit:contain}.thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto}.thumbs img{width:74px;height:74px;object-fit:contain;border:1px solid #ddd;border-radius:8px;cursor:pointer}.desc{color:#555;white-space:pre-wrap}.availability{display:inline-block;margin:12px 0;padding:7px 10px;border-radius:7px;background:#edf6f1;color:#205f49}.specs{display:grid;gap:0;margin:18px 0;border:1px solid #e8e8e8;border-radius:9px;overflow:hidden}.specs>div{display:grid;grid-template-columns:1fr 1.4fr;padding:9px 12px;border-bottom:1px solid #eee}.specs>div:last-child{border:0}.buybox{border:1px solid #ddd;border-radius:12px;padding:16px;margin-top:18px}.buyrow{display:flex;gap:7px;align-items:center}.buyrow button{width:38px;height:38px;border-radius:7px;border:1px solid #bbb;background:white;font-size:20px}.buyrow input{width:100px;padding:9px}.variantshop{display:grid;gap:8px}.variantchoice{display:grid;grid-template-columns:28px 1fr 1fr 90px;gap:8px;align-items:center;border:1px solid #eee;border-radius:8px;padding:8px}.variantchoice input{padding:8px;border:1px solid #ccc;border-radius:6px}.swatch{width:22px;height:22px;border-radius:50%;border:1px solid #999}.customizebox{margin-top:18px;border-top:1px solid #eee;padding-top:14px;display:grid;gap:11px}.customizebox label{display:grid;gap:5px;font-weight:600}.customizebox input,.customizebox textarea{padding:10px;border:1px solid #ccc;border-radius:7px}.customizebox small{display:block;color:#777}.internal{background:#fff8df;border:1px solid #efd98f;padding:10px;border-radius:8px}.carttable{display:grid;gap:8px}.carttable>div{display:grid;grid-template-columns:2fr .7fr 100px .8fr auto;gap:12px;align-items:center;padding:12px;border:1px solid #e6e6e6;border-radius:9px}.qty{padding:9px;border:1px solid #bbb;border-radius:6px}.carttotal{font-size:24px;font-weight:800;margin:20px 0}.ok{color:#23815e!important}.jobbox{grid-column:1/-1;background:#f8fbfa;border:1px dashed #b8d7cc;padding:14px;border-radius:8px}.jobthumb{width:75px;height:75px;object-fit:contain;vertical-align:middle;margin-left:8px}.invoiceitems{display:grid}.invoiceitems>.head,.invoiceitems>div{display:grid;grid-template-columns:2fr .5fr .7fr .8fr;gap:8px;padding:10px;border-bottom:1px solid #ddd}.invoiceitems .head{background:#f2f4f3}.orderno{font-size:28px;font-family:monospace;font-weight:900;color:var(--brand);background:#eef6f2;padding:15px;border-radius:9px;display:inline-block}.center{text-align:center}.greeting{position:fixed;inset:0;z-index:100;background:rgba(15,20,18,.96);color:white;display:grid;place-items:center;padding:30px}.greeting.banner{inset:78px 0 auto 0;min-height:280px}.gcontent{max-width:1100px;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;text-align:center}.gcontent img{width:100%;max-height:70vh;object-fit:contain;border-radius:16px}.gcontent h1{font-size:clamp(32px,5vw,68px);margin:0 0 12px}.gcontent p{font-size:20px}.gclose{position:absolute;right:20px;top:20px;border:1px solid #fff;background:transparent;color:#fff;padding:9px 13px;border-radius:8px;cursor:pointer}.flash{margin-top:12px;padding:10px;background:#fff2ca;border:1px solid #e4ce82;border-radius:8px}.empty{padding:25px;color:#777;border:1px dashed #ccc;border-radius:9px}footer{margin-top:40px;background:#183e34;color:#fff;padding:30px 0}
@media(max-width:900px){.nav{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.search{order:3;flex-basis:100%}.hero-grid,.productdetail,.gcontent{grid-template-columns:1fr}.heroart{height:300px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.admincards{grid-template-columns:repeat(2,minmax(0,1fr))}.filterbar{grid-template-columns:1fr 1fr}.productlist-head{display:none}.productlist>div{grid-template-columns:45px 2fr 1fr}.productlist>div>*:nth-child(n+4){grid-column:2/-1}.customfield,.vendorrow{grid-template-columns:1fr 1fr}.table>div{grid-template-columns:1fr 1fr}.carttable>div{grid-template-columns:1fr 1fr}.carttable>div>*:first-child{grid-column:1/-1}}
@media(max-width:560px){.wrap{padding:0 14px}.top span{display:none}.nav nav{font-size:13px}.brand{min-width:unset}.grid,.products,.admincards,.formgrid,.specadmin.simple{grid-template-columns:1fr}.hero h1,.mainhero h1{font-size:36px}.segment .pad{min-height:auto}.pbody h3{min-height:auto}.formgrid .span2{grid-column:auto}.filterbar{grid-template-columns:1fr}.specrow,.customspec,.variantrow,.customfield,.vendorrow{grid-template-columns:1fr}.productlist>div{grid-template-columns:35px 1fr}.productlist>div>*:nth-child(n+3){grid-column:2}.greeting{padding:15px}.carttable>div{grid-template-columns:1fr}.carttable>div>*{grid-column:1!important}}
.selector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}.selector-grid label{display:grid;gap:5px;font-size:12px;font-weight:700}.selector-grid select{width:100%;min-width:0;padding:9px;border:1px solid #ccd8d2;border-radius:8px;background:#fff}.opening-row{border:1px solid #dfe7e3;border-radius:10px;padding:12px;margin-bottom:10px;background:#fbfdfc;min-width:0}.opening-row>.danger{margin-top:9px}.admin-titlebar h1,.admin-titlebar h2{margin:0}.panel h2{margin-top:0}.formgrid>*{min-width:0}@media(max-width:900px){.selector-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.selector-grid{grid-template-columns:1fr}.panel{min-width:0;max-width:100%;overflow-wrap:anywhere}.admin-titlebar{align-items:flex-start;flex-wrap:wrap}.admin-titlebar>div{min-width:0;max-width:100%}.admin-titlebar .btn{max-width:100%;white-space:normal}.sticky-save{position:static;max-width:100%;flex-wrap:wrap}.sticky-save .btn{flex:1 1 150px;min-width:0;max-width:100%;white-space:normal;text-align:center;padding-left:8px;padding-right:8px}.opening-row .formgrid input,.opening-row .formgrid select{min-width:0}}
@media print{header,.top,footer,.btn,.form button{display:none!important}.section{padding:0}.invoice{max-width:none}}
/* V1.6 checkout/admin additions */
.checkoutitems{display:grid;gap:8px}.checkoutitems>div{display:grid;grid-template-columns:auto 2fr 1fr auto;gap:10px;align-items:center;border-bottom:1px solid #eee;padding:10px 0}.optioncards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.optioncards>label{border:1px solid #ddd;border-radius:10px;padding:14px;display:grid;grid-template-columns:auto 1fr;column-gap:9px;row-gap:4px;cursor:pointer}.optioncards>label input{grid-row:1/4;width:auto}.optioncards span,.optioncards small{grid-column:2;color:#666}.checkoutcustom{border:1px solid #ddd;border-radius:10px;padding:14px;margin:12px 0;display:grid;gap:10px}.checkoutcustom-head{display:flex;justify-content:space-between;align-items:center}.checkoutcustom label{display:grid;gap:5px;font-weight:600}.checkoutcustom input,.checkoutcustom select,.checkoutcustom textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:7px}.summarybox{text-align:left;max-width:520px;margin:20px auto;background:#f7faf8;padding:15px;border-radius:10px}.methodrow{display:grid;grid-template-columns:1.2fr 1.5fr 1.5fr 1fr .6fr auto auto;gap:7px;align-items:center;border-bottom:1px solid #eee;padding:9px 0}.methodrow.delivery{grid-template-columns:1.2fr 2fr 1fr .7fr auto auto auto}.methodrow input,.methodrow select{padding:8px;border:1px solid #ccc;border-radius:6px;min-width:0}.familycodebox{margin-top:14px;padding:14px;background:#f8fbfa;border:1px solid #cfe0da;border-radius:9px}.customjob{padding:8px 0;border-top:1px dashed #ccc}.confirmcheck{font-size:16px;padding:12px;background:#f7faf8;border-radius:8px}@media(max-width:800px){.optioncards{grid-template-columns:1fr}.checkoutitems>div{grid-template-columns:1fr 1fr}.methodrow,.methodrow.delivery{grid-template-columns:1fr}.checkoutform .formgrid{grid-template-columns:1fr}.checkoutform .span2{grid-column:auto}}
.payqr{grid-column:2;max-width:160px;max-height:160px;object-fit:contain;border:1px solid #ddd;border-radius:8px;margin-top:6px}

/* Product label / stock slip generator */
.label-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.label-search-results{display:grid;gap:8px}.label-search-results>div{display:grid;grid-template-columns:1.3fr 2fr .8fr .8fr auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid #e5e5e5;border-radius:9px;background:#fff}.label-search-results .code{font-size:14px}.label-help{background:#f7faf8;border:1px solid #dbe9e3;border-radius:10px;padding:14px;line-height:1.6}@media(max-width:700px){.label-search-results>div{grid-template-columns:1fr}.label-search-results>div>*{grid-column:1}}

/* Consolidated V1.7 usability */
.brandlogo{width:42px;height:42px;object-fit:contain}.exploremore{display:inline-flex;margin-top:14px;color:var(--brand);font-weight:800;border-top:1px solid #eee;padding-top:10px}.segmenthero h1{font-size:clamp(30px,4vw,52px);line-height:1.18;overflow-wrap:anywhere;color:var(--brand)}.segmenthero em{font-style:normal;color:var(--brand2);font-weight:800}.navtrail{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;padding-top:18px}.navtrail a,.backlink{color:var(--brand);font-weight:800}.backlink{border:1px solid var(--brand);background:#fff;border-radius:7px;padding:7px 11px;cursor:pointer}.code{font-size:14px;font-weight:900;letter-spacing:.45px;padding:5px 9px;border-width:1.5px}.publiccode{font-size:16px}.bigcode{font-size:18px}.gstnote{font-size:11px;color:#666;font-weight:600}.categoryfilter{display:grid;grid-template-columns:1fr 2fr auto auto;gap:8px;margin:0 0 16px}.categoryfilter input,.categoryfilter select{padding:10px;border:1px solid #ccc;border-radius:7px}.invoicehead{display:flex;justify-content:space-between;gap:25px;align-items:flex-start;margin-bottom:20px}.invoicehead h1{margin:0}.invoicelogo{max-width:110px;max-height:70px;object-fit:contain}.invoicemeta{text-align:right}.invoice-totals{max-width:560px;margin:18px 0 18px auto;border:1px solid #ddd;border-radius:10px;overflow:hidden}.invoice-totals>div{display:grid;grid-template-columns:1fr 180px;gap:10px;padding:10px 14px;border-bottom:1px solid #eee;text-align:right}.invoice-totals>div:last-child{border-bottom:0}.invoice-totals input{width:110px;padding:5px;text-align:right}.invoice-totals .grand{font-size:20px;background:#f1f7f4;color:var(--brand)}.money-summary{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:15px}.inline-money{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:7px;margin:10px 0}.inline-money input,.inline-money select{padding:8px;border:1px solid #ccc;border-radius:6px}@media(max-width:700px){.categoryfilter,.inline-money{grid-template-columns:1fr}.invoicehead{display:block}.invoicemeta{text-align:left;margin-top:12px}.invoice-totals{max-width:none}.invoice-totals>div{grid-template-columns:1fr 1fr}}

/* V1.8 admin workflow */
.statusfilters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.statusfilters a{padding:7px 10px;border:1px solid #ccd8d3;border-radius:8px;background:#fff}.pricegrid{overflow:auto;border:1px solid #ddd;border-radius:10px;max-height:70vh}.pricehead,.pricerow{display:grid;grid-template-columns:230px repeat(9,125px);gap:8px;align-items:center;min-width:1370px;padding:8px;border-bottom:1px solid #eee}.pricehead{position:sticky;top:0;background:#eef6f2;z-index:4}.stickycol{position:sticky;left:0;background:#fff;z-index:2}.pricehead b:first-child{position:sticky;left:0;background:#eef6f2;z-index:5}.pricerow input{width:100%;padding:7px}.enquiryrow{display:grid;grid-template-columns:minmax(280px,2fr) 150px 160px minmax(220px,1fr) auto;gap:10px;align-items:end}.enquiryrow small{display:block}.wide{max-width:1500px}@media(max-width:800px){.enquiryrow{grid-template-columns:1fr}.pricegrid{max-height:none}}

/* V1.8.3 Quick Product Entry */
.rowactions{align-items:center;flex-wrap:wrap}.rowactions .btn{min-width:52px;white-space:nowrap;font-size:12px}.rowactions form{display:inline-flex}.label-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.label-actions form{margin:0}#primaryCategory:disabled{background:#f1f1f1;color:#888}

/* V1.8.4 Product Groups + Catalog Display */
.productgroups{margin-bottom:28px}.grouphead{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0 16px}.grouphead h2{margin:0}.groupcard .segimg{aspect-ratio:4/3}.groupcard .segimg img{width:100%;height:100%;object-fit:contain;background:#fff;padding:12px}.pimg{aspect-ratio:1/1;background:#fff;padding:12px}.pimg img{width:100%;height:100%;object-fit:contain!important;object-position:center;display:block;padding:0}.product{min-height:0}.product .pbody{min-height:170px}@media(max-width:900px){.pimg{padding:10px}}@media(max-width:560px){.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product .pbody{padding:10px;min-height:150px}.product .pbody h3{font-size:15px}.product .price{font-size:17px}.pimg{padding:8px}.grouphead{align-items:flex-start;flex-direction:column}}@media(max-width:380px){.products{grid-template-columns:1fr}.product .pbody{min-height:auto}}

/* V1.9.2 bilingual, account greeting & commercial notices */
.language-gate{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:9999;display:grid;place-items:center;padding:20px}.language-box{box-sizing:border-box;background:#fff;max-width:440px;width:100%;border-radius:18px;padding:30px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.28)}.language-actions{display:flex;gap:12px;justify-content:center;margin-top:20px}.langswitch{white-space:nowrap}.langswitch a.active{font-weight:800;text-decoration:underline}.customerhello{font-weight:700}.personal-welcome{display:inline-block;padding:8px 12px;border-radius:999px;background:var(--soft);margin-bottom:10px}.bulk-bottom{padding-top:10px}.bulk-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--soft);border-radius:18px;padding:28px}.bulk-cta h2{margin:0 0 6px}.bulk-cta p{margin:0}.customcharge{display:block;color:#8a321f;font-weight:700;margin-top:5px}.customcharge.prominent{font-size:1rem;margin:9px 0}.translation-note{background:#f3f8f6;border:1px solid #cfe3db;border-radius:10px;padding:10px 12px;margin-bottom:14px;font-size:.92rem}@media(max-width:760px){.bulk-cta{align-items:flex-start;flex-direction:column}.language-box{padding:24px 20px}.language-actions{flex-direction:column}.language-actions .btn{box-sizing:border-box;width:100%}}
/* V1.9.5a responsive greeting - desktop/mobile layouts + independent image fit */
.greeting{overflow:hidden}.greeting .gcontent picture{display:contents}.greeting .gcontent img{max-width:100%;height:auto;object-fit:contain}.greeting .gtext{z-index:3}
.greeting.gdesk-full_wallpaper{padding:0}.greeting.gdesk-full_wallpaper .gcontent{position:absolute;inset:0;max-width:none;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.greeting.gdesk-full_wallpaper .gcontent>img,.greeting.gdesk-full_wallpaper .gcontent picture img{width:100%;height:100%;max-width:none;max-height:none;border-radius:0}.greeting.gdesk-full_wallpaper.gdfit-contain .gcontent>img,.greeting.gdesk-full_wallpaper.gdfit-contain .gcontent picture img{object-fit:contain}.greeting.gdesk-full_wallpaper.gdfit-cover .gcontent>img,.greeting.gdesk-full_wallpaper.gdfit-cover .gcontent picture img{object-fit:cover}.greeting.gdesk-full_wallpaper .gtext{position:absolute;left:8%;right:8%;bottom:8%;text-align:center}
.greeting.gdesk-overlay .gcontent{position:relative}.greeting.gdesk-overlay .gtext{position:absolute;inset:auto 8% 10% 8%;background:rgba(255,255,255,.90);color:#111;padding:18px;border-radius:16px}.greeting.gdesk-overlay.gdfit-cover .gcontent img{width:100%;height:min(78vh,760px);object-fit:cover}.greeting.gdesk-overlay.gdfit-contain .gcontent img{object-fit:contain}
.greeting.gdesk-split .gcontent{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.greeting.gdesk-split.gdfit-cover .gcontent img{width:100%;height:min(72vh,680px);object-fit:cover}.badge.danger{background:#b42318;color:white;padding:5px 9px;border-radius:999px}.btn.danger,.mini.danger{background:#b42318;color:#fff;border-color:#b42318}
@media(max-width:700px){.greeting{padding:12px}.greeting.gmob-stacked .gcontent,.greeting.gmob-full_wallpaper .gcontent,.greeting.gmob-overlay .gcontent{display:flex;flex-direction:column;gap:12px}.greeting.gmob-stacked .gtext{position:static;background:transparent;padding:12px}.greeting.gmob-stacked.gmfit-cover .gcontent img{width:100%;height:48vh;object-fit:cover}.greeting.gmob-stacked.gmfit-contain .gcontent img{width:100%;max-height:58vh;object-fit:contain}.greeting.gmob-full_wallpaper{padding:0}.greeting.gmob-full_wallpaper .gcontent{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:flex;align-items:center;justify-content:center}.greeting.gmob-full_wallpaper .gtext{display:none}.greeting.gmob-full_wallpaper .gcontent>img,.greeting.gmob-full_wallpaper .gcontent picture img{width:100%;height:100%;max-width:none;max-height:none;border-radius:0}.greeting.gmob-full_wallpaper.gmfit-contain .gcontent>img,.greeting.gmob-full_wallpaper.gmfit-contain .gcontent picture img{object-fit:contain}.greeting.gmob-full_wallpaper.gmfit-cover .gcontent>img,.greeting.gmob-full_wallpaper.gmfit-cover .gcontent picture img{object-fit:cover}.greeting.gmob-overlay .gcontent{position:relative}.greeting.gmob-overlay .gtext{position:absolute;left:6%;right:6%;bottom:8%;background:rgba(255,255,255,.90);color:#111;padding:12px;border-radius:14px}.greeting.gmob-overlay.gmfit-cover .gcontent img{width:100%;height:82vh;object-fit:cover}.greeting.gmob-overlay.gmfit-contain .gcontent img{width:100%;max-height:82vh;object-fit:contain}.gclose{right:10px;top:10px;z-index:10}}


/* V1.9.6 Image-first AI Product Entry */
.ai-product-box{margin:14px 0;padding:14px;border:1px solid #d9e2e8;border-radius:12px;background:#f8fbfc;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ai-product-box>div{flex:1 1 420px}.ai-product-box p{margin:5px 0 0}.ai-product-box #aiStatus{flex-basis:100%;font-weight:600}
@media(max-width:700px){.ai-product-box .btn{width:100%}}

/* Greeting close button hotfix */
.greeting .gclose{
    position:absolute;
    right:20px;
    top:20px;
    z-index:99999 !important;
    pointer-events:auto !important;
}


/* Pricing Master - Individual Save Row button */
.pricing-master .pm-control .apply-row {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 10px 0 !important;
    padding: 7px 8px !important;
    z-index: 20 !important;
    cursor: pointer !important;
}


/* ===== Aradhya Arts Mobile First Customer UI ===== */

@media(max-width:700px){

  /* Overall mobile spacing */
  .wrap{
    padding-left:14px;
    padding-right:14px;
  }

  .top{
    font-size:11px;
    padding:5px 0;
    text-align:center;
  }

  /* Header: brand first, search full width, navigation compact */
  .nav{
    min-height:auto;
    padding-top:9px;
    padding-bottom:9px;
    gap:9px 12px;
    align-items:center;
  }

  .brand{
    min-width:0;
    flex:1 1 auto;
    gap:8px;
  }

  .brandlogo,
  .brand>b{
    width:36px;
    height:36px;
    flex:0 0 36px;
  }

  .brand strong{
    font-size:15px;
    line-height:1.05;
    letter-spacing:.25px;
  }

  .brand small{
    font-size:10.5px;
    margin-top:3px;
  }

  .search{
    order:3;
    flex:1 0 100%;
    height:42px;
    border-radius:8px;
  }

  .search input{
    min-width:0;
    padding:9px 11px;
    font-size:14px;
  }

  .search button{
    padding:0 14px;
    font-size:13px;
  }

  .nav nav{
    order:4;
    width:100%;
    gap:0;
    justify-content:space-between;
    align-items:center;
    overflow-x:auto;
    scrollbar-width:none;
    font-size:12px;
    padding-top:2px;
  }

  .nav nav::-webkit-scrollbar{
    display:none;
  }

  .nav nav > a,
  .nav nav > .aa-products-menu,
  .nav nav > .langswitch{
    flex:0 0 auto;
  }

  .nav nav > a,
  .aa-products-trigger{
    padding:6px 5px;
    white-space:nowrap;
  }

  .customerhello{
    max-width:110px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  /* Mobile hero */
  .mainhero,
  .hero{
    padding:22px 0 26px;
  }

  .hero-grid{
    gap:18px;
  }

  .hero h1,
  .mainhero h1{
    font-size:clamp(30px,9vw,40px);
    line-height:1.06;
    margin:5px 0 11px;
  }

  .hero p,
  .mainhero p{
    font-size:15px;
    line-height:1.5;
    margin:0;
  }

  .personal-welcome{
    font-size:12px;
    padding:6px 10px;
    margin-bottom:6px;
  }

  .hero-actions,
  .heroactions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
    margin-top:16px;
  }

  .hero-actions .btn,
  .heroactions .btn{
    width:100%;
    min-height:42px;
    padding:9px 10px;
    font-size:13px;
    text-align:center;
  }

  .heroart{
    height:auto;
    aspect-ratio:4/3;
    border-radius:14px;
  }

  /* Sections */
  .section{
    padding:27px 0;
  }

  .section h2{
    font-size:24px;
    line-height:1.18;
    margin-bottom:16px;
  }

  /* Homepage segments:
     compact two-column cards on normal phones */
  .segments-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:11px !important;
  }

  .segments-grid .segment{
    border-radius:11px;
  }

  .segments-grid .segimg{
    aspect-ratio:4/3;
  }

  .segments-grid .segment .pad{
    padding:11px 11px 13px;
    min-height:0;
  }

  .segments-grid .segment h3{
    font-size:15px;
    line-height:1.25;
    margin-bottom:5px;
  }

  .segments-grid .segment p{
    font-size:12px;
    line-height:1.4;
    min-height:0;
    -webkit-line-clamp:2;
  }

  .segments-grid .exploremore{
    font-size:12px;
    margin-top:8px;
    padding-top:7px;
  }

  /* Product cards stay 2 across on practical phone widths */
  .products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .product{
    border-radius:10px;
  }

  .product .pbody{
    padding:10px;
    min-height:145px;
    gap:6px;
  }

  .product .pbody h3{
    font-size:14px;
    line-height:1.3;
  }

  .product .code{
    font-size:11px;
    padding:3px 5px;
  }

  .product .price{
    font-size:17px;
  }

  .pimg{
    padding:7px;
  }

  /* Bulk CTA */
  .bulk-cta{
    padding:18px;
    border-radius:13px;
    gap:14px;
  }

  .bulk-cta h2{
    font-size:22px;
  }

  .bulk-cta p{
    font-size:14px;
  }

  .bulk-cta .btn{
    width:100%;
  }

  footer{
    margin-top:22px;
    padding:22px 0;
    font-size:13px;
    line-height:1.6;
  }
}

/* Very narrow phones */
@media(max-width:380px){

  .segments-grid,
  .products{
    grid-template-columns:1fr !important;
  }

  .hero-actions,
  .heroactions{
    grid-template-columns:1fr;
  }

  .nav nav{
    justify-content:flex-start;
    gap:8px;
  }
}


/* ===== Homepage Spotlight ===== */

.aa-spotlight-card{
  display:grid;
  grid-template-columns:minmax(260px,42%) 1fr;
  gap:28px;
  align-items:center;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.07);
}

.aa-spotlight-image img{
  display:block;
  width:100%;
  max-height:360px;
  object-fit:contain;
  border-radius:12px;
}

.aa-spotlight-content{
  padding:10px 12px;
}

.aa-spotlight-content h2{
  margin:7px 0 10px;
}

.aa-spotlight-content p{
  margin:0 0 18px;
  line-height:1.6;
}

.aa-spotlight-type{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  opacity:.7;
}

.aa-spotlight-detail{
  max-width:900px;
  margin:0 auto;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  overflow:hidden;
}

.aa-spotlight-detail-image{
  padding:18px 18px 0;
  text-align:center;
}

.aa-spotlight-detail-image img{
  max-width:100%;
  max-height:560px;
  object-fit:contain;
  border-radius:12px;
}

.aa-spotlight-detail-body{
  padding:28px;
}

.aa-spotlight-detail-body h1{
  margin-top:0;
}

.aa-spotlight-lead{
  font-size:1.1rem;
  line-height:1.6;
}

.aa-spotlight-text{
  margin:22px 0;
  line-height:1.75;
}

@media(max-width:700px){

  .aa-spotlight-card{
    grid-template-columns:1fr;
    gap:12px;
    padding:12px;
    border-radius:14px;
  }

  .aa-spotlight-content{
    padding:8px 4px 10px;
  }

  .aa-spotlight-content h2{
    font-size:20px;
  }

  .aa-spotlight-image img{
    max-height:none;
  }

  .aa-spotlight-detail-body{
    padding:18px 15px;
  }

}


/* Hero image is also an Explore Products entry */
.heroart-link{
  display:block;
  color:inherit;
  text-decoration:none;
  border-radius:inherit;
}

.heroart-link img{
  display:block;
  transition:transform .18s ease, opacity .18s ease;
}

@media (hover:hover){
  .heroart-link:hover img{
    transform:scale(1.012);
    opacity:.96;
  }
}

.heroart-link:focus-visible{
  outline:3px solid currentColor;
  outline-offset:4px;
}



/* ==========================================================
   ARADHYA ARTS — CUSTOMER UI POLISH
   Header alignment + bilingual brand + compact catalogue pages
   ========================================================== */


/* ---------- 1. BRAND: Hindi gets proper visual importance ---------- */

.brand{
  align-items:center;
}

.brand strong{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.08;
}

.brand strong > small{
  display:block;
  font-size:15px;
  line-height:1.18;
  margin-top:4px;
  color:#555;
  font-weight:600;
  letter-spacing:0;
}


/* ---------- 2. DESKTOP HEADER: everything on one clean line ---------- */

@media (min-width:901px){

  .nav{
    min-height:78px;
    align-items:center;
  }

  .nav nav{
    display:flex;
    align-items:center;
    gap:16px;
    line-height:1;
  }

  .nav nav > a,
  .nav nav > .aa-products-menu,
  .nav nav > .langswitch{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    margin:0;
  }

  .nav nav > a{
    line-height:38px;
    white-space:nowrap;
  }

  .aa-products-menu{
    height:38px;
  }

  .aa-products-trigger{
    display:inline-flex;
    align-items:center;
    gap:4px;
    height:38px;
    line-height:1;
  }

  .langswitch{
    align-items:center;
    white-space:nowrap;
    line-height:38px;
  }

}


/* ---------- 3. CUSTOMER LISTING PAGES: remove wasted top space ---------- */

/*
   Applies to public catalogue pages that begin:
   section.section > .wrap > .navtrail
*/

.section:has(> .wrap > .navtrail){
  padding-top:20px;
}

.section:has(> .wrap > .navtrail) .navtrail{
  padding-top:0;
  margin:0 0 14px;
  min-height:30px;
}

.section:has(> .wrap > .navtrail) .listing-head{
  margin:0 0 18px;
}

.section:has(> .wrap > .navtrail) .listing-head h1{
  margin:0 0 8px;
  line-height:1.15;
}

.section:has(> .wrap > .navtrail) .listing-head p{
  margin:0;
  line-height:1.45;
}


/* ---------- 4. Back + Breadcrumb: one disciplined navigation row ---------- */

.navtrail{
  align-items:center;
}

.navtrail > a:first-child{
  display:inline-flex;
  align-items:center;
  min-height:30px;
}

.navtrail > span{
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:auto;
  line-height:1.3;
}


/* ---------- 5. Explore Products: cards start sooner ---------- */

.section:has(> .wrap > .navtrail) .segments-grid{
  margin-top:0;
}


/* ---------- 6. MOBILE / TABLET ---------- */

@media (max-width:900px){

  .brand strong > small{
    font-size:13px;
    line-height:1.15;
    margin-top:3px;
  }

  .section:has(> .wrap > .navtrail){
    padding-top:14px;
  }

  .section:has(> .wrap > .navtrail) .navtrail{
    margin-bottom:10px;
    gap:7px 12px;
  }

  .section:has(> .wrap > .navtrail) .listing-head{
    margin-bottom:14px;
  }

  .section:has(> .wrap > .navtrail) .listing-head h1{
    font-size:clamp(27px,7vw,34px);
    margin-bottom:6px;
  }

  .navtrail > span{
    font-size:13px;
  }

}


/* ---------- 7. SMALL MOBILE ---------- */

@media (max-width:560px){

  .brand strong{
    font-size:15px;
  }

  .brand strong > small{
    font-size:12.5px;
    font-weight:600;
  }

  .section:has(> .wrap > .navtrail){
    padding-top:12px;
  }

  .navtrail{
    flex-wrap:wrap;
  }

  .navtrail > span{
    width:auto;
    margin-left:auto;
  }

}



/* ==========================================================
   ARADHYA ARTS — FINAL APPROVED HOME HERO
   ========================================================== */

.aa-final-hero{
  padding:38px 0 34px;
  background:linear-gradient(135deg,var(--soft),#fff);
}

.aa-home-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(420px,.97fr);
  gap:42px;
  align-items:center;
}

.aa-home-intro{
  min-width:0;
  text-align:left;
}

.aa-welcome{
  font-size:18px;
  line-height:1.2;
  letter-spacing:.27em;
  color:#33443f;
  font-weight:500;
  margin:0 0 8px;
}

.aa-brand-heading{
  margin:0!important;
  color:var(--brand);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(48px,5.2vw,76px)!important;
  line-height:.98!important;
  letter-spacing:.015em;
  font-weight:800;
}

.aa-brand-tagline{
  margin-top:7px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(22px,2.25vw,31px);
  line-height:1.15;
  color:#7b571d;
  font-weight:700;
}

.aa-hero-divider{
  width:230px;
  max-width:42%;
  height:3px;
  border-radius:99px;
  background:#c89120;
  margin:18px 0 19px;
}

.aa-purpose-heading{
  color:var(--brand);
  font-size:clamp(27px,2.35vw,38px);
  line-height:1.18;
  margin:0 0 13px;
  letter-spacing:-.02em;
}

.aa-purpose-copy{
  margin:0!important;
  max-width:720px!important;
  font-size:16px!important;
  line-height:1.48;
  color:#4d5351!important;
}

.aa-solution-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
  margin-top:23px;
}

.aa-solution{
  min-width:0;
  text-align:center;
  padding:0 6px;
  border-right:1px solid rgba(23,63,52,.12);
}

.aa-solution:last-child{
  border-right:0;
}

.aa-solution-icon{
  width:48px;
  height:48px;
  margin:0 auto 7px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e9f2e9;
  color:var(--brand);
  font-size:23px;
  line-height:1;
  font-weight:800;
}

.aa-solution b{
  display:block;
  color:#183c33;
  font-size:13px;
  line-height:1.2;
  min-height:31px;
}

.aa-solution small{
  display:block;
  color:#68706d;
  font-size:10.5px;
  line-height:1.25;
  margin-top:4px;
}

.aa-one-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:22px;
  color:#43514d;
}

.aa-one-brand span{
  width:68px;
  height:2px;
  background:#c89120;
}

.aa-one-brand b{
  font-size:13px;
  letter-spacing:.24em;
  font-weight:500;
  text-align:center;
}

.aa-home-visual{
  min-width:0;
}

.aa-final-hero .heroart{
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  border-radius:20px;
  overflow:hidden;
  background:#eee;
}

.aa-final-hero .heroart-link{
  width:100%;
  height:100%;
}

.aa-final-hero .heroart img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.aa-final-hero .placeholder{
  height:100%;
  min-height:100%;
}

.aa-hero-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}

.aa-hero-actions .btn{
  min-height:52px;
  font-size:16px;
  border-radius:9px;
  gap:10px;
}

.aa-business-btn{
  background:#fff!important;
  color:var(--brand)!important;
  border:1.5px solid var(--brand)!important;
}

@media(max-width:1050px){
  .aa-home-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);
    gap:28px;
  }

  .aa-solution-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:4px;
  }

  .aa-solution{
    padding:0 3px;
  }

  .aa-solution b{
    font-size:12px;
  }

  .aa-solution small{
    font-size:9.5px;
  }
}

@media(max-width:900px){
  .aa-final-hero{
    padding:24px 0 28px;
  }

  .aa-home-hero-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  .aa-home-intro{
    text-align:center;
  }

  .aa-welcome{
    font-size:15px;
    margin-bottom:7px;
  }

  .aa-brand-heading{
    font-size:clamp(45px,11vw,66px)!important;
  }

  .aa-hero-divider{
    margin:16px auto 18px;
  }

  .aa-purpose-copy{
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .aa-solution-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }

  .aa-final-hero .heroart{
    width:min(100%,620px);
    margin:0 auto;
  }

  .aa-hero-actions{
    width:min(100%,620px);
    margin:12px auto 0;
  }
}

@media(max-width:620px){
  .aa-final-hero{
    padding-top:20px;
  }

  .aa-welcome{
    font-size:12px;
    letter-spacing:.23em;
  }

  .aa-brand-heading{
    font-size:clamp(38px,12vw,54px)!important;
  }

  .aa-brand-tagline{
    font-size:20px;
  }

  .aa-purpose-heading{
    font-size:25px;
  }

  .aa-purpose-copy{
    font-size:14px!important;
  }

  .aa-solution-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px 8px;
  }

  .aa-solution{
    border-right:0;
  }

  .aa-solution:last-child{
    grid-column:1/-1;
    width:50%;
    justify-self:center;
  }

  .aa-solution b{
    min-height:auto;
    font-size:13px;
  }

  .aa-solution small{
    font-size:10.5px;
  }

  .aa-one-brand{
    gap:9px;
  }

  .aa-one-brand span{
    width:28px;
  }

  .aa-one-brand b{
    font-size:11px;
    letter-spacing:.14em;
  }

  .aa-hero-actions{
    grid-template-columns:1fr;
    gap:9px;
  }

  .aa-hero-actions .btn{
    min-height:48px;
  }
}
/* Phase 1: compact repeatable CRM phone rows and inline vendor creation. */
.phone-row{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1.2fr) minmax(150px,.8fr) auto auto;gap:10px;align-items:center;margin:8px 0}
.phone-row .check{margin:0;white-space:nowrap}
.pc-inline-button{margin-top:8px}
.quick-vendor-dialog{width:min(720px,calc(100% - 28px));border:0;border-radius:14px;padding:20px;box-shadow:0 20px 70px rgba(0,0,0,.28)}
.quick-vendor-dialog::backdrop{background:rgba(14,30,27,.56)}
.quick-vendor-dialog .admin-titlebar{margin-bottom:14px}
.pc-error{color:#a32121;font-weight:700;min-height:1.4em;margin:8px 0}
@media(max-width:760px){.phone-row{grid-template-columns:1fr 1fr}.phone-row input[name="phone_number"],.phone-row input[name="phone_extension"]{grid-column:span 1}.quick-vendor-dialog{padding:14px}}
.ops-modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px;margin:18px 0}.ops-module{background:#fff;border:1px solid #dfe7e3;border-radius:14px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,.035)}.ops-module h2{font-size:18px;margin:0 0 7px;color:var(--brand)}.ops-module p{min-height:42px;color:#64716b;margin:0 0 13px}.ops-links{display:flex;gap:8px;flex-wrap:wrap}.ops-links a{display:inline-flex;padding:8px 10px;border:1px solid #cad8d1;border-radius:8px;text-decoration:none;font-weight:700;background:#f7faf8;color:#254438}.ops-links a.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.ops-support{margin-top:12px}
.lifecycle{display:flex;gap:6px;overflow:auto;padding:9px 0 14px}.lifecycle span{white-space:nowrap;padding:6px 9px;border-radius:20px;background:#edf4f1;border:1px solid #d7e3de;font-size:12px;font-weight:700}.invoiceitems input{width:100%;min-width:70px;padding:6px;border:1px solid #cbd8d2;border-radius:7px}

/* V1.9.14 public catalogue/mobile completion.
   Normal phones retain two useful columns; only genuinely narrow screens
   fall back to one. Long navigation labels wrap instead of widening pages. */
@media(max-width:700px){
  html,body{max-width:100%;overflow-x:clip}
  .wrap,.nav,.nav>*{min-width:0}
  .nav .search{width:100%;max-width:100%;flex:0 0 100%}
  .nav .search input{width:0;min-width:0;flex:1 1 0}
  .nav .search button{display:block;flex:0 0 auto}
  .navtrail>span{min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end;overflow-wrap:anywhere}
  .productgroups{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .productgroups .segment{min-width:0;border-radius:11px}
  .productgroups .segimg{aspect-ratio:1/1}
  .productgroups .segment .pad{padding:10px;min-height:0}
  .productgroups .segment h3{font-size:14px;line-height:1.25;margin-bottom:5px;overflow-wrap:anywhere}
  .productgroups .segment p{font-size:12px;line-height:1.35;min-height:0;-webkit-line-clamp:2}
  .productgroups .exploremore{font-size:12px;margin-top:8px;padding-top:7px}
  .aa-brand-heading,.aa-brand-tagline,.aa-purpose-heading,.aa-purpose-copy,.aa-solution{max-width:100%;overflow-wrap:anywhere}
}
@media(min-width:341px) and (max-width:380px){
  .segments-grid,.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .navtrail>span{width:100%;margin-left:0;justify-content:flex-start}
}
@media(max-width:340px){
  .segments-grid,.productgroups,.products{grid-template-columns:1fr!important}
}

/* Product-family size navigation: the open product is identified separately;
   only the other sizes are presented as navigation choices. */
.aa-family-selector{margin:20px 0;padding:16px;border:1px solid #d8e5df;border-radius:14px;background:#f8fbfa}
.aa-current-size{display:grid;grid-template-columns:1fr auto;gap:3px 14px;align-items:center;padding:13px 15px;border:1px solid #acd0c1;border-radius:11px;background:#eaf6f1;color:#173f34}
.aa-current-kicker{grid-column:1/-1;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.aa-current-size>strong{font-size:20px;line-height:1.2}
.aa-current-size>small{font-size:12px;text-align:right}.aa-current-size>small b{font-family:ui-monospace,Consolas,monospace}
.aa-family-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:17px 0 4px}
.aa-family-heading h3{margin:0;font-size:18px;color:#222}.aa-family-heading>span{flex:0 0 auto;font-size:12px;font-weight:800;color:#27634f;background:#e8f3ee;border-radius:999px;padding:5px 9px}
.aa-family-help{margin:0 0 11px;color:#66716d;font-size:13px}
.aa-family-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.aa-family-option{display:grid;gap:9px;min-width:0;padding:13px;border:1px solid #ccd9d3;border-radius:11px;background:#fff;color:#222;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.aa-family-option:hover,.aa-family-option:focus-visible{border-color:var(--brand);box-shadow:0 6px 18px rgba(23,63,52,.12);transform:translateY(-1px);outline:0}
.aa-family-size{display:flex;align-items:baseline;gap:6px;color:var(--brand)}.aa-family-size b{font-size:18px}.aa-family-size em{font-size:13px;font-style:normal;font-weight:800}
.aa-family-option small{display:grid;gap:2px;color:#707976}.aa-family-option small span{font-size:10px;text-transform:uppercase;letter-spacing:.05em}.aa-family-option small strong{font:800 12px/1.3 ui-monospace,Consolas,monospace;color:#3d4945;overflow-wrap:anywhere}
.aa-family-select{padding-top:8px;border-top:1px solid #edf0ee;color:var(--brand);font-size:12px;font-weight:800}
@media(max-width:560px){.aa-family-selector{padding:13px}.aa-current-size{grid-template-columns:1fr}.aa-current-size>small{text-align:left}.aa-family-heading{align-items:flex-start}.aa-family-options{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-family-size{display:block}.aa-family-option{padding:11px}}
@media(max-width:340px){.aa-family-options{grid-template-columns:1fr}}

/* Customer-facing customization selection and transparent per-piece pricing. */
.aa-customization-picker{margin:18px 0;padding:17px;border:1px solid #ddcfaa;border-radius:14px;background:#fffaf0}
.aa-customization-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:14px}.aa-customization-heading span{display:inline-block;margin-bottom:3px;color:#8a5b16;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.aa-customization-heading h3{margin:0;color:#322919;font-size:20px}.aa-customization-heading p{max-width:350px;margin:0;color:#756b59;font-size:12px;text-align:right}
.aa-customization-picker fieldset{margin:0 0 13px;padding:0;border:0}.aa-customization-picker legend{margin-bottom:8px;color:#403727;font-size:13px;font-weight:800}
.aa-custom-methods,.aa-custom-positions{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.aa-custom-choice,.aa-custom-positions label{display:flex;align-items:flex-start;gap:9px;margin:0;padding:11px;border:1px solid #dfd7c5;border-radius:10px;background:#fff;cursor:pointer}.aa-custom-choice:has(input:checked),.aa-custom-positions label:has(input:checked){border-color:#9a6b1f;background:#fff5db;box-shadow:inset 0 0 0 1px #9a6b1f}.aa-custom-choice input,.aa-custom-positions input{flex:0 0 auto;margin:3px 0 0;accent-color:var(--brand)}.aa-custom-choice span,.aa-custom-positions label span{display:grid;gap:2px;min-width:0}.aa-custom-choice b,.aa-custom-positions b{font-size:13px;line-height:1.25}.aa-custom-choice small,.aa-custom-positions small{color:#756f64;font-size:11px}
.aa-custom-note{margin:2px 0 13px;color:#6f6758;font-size:12px;line-height:1.45}
.aa-unit-price{overflow:hidden;border:1px solid #bad2c8;border-radius:12px;background:#fff}.aa-unit-price h4{margin:0;padding:10px 13px;background:#edf6f2;color:#173f34;font-size:14px}.aa-unit-price>div{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:9px 13px;border-top:1px solid #edf0ee}.aa-unit-price>div>span{color:#4f5955;font-size:13px}.aa-unit-price>div>span small{display:block;color:#7b8581;font-size:10px}.aa-unit-price>div>b{font-size:15px}.aa-unit-price .aa-ready-price{background:#f3f8f5;color:#123d2f}.aa-unit-price .aa-ready-price span{color:#123d2f;font-weight:800}.aa-unit-price .aa-ready-price>b{font-size:20px;color:var(--brand)}.aa-unit-price .aa-order-estimate{background:#173f34;color:#fff}.aa-unit-price .aa-order-estimate span{color:#fff}.aa-unit-price .aa-order-estimate strong{font-size:19px}.aa-unit-price [hidden]{display:none!important}
@media(max-width:560px){.aa-customization-picker{padding:13px}.aa-customization-heading{display:block}.aa-customization-heading p{margin-top:6px;text-align:left}.aa-custom-methods,.aa-custom-positions{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-unit-price>div{padding:9px 11px}}
@media(max-width:340px){.aa-custom-methods,.aa-custom-positions{grid-template-columns:1fr}}
.customarea-row{display:grid;grid-template-columns:1.15fr 1.15fr .8fr .8fr .8fr 1fr auto;gap:9px;align-items:end;padding:12px;margin-bottom:10px;border:1px solid #e3ebe7;border-radius:10px;background:#f9fbfa}.customarea-row>[hidden]{display:none}.customarea-total{display:grid;gap:4px;padding:8px 10px;border-radius:8px;background:#edf6f1;min-height:62px}.customarea-total span,.customarea-total small{font-size:11px;color:#587067}.customarea-total b{color:var(--brand)}.area-rule-note{margin:12px 0 0}@media(max-width:900px){.customarea-row{grid-template-columns:repeat(2,minmax(0,1fr))}.customarea-total{min-height:auto}}@media(max-width:560px){.customarea-row{grid-template-columns:1fr}}

/* One predictable product-search pattern across the admin panel. */
.product-listing-filter{display:grid;gap:11px;margin-bottom:20px}
.product-listing-filter .selector-grid{margin:0}
.product-filter-actions{display:grid;grid-template-columns:minmax(280px,2fr) auto repeat(3,minmax(125px,1fr));gap:9px;align-items:end}
.product-filter-actions>label,.direct-search-row>label{display:grid;gap:5px;min-width:0;font-size:12px;font-weight:700;color:#344}
.product-filter-actions input,.product-filter-actions select,.direct-search-row input{width:100%;min-width:0;padding:9px;border:1px solid #ccd7d2;border-radius:7px;background:#fff;font:inherit}
.filter-buttons{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.direct-search-row{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:8px;align-items:end}
.direct-search-row .check{align-self:center;margin:0}
@media(max-width:900px){.product-filter-actions{grid-template-columns:1fr 1fr}.product-filter-actions>label:first-child{grid-column:1/-1}.direct-search-row{grid-template-columns:1fr auto auto}}
@media(max-width:700px){.product-filter-actions,.direct-search-row{grid-template-columns:1fr}.product-filter-actions>label:first-child{grid-column:auto}.filter-buttons{width:100%}.filter-buttons .btn,.direct-search-row>.btn{flex:1;text-align:center;justify-content:center}}
.summarygrid,.label-batch-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px}.summarygrid span,.label-batch-summary span,.label-batch-summary>b{padding:10px;border:1px solid #dce6e1;border-radius:8px;background:#f7faf8}.summarygrid b{display:block;margin-top:3px;color:var(--brand);font-size:20px}.opening-audit-table>div{grid-template-columns:minmax(220px,2fr) repeat(4,minmax(100px,1fr))}.label-add-controls{display:flex;gap:7px;align-items:center}.label-add-controls input,.label-queue input{width:95px;padding:7px;border:1px solid #ccd7d2;border-radius:7px}.label-batch-summary{margin:14px 0}.label-batch-summary>b{background:var(--brand);color:#fff}.checks{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.checks label{display:flex;gap:6px;align-items:center}.label-search-results>div{grid-template-columns:auto minmax(105px,.7fr) minmax(190px,1.8fr) minmax(110px,.7fr) auto minmax(170px,1fr)}
@media(max-width:800px){.opening-audit-table>div,.label-search-results>div{grid-template-columns:1fr 1fr}.label-search-results>div>b{grid-column:1/-1}}
@media(max-width:520px){.opening-audit-table>div,.label-search-results>div{grid-template-columns:1fr}.label-add-controls{align-items:stretch}.label-add-controls input{width:100%}}

/* Admin compact button visibility fix */
.btn.mini{background:var(--brand);color:#fff!important;border-color:var(--brand)}
