/* Catalog and order details, using BLOOMELA's existing colors and layout. */
.category-expand{display:flex;justify-content:center;margin:3px 0 10px}
.category-expand .btn{color:var(--green-dark)}
.product-purchase{align-items:flex-start;flex-wrap:wrap;gap:10px}
.product-purchase>div{min-height:35px;display:flex;align-items:center;flex-wrap:wrap}
.product-info .availability-btn{height:auto;min-height:38px;line-height:1.35;text-align:start}
.price.price-request{font-size:14px;line-height:1.4;letter-spacing:0}
.load-more-products{display:grid;justify-items:center;gap:10px;margin:28px 0 12px}
.load-more-products small{font-variant-numeric:tabular-nums}
.store-footer a{min-height:36px;display:inline-flex;align-items:center;padding:7px 6px;text-underline-offset:4px;color:var(--green-dark)}
.enquiry-product{display:flex;gap:18px;align-items:center;margin-bottom:18px}
.enquiry-photo{width:112px;height:112px;object-fit:cover;border-radius:12px;flex:none;border:1px solid var(--line)}
.enquiry-product h3{margin-bottom:5px;overflow-wrap:anywhere}
.enquiry-product .price{margin-top:9px}
.enquiry-note{font-size:12px;color:var(--muted);margin:14px 0}
.order-board{display:grid;gap:20px}
.order-card{padding:24px}
.order-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:20px}
.order-card-head h2{font-size:15px;letter-spacing:.3px;overflow-wrap:anywhere;margin-bottom:4px}
.order-payment{display:flex;align-items:flex-end;flex-direction:column;gap:7px;flex-shrink:0}
.order-payment>b{font-size:11px;font-weight:600}
.order-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:24px}
.order-layout>section{min-width:0}
.order-layout h3{font-size:13px;margin-bottom:8px}
.order-items{display:grid}
.order-line{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.order-line-photo{width:74px;height:74px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--cream)}
.order-line-copy{display:grid;gap:5px;min-width:0}
.order-line-copy>strong{font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.order-line-copy>.mono{font-size:10px;color:var(--muted)}
.order-line-prices{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11px;color:var(--muted)}
.order-line-prices b{color:var(--ink);font-weight:600}
.order-line-total{display:grid;gap:3px;text-align:end;white-space:nowrap}
.order-line-total small{font-size:10px}
.order-line-total b{font-size:13px}
.order-recipient{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:18px;align-self:start;font-size:12px}
.order-recipient-name{display:block;font-size:14px;white-space:normal;overflow-wrap:anywhere}
.order-phone{display:table;font-size:14px;font-weight:600;margin:5px 0;color:var(--green-dark);text-underline-offset:3px}
.order-email{display:block;color:var(--muted);overflow-wrap:anywhere}
.order-address{margin:14px 0 0;display:grid;gap:8px}
.order-address>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;line-height:1.5}
.order-address dt{color:var(--muted)}
.order-address dd{margin:0;overflow-wrap:anywhere}
.order-notes,.order-gift-note{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.order-notes p,.order-gift-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}
.order-gift-note{background:var(--green-light);border:0;border-radius:8px;padding:12px;color:var(--green-dark)}
.order-totals{margin-top:14px}
.order-totals .totals{margin:0}
.order-totals .totals>.row{font-size:12px}
.order-totals .totals>.total{font-size:16px}
.order-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}
.order-detail-layout{margin-top:22px}
@media(min-width:761px) and (max-width:1100px){.order-layout{grid-template-columns:minmax(0,1fr)}.order-recipient{display:block}}
@media(max-width:760px){
 .order-card{padding:17px}
 .order-card-head{gap:10px;flex-wrap:wrap;padding-bottom:14px;margin-bottom:15px}
 .order-card-head h2{font-size:13px}
 .order-payment{align-items:flex-start;flex-direction:row;align-items:center;flex-wrap:wrap}
 .order-layout{grid-template-columns:minmax(0,1fr);gap:19px}
 .order-line{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:13px 0}
 .order-line-photo{width:64px;height:64px;grid-row:span 2;align-self:start}
 .order-line-total{grid-column:2;display:flex;justify-content:space-between;align-items:baseline;text-align:start;gap:10px}
 .order-line-copy>strong{font-size:12px}
 .order-line-prices{gap:4px 10px}
 .order-recipient{padding:15px}
 .order-card-actions .btn{flex-grow:1}
 .enquiry-product{align-items:flex-start;gap:13px}
 .enquiry-photo{height:88px;width:88px}
 .product-purchase{gap:7px}
 .product-info .availability-btn{width:100%;min-height:36px;font-size:10px;padding:7px 5px}
 .price.price-request{font-size:12px}
 .category-expand{margin-top:0;margin-bottom:0}
 .store-footer>.row{justify-content:center}
}

/* Order fulfillment and detailed product photos. */
.order-photo-button{position:relative;flex:none;align-self:flex-start;border-radius:10px;overflow:hidden;padding:0;cursor:zoom-in;line-height:0}
.order-photo-button>.icon{position:absolute;inset-inline-end:4px;bottom:4px;background:#fffffff2;color:#294b38;border-radius:5px;padding:3px;width:23px;height:23px}
.order-photo-button .order-line-photo{width:84px;height:84px}
.order-stock{display:block;margin-top:8px;color:#526342;font-size:11px}
.order-status-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;font-size:12px}
.order-status-summary>small{margin-inline-start:auto}
.order-management-actions{flex-wrap:wrap}
.order-photo-detail{margin:0;display:grid;gap:20px}
.order-photo-large{width:100%;max-height:58vh;object-fit:contain;background:#f8f8f3;border-radius:12px}
.order-photo-detail figcaption h3{margin-bottom:6px}
.order-photo-detail dl{display:flex;flex-wrap:wrap;gap:22px;margin:18px 0 0}
.order-photo-detail dt{font-size:11px;color:var(--muted)}
.order-photo-detail dd{font-weight:700;font-size:15px;margin:5px 0 0}
@media(max-width:600px){.order-photo-button .order-line-photo{width:68px;height:68px}.order-card-actions .btn,.order-management-actions .btn{min-height:44px;flex:1 1 140px}.order-status-summary>small{width:100%;margin-inline-start:0}.order-photo-large{max-height:50vh}}

.admin-language{max-width:132px;min-height:40px;font-size:12px}.admin-shell[lang=ml],html[lang=ml] .admin-shell{line-height:1.65}html[lang=ml] .order-card-actions .btn,html[lang=ml] .order-management-actions .btn{line-height:1.6;font-size:12px}html[lang=ml] .nav-item{font-size:12px}html[lang=ml] .pill{white-space:normal}html[lang=ml] .order-payment{max-width:100%}@media(max-width:600px){.admin-language{max-width:112px;font-size:11px}.admin-topbar .row{gap:6px}html[lang=ml] .admin-topbar .pill{display:none}.order-payment{flex-wrap:wrap}}
