*{box-sizing:border-box}
:root{--brown:#6f3f24;--brown2:#8f572f;--cream:#f7efe7;--line:#e8e0da;--text:#211914;--muted:#6f625a}
html{scroll-behavior:smooth}
body{margin:0;font-family:Cairo,Arial,sans-serif;color:var(--text);background:#fff}
body.modal-open{overflow:hidden}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
.topbar{height:86px;display:grid;grid-template-columns:310px minmax(300px,1fr) 280px;align-items:center;gap:28px;width:92%;max-width:1400px;margin:auto}
.brand{display:flex;align-items:center;gap:9px}
.brand img{width:70px;height:64px;object-fit:contain}
.brand strong{display:block;font-size:22px;font-weight:900;line-height:1.15}
.brand small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.search{height:48px;border:1px solid #ded8d2;border-radius:12px;display:flex;align-items:center;padding:0 16px;box-shadow:0 2px 10px #00000008}
.search span{font-size:28px;color:#776a61;margin-left:8px}
.search input{border:0;outline:0;width:100%;font-size:15px}
.actions{display:flex;justify-content:flex-start;gap:16px}
.actions button{border:0;background:#fff;font-size:15px;color:var(--text);padding:9px 10px;border-radius:10px}
.actions button:last-child{background:var(--brown);color:#fff}
.actions i{font-style:normal;background:#fff;color:var(--brown);border-radius:50%;font-size:10px;padding:1px 5px;margin-right:4px}
nav{border-top:1px solid #eee8e3;border-bottom:1px solid #eee8e3;height:58px;display:flex;align-items:center;justify-content:center;gap:18px;white-space:nowrap;overflow:auto}
nav a{font-size:14px;font-weight:800;padding:11px 14px;border-radius:10px}
nav a.active{background:var(--brown);color:#fff}
.hero{width:100%;min-height:372px;background:linear-gradient(100deg,#f7eee6,#fffaf6);display:grid;grid-template-columns:48% 52%;direction:ltr}
.hero-cat{position:relative;overflow:hidden}
.hero-cat img{width:100%;height:100%;min-height:372px;object-fit:cover;object-position:center}
.love{position:absolute;top:25%;left:17%;font-size:20px;line-height:1.7;font-weight:700;text-align:center;transform:rotate(-5deg)}
.hero-text{direction:rtl;display:flex;flex-direction:column;justify-content:center;padding:35px 6% 35px 9%}
.eyebrow{font-weight:700;margin:0 0 7px}
.hero h1{font-size:clamp(42px,4.3vw,72px);line-height:1.2;margin:0;font-weight:900;letter-spacing:-1.5px}
.hero h1 span{color:var(--brown2)}
.hero-text>p:not(.eyebrow){font-size:18px;color:#5e524b;line-height:1.9;max-width:650px;margin:14px 0}
.hero-btns{display:flex;gap:12px}
.brown,.white{padding:13px 25px;border-radius:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.brown{background:var(--brown);color:#fff}.white{background:#fff;border:1px solid #e3d9d1}
.benefits{width:92%;max-width:1400px;margin:auto;height:78px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;gap:15px}
.benefits>div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}
.benefits span{grid-row:1/3;font-size:30px;color:var(--brown)}
.benefits b{font-size:14px}.benefits small{font-size:11px;color:var(--muted)}
.section{width:92%;max-width:1400px;margin:auto;padding:25px 0}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.section-head h2{margin:0;font-size:27px;font-weight:900}
.section-head a{color:#166bc5;font-weight:800;font-size:14px}
.categories{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.categories button{border:0;background:#fbf7f3;border-radius:12px;padding:14px 7px;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;transition:.2s}
.categories button:hover{transform:translateY(-2px);box-shadow:0 10px 25px #3b21120d}
.categories span{font-size:38px;line-height:1}.categories b{font-size:14px}
#grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.card{border:1px solid #e7e0da;border-radius:13px;overflow:hidden;background:#fff;transition:.2s;position:relative}
.card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #3b21120e}
.pic{height:168px;background:#fbf8f5;display:grid;place-items:center;position:relative}
.pic img{width:74%;height:74%;object-fit:contain}
.pic .fallback{width:75px;height:75px;object-fit:contain}
.heart{position:absolute;top:8px;right:8px;border:0;background:#fff;border-radius:50%;width:30px;height:30px;font-size:18px}
.info{padding:10px 10px 12px}
.name{font-size:13px;font-weight:800;line-height:1.55;min-height:42px;margin:0 0 4px}
.price{font-weight:900;color:#b43722;font-size:17px}
.add{width:100%;border:0;background:var(--brown);color:#fff;border-radius:8px;padding:8px;margin-top:8px;font-weight:800;font-size:12px}
.drawer{display:none;position:fixed;inset:0;background:#0007;z-index:80}.drawer.open{display:block}
.cart-panel{position:absolute;right:0;top:0;height:100%;width:min(450px,96%);background:#fff;padding:22px;overflow:auto}
.cart-head{display:flex;justify-content:space-between;align-items:center}.cart-head button,.x{border:0;background:none;font-size:30px}
.cart-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;border-bottom:1px solid #eee;padding:13px 0}
.qty button{border:1px solid #ddd;background:#fff;border-radius:6px;padding:2px 7px}
.cart-total{display:flex;justify-content:space-between;font-size:20px;padding:18px 0}
.checkout{width:100%;border:0;border-radius:9px;background:var(--brown);color:#fff;padding:12px;font-weight:900}
.modal{position:fixed;inset:0;background:#0007;display:grid;place-items:center;z-index:100;padding:20px;overflow-y:auto;box-sizing:border-box}
.modal[hidden]{display:none}
.modal-card{background:#fff;width:min(520px,100%);max-height:calc(100vh - 40px);padding:25px;border-radius:18px;position:relative;overflow-y:auto;box-sizing:border-box}
.modal-card form{display:grid;gap:11px}.modal-card label{display:grid;gap:5px;font-weight:700}
.modal-card input,.modal-card select,.modal-card textarea{border:1px solid #ddd;border-radius:9px;padding:9px;outline:0}
.summary{display:flex;justify-content:space-between;background:#faf6f2;border-radius:9px;padding:12px}
@media(max-width:1100px){.topbar{grid-template-columns:240px 1fr 190px}.categories{grid-template-columns:repeat(4,1fr)}#grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){.topbar{height:auto;padding:10px 0;grid-template-columns:1fr auto}.search{grid-column:1/-1;grid-row:2}.actions b{display:none}.hero{grid-template-columns:1fr}.hero-cat{order:1}.hero-text{order:2;padding:30px 7%}.benefits{grid-template-columns:repeat(2,1fr);height:auto;padding:15px 0}.categories{grid-template-columns:repeat(4,1fr)}#grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.brand strong{font-size:17px}.brand small{font-size:9px}.brand img{width:53px;height:50px}nav{justify-content:flex-start}.hero-cat img{min-height:230px}.hero h1{font-size:37px}.hero-text>p:not(.eyebrow){font-size:14px}.categories{grid-template-columns:repeat(2,1fr)}#grid{gap:8px}.pic{height:140px}.name{font-size:12px}}

.checkout-totals{background:#faf6f2;border:1px solid #eee2d8;border-radius:9px;padding:10px 12px;display:grid;gap:6px}
.checkout-totals>div{display:flex;justify-content:space-between;font-size:13px}
.checkout-totals .grand{border-top:1px solid #e6d9ce;padding-top:8px;margin-top:2px;font-size:18px;font-weight:900}

/* Admin panel — separate from the customer storefront */
.admin-modal{position:fixed;inset:0;background:#0008;z-index:200;display:grid;place-items:center;padding:20px}
.admin-modal[hidden]{display:none}
.admin-card{background:#fff;width:min(850px,100%);max-height:92vh;overflow:auto;border-radius:18px;padding:22px}
.admin-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:18px}
.admin-head h2{margin:0 0 3px}.admin-head small,.muted{color:#777}
.admin-card label{display:grid;gap:6px;font-weight:700;margin-bottom:10px}
.admin-card input,.admin-card select,.admin-card textarea{border:1px solid #ddd;border-radius:9px;padding:10px;outline:0}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.admin-buttons{display:flex;gap:8px;margin:12px 0 20px}
.admin-primary,.admin-secondary{border:0;border-radius:9px;padding:10px 16px;font-weight:800}
.admin-primary{background:#6f3f24;color:#fff}.admin-secondary{background:#eee;color:#333}
.admin-list-head{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding-top:15px}
.admin-product{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eee}
.admin-product small{display:block;color:#777}.admin-product button{border:0;background:#fee;color:#b00;border-radius:7px;padding:6px 10px}
.admin-thumb{width:50px;height:50px;border-radius:8px;background:#faf7f3;display:grid;place-items:center;overflow:hidden}
.admin-thumb img{width:100%;height:100%;object-fit:contain}
.empty-products{text-align:center;padding:55px 20px;color:#6f625a;background:#fbf7f3;border-radius:14px;grid-column:1/-1;font-size:18px}
@media(max-width:600px){.admin-grid{grid-template-columns:1fr}.admin-card{padding:15px}}

#adminError{color:#b00020;font-weight:700;min-height:22px;margin:8px 0}
.category-loading{grid-column:1/-1;text-align:center;padding:28px;background:#fbf7f3;border-radius:12px;color:#6f625a;font-weight:700}
.product-category{display:inline-block;font-size:10px;color:#8f572f;background:#f8eee5;border-radius:999px;padding:2px 7px;margin-bottom:4px}

.orders-head{margin-top:24px}.admin-order{border:1px solid #e8e0da;border-radius:12px;padding:13px;margin:10px 0;background:#fff}.order-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.order-top strong{font-size:17px}.order-top small{display:block;color:#777;font-size:11px;margin-top:2px}.order-status{border:1px solid #ddd;border-radius:8px;padding:7px;background:#fff;font-weight:700}.order-customer{display:flex;gap:14px;align-items:center;margin:10px 0}.order-customer a{color:#6f3f24;font-weight:700}.order-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#655b55;background:#faf6f2;padding:8px;border-radius:8px}.order-items{margin-top:8px}.order-item{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px dashed #eee;font-size:13px}.order-notes{font-size:12px;color:#6f625a;padding:8px 0}.order-total{display:flex;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid #eee;font-size:17px}.order-total b{color:#b43722}@media(max-width:600px){.order-top{align-items:flex-start;flex-direction:column}.order-status{width:100%}.order-customer{flex-direction:column;align-items:flex-start;gap:2px}}

.product-filters-v2{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin:14px 0}
.product-filters-v2 input,.product-filters-v2 select{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #ddd;border-radius:10px;background:#fff}
.admin-product{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #eee}
.admin-thumb{width:64px;height:64px;min-width:64px;border-radius:12px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:28px}
.admin-thumb img{width:100%;height:100%;object-fit:cover}
.product-info{flex:1;min-width:0}
.product-info b{display:block;font-size:16px;margin-bottom:5px}
.product-info small{display:block;color:#666}
.product-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.product-actions button{border:0;border-radius:9px;padding:8px 10px;cursor:pointer}
.product-actions .edit{background:#eef4ff}.product-actions .toggle{background:#fff3d6}.product-actions .delete{background:#ffe5e5}
.product-stock{display:inline-block;margin-inline-start:8px;padding:3px 7px;border-radius:999px;font-size:11px}
.product-stock.available{background:#e4f6e8;color:#176b2c}.product-stock.unavailable{background:#f8dddd;color:#8a1f1f}
@media(max-width:700px){.product-filters-v2{grid-template-columns:1fr}.admin-product{align-items:flex-start;flex-wrap:wrap}.product-actions{width:100%;justify-content:flex-start}}

/* Orders dashboard V3 */
.orders-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.order-summary-box{border:1px solid #e8e0da;border-radius:12px;background:#fffaf7;padding:12px;text-align:center}
.order-summary-box span{display:block;color:#6f625a;font-size:12px;font-weight:700;margin-bottom:5px}
.order-summary-box strong{font-size:21px;color:#4f3424}
.orders-filters{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:12px 0}
.orders-filters input,.orders-filters select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #ddd;border-radius:10px;background:#fff}
.order-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.order-status-badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}
.order-status-badge.new{background:#fff0d6;color:#9a5b00}.order-status-badge.processing{background:#eaf0ff;color:#3157a4}.order-status-badge.delivered{background:#e4f6e8;color:#176b2c}.order-status-badge.cancelled{background:#f8dddd;color:#8a1f1f}
.order-customer{justify-content:space-between}.order-customer>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.order-wa{background:#e4f6e8;color:#176b2c!important;text-decoration:none;padding:7px 10px;border-radius:8px;font-weight:800;font-size:12px}
.order-items h4{font-size:13px;margin:10px 0 4px;color:#5d514a}
.order-money{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px;margin-top:10px}.order-money>div{background:#faf6f2;border-radius:9px;padding:9px;text-align:center}.order-money span{display:block;font-size:11px;color:#766a62}.order-money b{display:block;margin-top:3px}.order-money .grand{background:#f3e7de}.order-money .grand b{color:#b43722;font-size:18px}
.orders-empty{text-align:center;padding:45px 20px;background:#fbf7f3;border-radius:14px;color:#6f625a;font-weight:700}
@media(max-width:700px){.orders-summary-grid{grid-template-columns:1fr 1fr}.orders-filters{grid-template-columns:1fr}.order-customer>div{flex-direction:column;align-items:flex-start;gap:4px}.order-money{grid-template-columns:1fr}.order-money .grand{grid-column:auto}}

.order-details-modal-v4[hidden]{display:none!important}.order-details-modal-v4{position:fixed;inset:0;z-index:9999}
.order-details-backdrop-v4{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.order-details-card-v4{position:relative;width:min(720px,calc(100% - 24px));max-height:90vh;overflow:auto;margin:5vh auto;background:#fff;border-radius:18px;padding:18px;box-shadow:0 15px 50px rgba(0,0,0,.2)}
.order-details-head-v4{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #eee;padding-bottom:12px}.order-details-head-v4 button{border:0;background:#f2f2f2;border-radius:9px;padding:8px 11px}
.od-info-grid-v4{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.od-info-grid-v4>div{padding:11px;background:#f7f7f7;border-radius:10px}.od-info-grid-v4 span{display:block;color:#777;font-size:12px;margin-bottom:4px}.od-info-grid-v4 select{width:100%;padding:7px;border-radius:8px;border:1px solid #ddd}
.od-item-v4{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #eee}.od-item-v4 small{display:block;color:#777;margin-top:3px}
.od-totals-v4{margin-top:14px;border-top:1px solid #ddd;padding-top:8px}.od-totals-v4>div{display:flex;justify-content:space-between;padding:7px}.od-totals-v4 .grand{font-size:19px;font-weight:800}.od-notes-v4{margin-top:12px;padding:12px;background:#fff9e6;border-radius:10px}
.order-details-actions-v4{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap;margin-top:15px}.order-details-actions-v4 button{padding:10px 14px;border:0;border-radius:10px;cursor:pointer}
@media(max-width:650px){.od-info-grid-v4{grid-template-columns:1fr}}

.order-card-actions-v4{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.order-details-btn-v4{border:0;border-radius:10px;padding:8px 12px;background:#e9f3ff;color:#245b8f;cursor:pointer;font-weight:700}
.order-details-btn-v4:hover{filter:brightness(.97)}

.new-order-alert-v5{
 position:sticky;top:8px;z-index:50;margin:0 0 12px;padding:12px 14px;
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 background:#fff7d6;border:1px solid #e8c85a;border-radius:12px;
 box-shadow:0 6px 18px rgba(0,0,0,.08);font-size:14px
}
.new-order-alert-v5[hidden]{display:none!important}
.new-order-alert-v5 strong{display:block;margin-bottom:3px}
.new-order-alert-actions-v5{display:flex;gap:7px;flex-shrink:0}
.new-order-alert-actions-v5 button{border:0;border-radius:8px;padding:8px 11px;cursor:pointer}
.new-order-alert-actions-v5 button:first-child{background:#16a085;color:#fff}
.has-new-orders-v5{position:relative}
.has-new-orders-v5::after{
 content:attr(data-new-count);position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;
 padding:0 4px;border-radius:20px;background:#e74c3c;color:#fff;font-size:11px;
 display:flex;align-items:center;justify-content:center
}
@media(max-width:600px){
 .new-order-alert-v5{align-items:flex-start;flex-direction:column}
}

.promotion-box-v6{margin:14px 0;padding:14px;border:1px solid #e7e7e7;border-radius:14px;background:#fafafa}.promotion-box-v6 h3{margin:0 0 10px}.promo-type-v6{display:flex;gap:16px;margin:10px 0;flex-wrap:wrap}.promo-fields-v6{display:flex;gap:8px;flex-wrap:wrap}.promo-fields-v6 input{padding:9px;border:1px solid #ddd;border-radius:9px;min-width:150px}.qty-promo-row-v6{display:flex;gap:7px;width:100%}.qty-promo-row-v6 input{flex:1;min-width:0}.promo-badge-v6{display:inline-block;margin-inline-start:7px;padding:3px 8px;border-radius:999px;background:#fff0bf;font-size:11px;font-weight:700}
.promo-box-v6{margin-top:18px;padding:16px;border:1px solid #d8dbe7;border-radius:14px;background:#fafbff}
.promo-head-v6{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.promo-head-v6 h3{margin:0}
.promo-types-v6{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.promo-direct-v6{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.quantity-promo-v6{display:grid;gap:10px}
.qty-promo-row-v6{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}
.qty-promo-row-v6 button{white-space:nowrap}
.promo-badge-v6{display:inline-block;margin:4px 0 8px;padding:4px 8px;border-radius:999px;background:#fff0d8;font-size:12px;font-weight:700}
.promo-price-v6{font-size:18px}
.card .price del,.cart-row del{opacity:.6;margin-inline-end:4px}
@media(max-width:700px){.promo-direct-v6,.qty-promo-row-v6{grid-template-columns:1fr}.promo-head-v6{align-items:flex-start;flex-direction:column}}

.promo-simple-hint{font-size:12px;color:#777}.qty-label{font-weight:700;white-space:nowrap;align-self:center}.promo-box-v6{box-shadow:0 2px 8px rgba(0,0,0,.04)}

/* Promotions storefront V9 */
.promo-card-v9{border:2px solid #f0c75e;box-shadow:0 7px 22px rgba(180,120,20,.10)}
.promo-card-v9:hover{box-shadow:0 14px 30px rgba(180,120,20,.16)}
.promo-card-v9 .pic{background:linear-gradient(135deg,#fffaf0,#fff)}
.promo-ribbon-v9{position:absolute;top:10px;left:10px;z-index:2;background:#c73b25;color:#fff;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:900;box-shadow:0 4px 10px rgba(199,59,37,.2)}
.promo-prices-v9{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:31px}
.promo-prices-v9 del{color:#8a817b;font-size:13px}
.promo-prices-v9 strong{color:#c63720;font-size:21px;font-weight:1000}
.promo-prices-v9 em{font-style:normal;background:#e8f7e9;color:#18713a;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:900}
.promo-callout-v9{margin-top:6px;background:#fff1c7;color:#704c00;border-radius:9px;padding:6px 8px;font-size:11px;font-weight:900;text-align:center}
.quantity-callout-v9{font-size:12px;background:#fff1c7;border:1px dashed #e2b84d}
.quantity-callout-v9 strong{color:#b43722;font-size:14px}
.base-price-v9{color:#7b7069;font-size:13px}
.base-price-v9 small{font-size:10px;font-weight:700;color:#9a918b}
@media(max-width:520px){.promo-prices-v9 strong{font-size:18px}.promo-ribbon-v9{font-size:10px;padding:4px 8px}}

/* V12 عرض ملفت */
.promo-card-v9{position:relative;transform:translateZ(0)}
.promo-card-v9::before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:13px;background:linear-gradient(120deg,rgba(255,193,7,.10),transparent 45%,rgba(229,57,53,.06));z-index:0}
.promo-card-v9 .pic,.promo-card-v9 .info{position:relative;z-index:1}
.promo-ribbon-v9{font-size:12px;padding:7px 12px;animation:promoPulseV12 2.2s ease-in-out infinite}
.quantity-callout-v9{font-size:12px;padding:8px 10px;line-height:1.8}
.promo-callout-v9 strong{font-size:14px}
@keyframes promoPulseV12{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}

/* batchV13Mobile */
@media(max-width:700px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card .info{padding:10px}.card .name{font-size:14px}.add{min-height:42px}}
@media(max-width:430px){.grid{gap:8px}.card .name{font-size:13px}}

.search-wrap-v14{position:relative}
.live-search-v14{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:1000;background:#fff;border:1px solid #e5e5e5;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.12);overflow:hidden;direction:rtl}
.live-item-v14{width:100%;display:flex;align-items:center;gap:9px;padding:9px 11px;border:0;border-bottom:1px solid #f1f1f1;background:#fff;cursor:pointer;text-align:right}
.live-item-v14:hover{background:#fff8e6}
.live-item-v14 img,.live-img-v14{width:38px;height:38px;border-radius:8px;object-fit:cover;flex:none;display:flex;align-items:center;justify-content:center;background:#f4f4f4}
.live-name-v14{flex:1;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-price-v14{font-size:12px;font-weight:800;white-space:nowrap}
.live-empty-v14{padding:14px;text-align:center;font-size:13px;color:#777}
@media(max-width:700px){.live-search-v14{max-height:360px;overflow:auto}.live-item-v14{padding:10px}.live-name-v14{font-size:12px}}

.live-item-v15{display:flex;align-items:center;gap:6px;padding:7px 8px;border-bottom:1px solid #f1f1f1;background:#fff}
.live-product-v15{flex:1;min-width:0;display:flex;align-items:center;gap:9px;border:0;background:transparent;cursor:pointer;text-align:right;padding:3px}
.live-add-v15{width:36px;height:36px;flex:none;border:0;border-radius:10px;background:#111;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.live-add-v15:hover{transform:scale(1.04)}
.live-add-v15.added-v15{background:#2e7d32}

.live-search-v14[hidden]{display:none!important}
.live-product-v15{color:var(--text,#222)}
.live-product-v15 img,.live-product-v15 .live-img-v14{width:38px;height:38px;border-radius:8px;object-fit:cover;flex:none;display:flex;align-items:center;justify-content:center;background:#f4f4f4}

.live-add-v15{
  width:auto; min-width:86px; height:32px; padding:0 9px;
  font-size:12px; font-weight:600; white-space:nowrap;
  border:0; border-radius:8px; background:#111; color:#fff; cursor:pointer;
}
.live-add-v15.added-v15{background:#2e7d32;font-size:11px}

/* V19: product detail + favorites + cart polish */
.heart{z-index:4}
.card{cursor:pointer}
.detail-panel-v19{position:fixed;z-index:2001;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(900px,94vw);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 18px 60px rgba(0,0,0,.25);display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,1fr);direction:rtl}
.detail-backdrop-v19{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:2000}
.detail-close-v19{position:absolute;left:14px;top:10px;border:0;background:#f2f2f2;border-radius:50%;width:36px;height:36px;font-size:24px;cursor:pointer;z-index:3}
.detail-image-v19{padding:22px;display:flex;align-items:center;justify-content:center;background:#fafafa}
.detail-image-v19 img{max-width:100%;max-height:430px;border-radius:16px;object-fit:contain}
.detail-info-v19{padding:30px}
.detail-info-v19 h2{margin:8px 0 14px;font-size:28px}
.detail-price-v19{font-size:24px;margin:10px 0}.detail-price-v19 strong{font-weight:900}.detail-price-v19 del{opacity:.5;margin-left:8px}
.detail-offer-v19{display:inline-block;background:#fff0f0;color:#c62828;border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px}
.detail-qty-v19{margin-top:10px;padding:10px;border-radius:10px;background:#fff8e5;font-size:13px}
.detail-actions-v19{display:flex;gap:10px;margin-top:22px}.detail-actions-v19 button{border:0;border-radius:10px;padding:12px 16px;font-weight:800;cursor:pointer}
.detail-add-v19{background:#111;color:#fff;flex:1}.detail-fav-v19{background:#f2f2f2}
@media(max-width:700px){.detail-panel-v19{grid-template-columns:1fr;width:94vw}.detail-image-v19{max-height:300px}.detail-image-v19 img{max-height:260px}.detail-info-v19{padding:20px}.detail-info-v19 h2{font-size:22px}}

.cat-admin-add-v20{display:grid;grid-template-columns:1.5fr .7fr .7fr auto;gap:8px;margin:14px 0;padding:14px;background:#fafafa;border:1px solid #eee;border-radius:14px}
.cat-admin-add-v20 input,.cat-admin-row-v20 input{min-width:0;padding:9px;border:1px solid #ddd;border-radius:9px;background:#fff}
.cat-admin-add-v20 button,.cat-save-v20,.cat-delete-v20{border:0;border-radius:9px;padding:9px 12px;font-weight:700;cursor:pointer}
.cat-admin-add-v20 button,.cat-save-v20{background:#111;color:#fff}.cat-delete-v20{background:#f3eeee;color:#a22}
.cat-admin-row-v20{display:grid;grid-template-columns:1.5fr .7fr .7fr auto auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #eee}
@media(max-width:700px){.cat-admin-add-v20,.cat-admin-row-v20{grid-template-columns:1fr 70px 80px}.cat-admin-add-v20 button,.cat-save-v20,.cat-delete-v20{grid-column:auto}.cat-admin-row-v20 .cat-save-v20,.cat-admin-row-v20 .cat-delete-v20{padding:8px 7px}}

.customer-auth-v22{position:fixed!important;inset:0!important;z-index:2147483647!important;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;direction:rtl}
.customer-auth-v22[hidden]{display:none!important}
.customer-auth-panel-v22{position:relative;width:min(430px,92vw);background:#fff;border-radius:20px;padding:28px;box-sizing:border-box;box-shadow:0 20px 80px rgba(0,0,0,.35)}
.customer-auth-close-v22{position:absolute;left:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;font-size:24px;background:#eee;cursor:pointer}
.customer-auth-panel-v22 h2{margin:0 0 20px}.customer-auth-panel-v22 label{display:block;margin:12px 0;font-weight:700}
.customer-auth-panel-v22 input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #ddd;border-radius:10px}
#customerAuthSubmitV22{width:100%;margin-top:8px;padding:12px;border:0;border-radius:10px;background:#111;color:#fff;font-weight:800;cursor:pointer}
#customerAuthMsgV22{min-height:24px;margin-top:12px;font-weight:700}#customerAuthSwitchV22{text-align:center;margin-top:10px}
#customerAuthSwitchV22 button{border:0;background:none;text-decoration:underline;font-weight:800;cursor:pointer}

.profile-open-v23{display:block;width:100%;margin-top:14px;padding:10px;border:1px solid #ddd;border-radius:10px;background:#fafafa;font-weight:800;cursor:pointer}
.customer-profile-v23{position:fixed;inset:0;z-index:2147483647;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;direction:rtl}
.customer-profile-v23[hidden]{display:none!important}.customer-profile-panel-v23{position:relative;width:min(430px,92vw);background:#fff;border-radius:20px;padding:28px;box-sizing:border-box;box-shadow:0 20px 80px rgba(0,0,0,.35)}
.customer-profile-close-v23{position:absolute;left:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;font-size:24px;background:#eee;cursor:pointer}
.customer-profile-panel-v23 h2{margin:0 0 8px}.profile-note-v23{font-size:13px;color:#666}.customer-profile-panel-v23 label{display:block;margin:13px 0;font-weight:700}
.customer-profile-panel-v23 input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #ddd;border-radius:10px}
.profile-save-v23{width:100%;margin-top:8px;padding:12px;border:0;border-radius:10px;background:#111;color:#fff;font-weight:800;cursor:pointer}.profile-msg-v23{min-height:25px;margin-top:12px;font-weight:700}

#customerSignupFieldsVisibleV24[hidden]{display:none!important}
.customer-logout-v24{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #ddd;border-radius:10px;background:#fff;font-weight:800;cursor:pointer}

#customerAuthSwitchV22{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:14px;text-align:center}
#customerAuthSwitchV22 span{font-size:14px;color:#666}
.customer-switch-btn-v24{border:0;background:transparent;color:#263b73;font-weight:800;font-size:15px;cursor:pointer;padding:6px 10px}
.customer-signup-btn-v24{background:#263b73;color:#fff;border-radius:10px;padding:10px 22px;min-width:180px}

/* V24.3 customer account UI */
#customerAuthSwitchV22 button,
#customerAuthSwitchV22 .profile-open-v23 {
  color: #111 !important;
}
#customerAuthSwitchV22 button:not(.profile-open-v23) {
  font-weight: 800;
}

.admin-gate-v25{text-align:right;direction:rtl;margin-top:12px}
.admin-gate-v25 p{font-size:13px;color:#666}
.admin-gate-v25 label{display:block;margin:10px 0;font-weight:700}
.admin-gate-v25 input{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:10px;border:1px solid #ddd;border-radius:10px}
.admin-gate-v25>button{width:100%;padding:12px;border:0;border-radius:10px;background:#111;color:#fff;font-weight:800;cursor:pointer}
#adminMsgV25{min-height:22px;margin-top:10px;font-weight:700}

/* V26: administration is reached through the account phone gate */
#adminOpen{display:none!important}

#customerAuthMsgV22:empty,#profileMsgV23:empty,#adminMsgV25:empty{min-height:0!important;margin:0!important}

/* Saved customer details are prefilled but remain editable. */
#orderForm input[name="name"],#orderForm input[name="phone"],#orderForm textarea[name="address"]{transition:box-shadow .15s ease}

.cart-toast-v30{position:fixed;right:22px;bottom:22px;z-index:99999;background:#222;color:#fff;padding:12px 18px;border-radius:12px;font-size:15px;box-shadow:0 8px 25px rgba(0,0,0,.18);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.cart-toast-v30.show{opacity:1;transform:translateY(0)}
@media(max-width:600px){.cart-toast-v30{left:16px;right:16px;bottom:18px;text-align:center}}

/* STEP 1 — visual header only. JavaScript is intentionally untouched. */
:root{
  --brown:#6a3f24;
  --brown-dark:#55301b;
  --mauve-beige:#e5c49a;
  --cream:#fbf6ee;
}
header{background:var(--cream)}
.topbar{
  width:100%;
  max-width:none;
  box-sizing:border-box;
  padding-inline:4%;
}
.brand img{background:transparent}
.actions{gap:10px}
.actions button{background:transparent}
.actions button:last-child{
  background:var(--brown);
  color:#fff;
  min-width:100px;
}
.actions i{background:#fff;color:var(--brown)}
nav{
  background:var(--mauve-beige);
  border-top:1px solid rgba(106,63,36,.08);
  border-bottom:1px solid rgba(106,63,36,.10);
}
nav a{color:var(--brown-dark)}
nav a.active{background:var(--brown);color:#fff}

/* STEP 2 — banner visual only; existing app.js remains untouched. */
.home-slider-v32{position:relative;width:92%;max-width:1400px;margin:26px auto 10px;height:420px;border-radius:24px;overflow:hidden;background:#e7c79b;box-shadow:0 10px 30px rgba(84,48,27,.10)}
.home-slide-v32{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.home-slide-v32.active{opacity:1}
.home-slide-v32>img{width:100%;height:100%;object-fit:cover;display:block}
.slide-content-v32{position:absolute;inset-inline-start:6%;top:50%;transform:translateY(-50%);color:#fff;direction:rtl;text-align:right;max-width:620px}
.slide-content-v32 span{display:inline-block;background:rgba(231,199,155,.92);color:#55301b;padding:8px 14px;border-radius:999px;font-weight:800;margin-bottom:15px}
.slide-content-v32 h1{font-size:46px;line-height:1.2;margin:0 0 12px;font-weight:900}
.slide-content-v32 p{font-size:20px;margin:0 0 22px;color:#f9ead5}
.slide-content-v32 a{display:inline-block;background:#fff;color:#6a3f24;padding:12px 20px;border-radius:12px;font-weight:800;text-decoration:none}
.slider-arrow-v32{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#6a3f24;font-size:34px;line-height:1;cursor:pointer;z-index:3}
.slider-arrow-v32.prev{left:18px}.slider-arrow-v32.next{right:18px}
.slider-dots-v32{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:7px;z-index:3}
.slider-dots-v32 span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.7)}
.slider-dots-v32 span.active{width:24px;border-radius:99px;background:#fff}
@media(max-width:800px){
 .home-slider-v32{width:94%;height:330px;border-radius:18px}
 .slide-content-v32{inset-inline-start:7%;max-width:75%}
 .slide-content-v32 h1{font-size:30px}
 .slide-content-v32 p{font-size:15px}
 .slide-content-v32 span{font-size:12px}
 .slider-arrow-v32{width:36px;height:36px;font-size:27px}
}

@keyframes bannerFadeV32{0%,28%{opacity:1}33%,95%{opacity:0}100%{opacity:1}}
.home-slide-v32:nth-child(1){animation:bannerFadeV32 15s infinite}
.home-slide-v32:nth-child(2){animation:bannerFadeV32 15s infinite 5s}
.home-slide-v32:nth-child(3){animation:bannerFadeV32 15s infinite 10s}

/* STEP 3 — category presentation */
#categoriesGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px}
#categoriesGrid>button{position:relative;min-height:125px;border:1px solid rgba(106,63,36,.10);border-radius:20px;background:#fffaf2;color:#55301b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
#categoriesGrid>button:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(84,48,27,.10);background:#f4e6d1}
#categoriesGrid>button>span{font-size:38px;line-height:1}
#categoriesGrid>button>b{font-size:16px}
#categoriesGrid .category-quick{background:#ead0a9}
#categoriesGrid .category-quick.coming-soon{opacity:.78}
#categoriesGrid .category-quick small{position:absolute;top:9px;right:9px;background:#6a3f24;color:#fff;border-radius:999px;padding:3px 7px;font-size:10px}
@media(max-width:600px){#categoriesGrid{grid-template-columns:repeat(3,1fr);gap:9px}#categoriesGrid>button{min-height:105px;border-radius:15px}#categoriesGrid>button>span{font-size:30px}#categoriesGrid>button>b{font-size:13px}}


/* V40 storefront redesign — visual only, existing logic preserved */
body{background:#fbf6ee;color:#3b2417}
header{background:#fff}
.topbar{width:100%;max-width:none;height:88px;padding:0 4%;background:linear-gradient(90deg,#6b3d21,#7b4a29);color:#fff;grid-template-columns:minmax(250px,1fr) minmax(380px,1.55fr) minmax(320px,1fr);gap:22px;box-sizing:border-box}
.brand{justify-content:flex-end;order:3;direction:rtl}.brand strong{color:#fff;font-size:22px}.brand small{color:#f2dfca}.brand img{width:72px;height:68px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.12))}
.search{order:2;background:#fff;border:0;border-radius:28px;height:52px;box-shadow:none;padding:0 20px}.search span{color:#6f4328}.search input{font-size:15px}
.actions{order:1;justify-content:flex-start;gap:8px}.actions button{background:transparent;color:#fff;padding:9px 12px;border-radius:14px}.actions button:hover{background:rgba(255,255,255,.12)}.actions button:last-child{background:#fff;color:#6f3f24}.actions i{background:#6f3f24;color:#fff}
nav{background:#f5eadb;border:0;height:56px;gap:28px;box-shadow:0 2px 10px rgba(76,44,24,.05)}nav a{font-size:14px}nav a.active{background:transparent;color:#6f3f24;border-bottom:3px solid #6f3f24;border-radius:0}
.home-slider-v32{margin:18px auto 0;width:94%;height:380px;border-radius:22px;box-shadow:0 10px 28px rgba(84,48,27,.12)}
.home-slide-v32 img{filter:saturate(.92)}.slide-content-v32{max-width:48%;padding:38px 6%;}.slide-content-v32 h1{font-size:clamp(34px,4vw,62px)}
.benefits{display:none}
.section{width:94%;padding:24px 0}.section-head{margin-bottom:16px}.section-head h2{font-size:26px;color:#5a331d}.section-head a{color:#6f3f24}
.categories-main-v40{display:flex;gap:15px;overflow-x:auto;padding:4px 3px 14px;scrollbar-width:none}.categories-main-v40::-webkit-scrollbar{display:none}
.main-category-v40{flex:0 0 102px;border:0;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px;color:#4b2b19}.main-category-v40 img{width:94px;height:94px;border-radius:50%;object-fit:cover;border:3px solid transparent;box-shadow:0 4px 14px rgba(79,46,25,.11);background:#eee}.main-category-v40:hover img,.main-category-v40.selected img{border-color:#7a4a29}.main-category-v40 b{font-size:14px;white-space:nowrap}.main-category-v40.selected b{font-weight:900}.main-category-v40.selected:after{content:"";width:70px;height:3px;background:#7a4a29;border-radius:99px;margin-top:-2px}
.categories-sub-v40{display:grid;grid-template-columns:repeat(8,minmax(95px,1fr));gap:12px;background:#fffaf4;border-radius:22px;padding:16px;box-shadow:0 5px 18px rgba(83,48,26,.06)}
.sub-category-v40{border:0;background:#f7ecdd;border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:7px;align-items:center;color:#4b2b19;min-height:126px;cursor:pointer}.sub-category-v40:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(83,48,26,.1)}.sub-category-v40 img{width:100%;height:82px;border-radius:11px;object-fit:cover}.sub-category-v40 b{font-size:13px}
.coming-category-v40{grid-column:1/-1;text-align:center;padding:24px}.coming-icon-v40 img{width:95px;height:95px;border-radius:50%;object-fit:cover}.coming-category-v40 h3{margin:10px 0 4px;color:#5a331d}.coming-category-v40 p{color:#77665a;margin:0 0 14px}.coming-category-v40 button{border:0;background:#6f3f24;color:#fff;border-radius:10px;padding:10px 16px;font-weight:800}
#grid{gap:16px}.card{border-color:#eadfd2;border-radius:16px;box-shadow:0 2px 8px rgba(74,43,24,.04)}.pic{background:#fffaf5;height:175px}.add{background:#7a4727;border-radius:10px}.card:hover{box-shadow:0 12px 28px rgba(74,43,24,.1)}
@media(max-width:900px){.topbar{grid-template-columns:1fr auto;grid-template-areas:"brand actions" "search search";height:auto;padding:10px 3%;gap:10px}.brand{grid-area:brand}.actions{grid-area:actions}.search{grid-area:search}.categories-sub-v40{grid-template-columns:repeat(4,1fr)}}
@media(max-width:650px){.home-slider-v32{height:290px;width:96%;border-radius:16px}.slide-content-v32{max-width:58%;padding:22px}.slide-content-v32 h1{font-size:29px}.slide-content-v32 p{font-size:12px}.main-category-v40{flex-basis:82px}.main-category-v40 img{width:76px;height:76px}.categories-sub-v40{grid-template-columns:repeat(2,1fr);padding:10px}.sub-category-v40 img{height:105px}.section{width:96%}.section-head h2{font-size:21px}}

/* V41 FIX — explicit header controls */
header{position:relative}
.header-extra-btn{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:5px;
  color:#fff!important;
  text-decoration:none!important;
  background:transparent!important;
  border:0;
  padding:9px 11px;
  border-radius:14px;
  white-space:nowrap;
  font-size:15px;
  cursor:pointer;
}
.header-extra-btn:hover{background:rgba(255,255,255,.12)!important}
.header-extra-btn:first-child{font-size:15px}
.menu-toggle-v41{
  position:absolute;
  top:20px;
  right:18px;
  z-index:50;
  width:42px;
  height:42px;
  padding:8px;
  border:0;
  border-radius:12px;
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  cursor:pointer;
  color:#fff;
}
.menu-toggle-v41 span{
  display:block;
  width:25px;
  height:3px;
  border-radius:99px;
  background:#fff;
}
.brand{padding-right:48px}
.header-contact-anchor-v41{display:block;height:0}
@media(max-width:900px){
  .menu-toggle-v41{top:13px;right:10px}
  .brand{padding-right:42px}
  .header-extra-btn{padding:8px 7px}
}
@media(max-width:600px){
  .header-extra-btn b{display:none}
  .header-extra-btn{font-size:22px;padding:7px}
}

/* V42 — requested header controls, forced visible */
header{position:relative}
#favoritesHeaderV42,
#contactHeaderV42{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--brown-dark) !important;
  background:rgba(255,255,255,.55) !important;
  border:1px solid rgba(106,63,36,.14) !important;
  border-radius:10px !important;
  min-height:42px;
  padding:8px 12px !important;
  font-size:14px !important;
  cursor:pointer;
}
#favoritesHeaderV42:hover,
#contactHeaderV42:hover{
  background:#fff !important;
}
.menu-toggle-v42{
  position:absolute !important;
  top:18px !important;
  right:16px !important;
  z-index:99999 !important;
  display:flex !important;
  width:44px !important;
  height:44px !important;
  padding:8px !important;
  margin:0 !important;
  border:1px solid rgba(106,63,36,.18) !important;
  border-radius:12px !important;
  background:#fff !important;
  color:var(--brown-dark) !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  cursor:pointer !important;
}
.menu-toggle-v42 span{
  display:block !important;
  width:25px !important;
  height:3px !important;
  border-radius:20px !important;
  background:var(--brown-dark) !important;
}
.topbar{padding-right:78px !important}
@media(max-width:800px){
  .menu-toggle-v42{top:12px !important;right:10px !important}
  .topbar{padding-right:62px !important}
}
@media(max-width:600px){
  #favoritesHeaderV42 b,#contactHeaderV42 b{display:none}
  #favoritesHeaderV42,#contactHeaderV42{min-width:40px;padding:7px 9px !important;font-size:20px !important}
}


/* V43 — final header + banner balance */
:root{--mauve-beige:#d8b98f;--brown-dark:#55301b}
body{background:#fbf7f0}
header{background:#fff}
.topbar{
  width:100%;max-width:none;height:92px;padding:0 3.5% 0 4%;
  background:#d8b98f;color:var(--brown-dark);
  display:grid;grid-template-columns:minmax(300px,1fr) minmax(420px,1.35fr) minmax(300px,1fr);
  align-items:center;gap:30px;box-sizing:border-box;
}
.brand{order:3;justify-content:flex-start;direction:rtl;padding-right:0!important;gap:10px}
.brand img{width:76px;height:70px;object-fit:contain;filter:none;background:transparent}
.brand strong{color:var(--brown-dark);font-size:21px}
.brand small{color:#704d34;font-size:10px}
.search{order:2;width:100%;height:48px;background:#fff;border:1px solid rgba(85,48,27,.12);border-radius:26px;box-shadow:0 2px 8px rgba(70,40,20,.08);padding:0 18px}
.search span{color:#6f4328}.search input{font-size:15px}
.actions{order:1;justify-content:flex-start;align-items:center;gap:10px;min-width:0}
.actions button{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:44px;padding:9px 14px;border:1px solid rgba(85,48,27,.14);
  border-radius:11px;background:#f9f1e7;color:var(--brown-dark);font-size:14px;white-space:nowrap;
}
.actions button:hover{background:#fff}
.actions button:last-child{background:var(--brown);color:#fff;border-color:var(--brown)}
.actions i{background:#fff;color:var(--brown);font-weight:800}
/* Keep the two customer controls visually identical and give the search breathing room. */
#customerAccountBtnV22,#cartOpen{min-width:108px}
#cartOpen{margin-inline-start:4px}
#favoritesHeaderV42,#contactHeaderV42{display:none!important}
.menu-toggle-v42{top:24px!important;right:18px!important;background:transparent!important;border:0!important;width:40px!important;height:40px!important}
.menu-toggle-v42 span{background:var(--brown-dark)!important}
.topbar{padding-right:70px!important}
nav{background:#f5eadb;border:0;height:54px;gap:28px;box-shadow:0 2px 10px rgba(76,44,24,.05)}
nav a{color:var(--brown-dark);font-size:14px}nav a.active{background:transparent;color:var(--brown-dark);border-bottom:3px solid var(--brown-dark);border-radius:0}

.home-slider-v32{
  position:relative;width:94%;max-width:1380px;height:365px;margin:18px auto 0;
  border-radius:20px;overflow:hidden;background:#e8d3bb;box-shadow:0 8px 24px rgba(84,48,27,.10)
}
.home-slide-v32>img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.92)}
.home-slide-v32:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(46,25,15,.58) 0%,rgba(46,25,15,.22) 38%,rgba(46,25,15,0) 68%);pointer-events:none}
.slide-content-v32{
  position:absolute;left:6%;right:auto;top:50%;transform:translateY(-50%);z-index:2;
  width:min(48%,560px);max-width:none;padding:0;color:#fff;direction:rtl;text-align:right
}
.slide-content-v32 span{background:rgba(216,185,143,.95);color:#55301b;padding:7px 13px;border-radius:999px;font-size:13px;margin-bottom:12px}
.slide-content-v32 h1{font-size:clamp(34px,4vw,56px);line-height:1.18;margin:0 0 10px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.slide-content-v32 p{font-size:18px;margin:0 0 18px;color:#fff8f0}
.slide-content-v32 a{background:#fff;color:#6a3f24;padding:11px 19px;border-radius:11px}
.slider-arrow-v32{width:40px;height:40px;font-size:30px}
.slider-dots-v32{bottom:12px}
@media(max-width:1000px){
  .topbar{grid-template-columns:minmax(240px,1fr) minmax(300px,1.2fr) minmax(245px,1fr);gap:16px}
  #customerAccountBtnV22,#cartOpen{min-width:96px;padding:8px 10px}
}
@media(max-width:800px){
  .topbar{grid-template-columns:1fr auto;grid-template-areas:"brand actions" "search search";height:auto;padding:10px 3.5% 12px!important;gap:9px}
  .brand{grid-area:brand}.actions{grid-area:actions}.search{grid-area:search}
  .brand img{width:60px;height:56px}.brand strong{font-size:18px}.brand small{font-size:9px}
  .actions{gap:7px}.actions button{min-height:40px;padding:7px 9px;font-size:13px}
  #customerAccountBtnV22,#cartOpen{min-width:86px}
  .menu-toggle-v42{top:14px!important;right:8px!important}
  .home-slider-v32{width:94%;height:320px;border-radius:17px}
  .slide-content-v32{left:7%;width:62%}.slide-content-v32 h1{font-size:29px}.slide-content-v32 p{font-size:14px}
}
@media(max-width:520px){
  .brand{padding-right:38px!important}.actions b{display:none}
  #customerAccountBtnV22,#cartOpen{min-width:42px;width:42px;padding:7px;font-size:20px}
  .home-slider-v32{height:285px}.slide-content-v32{left:8%;width:66%}.slide-content-v32 h1{font-size:25px}.slide-content-v32 p{font-size:12px;margin-bottom:12px}.slide-content-v32 a{padding:9px 13px;font-size:12px}
}


/* V44 — brown header + favorites beside menu */
.topbar{background:#6a3f24 !important;color:#fff !important;}
.brand strong,.brand small{color:#fff !important;}
.actions button{background:#f9f1e7 !important;color:#55301b !important;}
.actions button:last-child{background:#55301b !important;color:#fff !important;border-color:#55301b !important;}
.actions i{background:#fff !important;color:#55301b !important;}
.menu-toggle-v42{right:16px !important;background:transparent !important;border:0 !important;}
.menu-toggle-v42 span{background:#fff !important;}
.favorites-menu-v44{
  position:absolute !important;right:68px !important;top:24px !important;z-index:100000 !important;
  width:40px !important;height:40px !important;padding:0 !important;margin:0 !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  border:1px solid rgba(255,255,255,.35) !important;border-radius:10px !important;
  background:rgba(255,255,255,.12) !important;color:#fff !important;
  font-size:25px !important;line-height:1 !important;cursor:pointer !important;
}
.favorites-menu-v44:hover{background:rgba(255,255,255,.22) !important;}
.topbar{padding-right:118px !important;}
@media(max-width:800px){
  .favorites-menu-v44{right:56px !important;top:14px !important;width:38px !important;height:38px !important;}
  .topbar{padding-right:108px !important;}
}
@media(max-width:520px){
  .favorites-menu-v44{right:52px !important;top:12px !important;width:36px !important;height:36px !important;font-size:23px !important;}
  .topbar{padding-right:100px !important;}
}


/* V45 — favorites button visibility fix */
header{position:relative !important; overflow:visible !important;}
#favoritesHeaderV42.favorites-menu-v44{
  position:absolute !important;
  top:24px !important;
  right:66px !important;
  z-index:2147483647 !important;
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  width:88px !important;
  height:40px !important;
  padding:0 10px !important;
  box-sizing:border-box !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  border:1px solid rgba(255,255,255,.35) !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:800 !important;
}
#favoritesHeaderV42::after{content:'المفضلة';}
.topbar{padding-right:170px !important;}
@media(max-width:800px){
  #favoritesHeaderV42.favorites-menu-v44{top:14px !important;right:54px !important;width:40px !important;padding:0 !important;font-size:23px !important;}
  #favoritesHeaderV42::after{content:'';}
  .topbar{padding-right:108px !important;}
}
@media(max-width:520px){
  #favoritesHeaderV42.favorites-menu-v44{top:12px !important;right:48px !important;width:38px !important;height:36px !important;font-size:22px !important;}
  .topbar{padding-right:96px !important;}
}

/* V47 — main menu only */
.site-menu-drawer-v47[hidden]{display:none!important}
.site-menu-panel-v47{width:min(390px,92vw);max-width:390px}
.site-menu-list-v47{
  display:grid!important;
  grid-template-columns:1fr;
  gap:0!important;
  width:100%;
  height:auto!important;
  min-height:0;
  padding:8px 0!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  white-space:normal!important;
  overflow:visible!important;
  border:0!important;
}
.site-menu-list-v47 button{
  width:100%;
  min-height:52px;
  border:0;
  border-bottom:1px solid #eee6df;
  background:#fff!important;
  border-radius:0;
  padding:14px 8px;
  text-align:right;
  direction:rtl;
  cursor:pointer;
  font:inherit;
  font-weight:700;
  color:#4b301f;
  display:flex;
  align-items:center;
  gap:12px;
}
.site-menu-list-v47 button:first-child{border-top:1px solid #eee6df}
.site-menu-list-v47 button:hover{background:#fffaf6!important;color:#6a3f24}
.site-menu-list-v47 button span{flex:1}

/* V52 hierarchical categories */
.main-category-icon-v52,.sub-category-icon-v52{font-size:42px;line-height:1;margin-bottom:8px}
.category-empty-v52{grid-column:1/-1;padding:30px;text-align:center;color:#765f4d}
.sub-category-back-v52{grid-column:1/-1;border:0;background:#f3e5d0;border-radius:12px;padding:10px 16px;cursor:pointer;color:#5b351f;font-weight:700}
.sub-category-title-v52{grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:22px;color:#5b351f;margin:4px 0}
.cat-admin-add-v52{background:#fff8ef;border:1px solid #ead8bd;border-radius:16px;padding:16px;margin-bottom:18px}
.cat-admin-add-v52 h3{margin:0 0 10px;color:#5b351f}
.cat-admin-form-v52{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.cat-admin-form-v52 input,.cat-admin-form-v52 select{min-height:42px;border:1px solid #dbc5a7;border-radius:9px;padding:8px 10px;background:#fff}
.cat-admin-form-v52 button{min-height:42px;border:0;border-radius:9px;padding:8px 14px;background:#6a3b1e;color:#fff;font-weight:700;cursor:pointer}
.cat-admin-group-v52{border:1px solid #ead8bd;border-radius:14px;margin:12px 0;overflow:hidden;background:#fff}
.cat-admin-main-row-v52,.cat-admin-child-row-v52{display:flex;gap:7px;align-items:center;padding:10px;flex-wrap:wrap}
.cat-admin-main-row-v52{background:#f3e5d0}
.cat-admin-child-row-v52{padding-right:28px;border-top:1px solid #f0e5d5}
.cat-admin-main-row-v52 input,.cat-admin-child-row-v52 input,.cat-admin-child-row-v52 select{min-height:36px;border:1px solid #d9c5a8;border-radius:8px;padding:6px 8px;background:#fff}
.cat-name-v52{min-width:170px;flex:1}.cat-order-v52{width:85px}.cat-emoji-v52{width:60px}.cat-parent-v52{min-width:140px}
.cat-save-v52,.cat-delete-v52{border:0;border-radius:8px;padding:8px 11px;cursor:pointer;font-weight:700}
.cat-save-v52{background:#6a3b1e;color:#fff}.cat-delete-v52{background:#f3d7d2;color:#8b2f24}
.cat-no-children-v52{padding:12px 28px;color:#8a7766}
@media(max-width:700px){
 .cat-admin-form-v52>*{width:100%}.cat-admin-main-row-v52>*{flex:1 1 42%}.cat-admin-child-row-v52>*{flex:1 1 40%}
}

/* V53 category images */
.main-category-icon-v52 img,
.sub-category-icon-v52 img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  display:block;
}
.cat-image-preview-v53 img{
  width:42px;height:42px;object-fit:cover;border-radius:8px;vertical-align:middle;
}
.cat-image-v53{max-width:180px}

/* V55 category image upload fields */
.cat-admin-form-v52 input[type="file"],
.cat-admin-main-row-v52 input[type="file"],
.cat-admin-child-row-v52 input[type="file"]{
  max-width:220px;
  padding:7px;
  border:1px solid #d8c5a8;
  border-radius:8px;
  background:#fff;
}

/* V56: hide the homepage breadcrumb only */
body.home-page .breadcrumb,
body.home-page #breadcrumb,
body.home-page .breadcrumbs,
body.home-page .breadcrumb-bar,
body.home-page [data-breadcrumb]{display:none!important}

/* V57 — remove the old horizontal homepage navigation.
   The side menu remains the only customer navigation. */
.home-slider-v32{margin-top:0!important;}

/* V58 — add breathing room below the header after removing the old horizontal nav.
   Keeps the banner from feeling stuck to the header; mobile remains responsive. */
.site-header{margin-bottom:18px!important;}
@media (max-width: 768px){
  .site-header{margin-bottom:12px!important;}
}

/* V59 — actual header spacing fix */
.topbar{
  margin-bottom:20px !important;
}
@media(max-width:900px){
  .topbar{
    margin-bottom:14px !important;
  }
}
@media(max-width:520px){
  .topbar{
    margin-bottom:10px !important;
  }
}

/* V60 slider + admin controls */
.home-slider-v32{position:relative;overflow:hidden}
.home-slide-v32{display:none;position:relative}
.home-slide-v32.active{display:block}
.slider-arrow-v60{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#6a3b1e;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.slider-arrow-v60.prev{left:14px}.slider-arrow-v60.next{right:14px}
.slider-dots-v60{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:7px;z-index:5}
.slider-dots-v60 button{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.65);cursor:pointer}
.slider-dots-v60 button.active{background:#6a3b1e}
.slider-admin-add-v60,.slider-admin-row-v60{background:#fff;border:1px solid #eadbc7;border-radius:14px;padding:16px;margin:14px 0}
.slider-admin-form-v60{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.slider-admin-form-v60 input,.slider-admin-fields-v60 input{width:100%;box-sizing:border-box;padding:10px;border:1px solid #dbc8ad;border-radius:9px}
.slider-admin-form-v60 button,.slider-admin-actions-v60 button{border:0;border-radius:9px;padding:10px 14px;background:#6a3b1e;color:#fff;cursor:pointer}
.slider-admin-row-v60{display:grid;grid-template-columns:130px 1fr auto;gap:14px;align-items:start}
.slider-admin-row-v60>img{width:130px;height:78px;object-fit:cover;border-radius:9px}
.slider-admin-fields-v60{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.slider-admin-actions-v60{display:flex;gap:7px;flex-direction:column}
.slider-admin-actions-v60 button:last-child{background:#a33}
.admin-error-v60{padding:14px;background:#fff1f1;border-radius:10px}
@media(max-width:700px){
 .slider-admin-form-v60,.slider-admin-fields-v60{grid-template-columns:1fr}
 .slider-admin-row-v60{grid-template-columns:1fr}
 .slider-admin-row-v60>img{width:100%;height:130px}
 .slider-admin-actions-v60{flex-direction:row}
}

/* V63 — simple product description */
.detail-info-v19 .detail-description-v63{
  margin:12px 0 16px;
  padding:12px 14px;
  background:#f8f1e7;
  border-radius:10px;
  line-height:1.8;
  color:#4b392d;
  font-size:15px;
}

/* V64 — dynamic categories inside the three-lines menu */
.menu-section-title-v64{padding:12px 14px 7px;color:#7a553b;font-weight:800;font-size:14px}
.site-menu-categories-v64{display:flex;flex-direction:column;gap:4px}
.site-menu-category-v64{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:0;background:transparent;text-align:right;font:inherit;color:inherit;border-radius:10px;cursor:pointer}
.site-menu-category-v64:hover{background:#f5ecdf}
.menu-cat-icon-v64{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px}
.menu-cat-icon-v64 img{width:30px;height:30px;object-fit:cover;border-radius:7px}
.menu-category-loading-v64,.menu-category-empty-v64{padding:10px 14px;color:#8a7768;font-size:14px}

/* V64 menu categories — full-width rows, expandable on desktop and mobile */
.site-menu-category-v64{justify-content:flex-start!important;gap:10px!important;padding:12px 14px!important;min-height:50px!important;background:#fff!important}
.site-menu-category-v64 .menu-cat-name-v64{flex:1;text-align:right;font-weight:800}
.site-menu-category-v64 .menu-cat-arrow-v64{font-size:16px;color:#7a553b;font-weight:900;line-height:1}
.site-menu-category-v64.is-open{background:#f8f0e6!important;color:#6a3f24}
.site-menu-category-group-v64{width:100%}
.site-menu-subcategories-v64{background:#fbf7f2;border-bottom:1px solid #eee6df}
.site-menu-subcategory-v64{width:100%;min-height:44px;border:0!important;border-bottom:1px solid #eee6df!important;background:transparent!important;padding:10px 24px 10px 14px!important;text-align:right;direction:rtl;display:flex;align-items:center;gap:10px;cursor:pointer;color:#5b4030;font:inherit;font-weight:650}
.site-menu-subcategory-v64:hover{background:#f5ecdf!important;color:#6a3f24}
.site-menu-subcategory-v64 .menu-cat-icon-v64{width:26px;height:26px;flex:0 0 26px}
.site-menu-subcategory-v64 .menu-cat-icon-v64 img{width:26px;height:26px}
@media(max-width:600px){
  .site-menu-panel-v47{width:min(390px,94vw);max-width:390px}
  .site-menu-category-v64{min-height:48px!important;padding:11px 12px!important}
  .site-menu-subcategory-v64{min-height:42px;padding:9px 20px 9px 12px!important}
}

.feature-flags-v65{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 16px}
.feature-flags-v65 label{display:flex;align-items:center;gap:7px;background:#f8f1e5;border:1px solid #e3d3bd;border-radius:10px;padding:9px 12px;cursor:pointer}
.feature-flags-v65 input{accent-color:#6a3b1e}
.feature-badges-v65{font-size:12px;color:#6a3b1e;margin-top:5px;font-weight:600}

.feature-empty-v66{grid-column:1/-1;text-align:center;padding:30px 18px;border:1px dashed #d8c3a5;border-radius:14px;background:#fbf6ee;color:#6a3b1e;display:flex;flex-direction:column;gap:7px}
.feature-empty-v66 span{color:#75685d;font-size:14px}

.customer-orders-panel-v68{max-width:680px !important}
.customer-orders-list-v68{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.customer-order-card-v68{background:#fbf6ee;border:1px solid #e3d3bd;border-radius:14px;padding:14px 16px;text-align:right}
.customer-order-head-v68{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px}
.customer-order-head-v68 span{background:#ead4ad;color:#5d351d;border-radius:999px;padding:4px 9px;font-size:12px}
.customer-order-card-v68 small{color:#7c7066}
.customer-order-card-v68 p{margin:10px 0;color:#4d4138;line-height:1.7}
.customer-order-total-v68{border-top:1px solid #e3d3bd;padding-top:9px;color:#5d351d}

.customer-orders-panel-v68{max-width:760px !important}
.customer-orders-list-v68{display:flex;flex-direction:column;gap:16px;margin-top:16px}
.customer-order-card-v71{background:#fffdf9;border:1px solid #e3d3bd;border-radius:16px;padding:16px;box-shadow:0 4px 16px rgba(90,55,25,.06);text-align:right}
.customer-order-head-v68{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid #eadfce}
.customer-order-head-v68>div{display:flex;flex-direction:column;gap:4px}
.customer-order-head-v68 small{color:#7c7066;font-size:12px}
.order-status-v71{border-radius:999px;padding:5px 10px;font-size:12px;background:#eee6dc;color:#5d4633;white-space:nowrap}
.order-status-v71.new{background:#ead4ad}
.order-status-v71.processing{background:#e7dcc8}
.order-status-v71.delivered{background:#dce8d7}
.order-status-v71.cancelled{background:#ead8d8}
.customer-order-meta-v71{font-size:13px;color:#6c5b4d;padding:11px 0}
.customer-order-items-v71{display:flex;flex-direction:column;gap:10px}
.customer-order-item-v71{display:flex;align-items:center;gap:11px;padding:9px;background:#fbf6ee;border-radius:12px}
.customer-order-item-image-v71{width:62px;height:62px;flex:0 0 62px;border-radius:10px;overflow:hidden;background:#fff}
.customer-order-item-image-v71 img{width:100%;height:100%;object-fit:cover}
.customer-order-item-info-v71{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.customer-order-item-info-v71 strong{font-size:14px;color:#4d3829}
.customer-order-item-info-v71 span{font-size:12px;color:#796b60}
.customer-order-item-total-v71{white-space:nowrap;color:#5d351d}
.customer-order-summary-v71{margin-top:13px;padding-top:10px;border-top:1px solid #eadfce}
.customer-order-summary-v71>div{display:flex;justify-content:space-between;padding:4px 0;color:#6c5b4d;font-size:13px}
.customer-order-summary-v71 .grand{font-size:16px;color:#4d3829;margin-top:4px}
.reorder-btn-v71{width:100%;margin-top:13px;border:0;border-radius:11px;padding:11px;background:#6a3b1e;color:#fff;font-weight:700;cursor:pointer}
.reorder-btn-v71:hover{opacity:.92}
@media(max-width:600px){
  .customer-order-card-v71{padding:12px}
  .customer-order-item-image-v71{width:54px;height:54px;flex-basis:54px}
  .customer-order-item-total-v71{font-size:13px}
}

/* V73 — clean customer orders display */
#customerOrdersV68{align-items:flex-start;padding:22px 12px;overflow-y:auto;box-sizing:border-box}
#customerOrdersV68 .customer-orders-panel-v68{
  width:min(720px,96vw)!important;
  max-width:720px!important;
  max-height:calc(100vh - 44px);
  overflow-y:auto;
  padding:22px!important;
  border-radius:20px;
  margin:auto;
}
#customerOrdersV68 h2{font-size:22px;margin:0 0 5px}
#customerOrdersV68 .profile-note-v23{margin:0 0 12px}
#customerOrdersV68 .customer-profile-close-v23{z-index:2}
#customerOrdersListV68{display:flex;flex-direction:column;gap:14px;margin-top:14px}
#customerOrdersListV68 .customer-order-card-v71{
  background:#fff;
  border:1px solid #e7d9c7;
  border-radius:16px;
  padding:14px;
  box-shadow:0 3px 12px rgba(70,45,25,.07);
}
#customerOrdersListV68 .customer-order-head-v68{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid #eee3d6;
}
#customerOrdersListV68 .customer-order-head-v68 strong{font-size:16px;color:#4b3424}
#customerOrdersListV68 .customer-order-head-v68 small{display:block;margin-top:3px;color:#82766c;font-size:12px}
#customerOrdersListV68 .order-status-v71{font-size:11px;font-weight:700;padding:5px 9px}
#customerOrdersListV68 .customer-order-meta-v71{
  display:inline-block;margin-bottom:9px;padding:5px 9px;
  border-radius:8px;background:#faf4eb;color:#725c49;font-size:12px;
}
#customerOrdersListV68 .customer-order-items-v71{display:flex;flex-direction:column;gap:7px}
#customerOrdersListV68 .customer-order-item-v71{
  display:grid;grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;gap:10px;padding:8px 9px;
  background:#fbf8f3;border:1px solid #f0e6d9;border-radius:11px;
}
#customerOrdersListV68 .customer-order-item-image-v71{
  width:58px;height:58px;flex:0 0 58px;border-radius:9px;overflow:hidden;background:#fff;
}
#customerOrdersListV68 .customer-order-item-info-v71{min-width:0;display:flex;flex-direction:column;gap:2px}
#customerOrdersListV68 .customer-order-item-info-v71 strong{
  font-size:13px;color:#4b382a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#customerOrdersListV68 .customer-order-item-info-v71 span{font-size:11px;color:#7d7065}
#customerOrdersListV68 .customer-order-item-total-v71{font-size:13px;color:#5f351d;white-space:nowrap}
#customerOrdersListV68 .customer-order-summary-v71{
  margin-top:10px;padding-top:8px;border-top:1px solid #eee3d6;
}
#customerOrdersListV68 .customer-order-summary-v71>div{
  display:flex;justify-content:space-between;align-items:center;padding:3px 0;
  font-size:12px;color:#75685d;
}
#customerOrdersListV68 .customer-order-summary-v71 .grand{
  margin-top:4px;padding-top:7px;border-top:1px dashed #dfd0bd;
  font-size:15px;color:#4b3424;
}
#customerOrdersListV68 .reorder-btn-v71{
  width:100%;margin-top:11px;padding:10px;border:0;border-radius:10px;
  background:#6a3b1e;color:#fff;font-size:14px;font-weight:700;cursor:pointer;
}
@media(max-width:600px){
  #customerOrdersV68{padding:10px 7px}
  #customerOrdersV68 .customer-orders-panel-v68{
    width:100%!important;max-height:calc(100vh - 20px);padding:16px!important;border-radius:16px;
  }
  #customerOrdersListV68 .customer-order-item-v71{grid-template-columns:50px minmax(0,1fr) auto;gap:8px}
  #customerOrdersListV68 .customer-order-item-image-v71{width:50px;height:50px;flex-basis:50px}
  #customerOrdersListV68 .customer-order-item-info-v71 strong{font-size:12px}
  #customerOrdersListV68 .customer-order-item-total-v71{font-size:12px}
}

/* V74 — contact information card */
#contactV74.contact-v74{
  position:fixed;inset:0;z-index:2147483647;
  background:rgba(43,29,19,.58);
  display:flex;align-items:center;justify-content:center;
  padding:18px;box-sizing:border-box;direction:rtl;
}
#contactV74[hidden]{display:none!important}
.contact-panel-v74{
  position:relative;width:min(520px,96vw);max-height:calc(100vh - 36px);
  overflow-y:auto;box-sizing:border-box;
  background:linear-gradient(180deg,#fffdf9 0%,#fbf3e8 100%);
  border:1px solid #ead7bf;border-radius:24px;
  padding:30px 28px 26px;text-align:right;
  box-shadow:0 22px 70px rgba(35,22,12,.28);
}
.contact-close-v74{
  position:absolute;top:12px;left:12px;width:36px;height:36px;
  border:0;border-radius:50%;background:#f1e4d4;color:#6a3b1e;
  font-size:25px;line-height:1;cursor:pointer;
}
.contact-icon-v74{
  width:62px;height:62px;margin:0 auto 10px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:#ead7bd;font-size:31px;
}
.contact-panel-v74 h2{
  margin:0;text-align:center;color:#5a321b;font-size:24px;
}
.contact-divider-v74{
  width:65px;height:3px;border-radius:10px;background:#b88b5a;
  margin:11px auto 20px;
}
.contact-section-v74{
  background:#fff;border:1px solid #eee0cf;border-radius:15px;
  padding:14px 16px;margin-bottom:12px;
}
.contact-section-v74 h3{
  margin:0 0 8px;color:#62391f;font-size:16px;
}
.contact-section-v74 p{
  margin:0;color:#5f544b;font-size:14px;line-height:1.9;
}
.contact-location-v74{margin-top:8px!important}
.contact-hours-v74{text-align:center!important}
.contact-whatsapp-v74{
  margin-top:15px;display:flex;align-items:center;justify-content:center;
  gap:8px;flex-wrap:wrap;text-decoration:none;
  background:#6a3b1e;color:#fff;border-radius:14px;
  padding:14px 16px;box-shadow:0 7px 18px rgba(74,42,22,.16);
  transition:transform .15s ease,opacity .15s ease;
}
.contact-whatsapp-v74:hover{transform:translateY(-1px);opacity:.94}
.contact-whatsapp-v74 strong{direction:ltr;font-size:14px;margin-right:3px}
@media(max-width:600px){
  #contactV74.contact-v74{padding:10px}
  .contact-panel-v74{width:100%;padding:25px 17px 19px;border-radius:19px}
  .contact-panel-v74 h2{font-size:21px}
  .contact-section-v74 p{font-size:13px}
}

.contact-social-v75 h3{text-align:right}
.contact-social-links-v75{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.contact-social-links-v75 a{min-height:48px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;text-decoration:none;font-size:13px;border:1px solid #eadfce;background:#fff;color:#4f4035;transition:transform .15s ease,box-shadow .15s ease}
.contact-social-links-v75 a:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(70,45,25,.08)}
.contact-social-links-v75 a span{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:7px;font-size:17px;font-weight:800;line-height:1}
.social-facebook-v75 span{background:#e5edf9;color:#315c9b}
.social-instagram-v75 span{background:#f4e4ee;color:#a33c72}
.social-tiktok-v75 span{background:#e9e9e9;color:#222}
@media(max-width:600px){.contact-social-links-v75{grid-template-columns:1fr}.contact-social-links-v75 a{min-height:44px}}

/* V78 — cleaner Instagram & TikTok icons */
.contact-social-links-v75 a span.icon-instagram-v78,
.contact-social-links-v75 a span.icon-tiktok-v78{
  width:27px;height:27px;flex:0 0 27px;
  border-radius:8px;position:relative;
  display:inline-block;box-sizing:border-box;
}
.icon-instagram-v78{
  border:2px solid #a83f72;
  background:linear-gradient(135deg,#f7d6a9,#e7a0b7 48%,#9b4b91);
}
.icon-instagram-v78:before{
  content:"";position:absolute;left:6px;top:6px;width:9px;height:9px;
  border:2px solid #fff;border-radius:50%;box-sizing:border-box;
}
.icon-instagram-v78:after{
  content:"";position:absolute;right:4px;top:4px;width:4px;height:4px;
  background:#fff;border-radius:50%;
}
.icon-tiktok-v78{
  background:#171717;color:#fff!important;
  font-size:19px!important;font-weight:800!important;
  line-height:27px!important;text-align:center;
  text-shadow:2px 0 #2ee7ee,-2px 0 #ff3b6b;
}


/* V80 MOBILE HEADER POLISH — mobile only; desktop/tablet layout is unchanged. */
@media (max-width:600px){
  /* Give the mobile header its own two-row layout: controls + brand, then search. */
  .topbar{
    position:relative!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"brand" "search"!important;
    grid-template-rows:auto auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:10px 12px 14px!important;
    gap:10px!important;
    box-sizing:border-box!important;
  }

  .brand{
    grid-area:brand!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    padding:0 88px!important;
    gap:7px!important;
    box-sizing:border-box!important;
    text-align:center!important;
  }
  .brand img{
    width:54px!important;
    height:52px!important;
    flex:0 0 auto!important;
  }
  .brand strong{
    font-size:16px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  .brand small{
    display:block!important;
    font-size:8px!important;
    line-height:1.2!important;
    margin-top:2px!important;
    white-space:nowrap!important;
  }

  /* Keep account/cart together on the left without squeezing the logo. */
  .actions{
    position:absolute!important;
    left:12px!important;
    top:13px!important;
    z-index:100001!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    width:auto!important;
    min-width:0!important;
    justify-content:flex-start!important;
  }
  .actions button{
    min-width:42px!important;
    width:42px!important;
    height:40px!important;
    min-height:40px!important;
    padding:7px!important;
    margin:0!important;
    border-radius:10px!important;
    font-size:19px!important;
    line-height:1!important;
    gap:0!important;
  }
  .actions button b{display:none!important;}
  #adminOpen{display:none!important;}
  #contactHeaderV42{display:none!important;}
  #customerAccountBtnV22,#cartOpen{
    min-width:42px!important;
    width:42px!important;
  }
  #cartOpen{margin-inline-start:0!important;}
  .actions i{
    min-width:16px!important;
    height:16px!important;
    padding:0 3px!important;
    font-size:10px!important;
    line-height:16px!important;
    border-radius:999px!important;
  }

  /* Menu + favourites stay separated from the left-side controls. */
  .menu-toggle-v42{
    top:12px!important;
    right:10px!important;
    width:40px!important;
    height:40px!important;
    z-index:100002!important;
  }
  #favoritesHeaderV42.favorites-menu-v44{
    top:12px!important;
    right:56px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    padding:0!important;
    z-index:100002!important;
    font-size:22px!important;
  }
  #favoritesHeaderV42::after{content:''!important;}

  .search{
    grid-area:search!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:46px!important;
    margin:0!important;
    box-sizing:border-box!important;
    border-radius:24px!important;
    padding:0 15px!important;
  }
  .search input{font-size:14px!important;}
  .search span{font-size:24px!important;}
}

@media (max-width:380px){
  .brand{padding-left:78px!important;padding-right:78px!important;}
  .brand img{width:50px!important;height:48px!important;}
  .brand strong{font-size:15px!important;}
  .brand small{font-size:7.5px!important;}
  .actions{left:8px!important;}
  .menu-toggle-v42{right:7px!important;}
  #favoritesHeaderV42.favorites-menu-v44{right:50px!important;}
}

/* V81 — mobile-only 3-row header. Desktop is intentionally untouched. */
@media (max-width: 768px){
  .topbar{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:10px !important;
    padding:12px 14px 14px !important;
    width:100% !important;
    box-sizing:border-box !important;
  }

  .brand{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    min-height:64px !important;
    order:1 !important;
  }

  .brand img{
    width:54px !important;
    height:54px !important;
    object-fit:contain !important;
  }

  .brand strong,
  .brand span{
    font-size:16px !important;
  }

  .actions{
    width:100% !important;
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:repeat(4, 1fr) !important;
    gap:8px !important;
    order:2 !important;
    justify-content:stretch !important;
  }

  .actions button,
  .actions a{
    width:100% !important;
    min-width:0 !important;
    height:44px !important;
    min-height:44px !important;
    padding:7px 5px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    box-sizing:border-box !important;
    white-space:nowrap !important;
    font-size:13px !important;
  }

  .search,
  .search-wrap,
  .topbar form{
    width:100% !important;
    max-width:none !important;
    order:3 !important;
  }

  .search input,
  .search-wrap input,
  .topbar form input{
    width:100% !important;
    box-sizing:border-box !important;
    min-height:44px !important;
  }
}

@media (max-width: 390px){
  .topbar{padding-left:10px !important;padding-right:10px !important}
  .actions{gap:6px !important}
  .actions button,.actions a{font-size:12px !important;padding-left:3px !important;padding-right:3px !important}
  .brand img{width:50px !important;height:50px !important}
}

/* V82 — mobile header de-clutter only. Desktop/large screens are unchanged. */
@media (max-width: 768px){
  .topbar{
    position:relative!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"brand" "search"!important;
    grid-template-rows:auto auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:10px 12px 14px!important;
    gap:10px!important;
    box-sizing:border-box!important;
  }

  /* One clean first row: logo in the middle, account/cart on the left,
     menu/favourites on the right. */
  .brand{
    grid-area:brand!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:54px!important;
    padding:0 92px!important;
    gap:7px!important;
    box-sizing:border-box!important;
    text-align:center!important;
  }
  .brand img{
    width:52px!important;
    height:50px!important;
    flex:0 0 auto!important;
  }
  .brand strong{
    font-size:16px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  .brand small{
    display:block!important;
    font-size:8px!important;
    line-height:1.2!important;
    margin-top:2px!important;
    white-space:nowrap!important;
  }

  /* Only the two customer controls stay in the header on phones.
     Contact is already in the menu and admin remains desktop-only. */
  .actions{
    position:absolute!important;
    left:12px!important;
    top:13px!important;
    z-index:100001!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    width:auto!important;
    min-width:0!important;
    justify-content:flex-start!important;
  }
  .actions button{
    min-width:42px!important;
    width:42px!important;
    height:40px!important;
    min-height:40px!important;
    padding:7px!important;
    margin:0!important;
    border-radius:10px!important;
    font-size:19px!important;
    line-height:1!important;
    gap:0!important;
  }
  .actions button b{display:none!important;}
  #adminOpen,#contactHeaderV42{display:none!important;}
  #customerAccountBtnV22,#cartOpen{min-width:42px!important;width:42px!important;}
  #cartOpen{margin-inline-start:0!important;}
  .actions i{
    min-width:16px!important;
    height:16px!important;
    padding:0 3px!important;
    font-size:10px!important;
    line-height:16px!important;
    border-radius:999px!important;
  }

  .menu-toggle-v42{
    top:12px!important;
    right:10px!important;
    width:40px!important;
    height:40px!important;
    z-index:100002!important;
  }
  #favoritesHeaderV42.favorites-menu-v44{
    top:12px!important;
    right:56px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    padding:0!important;
    z-index:100002!important;
    font-size:22px!important;
  }
  #favoritesHeaderV42::after{content:''!important;}

  .search{
    grid-area:search!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:46px!important;
    margin:0!important;
    box-sizing:border-box!important;
    border-radius:24px!important;
    padding:0 15px!important;
  }
  .search input{font-size:14px!important;}
  .search span{font-size:24px!important;}
}

@media (max-width: 390px){
  .topbar{padding-left:10px!important;padding-right:10px!important;}
  .brand{padding-left:76px!important;padding-right:76px!important;gap:5px!important;}
  .brand img{width:46px!important;height:46px!important;}
  .brand strong{font-size:14px!important;}
  .brand small{font-size:7px!important;}
  .actions{left:8px!important;}
  .actions button{min-width:40px!important;width:40px!important;height:38px!important;min-height:38px!important;}
  .menu-toggle-v42{right:7px!important;}
  #favoritesHeaderV42.favorites-menu-v44{right:50px!important;width:36px!important;height:36px!important;}
}


/* V83 — cleaner account icon + hide header controls behind overlays */
.account-icon-v82{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;flex:0 0 19px}
.account-icon-v82 svg{width:19px;height:19px;display:block;fill:currentColor}
#customerAccountBtnV22{gap:7px}

/* When a drawer/modal is open, the header controls must not sit above it. */
body.ui-overlay-open header .actions,
body.ui-overlay-open #favoritesHeaderV42,
body.ui-overlay-open #menuToggleV42{visibility:hidden!important;pointer-events:none!important}

/* V84 — mobile text branding only. Desktop remains completely unchanged. */
@media (max-width: 768px){
  .brand img{display:none!important;}
  .brand{
    justify-content:center!important;
    padding-left:88px!important;
    padding-right:88px!important;
    gap:0!important;
  }
  .brand > div{text-align:center!important;min-width:0!important;}
  .brand strong{
    display:block!important;
    font-size:18px!important;
    font-weight:900!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  .brand small{
    display:block!important;
    font-size:9px!important;
    font-weight:600!important;
    line-height:1.3!important;
    margin-top:3px!important;
    white-space:nowrap!important;
  }
}
@media (max-width: 390px){
  .brand{padding-left:78px!important;padding-right:78px!important;}
  .brand strong{font-size:16px!important;}
  .brand small{font-size:8px!important;}
}
