/* Dirani Group V3.4 — global polish, Arabic + dashboard scale */
:root{--dg-accent:#1ab81f;--dg-ink:#11251d;--dg-muted:#66766e;--dg-line:#e5ebe7;--dg-soft:#f5f8f6;--dg-radius:18px;--dg-shadow:0 14px 34px rgba(18,45,33,.08)}
html{font-size:15px;scroll-behavior:smooth}body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--dg-ink);letter-spacing:-.01em}html[dir="rtl"] body,.rtl{font-family:"Cairo","Noto Sans Arabic","Tahoma",Arial,sans-serif;letter-spacing:0}
.site-header{min-height:76px;padding:0 clamp(18px,3vw,48px)}.brand-mark{width:42px;height:42px}.brand b{font-size:18px}.brand small{font-size:9px;letter-spacing:.17em}.nav{gap:22px}.nav>a,.nav-products>a{font-size:13px;font-weight:650}.header-actions{gap:8px}.header-login,.quote,.lang{min-height:38px;padding:9px 13px;border-radius:11px;font-size:12px}
main{overflow:hidden}.section-head h2,.v19-section h2{font-size:clamp(26px,3vw,42px);line-height:1.08}.eyebrow{font-size:10px;letter-spacing:.16em}.btn{border-radius:12px;padding:12px 17px;font-size:12px;font-weight:750;transition:transform .22s ease,box-shadow .22s ease,background .22s ease}.btn:hover{transform:translateY(-2px)}
/* Catalogue */
.products-layout{gap:24px}.catalog-grid,.product-grid{gap:18px}.db-product-card,.catalog-card{border:1px solid var(--dg-line);border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(18,45,33,.045);overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}.db-product-card:hover,.catalog-card:hover{transform:translateY(-5px);box-shadow:var(--dg-shadow);border-color:#d7e4da}.db-product-card .product-image,.catalog-card .product-image{min-height:280px;background:linear-gradient(145deg,#f9fbfa,#eef5f0);padding:22px}.db-product-card .product-image img,.catalog-card .product-image img{width:100%;height:100%;object-fit:contain;transition:transform .35s ease}.db-product-card:hover .product-image img{transform:scale(1.025)}.db-product-card .content{padding:17px 18px 18px}.db-product-card .catname{font-size:10px;letter-spacing:.09em;color:#6c7b73;text-transform:uppercase}.db-product-card h3{font-size:18px;line-height:1.28;margin:7px 0}.db-product-card h3 a{color:var(--dg-ink)}.product-snippet{font-size:12.5px;line-height:1.65;color:var(--dg-muted);min-height:41px}.product-meta-row{font-size:10.5px;color:#728178;padding-top:11px;border-top:1px solid #eef2ef}.card-actions{gap:8px}.card-actions a,.add-quote-card{min-height:38px;border-radius:10px;font-size:10px;font-weight:800;letter-spacing:.04em}.brand-mini,.featured-badge{border-radius:999px;font-size:9px;padding:7px 10px;box-shadow:none}.featured-badge{background:var(--dg-accent);color:white}
.category-strip button,.filter-panel button{border-radius:15px}.category-strip b,.filter-panel b{font-size:12px}.catalog-toolbar input,.catalog-toolbar select,.shipping-builder select,.shipping-builder input{min-height:44px;border-radius:12px;font-size:13px}
/* Product detail */
.public-product-main{background:linear-gradient(#fbfcfb 0,#fff 330px)}.detail-breadcrumb{font-size:11px;color:#78857f}.v19-product-hero{gap:clamp(30px,5vw,70px);align-items:start}.v19-media,.v19-copy{min-width:0}.v19-main-image{border-radius:26px;background:linear-gradient(145deg,#f7faf8,#edf4ef);border:1px solid var(--dg-line);box-shadow:0 16px 45px rgba(20,54,38,.07);min-height:520px}.v19-copy h1{font-size:clamp(34px,4.2vw,62px);line-height:1.02;letter-spacing:-.04em}.rtl .v19-copy h1{letter-spacing:0}.v19-short{font-size:15px;line-height:1.8;color:#63736b}.v19-keyfacts{gap:8px}.v19-keyfacts>div{border-radius:14px;padding:13px;background:#f7f9f8;border:1px solid #e8ede9}.v19-keyfacts small{font-size:9px}.v19-keyfacts b{font-size:12px}.v19-thumbs button{border-radius:13px}.v19-info-grid{gap:13px}.v19-info-grid article{border-radius:18px;padding:22px;border:1px solid var(--dg-line);box-shadow:none}.v19-info-grid h2{font-size:20px}.v19-info-grid p{font-size:13px;line-height:1.75}.v19-pack-table{border-radius:18px;overflow:hidden;border:1px solid var(--dg-line)}.v19-pack-row{font-size:11px;min-height:52px}.v19-pack-row.head{background:#173f31;color:white}.v19-pack-row.selected{background:#eef9ef;box-shadow:inset 3px 0 0 var(--dg-accent)}.nutrition-grid>div{border-radius:14px;background:#f7f9f8;border:1px solid #e8ede9;padding:15px}.nutrition-grid small{font-size:10px}.nutrition-grid strong{font-size:17px}
/* Dashboard / portal */
body:has(.dash-shell),body:has(.admin-shell),body:has(.workspace-shell),body:has(.catalogue-center),body:has(.media-shell),body:has(.om),body:has(.shipping-shell){font-size:13px;background:#f5f7f6}.dash-shell,.admin-shell,.workspace-shell,.catalogue-center,.media-shell,.om,.shipping-shell{max-width:1480px!important;padding:24px 26px!important}.dash-top h1,.admin-top h1,.workspace-top h1,.page-head h1,.om h1{font-size:clamp(25px,2.6vw,35px)!important;line-height:1.12!important;letter-spacing:-.035em}.rtl .dash-top h1,.rtl .admin-top h1{letter-spacing:0}.dash-top p,.admin-top p,.workspace-top p,.muted{font-size:11.5px!important;line-height:1.6}.metric,.panel,.dash-card,.workspace-card,.admin-card{border-radius:17px!important;border-color:#e2e8e4!important;box-shadow:0 5px 18px rgba(18,45,33,.035)!important}.metric{padding:16px!important}.metric strong,.kpi strong{font-size:24px!important}.metric small,.kpi small{font-size:9.5px!important;letter-spacing:.07em}.panel{padding:16px!important}.panel h2,.panel h3{font-size:15px!important}.dash-nav a,.workspace-nav a,.admin-nav a{font-size:11px!important;padding:9px 11px!important;border-radius:10px!important}.dash-table th,.dash-table td,table th,table td{font-size:11px!important;padding:10px 9px!important}.dash-table th,table th{letter-spacing:.035em;font-size:9.5px!important}.fields input,.fields select,.fields textarea,.f input,.f select,.f textarea,input,select,textarea{font-family:inherit}.fields input,.fields select,.fields textarea,.f input,.f select,.f textarea{min-height:39px!important;font-size:11.5px!important;border-radius:9px!important}.actions button,.actions a,.primary,.ghost{font-size:10.5px!important;border-radius:9px!important;padding:9px 12px!important}.tabs button{font-size:10.5px!important}.status,.badge,.pill{font-size:9px!important;border-radius:999px!important}.og{grid-template-columns:310px 1fr!important}.olist button{font-size:11px!important;border-radius:11px!important;padding:10px!important}.kpis{gap:8px!important}.kpi{padding:12px!important;border-radius:12px!important}
/* RTL refinement */
html[dir="rtl"] .nav,html[dir="rtl"] .header-actions,html[dir="rtl"] .card-actions,html[dir="rtl"] .detail-actions{direction:rtl}.rtl .product-card,.rtl .v19-copy,.rtl .v19-info-grid article,.rtl .filter-panel,.rtl .catalog-toolbar{text-align:right}.rtl .brand-mini{left:auto;right:12px}.rtl .featured-badge{right:auto;left:12px}.rtl .v19-pack-row{text-align:right}.rtl table th,.rtl table td{text-align:right}.rtl .v19-pack-row.selected{box-shadow:inset -3px 0 0 var(--dg-accent)}
@media(max-width:980px){.v19-main-image{min-height:400px}.og{grid-template-columns:1fr!important}.dash-shell,.admin-shell,.workspace-shell,.catalogue-center,.media-shell,.om,.shipping-shell{padding:18px!important}}
@media(max-width:640px){html{font-size:14px}.db-product-card .product-image{min-height:230px}.v19-main-image{min-height:340px;border-radius:20px}.v19-copy h1{font-size:34px}.v19-info-grid article{padding:18px}.dash-shell,.admin-shell,.workspace-shell,.catalogue-center,.media-shell,.om,.shipping-shell{padding:14px!important}.fields{grid-template-columns:1fr!important}.f.w2{grid-column:auto!important}}
