
/* Dirani Group V4.0 — Enterprise polish */
:root{
 --dg-green:#1ab81f;--dg-green-deep:#0f7f13;--dg-ink:#112018;
 --dg-bg:#f7faf8;--dg-line:#e1e8e3;--dg-muted:#69776f
}
body{background:var(--dg-bg)}
/* top navigation */
header nav a,.site-header nav a{position:relative}
header nav a:after,.site-header nav a:after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:2px;background:var(--dg-green);transform:scaleX(0);transition:transform .2s ease}
header nav a:hover:after,.site-header nav a:hover:after,header nav a.active:after,.site-header nav a.active:after{transform:scaleX(1)}
/* content surfaces */
.card,.panel,.product-card,.category-card,.quote-item,.shipment-row,.shipping-row{
 border:1px solid var(--dg-line)!important
}
.section-head small,.eyebrow{font-weight:800;letter-spacing:.08em}
.section-head p{color:var(--dg-muted)}
/* catalog */
.product-card .product-image,.product-card .image-wrap{min-height:220px;display:grid;place-items:center}
.product-card img{max-height:205px}
.product-card .product-body,.product-card .card-body{padding:16px!important}
.product-card .product-title,.product-card h3{margin-bottom:7px}
.product-card .product-meta,.product-card .meta{min-height:18px}
.product-card .product-actions .btn,.product-card .actions .btn{flex:1}
/* details */
.product-gallery,.gallery-panel,.product-info,.product-summary{box-shadow:0 12px 38px rgba(17,32,24,.055)}
.thumbnail,.thumb{border-radius:10px!important}
.thumbnail.active,.thumb.active{border-color:var(--dg-green)!important}
.nutrition-grid strong,.nutrition-panel strong{font-variant-numeric:tabular-nums}
/* shipment */
.shipping-builder select,.shipment-builder select{cursor:pointer}
.shipping-summary,.shipment-summary{position:sticky;top:92px}
.shipping-summary .metric strong,.shipment-summary .metric strong{font-variant-numeric:tabular-nums}
/* Admin */
.dashboard-shell,.admin-shell{font-size:14px}
.dashboard-shell .sidebar,.admin-shell .sidebar,.admin-sidebar{background:#fff}
.dashboard-shell .sidebar a,.admin-shell .sidebar a,.admin-sidebar a{font-size:13px;font-weight:700}
.dashboard-shell .sidebar a.active,.admin-shell .sidebar a.active,.admin-sidebar a.active{background:#eefaef;color:#0d7e12}
.dashboard-shell table,.admin-shell table{border-collapse:separate;border-spacing:0}
.dashboard-shell th:first-child,.admin-shell th:first-child{border-radius:10px 0 0 0}
.dashboard-shell th:last-child,.admin-shell th:last-child{border-radius:0 10px 0 0}
.dashboard-shell tbody td,.admin-shell tbody td{border-bottom:1px solid #edf1ee}
.dashboard-shell .toolbar,.admin-shell .toolbar{gap:8px}
.dashboard-shell .toolbar input,.admin-shell .toolbar input{min-width:190px}
/* forms */
label>span,.field-label{display:block;margin-bottom:6px;font-size:12px;font-weight:750;color:#56645c}
input,select,textarea{border-color:#dce4de!important}
textarea{line-height:1.55}
input::placeholder,textarea::placeholder{color:#9ba59f}
/* Arabic */
html[dir=rtl] header nav a:after,html[dir=rtl] .site-header nav a:after{left:12px;right:12px}
html[dir=rtl] .dashboard-shell th:first-child,html[dir=rtl] .admin-shell th:first-child{border-radius:0 10px 0 0}
html[dir=rtl] .dashboard-shell th:last-child,html[dir=rtl] .admin-shell th:last-child{border-radius:10px 0 0 0}
@media(max-width:900px){
 .shipping-summary,.shipment-summary{position:relative;top:auto}
 .product-card .product-image,.product-card .image-wrap{min-height:190px}
}
@media(max-width:600px){
 .product-card .product-image,.product-card .image-wrap{min-height:170px}
 .product-card img{max-height:160px}
 .dashboard-shell .toolbar,.admin-shell .toolbar{display:grid;grid-template-columns:1fr}
 .dashboard-shell .toolbar input,.admin-shell .toolbar input{min-width:0;width:100%}
}
