/*
Theme Name: Dallaht Misk Arabic V6.15
Theme URI: https://dallahtmisk.de/
Author: OpenAI
Description: Warm luxury WooCommerce theme for Dallaht Misk with an admin-managed responsive hero slider, announcement ticker, non-destructive product logo overlay, RTL layout and Cairo typography.
Version: 6.16
Text Domain: dallaht-misk
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{--dm-bg:#f6eee5;--dm-bg2:#efe1d2;--dm-card:#fffaf4;--dm-gold:#b98536;--dm-gold2:#d6ad67;--dm-text:#3d2f24;--dm-muted:#7b6a5b;--dm-line:#e7d5bf;--dm-white:#fff;--dm-shadow:0 18px 50px rgba(74,48,24,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fbf6f0 0%,var(--dm-bg) 55%,#f3e7da 100%);color:var(--dm-text);font-family:'Cairo',Arial,sans-serif;line-height:1.75}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.container{width:min(1240px,calc(100% - 40px));margin:auto}.site-top{background:#f0e3d4;border-bottom:1px solid rgba(185,133,54,.17);font-size:13px}.site-top .container{display:flex;justify-content:center;gap:42px;padding:7px 0;color:#6f573d}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,250,244,.94);backdrop-filter:blur(15px);border-bottom:1px solid var(--dm-line)}.header-main{min-height:88px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}.brand{text-align:center}.brand img{width:82px;height:70px;object-fit:contain;margin:auto}.brand-name{font-size:18px;letter-spacing:.08em;color:#9b6b28;font-weight:700}.header-actions{display:flex;gap:15px;align-items:center}.header-actions.right{justify-content:flex-end}.round-icon{width:42px;height:42px;border:1px solid var(--dm-line);border-radius:50%;display:grid;place-items:center;background:#fff;transition:.2s}.round-icon:hover{border-color:var(--dm-gold);transform:translateY(-2px)}.primary-nav{border-top:1px solid rgba(231,213,191,.65)}.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:34px;min-height:52px}.primary-nav a{font-size:15px;font-weight:600}.primary-nav a:hover{color:var(--dm-gold)}.menu-toggle{display:none;border:0;background:none;font-size:26px}.hero{padding:28px 0 14px}.hero-shell{position:relative;overflow:hidden;border-radius:34px;background:radial-gradient(circle at 85% 25%,#f8dfb9 0,#f2dfc8 20%,transparent 42%),linear-gradient(135deg,#fff9f2 0%,#eedbc4 100%);box-shadow:var(--dm-shadow);min-height:570px;display:grid;grid-template-columns:44% 56%;align-items:center}.hero-copy{padding:70px 35px 70px 72px;position:relative;z-index:2}.hero-kicker{color:var(--dm-gold);font-size:14px;font-weight:700;letter-spacing:.08em}.hero h1{font-size:clamp(42px,5vw,72px);line-height:1.18;margin:12px 0 18px;font-weight:800}.hero p{font-size:18px;color:var(--dm-muted);max-width:520px;margin:0 0 26px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:14px 27px!important;background:linear-gradient(135deg,var(--dm-gold),#c89b52)!important;color:#fff!important;border:none!important;font-weight:700!important;box-shadow:0 10px 26px rgba(185,133,54,.24)}.button.alt{background:#fff!important;color:var(--dm-text)!important;border:1px solid var(--dm-line)!important;box-shadow:none}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-media{height:100%;min-height:570px;position:relative}.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;display:flex;align-items:flex-end;justify-content:center;padding:20px}.hero-slide.active{opacity:1}.hero-slide img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 30px 35px rgba(70,43,16,.18))}.hero-dots{position:absolute;bottom:20px;right:50%;display:flex;gap:8px;z-index:4}.hero-dot{width:9px;height:9px;border-radius:50%;background:#dcc39f;border:0}.hero-dot.active{background:var(--dm-gold);transform:scale(1.25)}.section{padding:44px 0}.section-head{text-align:center;margin-bottom:24px}.section-head small{color:var(--dm-gold);font-weight:700}.section-head h2{font-size:clamp(30px,3vw,44px);margin:4px 0 0}.cats{display:grid;grid-template-columns:repeat(7,1fr);gap:13px}.cat-card{background:rgba(255,250,244,.94);border:1px solid var(--dm-line);border-radius:22px;padding:10px 10px 13px;text-align:center;transition:.25s;min-width:0}.cat-card:hover{transform:translateY(-5px);box-shadow:var(--dm-shadow);border-color:#d6b27a}.cat-card img{aspect-ratio:1/1;object-fit:contain;border-radius:16px;background:#0b0b0b;margin-bottom:8px}.cat-card strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trust{margin:14px auto 54px}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,250,244,.93);border:1px solid var(--dm-line);border-radius:24px;overflow:hidden}.trust-item{padding:25px;display:flex;gap:14px;align-items:center;border-inline-end:1px solid var(--dm-line)}.trust-item:last-child{border:0}.trust-icon{width:46px;height:46px;border-radius:15px;background:#f3e2c8;color:#a7742e;display:grid;place-items:center;font-size:22px}.trust-item strong{display:block}.trust-item span{font-size:12px;color:var(--dm-muted)}.products-wrap{background:rgba(255,255,255,.45);border-top:1px solid var(--dm-line);border-bottom:1px solid var(--dm-line)}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:var(--dm-card);border:1px solid var(--dm-line);border-radius:23px;padding:12px;box-shadow:0 7px 22px rgba(86,58,31,.06);overflow:hidden}.woocommerce ul.products li.product img{border-radius:17px;background:#fff;margin-bottom:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;color:var(--dm-text)}.woocommerce ul.products li.product .price{color:var(--dm-gold)!important;font-weight:800}.site-footer{margin-top:56px;background:#443428;color:#f8efe6}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:38px;padding:58px 0 40px}.footer-logo img{width:95px;filter:brightness(0) invert(1);opacity:.9}.site-footer h3{color:#e0ba77;font-size:16px;margin-top:0}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0}.site-footer a{color:#f5e9dc}.footer-bottom{border-top:1px solid rgba(255,255,255,.13);padding:17px 0;font-size:12px;color:#d9c9ba}.shop-page,.content-page{padding:45px 0}.woocommerce div.product{background:var(--dm-card);border:1px solid var(--dm-line);border-radius:28px;padding:25px}.woocommerce div.product div.images img{border-radius:20px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--dm-gold)!important}.woocommerce-message,.woocommerce-info{border-top-color:var(--dm-gold)!important;background:#fff8ef}.woocommerce-message::before,.woocommerce-info::before{color:var(--dm-gold)!important}.woocommerce-cart table.cart,.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{background:#fffaf4;border-radius:20px;padding:18px}.mobile-menu{display:none}
@media(max-width:1024px){.cats{grid-template-columns:repeat(4,1fr)}.hero-shell{grid-template-columns:48% 52%}.hero-copy{padding:50px 24px 50px 45px}.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.container{width:min(100% - 24px,1240px)}.site-top{display:none}.header-main{min-height:70px;grid-template-columns:1fr auto 1fr}.brand img{width:58px;height:48px}.brand-name{font-size:13px}.primary-nav{display:none}.menu-toggle{display:block}.header-actions .hide-mobile{display:none}.round-icon{width:38px;height:38px}.hero{padding-top:12px}.hero-shell{display:flex;flex-direction:column;min-height:0;border-radius:24px}.hero-copy{padding:30px 22px 12px;text-align:center;order:1}.hero h1{font-size:38px}.hero p{font-size:15px}.hero-actions{justify-content:center}.hero-media{order:2;min-height:370px;width:100%}.hero-slide{padding:0 8px 20px}.hero-dots{bottom:13px;right:calc(50% - 25px)}.cats{grid-template-columns:repeat(3,1fr);gap:9px}.cat-card{border-radius:17px;padding:7px 7px 10px}.cat-card strong{font-size:11px}.trust-grid{grid-template-columns:repeat(2,1fr)}.trust-item{padding:17px;border-bottom:1px solid var(--dm-line)}.woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:12px}.footer-grid{grid-template-columns:1fr;gap:18px}.mobile-menu.open{display:block;position:absolute;top:70px;left:12px;right:12px;background:#fffaf4;border:1px solid var(--dm-line);border-radius:18px;box-shadow:var(--dm-shadow);padding:10px 18px}.mobile-menu ul{list-style:none;padding:0;margin:0}.mobile-menu li{padding:10px 0;border-bottom:1px solid var(--dm-line)}}
@media(max-width:420px){.cats{grid-template-columns:repeat(2,1fr)}.hero-media{min-height:315px}.woocommerce ul.products{grid-template-columns:1fr 1fr}.trust-grid{grid-template-columns:1fr}.trust-item{border-inline-end:0}}

/* ===== Dallaht Misk Arabic v2 fixes ===== */
html,body{direction:rtl}body.dm-rtl{text-align:right}
.site-header{position:sticky;top:0}
.header-main{grid-template-columns:1fr auto 1fr;min-height:112px}
.brand-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:140px}
.brand-wrap .custom-logo-link,.brand-logo-link{display:block!important;line-height:0!important;margin:0!important;padding:0!important;width:auto!important;height:auto!important}
.brand-wrap .custom-logo,.brand-logo{display:block!important;width:auto!important;max-width:110px!important;height:72px!important;max-height:72px!important;object-fit:contain!important;margin:0 auto!important}
.brand-wrap .brand-name{font-family:'Cairo',sans-serif;font-size:15px;line-height:1.2;letter-spacing:0;color:#9b6b28;font-weight:800}
.header-start{justify-content:flex-start}.header-end{justify-content:flex-end}.currency,.language{font-size:13px;color:var(--dm-muted)}
.primary-nav ul{direction:rtl}.mobile-menu{direction:rtl}.menu-toggle{cursor:pointer;color:var(--dm-text)}
.hero-shell{direction:rtl;grid-template-columns:43% 57%}.hero-copy{padding:62px 58px 62px 28px;text-align:right}.hero-copy p{margin-right:0}.hero-media{direction:ltr}
.hero-slide img{border-radius:0;object-fit:contain}.hero h1{font-size:clamp(38px,4.8vw,68px)}
.section-head p{margin:6px auto 0;color:var(--dm-muted);max-width:570px}.cats{direction:rtl}.cat-card img{background:#f6eadb}.cat-card strong{white-space:normal;line-height:1.45;min-height:38px;display:grid;place-items:center}
.shop-hero{padding:34px 0 18px}.shop-hero-inner{background:linear-gradient(135deg,#fffaf4,#eedbc4);border:1px solid var(--dm-line);border-radius:28px;padding:38px 42px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--dm-shadow)}.shop-hero h1{font-size:clamp(34px,4vw,54px);margin:3px 0 5px}.shop-hero p{margin:0;color:var(--dm-muted)}.shop-kicker{color:var(--dm-gold);font-weight:800}
.shop-categories{padding:8px 0 22px}.mini-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.mini-cats a{background:var(--dm-card);border:1px solid var(--dm-line);border-radius:19px;padding:9px;text-align:center;transition:.2s}.mini-cats a:hover{transform:translateY(-3px);border-color:var(--dm-gold)}.mini-cats img{aspect-ratio:1/1;object-fit:contain;background:#f8ede1;border-radius:14px}.mini-cats span{display:block;font-size:13px;font-weight:700;padding:6px 3px 1px}.woocommerce-main{padding:20px 0 48px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:20px}.woocommerce .woocommerce-ordering select{border:1px solid var(--dm-line);background:#fffaf4;border-radius:12px;padding:10px 14px;font-family:'Cairo',sans-serif}.woocommerce-products-header__title.page-title{font-size:36px;margin:4px 0 22px}.woocommerce ul.products li.product{text-align:right}.woocommerce ul.products li.product .button{width:100%;margin-top:8px!important}.woocommerce div.product .summary{direction:rtl;text-align:right}
.site-footer{direction:rtl}.footer-grid{text-align:right}.footer-logo img{filter:none;max-width:115px}.footer-bottom{text-align:center}
@media(max-width:1024px){.mini-cats{grid-template-columns:repeat(3,1fr)}.brand-wrap .custom-logo,.brand-logo{max-width:92px!important;height:64px!important}}
@media(max-width:760px){.header-main{min-height:76px}.brand-wrap{min-width:90px}.brand-wrap .custom-logo,.brand-logo{max-width:66px!important;height:48px!important}.brand-wrap .brand-name{font-size:11px}.header-actions{gap:7px}.hero-shell{direction:rtl}.hero-copy{padding:28px 18px 10px;text-align:center}.hero-copy p{margin-left:auto;margin-right:auto}.hero-media{min-height:330px}.hero-slide img{object-fit:contain}.shop-hero-inner{padding:25px 20px;display:block;text-align:center}.shop-hero-inner .button{margin-top:15px}.mini-cats{grid-template-columns:repeat(3,1fr);gap:8px}.mobile-menu.open{top:76px}.mobile-menu ul{text-align:right}.cats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:430px){.mini-cats{grid-template-columns:repeat(2,1fr)}.cats{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:34px}}


/* ===== V3 photographic responsive hero ===== */
.hero-photo-section{padding:18px 0 14px}
.hero-photo{position:relative;min-height:545px;border-radius:30px;overflow:hidden;background-image:var(--hero-image);background-size:cover;background-position:center center;box-shadow:var(--dm-shadow);isolation:isolate}
.hero-photo-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(49,31,17,.58) 0%,rgba(49,31,17,.30) 34%,rgba(49,31,17,.04) 64%,rgba(255,255,255,0) 100%);z-index:1}
.hero-photo-copy{position:absolute;z-index:2;inset-inline-start:6%;top:50%;transform:translateY(-50%);width:min(500px,42%);padding:34px;border-radius:26px;background:rgba(255,250,244,.80);backdrop-filter:blur(7px);border:1px solid rgba(255,255,255,.58);box-shadow:0 20px 60px rgba(55,33,14,.16);text-align:right}
.hero-photo-copy .hero-kicker{color:#9b6b28}.hero-photo-copy h1{font-size:clamp(38px,4.5vw,64px);line-height:1.15;margin:8px 0 14px}.hero-photo-copy p{font-size:17px;color:#655343;margin:0 0 22px}.hero-photo-copy .button.alt{background:rgba(255,255,255,.86)!important}
@media(max-width:900px){.hero-photo{min-height:490px;background-position:center center}.hero-photo-copy{width:min(470px,54%);inset-inline-start:4%;padding:26px}.hero-photo-copy h1{font-size:44px}.hero-photo-copy p{font-size:15px}}
@media(max-width:760px){.hero-photo-section{padding-top:10px}.hero-photo{min-height:610px;border-radius:22px;background-position:52% center}.hero-photo-overlay{background:linear-gradient(180deg,rgba(43,28,17,.02) 0%,rgba(43,28,17,.05) 48%,rgba(43,28,17,.50) 100%)}.hero-photo-copy{top:auto;bottom:14px;left:14px;right:14px;transform:none;width:auto;inset-inline-start:14px;padding:22px 18px;text-align:center;background:rgba(255,250,244,.88)}.hero-photo-copy h1{font-size:35px}.hero-photo-copy p{font-size:14px;margin-bottom:17px}.hero-photo-copy .hero-actions{justify-content:center}}
@media(max-width:430px){.hero-photo{min-height:530px;background-position:51% center}.hero-photo-copy{padding:18px 14px}.hero-photo-copy h1{font-size:31px}.hero-photo-copy .hero-kicker{font-size:11px}.hero-photo-copy .button{padding:11px 17px!important;font-size:13px}}


/* ===== V4 Admin-managed responsive hero slider ===== */
.dm-hero-manager{padding:18px 0 14px}
.dm-hero-stage{position:relative;min-height:545px;border-radius:30px;overflow:hidden;box-shadow:var(--dm-shadow);background:#e9d5bc}
.dm-managed-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease;background-image:var(--desktop-image);background-size:cover;background-position:center center;isolation:isolate}
.dm-managed-slide.active{opacity:1;visibility:visible}
.dm-managed-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(49,31,17,calc(var(--dm-overlay) + .12)) 0%,rgba(49,31,17,var(--dm-overlay)) 33%,rgba(49,31,17,.05) 64%,rgba(255,255,255,0) 100%)}
.dm-managed-copy{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:min(520px,43%);padding:34px;border-radius:26px;background:rgba(255,250,244,.84);backdrop-filter:blur(7px);border:1px solid rgba(255,255,255,.62);box-shadow:0 20px 60px rgba(55,33,14,.16)}
.dm-align-right .dm-managed-copy{inset-inline-start:6%;text-align:right}.dm-align-left .dm-managed-copy{inset-inline-end:6%;text-align:left}.dm-align-center .dm-managed-copy{left:50%;right:auto;transform:translate(-50%,-50%);text-align:center}.dm-align-center .hero-actions{justify-content:center}
.dm-managed-copy h1{font-size:clamp(38px,4.5vw,64px);line-height:1.15;margin:8px 0 14px;font-weight:800}.dm-managed-copy p{font-size:17px;color:#655343;margin:0 0 22px}.dm-managed-copy .hero-kicker{color:#9b6b28;font-weight:800}
.dm-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:48px;height:48px;border:1px solid rgba(185,133,54,.28);border-radius:50%;background:rgba(255,250,244,.88);color:var(--dm-text);font-size:28px;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(55,33,14,.12)}.dm-slider-prev{right:18px}.dm-slider-next{left:18px}.dm-slider-arrow:hover{background:#fff;border-color:var(--dm-gold)}
.dm-slider-dots{position:absolute;z-index:6;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:9px}.dm-slider-dot{width:10px;height:10px;border:0;border-radius:999px;background:rgba(255,255,255,.78);box-shadow:0 0 0 1px rgba(80,50,20,.12);cursor:pointer;padding:0}.dm-slider-dot.active{width:27px;background:var(--dm-gold)}
.dm-slider-empty{display:grid;place-items:center;min-height:420px;text-align:center;padding:40px;background:linear-gradient(135deg,#fffaf4,#eedbc4)}.dm-slider-empty a{color:var(--dm-gold);font-weight:800;text-decoration:underline}
@media(max-width:900px){.dm-hero-stage{min-height:490px}.dm-managed-copy{width:min(470px,54%);padding:26px}.dm-managed-copy h1{font-size:44px}}
@media(max-width:760px){.dm-hero-manager{padding-top:10px}.dm-hero-stage{min-height:610px;border-radius:22px}.dm-managed-slide{background-image:var(--mobile-image);background-position:center center}.dm-managed-overlay{background:linear-gradient(180deg,rgba(43,28,17,.02) 0%,rgba(43,28,17,.05) 48%,rgba(43,28,17,calc(var(--dm-overlay) + .15)) 100%)}.dm-managed-copy,.dm-align-right .dm-managed-copy,.dm-align-left .dm-managed-copy,.dm-align-center .dm-managed-copy{top:auto;bottom:14px;left:14px;right:14px;transform:none;width:auto;inset-inline-start:14px;inset-inline-end:14px;padding:22px 18px;text-align:center;background:rgba(255,250,244,.90)}.dm-managed-copy h1{font-size:35px}.dm-managed-copy p{font-size:14px;margin-bottom:17px}.dm-managed-copy .hero-actions{justify-content:center}.dm-slider-arrow{width:40px;height:40px;font-size:23px;top:42%}.dm-slider-prev{right:10px}.dm-slider-next{left:10px}.dm-slider-dots{bottom:190px}}
@media(max-width:430px){.dm-hero-stage{min-height:540px}.dm-managed-copy{padding:18px 14px}.dm-managed-copy h1{font-size:31px}.dm-managed-copy .hero-kicker{font-size:11px}.dm-managed-copy .button{padding:11px 17px!important;font-size:13px}.dm-slider-dots{bottom:185px}}

/* ===== V5 announcement ticker ===== */
.dm-announcement-bar{position:relative;overflow:hidden;background:var(--dm-news-bg);color:var(--dm-news-text);border-bottom:1px solid rgba(185,133,54,.16);height:38px;display:flex;align-items:center;z-index:60}
.dm-announcement-track{display:flex;align-items:center;width:max-content;min-width:200%;animation:dmNewsTicker var(--dm-news-speed) linear infinite;will-change:transform;direction:rtl}
.dm-announcement-bar:hover .dm-announcement-track{animation-play-state:paused}
.dm-announcement-item{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;padding:0 44px;font-size:13px;font-weight:700}
.dm-announcement-item a{text-decoration:none;color:inherit}.dm-announcement-item a:hover{text-decoration:underline}.dm-announcement-spark{color:#b98536;font-size:11px}
@keyframes dmNewsTicker{from{transform:translateX(0)}to{transform:translateX(50%)}}
@media(prefers-reduced-motion:reduce){.dm-announcement-track{animation:none;justify-content:center;width:100%;min-width:100%;flex-wrap:wrap}.dm-announcement-item:nth-child(n+4){display:none}}
@media(max-width:760px){.dm-announcement-bar{height:34px}.dm-announcement-item{font-size:11px;padding:0 28px}.dm-announcement-track{animation-duration:calc(var(--dm-news-speed) * 1.15)}}

/* ===== V5 product logo watermark (visual only; source image remains untouched) ===== */
.woocommerce ul.products li.product{position:relative}
.dm-product-watermark{position:absolute!important;z-index:4!important;top:21px!important;left:21px!important;width:48px!important;height:48px!important;max-width:48px!important;object-fit:contain!important;opacity:.64!important;pointer-events:none!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.16))!important;background:transparent!important;border-radius:0!important;margin:0!important}
.woocommerce-product-gallery__image{position:relative!important}
.dm-single-watermark{top:22px!important;left:22px!important;width:72px!important;height:72px!important;max-width:72px!important;opacity:.58!important}
@media(max-width:760px){.dm-product-watermark{top:16px!important;left:16px!important;width:38px!important;height:38px!important;max-width:38px!important}.dm-single-watermark{width:55px!important;height:55px!important;max-width:55px!important}}

/* ===== V5 transparent footer logo ===== */
.footer-logo img{background:transparent!important;max-width:150px!important;width:auto!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 8px 16px rgba(0,0,0,.12))!important}

.dm-cat-placeholder{
  aspect-ratio:1/1;
  border-radius:16px;
  background:linear-gradient(135deg,#f8ede1,#efe1d2);
  border:1px dashed var(--dm-line);
}


/* ===== Product logo overlay controls ===== */
.woocommerce ul.products li.product{position:relative!important}
.dm-product-logo-overlay{
 position:absolute;z-index:15;width:var(--dm-logo-width,20%);
 opacity:var(--dm-logo-opacity,.88);pointer-events:none;line-height:0;
}
.dm-product-logo-overlay img{
 width:100%!important;height:auto!important;margin:0!important;padding:0!important;
 background:transparent!important;border-radius:0!important;box-shadow:none!important;
}
.dm-product-logo-overlay.dm-pos-bottom-left{left:var(--dm-logo-x,14px);bottom:var(--dm-logo-y,14px)}
.dm-product-logo-overlay.dm-pos-bottom-right{right:var(--dm-logo-x,14px);bottom:var(--dm-logo-y,14px)}
.dm-product-logo-overlay.dm-pos-top-left{left:var(--dm-logo-x,14px);top:var(--dm-logo-y,14px)}
.dm-product-logo-overlay.dm-pos-top-right{right:var(--dm-logo-x,14px);top:var(--dm-logo-y,14px)}



/* ===== V6.1 Product page sizing + logo placement fixes ===== */

/* SHOP CARDS */
.woocommerce ul.products li.product{
  position:relative!important;
  padding:12px!important;
}
.woocommerce ul.products li.product .dm-product-image-wrap{
  display:block;
  position:relative;
  overflow:hidden;
  border-radius:17px;
  background:#000;
  margin-bottom:12px;
}
.woocommerce ul.products li.product .dm-product-image-wrap > img{
  display:block!important;
  width:100%!important;
  aspect-ratio:1/1;
  object-fit:contain!important;
  margin:0!important;
  border-radius:17px!important;
}
.woocommerce ul.products li.product .dm-product-logo-overlay{
  position:absolute!important;
  left:12px!important;
  bottom:12px!important;
  right:auto!important;
  top:auto!important;
  width:18%!important;
  max-width:74px!important;
  opacity:.78!important;
  z-index:5!important;
  pointer-events:none!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:15px!important;
  line-height:1.55!important;
  min-height:48px;
  margin:8px 0 4px!important;
}
.woocommerce ul.products li.product .price{
  font-size:15px!important;
  margin:4px 0 8px!important;
}
.woocommerce ul.products li.product .button{
  width:100%;
  min-height:44px;
  padding:10px 16px!important;
}

/* SINGLE PRODUCT - remove oversized custom banner feeling */
.single-product .shop-hero,
.single-product .shop-hero-inner{
  display:none!important;
}
.single-product .woocommerce-main,
.single-product .shop-page{
  padding-top:24px!important;
}
.single-product div.product{
  position:relative!important;
  max-width:1180px;
  margin:0 auto!important;
  padding:26px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);
  gap:34px;
  align-items:start;
}
.single-product div.product .woocommerce-product-gallery{
  float:none!important;
  width:100%!important;
  margin:0!important;
  position:relative!important;
}
.single-product div.product .woocommerce-product-gallery__wrapper{
  margin:0!important;
}
.single-product div.product .woocommerce-product-gallery__image{
  border-radius:18px;
  overflow:hidden;
  background:#000;
}
.single-product div.product .woocommerce-product-gallery__image img{
  width:100%!important;
  max-height:620px!important;
  object-fit:contain!important;
  margin:0 auto!important;
  background:#000;
}
.single-product div.product .summary{
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:12px 0 0!important;
}
.single-product div.product .product_title{
  font-size:clamp(30px,3.2vw,48px)!important;
  line-height:1.25!important;
  margin:0 0 14px!important;
}
.single-product div.product .price{
  font-size:22px!important;
  margin:8px 0 16px!important;
}
.single-product div.product .woocommerce-product-details__short-description{
  font-size:15px!important;
  line-height:1.8!important;
}
.single-product .dm-product-logo-overlay{
  position:absolute!important;
  left:40px!important;
  bottom:40px!important;
  right:auto!important;
  top:auto!important;
  width:90px!important;
  max-width:18%!important;
  opacity:.78!important;
  z-index:20!important;
  pointer-events:none!important;
}
.single-product .dm-product-logo-overlay img{
  width:100%!important;
  height:auto!important;
  background:transparent!important;
}

/* Product page tabs/details */
.single-product .woocommerce-tabs{
  grid-column:1/-1;
  margin-top:12px!important;
}
.single-product .related.products,
.single-product .upsells.products{
  grid-column:1/-1;
  margin-top:24px!important;
}

@media(max-width:900px){
  .single-product div.product{
    display:block!important;
    padding:18px!important;
  }
  .single-product div.product .woocommerce-product-gallery__image img{
    max-height:520px!important;
  }
  .single-product .dm-product-logo-overlay{
    left:28px!important;
    bottom:28px!important;
    width:72px!important;
  }
}
@media(max-width:560px){
  .single-product div.product{
    padding:12px!important;
    border-radius:20px!important;
  }
  .single-product div.product .product_title{
    font-size:30px!important;
  }
  .single-product div.product .woocommerce-product-gallery__image img{
    max-height:420px!important;
  }
  .single-product .dm-product-logo-overlay{
    left:18px!important;
    bottom:18px!important;
    width:60px!important;
  }
}



/* ===== V6.2 one-logo-only fix ===== */
.woocommerce ul.products li.product{
  position:relative!important;
}
.woocommerce ul.products li.product > .dm-product-logo-overlay{
  position:absolute!important;
  left:22px!important;
  top:22px!important;
  bottom:auto!important;
  right:auto!important;
  width:72px!important;
  max-width:18%!important;
  opacity:.78!important;
  z-index:20!important;
  pointer-events:none!important;
}
.woocommerce ul.products li.product > .dm-product-logo-overlay img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}

/* Hide any accidental nested/duplicate overlay left from older markup */
.woocommerce ul.products li.product .dm-product-logo-overlay .dm-product-logo-overlay,
.woocommerce ul.products li.product .button ~ .dm-product-logo-overlay,
.woocommerce ul.products li.product .added_to_cart ~ .dm-product-logo-overlay{
  display:none!important;
}

/* single product logo */
.single-product div.product{
  position:relative!important;
}
.single-product div.product > .dm-product-logo-overlay{
  position:absolute!important;
  left:42px!important;
  top:42px!important;
  bottom:auto!important;
  right:auto!important;
  width:78px!important;
  max-width:14%!important;
  opacity:.78!important;
  z-index:25!important;
  pointer-events:none!important;
}

@media(max-width:760px){
  .woocommerce ul.products li.product > .dm-product-logo-overlay{
    left:14px!important;
    top:14px!important;
    width:56px!important;
  }
  .single-product div.product > .dm-product-logo-overlay{
    left:22px!important;
    top:22px!important;
    width:58px!important;
  }
}



/* =========================================================
   V6.3 FINAL PRODUCT LAYOUT + SINGLE LOGO CONTROL
   ========================================================= */

/* Store cards: one overlay only. Position comes from dashboard class. */
.woocommerce ul.products li.product{
  position:relative!important;
}
.woocommerce ul.products li.product > .dm-product-logo-overlay{
  position:absolute!important;
  z-index:30!important;
  width:var(--dm-logo-width,20%)!important;
  max-width:84px!important;
  opacity:var(--dm-logo-opacity,.88)!important;
  pointer-events:none!important;
}
.woocommerce ul.products li.product > .dm-product-logo-overlay.dm-pos-top-left{
  top:var(--dm-logo-y,14px)!important; left:var(--dm-logo-x,14px)!important;
  right:auto!important; bottom:auto!important;
}
.woocommerce ul.products li.product > .dm-product-logo-overlay.dm-pos-top-right{
  top:var(--dm-logo-y,14px)!important; right:var(--dm-logo-x,14px)!important;
  left:auto!important; bottom:auto!important;
}
.woocommerce ul.products li.product > .dm-product-logo-overlay.dm-pos-bottom-left{
  bottom:var(--dm-logo-y,14px)!important; left:var(--dm-logo-x,14px)!important;
  right:auto!important; top:auto!important;
}
.woocommerce ul.products li.product > .dm-product-logo-overlay.dm-pos-bottom-right{
  bottom:var(--dm-logo-y,14px)!important; right:var(--dm-logo-x,14px)!important;
  left:auto!important; top:auto!important;
}

/* Product page: Shopify-like two-column layout. */
.single-product .shop-hero,
.single-product .shop-hero-inner{
  display:none!important;
}
.single-product .woocommerce-main{
  max-width:1240px!important;
  margin:0 auto!important;
  padding:34px 24px 60px!important;
}
.single-product div.product{
  direction:ltr!important; /* image left, information right */
  display:grid!important;
  grid-template-columns:minmax(380px, 0.95fr) minmax(360px, 0.85fr)!important;
  gap:58px!important;
  align-items:start!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.single-product div.product .woocommerce-product-gallery{
  direction:ltr!important;
  grid-column:1!important;
  float:none!important;
  width:100%!important;
  max-width:520px!important;
  margin:0 auto!important;
  position:relative!important;
}
.single-product div.product .summary{
  direction:rtl!important;
  text-align:right!important;
  grid-column:2!important;
  grid-row:1!important;
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:12px 0!important;
}
.single-product div.product .product_title{
  font-size:clamp(30px,3vw,46px)!important;
  line-height:1.25!important;
  margin:0 0 14px!important;
}
.single-product div.product .price{
  font-size:22px!important;
  margin:0 0 16px!important;
}
.single-product div.product .woocommerce-product-details__short-description{
  font-size:15px!important;
  line-height:1.9!important;
  margin-bottom:22px!important;
}
.single-product div.product form.cart{
  margin-top:20px!important;
}
.single-product div.product form.cart .button{
  min-height:50px!important;
  padding:12px 28px!important;
  border-radius:12px!important;
}

/* Main product image smaller and tidy. */
.single-product .woocommerce-product-gallery__image{
  position:relative!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:#000!important;
}
.single-product .woocommerce-product-gallery__image > a,
.single-product .woocommerce-product-gallery__image > a > img{
  display:block!important;
}
.single-product .woocommerce-product-gallery__image img{
  width:100%!important;
  height:auto!important;
  max-height:520px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}

/* Gallery thumbnails underneath, smaller like Shopify. */
.single-product .flex-control-thumbs{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:14px 0 0!important;
  padding:0!important;
}
.single-product .flex-control-thumbs li{
  float:none!important;
  width:72px!important;
  margin:0!important;
}
.single-product .flex-control-thumbs img{
  width:72px!important;
  height:72px!important;
  object-fit:cover!important;
  border:1px solid #e6d2b5!important;
  border-radius:10px!important;
  opacity:.72!important;
}
.single-product .flex-control-thumbs img.flex-active{
  opacity:1!important;
  border-color:#b77b28!important;
}

/* ONE logo inside main gallery image; dashboard decides position. */
.single-product .woocommerce-product-gallery__image .dm-product-logo-overlay{
  position:absolute!important;
  z-index:35!important;
  width:var(--dm-logo-width,20%)!important;
  max-width:90px!important;
  opacity:var(--dm-logo-opacity,.88)!important;
  pointer-events:none!important;
}
.single-product .woocommerce-product-gallery__image .dm-product-logo-overlay.dm-pos-top-left{
  top:var(--dm-logo-y,14px)!important; left:var(--dm-logo-x,14px)!important;
  right:auto!important; bottom:auto!important;
}
.single-product .woocommerce-product-gallery__image .dm-product-logo-overlay.dm-pos-top-right{
  top:var(--dm-logo-y,14px)!important; right:var(--dm-logo-x,14px)!important;
  left:auto!important; bottom:auto!important;
}
.single-product .woocommerce-product-gallery__image .dm-product-logo-overlay.dm-pos-bottom-left{
  bottom:var(--dm-logo-y,14px)!important; left:var(--dm-logo-x,14px)!important;
  right:auto!important; top:auto!important;
}
.single-product .woocommerce-product-gallery__image .dm-product-logo-overlay.dm-pos-bottom-right{
  bottom:var(--dm-logo-y,14px)!important; right:var(--dm-logo-x,14px)!important;
  left:auto!important; top:auto!important;
}
.single-product .woocommerce-product-gallery__image .dm-product-logo-overlay img{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  background:transparent!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Full description / additional information below both columns. */
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products{
  direction:rtl!important;
  text-align:right!important;
  grid-column:1 / -1!important;
  width:100%!important;
}
.single-product .woocommerce-tabs{
  margin-top:38px!important;
  border-top:1px solid #ead9c3!important;
  padding-top:28px!important;
}
.single-product .woocommerce-tabs .panel{
  font-size:15px!important;
  line-height:1.9!important;
}

/* Arabic sale badge. */
.woocommerce span.onsale{
  font-size:0!important;
}
.woocommerce span.onsale::after{
  content:"عرض"!important;
  font-size:13px!important;
}

/* Mobile: image then info, no blank column. */
@media(max-width:900px){
  .single-product .woocommerce-main{
    padding:20px 14px 40px!important;
  }
  .single-product div.product{
    display:flex!important;
    flex-direction:column!important;
    gap:24px!important;
    max-width:620px!important;
  }
  .single-product div.product .woocommerce-product-gallery{
    width:100%!important;
    max-width:520px!important;
    order:1!important;
  }
  .single-product div.product .summary{
    width:100%!important;
    order:2!important;
    padding:0!important;
  }
  .single-product .woocommerce-tabs{order:3!important}
  .single-product .related.products,
  .single-product .upsells.products{order:4!important}
}



/* =========================================================
   V6.4 FORCE SINGLE PRODUCT SIDE-BY-SIDE LAYOUT
   Image left / Product info right
   ========================================================= */
.single-product .woocommerce-main{
  max-width:1220px!important;
  margin:0 auto!important;
  padding:28px 24px 56px!important;
}

.single-product div.product{
  display:grid!important;
  grid-template-columns:minmax(0, 520px) minmax(360px, 1fr)!important;
  grid-template-areas:
    "gallery summary"
    "tabs tabs"
    "related related"!important;
  column-gap:56px!important;
  row-gap:30px!important;
  align-items:start!important;
  direction:ltr!important;
  width:100%!important;
  max-width:1120px!important;
  margin:0 auto!important;
}

.single-product div.product .woocommerce-product-gallery{
  grid-area:gallery!important;
  float:none!important;
  width:100%!important;
  max-width:520px!important;
  margin:0!important;
  padding:0!important;
  align-self:start!important;
}

.single-product div.product .summary{
  grid-area:summary!important;
  float:none!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:8px 0 0!important;
  direction:rtl!important;
  text-align:right!important;
  align-self:start!important;
}

.single-product div.product .woocommerce-tabs{
  grid-area:tabs!important;
}
.single-product div.product .related.products,
.single-product div.product .upsells.products{
  grid-area:related!important;
}

.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image{
  width:100%!important;
  margin:0!important;
}

.single-product .woocommerce-product-gallery__image img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:520px!important;
  object-fit:contain!important;
}

.single-product div.product .summary .product_title{
  margin-top:0!important;
  font-size:clamp(32px,3vw,46px)!important;
  line-height:1.2!important;
}

.single-product div.product .summary .price{
  font-size:22px!important;
  margin:8px 0 18px!important;
}

.single-product div.product .summary .woocommerce-product-details__short-description{
  margin-bottom:20px!important;
  line-height:1.9!important;
}

.single-product div.product .summary form.cart{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}

.single-product div.product .summary form.cart .quantity{
  float:none!important;
  margin:0!important;
}

.single-product div.product .summary form.cart .button{
  float:none!important;
  margin:0!important;
  min-width:170px!important;
}

/* Keep product meta tidy */
.single-product .product_meta{
  margin-top:18px!important;
  line-height:1.8!important;
}

/* Mobile/tablet */
@media(max-width:900px){
  .single-product div.product{
    display:flex!important;
    flex-direction:column!important;
    gap:24px!important;
    max-width:620px!important;
  }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary{
    width:100%!important;
    max-width:100%!important;
  }
  .single-product div.product .woocommerce-product-gallery{
    order:1!important;
  }
  .single-product div.product .summary{
    order:2!important;
  }
  .single-product div.product .woocommerce-tabs{
    order:3!important;
  }
  .single-product div.product .related.products,
  .single-product div.product .upsells.products{
    order:4!important;
  }
}



/* =========================================================
   V6.5 PRODUCT INFO TYPOGRAPHY / READABILITY
   ========================================================= */
.single-product div.product .summary{
  max-width:500px!important;
  justify-self:start!important;
}
.single-product div.product .summary .product_title{
  max-width:480px!important;
  margin-bottom:12px!important;
  letter-spacing:0!important;
}
.single-product div.product .summary .woocommerce-product-details__short-description{
  max-width:460px!important;
  font-size:16px!important;
  line-height:1.9!important;
  letter-spacing:0!important;
  word-spacing:0!important;
  text-align:right!important;
}
.single-product div.product .summary .woocommerce-product-details__short-description p{
  margin:0 0 12px!important;
}
.single-product div.product .summary .price,
.single-product div.product .summary .stock,
.single-product div.product .summary form.cart,
.single-product div.product .summary .product_meta{
  max-width:460px!important;
}
.single-product div.product .summary .product_meta{
  font-size:14px!important;
  color:#6e5a49!important;
}
@media(max-width:900px){
  .single-product div.product .summary,
  .single-product div.product .summary .product_title,
  .single-product div.product .summary .woocommerce-product-details__short-description,
  .single-product div.product .summary .price,
  .single-product div.product .summary .stock,
  .single-product div.product .summary form.cart,
  .single-product div.product .summary .product_meta{
    max-width:100%!important;
  }
}



/* =========================================================
   V6.6 STORE / LOGO / RELATED PRODUCTS FIXES
   ========================================================= */

/* Hide the misplaced WooCommerce sale badge completely.
   Discount is already visible through old/new price. */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.single-product span.onsale{
  display:none!important;
}

/* The archive logo now lives inside the image wrapper. */
.woocommerce ul.products li.product .dm-loop-image-wrap{
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  border-radius:18px!important;
  line-height:0!important;
}
.woocommerce ul.products li.product .dm-loop-image-wrap > img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
}
.woocommerce ul.products li.product .dm-loop-image-wrap .dm-product-logo-overlay{
  position:absolute!important;
  z-index:20!important;
  width:var(--dm-logo-width,20%)!important;
  max-width:84px!important;
  opacity:var(--dm-logo-opacity,.88)!important;
  pointer-events:none!important;
  line-height:0!important;
}
.woocommerce ul.products li.product .dm-loop-image-wrap .dm-product-logo-overlay.dm-pos-top-left{
  top:var(--dm-logo-y,14px)!important;
  left:var(--dm-logo-x,14px)!important;
  right:auto!important; bottom:auto!important;
}
.woocommerce ul.products li.product .dm-loop-image-wrap .dm-product-logo-overlay.dm-pos-top-right{
  top:var(--dm-logo-y,14px)!important;
  right:var(--dm-logo-x,14px)!important;
  left:auto!important; bottom:auto!important;
}
.woocommerce ul.products li.product .dm-loop-image-wrap .dm-product-logo-overlay.dm-pos-bottom-left{
  bottom:var(--dm-logo-y,14px)!important;
  left:var(--dm-logo-x,14px)!important;
  right:auto!important; top:auto!important;
}
.woocommerce ul.products li.product .dm-loop-image-wrap .dm-product-logo-overlay.dm-pos-bottom-right{
  bottom:var(--dm-logo-y,14px)!important;
  right:var(--dm-logo-x,14px)!important;
  left:auto!important; top:auto!important;
}

/* Neutralize all obsolete direct-card logo placement rules. */
.woocommerce ul.products li.product > .dm-product-logo-overlay{
  display:none!important;
}

/* Related products area */
.single-product .related.products{
  margin-top:44px!important;
  padding-top:34px!important;
  border-top:1px solid #ead9c3!important;
}
.single-product .related.products > h2{
  text-align:center!important;
  font-size:30px!important;
  line-height:1.35!important;
  margin:0 0 28px!important;
  color:#4b3528!important;
}
.single-product .related.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.single-product .related.products ul.products li.product{
  width:auto!important;
  margin:0!important;
}

@media(max-width:900px){
  .single-product .related.products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:520px){
  .single-product .related.products > h2{
    font-size:24px!important;
  }
  .single-product .related.products ul.products{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
}



/* =========================================================
   V6.7 PRODUCT DETAILS WITHOUT TABS
   ========================================================= */
.single-product .woocommerce-tabs{
  display:none!important;
}
.single-product .dm-product-description-direct{
  grid-column:1 / -1!important;
  width:min(100%, 900px)!important;
  margin:36px auto 0!important;
  padding:32px 0 8px!important;
  border-top:1px solid #ead9c3!important;
  direction:rtl!important;
  text-align:right!important;
}
.single-product .dm-product-description-direct h2{
  font-size:30px!important;
  line-height:1.35!important;
  margin:0 0 22px!important;
  color:#4b3528!important;
}
.single-product .dm-product-description-content{
  max-width:780px!important;
  margin:0 auto!important;
  font-size:16px!important;
  line-height:2!important;
  color:#4f4035!important;
}
.single-product .dm-product-description-content h2,
.single-product .dm-product-description-content h3{
  line-height:1.45!important;
  margin:28px 0 12px!important;
  color:#4b3528!important;
}
.single-product .dm-product-description-content p{
  margin:0 0 16px!important;
}
.single-product .dm-product-description-content ul,
.single-product .dm-product-description-content ol{
  padding-right:22px!important;
  margin:0 0 18px!important;
}
.single-product .dm-product-description-content li{
  margin-bottom:7px!important;
}

/* =========================================================
   V6.7 SHOPIFY-LIKE CART
   ========================================================= */
.woocommerce-cart .site-main,
.woocommerce-cart .woocommerce-main,
.woocommerce-cart main{
  background:#fffaf4!important;
}
.woocommerce-cart .entry-title,
.woocommerce-cart .page-title{
  display:none!important;
}
.woocommerce-cart .woocommerce{
  max-width:1100px!important;
  margin:0 auto!important;
  padding:60px 24px 70px!important;
  direction:rtl!important;
}
.dm-cart-intro{
  text-align:center!important;
  margin:0 0 44px!important;
}
.dm-cart-intro h1{
  margin:0 0 12px!important;
  font-size:38px!important;
  line-height:1.25!important;
  color:#9a650d!important;
}
.dm-continue-shopping{
  display:inline-block!important;
  font-size:15px!important;
  color:#4b3528!important;
  text-decoration:underline!important;
  text-underline-offset:4px!important;
}

/* Main cart table */
.woocommerce-cart table.shop_table{
  border:0!important;
  border-collapse:collapse!important;
  width:100%!important;
  background:transparent!important;
  box-shadow:none!important;
}
.woocommerce-cart table.shop_table thead th{
  padding:14px 12px 18px!important;
  border:0!important;
  border-bottom:1px solid #eadfd3!important;
  background:transparent!important;
  color:#9a650d!important;
  font-size:13px!important;
  font-weight:700!important;
  text-transform:none!important;
}
.woocommerce-cart table.shop_table tbody td{
  padding:22px 12px!important;
  border:0!important;
  border-bottom:1px solid #eadfd3!important;
  background:transparent!important;
  vertical-align:middle!important;
}
.woocommerce-cart td.product-thumbnail{
  width:120px!important;
}
.woocommerce-cart td.product-thumbnail img{
  width:86px!important;
  height:86px!important;
  object-fit:contain!important;
  border-radius:10px!important;
  background:#fff!important;
}
.woocommerce-cart td.product-name{
  min-width:260px!important;
}
.woocommerce-cart td.product-name a{
  display:inline-block!important;
  max-width:360px!important;
  color:#33261f!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.55!important;
  text-decoration:none!important;
}
.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal{
  font-size:15px!important;
  white-space:nowrap!important;
}
.woocommerce-cart td.product-quantity input.qty{
  width:64px!important;
  min-height:44px!important;
  text-align:center!important;
  border:1px solid #d8c6b4!important;
  border-radius:8px!important;
  background:#fff!important;
}
.woocommerce-cart td.product-remove{
  width:70px!important;
  text-align:center!important;
}
.woocommerce-cart td.product-remove a.remove{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:34px!important;
  height:34px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  color:#7b5540!important;
  font-size:20px!important;
  background:transparent!important;
}
.woocommerce-cart td.product-remove a.remove:hover{
  background:#f2e7da!important;
  color:#5b3829!important;
}

/* Coupon/actions row */
.woocommerce-cart td.actions{
  padding:24px 0!important;
  border-bottom:0!important;
}
.woocommerce-cart td.actions .coupon{
  display:flex!important;
  gap:10px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
}
.woocommerce-cart td.actions .coupon input.input-text{
  min-height:46px!important;
  width:180px!important;
  border:1px solid #d8c6b4!important;
  border-radius:9px!important;
  padding:0 12px!important;
}
.woocommerce-cart td.actions button.button{
  min-height:46px!important;
  padding:0 20px!important;
  border-radius:9px!important;
}

/* Totals */
.woocommerce-cart .cart-collaterals{
  display:flex!important;
  justify-content:flex-end!important;
  margin-top:24px!important;
}
.woocommerce-cart .cart_totals{
  float:none!important;
  width:min(100%, 430px)!important;
  background:#fff7ee!important;
  border:1px solid #ead9c3!important;
  border-radius:16px!important;
  padding:24px!important;
}
.woocommerce-cart .cart_totals h2{
  font-size:24px!important;
  margin:0 0 16px!important;
  color:#4b3528!important;
}
.woocommerce-cart .cart_totals table{
  margin:0 0 18px!important;
}
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td{
  padding:12px 0!important;
  border-color:#eadfd3!important;
  background:transparent!important;
}
.woocommerce-cart .wc-proceed-to-checkout{
  padding:0!important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  display:block!important;
  width:100%!important;
  min-height:52px!important;
  padding:14px 20px!important;
  border-radius:12px!important;
  background:#c9953f!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:700!important;
  text-align:center!important;
}

/* Responsive cart */
@media(max-width:768px){
  .woocommerce-cart .woocommerce{
    padding:34px 14px 50px!important;
  }
  .dm-cart-intro{
    margin-bottom:28px!important;
  }
  .dm-cart-intro h1{
    font-size:30px!important;
  }
  .woocommerce-cart table.shop_table_responsive thead{
    display:none!important;
  }
  .woocommerce-cart table.shop_table_responsive tr.cart_item{
    display:grid!important;
    grid-template-columns:88px 1fr!important;
    gap:10px 14px!important;
    padding:18px 0!important;
    border-bottom:1px solid #eadfd3!important;
  }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td{
    display:block!important;
    width:auto!important;
    padding:0!important;
    border:0!important;
    text-align:right!important;
  }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td::before{
    display:none!important;
  }
  .woocommerce-cart td.product-thumbnail{
    grid-row:1 / span 4!important;
    grid-column:1!important;
  }
  .woocommerce-cart td.product-thumbnail img{
    width:82px!important;
    height:82px!important;
  }
  .woocommerce-cart td.product-name{
    grid-column:2!important;
    min-width:0!important;
  }
  .woocommerce-cart td.product-name a{
    font-size:15px!important;
  }
  .woocommerce-cart td.product-price,
  .woocommerce-cart td.product-quantity,
  .woocommerce-cart td.product-subtotal,
  .woocommerce-cart td.product-remove{
    grid-column:2!important;
  }
  .woocommerce-cart .cart-collaterals{
    justify-content:stretch!important;
  }
  .woocommerce-cart .cart_totals{
    width:100%!important;
  }
  .woocommerce-cart td.actions .coupon{
    float:none!important;
    width:100%!important;
  }
}

/* Related products should sit after direct description */
.single-product .related.products{
  margin-top:34px!important;
}



/* =========================================================
   V6.8 SHOPIFY-LIKE WHITE CHECKOUT
   ========================================================= */
.woocommerce-checkout body,
.woocommerce-checkout .site,
.woocommerce-checkout main,
.woocommerce-checkout .site-main,
.woocommerce-checkout .woocommerce-main{
  background:#fff!important;
}

.woocommerce-checkout .woocommerce{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:54px 24px 80px!important;
  direction:rtl!important;
}

/* Hide duplicated page title if theme prints it */
.woocommerce-checkout .entry-title,
.woocommerce-checkout .page-title{
  display:none!important;
}

/* Main two-column layout like Shopify */
.woocommerce-checkout form.checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)!important;
  gap:56px!important;
  align-items:start!important;
  direction:ltr!important;
}

/* Customer form on left */
.woocommerce-checkout #customer_details{
  grid-column:1!important;
  direction:rtl!important;
  background:#fff!important;
  padding:0!important;
  margin:0!important;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.woocommerce-checkout #customer_details h3{
  font-size:24px!important;
  line-height:1.35!important;
  margin:0 0 18px!important;
  color:#222!important;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
}
.woocommerce-checkout .form-row{
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.woocommerce-checkout .form-row-wide{
  grid-column:1 / -1!important;
}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last{
  width:100%!important;
}
.woocommerce-checkout label{
  display:block!important;
  font-size:13px!important;
  font-weight:600!important;
  margin:0 0 6px!important;
  color:#333!important;
}
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container .select2-selection--single{
  width:100%!important;
  min-height:50px!important;
  border:1px solid #d8d8d8!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
  padding:0 14px!important;
  font-size:15px!important;
  color:#222!important;
}
.woocommerce-checkout textarea{
  min-height:100px!important;
  padding:12px 14px!important;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{
  line-height:48px!important;
  padding:0!important;
}
.woocommerce-checkout .select2-selection__arrow{
  height:48px!important;
}

/* coupon line - minimal */
.woocommerce-checkout .woocommerce-form-coupon-toggle{
  margin:0 0 22px!important;
}
.woocommerce-checkout .woocommerce-info{
  border:0!important;
  background:transparent!important;
  padding:0!important;
  color:#555!important;
  font-size:14px!important;
}
.woocommerce-checkout .woocommerce-info::before{
  display:none!important;
}
.woocommerce-checkout form.checkout_coupon{
  border:0!important;
  padding:0!important;
  margin:0 0 26px!important;
  display:flex!important;
  gap:10px!important;
}
.woocommerce-checkout form.checkout_coupon .form-row{
  margin:0!important;
}

/* order summary on right */
.woocommerce-checkout #order_review_heading{
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  justify-self:stretch!important;
  margin:0 0 16px!important;
  padding:0!important;
  font-size:24px!important;
  line-height:1.35!important;
  color:#222!important;
  direction:rtl!important;
}
.woocommerce-checkout #order_review{
  grid-column:2!important;
  grid-row:1!important;
  margin-top:52px!important;
  direction:rtl!important;
  background:#f7f7f7!important;
  border:1px solid #e3e3e3!important;
  border-radius:14px!important;
  padding:22px!important;
  position:sticky!important;
  top:24px!important;
}
.woocommerce-checkout #order_review table.shop_table{
  border:0!important;
  border-collapse:collapse!important;
  margin:0 0 18px!important;
  background:transparent!important;
}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{
  border:0!important;
  border-bottom:1px solid #e1e1e1!important;
  background:transparent!important;
  padding:13px 0!important;
  font-size:14px!important;
  vertical-align:top!important;
}
.woocommerce-checkout #order_review table.shop_table thead{
  display:none!important;
}
.woocommerce-checkout #order_review .product-name{
  text-align:right!important;
  font-weight:600!important;
}
.woocommerce-checkout #order_review .product-total{
  text-align:left!important;
  white-space:nowrap!important;
}
.woocommerce-checkout #order_review tfoot th{
  text-align:right!important;
  font-weight:600!important;
}
.woocommerce-checkout #order_review tfoot td{
  text-align:left!important;
}
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td{
  font-size:18px!important;
  font-weight:700!important;
  border-bottom:0!important;
}

/* payment box clean */
.woocommerce-checkout #payment{
  background:transparent!important;
  border:0!important;
  margin-top:10px!important;
}
.woocommerce-checkout #payment ul.payment_methods{
  padding:0!important;
  border:0!important;
}
.woocommerce-checkout #payment ul.payment_methods li{
  margin-bottom:10px!important;
}
.woocommerce-checkout #payment div.payment_box{
  background:#fff!important;
  border:1px solid #e0e0e0!important;
  border-radius:9px!important;
  padding:12px!important;
  color:#444!important;
}
.woocommerce-checkout #payment div.payment_box::before{
  display:none!important;
}
.woocommerce-checkout #payment .place-order{
  padding:16px 0 0!important;
}
.woocommerce-checkout #place_order{
  width:100%!important;
  min-height:54px!important;
  border:0!important;
  border-radius:10px!important;
  background:#c9953f!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:700!important;
  padding:14px 18px!important;
}
.woocommerce-checkout #place_order:hover{
  filter:brightness(.96)!important;
}

/* Remove theme card look around checkout */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
}

/* spacing between sections */
.woocommerce-checkout .woocommerce-shipping-fields{
  margin-top:28px!important;
}
.woocommerce-checkout .woocommerce-additional-fields{
  margin-top:22px!important;
}

/* desktop English/Arabic mixed field values remain neat */
.woocommerce-checkout input,
.woocommerce-checkout textarea{
  text-align:right!important;
}

/* tablet/mobile */
@media(max-width:900px){
  .woocommerce-checkout .woocommerce{
    padding:30px 14px 50px!important;
  }
  .woocommerce-checkout form.checkout{
    display:flex!important;
    flex-direction:column!important;
    gap:30px!important;
  }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review{
    width:100%!important;
  }
  .woocommerce-checkout #order_review_heading{
    order:2!important;
    margin-bottom:0!important;
  }
  .woocommerce-checkout #order_review{
    order:3!important;
    margin-top:0!important;
    position:static!important;
  }
}
@media(max-width:620px){
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
    grid-template-columns:1fr!important;
  }
  .woocommerce-checkout .form-row-wide{
    grid-column:auto!important;
  }
  .woocommerce-checkout #order_review{
    padding:16px!important;
  }
}


/* =========================================================
   V6.9 COMPACT CART + CHECKOUT
   Remove oversized empty hero/page-title spacing
   ========================================================= */

/* CART: remove the extra English Cart page heading/hero */
.woocommerce-cart .entry-header,
.woocommerce-cart .page-header,
.woocommerce-cart h1.entry-title,
.woocommerce-cart .page-title{
    display:none!important;
}

/* CART: pull actual cart content directly under navigation */
.woocommerce-cart main,
.woocommerce-cart .site-main,
.woocommerce-cart .content-area{
    padding-top:0!important;
    margin-top:0!important;
}
.woocommerce-cart .woocommerce{
    padding-top:34px!important;
    margin-top:0!important;
}
.woocommerce-cart .woocommerce > h2:first-child,
.woocommerce-cart .woocommerce > .cart-title:first-child{
    margin-top:0!important;
}
.woocommerce-cart .dm-cart-wrap,
.woocommerce-cart .cart-page-wrap,
.woocommerce-cart form.woocommerce-cart-form{
    margin-top:0!important;
}

/* CHECKOUT: remove Checkout title completely */
.woocommerce-checkout .entry-header,
.woocommerce-checkout .page-header,
.woocommerce-checkout h1.entry-title,
.woocommerce-checkout .page-title{
    display:none!important;
}

/* CHECKOUT: remove all large top whitespace */
.woocommerce-checkout main,
.woocommerce-checkout .site-main,
.woocommerce-checkout .content-area{
    padding-top:0!important;
    margin-top:0!important;
}
.woocommerce-checkout .woocommerce{
    padding-top:32px!important;
    margin-top:0!important;
}

/* Coupon should start close to the navigation */
.woocommerce-checkout .woocommerce-form-coupon-toggle{
    margin-top:0!important;
    margin-bottom:12px!important;
}
.woocommerce-checkout form.checkout_coupon{
    margin-top:0!important;
    margin-bottom:24px!important;
}

/* In case the theme creates a generic hero spacer */
.woocommerce-cart .hero,
.woocommerce-cart .page-hero,
.woocommerce-cart .woocommerce-hero,
.woocommerce-checkout .hero,
.woocommerce-checkout .page-hero,
.woocommerce-checkout .woocommerce-hero{
    display:none!important;
    min-height:0!important;
    height:0!important;
    padding:0!important;
    margin:0!important;
}

/* compact on mobile too */
@media(max-width:900px){
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce{
        padding-top:20px!important;
    }
}



/* =========================================================
   V6.10 ULTRA-COMPACT CART
   ========================================================= */

/* The Cart page uses page.php, so hide its raw page title too. */
.woocommerce-cart .content-page article > h1:first-child,
.woocommerce-cart .content-page .container > article > h1:first-child{
  display:none!important;
}

/* Remove generic page-template whitespace. */
.woocommerce-cart .content-page{
  padding:0!important;
  margin:0!important;
}
.woocommerce-cart .content-page > .container{
  width:min(1120px,calc(100% - 32px))!important;
  margin:0 auto!important;
}
.woocommerce-cart .content-page article{
  margin:0!important;
  padding:0!important;
}

/* WooCommerce cart starts almost directly below navigation. */
.woocommerce-cart .woocommerce{
  max-width:1060px!important;
  padding:16px 0 42px!important;
  margin:0 auto!important;
}

/* Compact custom title. */
.woocommerce-cart .dm-cart-intro{
  margin:4px 0 22px!important;
  padding:0!important;
  text-align:center!important;
}
.woocommerce-cart .dm-cart-intro h1{
  margin:0 0 5px!important;
  font-size:32px!important;
  line-height:1.2!important;
}
.woocommerce-cart .dm-continue-shopping{
  font-size:14px!important;
}

/* Keep table close to intro. */
.woocommerce-cart form.woocommerce-cart-form{
  margin:0!important;
  padding:0!important;
}
.woocommerce-cart table.shop_table{
  margin-top:0!important;
}
.woocommerce-cart table.shop_table thead th{
  padding-top:10px!important;
  padding-bottom:12px!important;
}
.woocommerce-cart table.shop_table tbody td{
  padding-top:16px!important;
  padding-bottom:16px!important;
}

/* Slightly smaller product rows so more order detail is visible at once. */
.woocommerce-cart td.product-thumbnail{
  width:94px!important;
}
.woocommerce-cart td.product-thumbnail img{
  width:72px!important;
  height:72px!important;
}
.woocommerce-cart td.product-name a{
  font-size:15px!important;
}

/* Reduce space before totals. */
.woocommerce-cart td.actions{
  padding:14px 0!important;
}
.woocommerce-cart .cart-collaterals{
  margin-top:12px!important;
}

/* Checkout: tighten the top slightly too. */
.woocommerce-checkout .woocommerce{
  padding-top:18px!important;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle{
  margin-bottom:8px!important;
}
.woocommerce-checkout form.checkout_coupon{
  margin-bottom:16px!important;
}

@media(max-width:768px){
  .woocommerce-cart .content-page > .container{
    width:min(100% - 20px,1120px)!important;
  }
  .woocommerce-cart .woocommerce{
    padding-top:10px!important;
  }
  .woocommerce-cart .dm-cart-intro{
    margin-bottom:16px!important;
  }
  .woocommerce-cart .dm-cart-intro h1{
    font-size:27px!important;
  }
}



/* =========================================================
   V6.12 CART: ITEMS + ORDER SUMMARY SIDE BY SIDE
   ========================================================= */

/* Desktop layout: cart products on the left, summary on the right */
@media (min-width: 901px){
  .woocommerce-cart .woocommerce{
    display:grid!important;
    grid-template-columns:minmax(0, 1.65fr) minmax(300px, .75fr)!important;
    grid-template-areas:
      "intro intro"
      "notices notices"
      "cart totals"!important;
    column-gap:34px!important;
    row-gap:18px!important;
    align-items:start!important;
    max-width:1120px!important;
  }

  .woocommerce-cart .dm-cart-intro{
    grid-area:intro!important;
    margin:0 0 10px!important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper,
  .woocommerce-cart .woocommerce-message,
  .woocommerce-cart .woocommerce-error,
  .woocommerce-cart .woocommerce-info{
    grid-area:notices!important;
  }

  .woocommerce-cart form.woocommerce-cart-form{
    grid-area:cart!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  .woocommerce-cart .cart-collaterals{
    grid-area:totals!important;
    display:block!important;
    width:100%!important;
    margin:0!important;
    align-self:start!important;
    position:sticky!important;
    top:24px!important;
  }

  .woocommerce-cart .cart_totals{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    float:none!important;
    padding:22px!important;
  }

  .woocommerce-cart .cart_totals h2{
    margin-top:0!important;
  }

  /* Keep product table compact enough to fit next to summary */
  .woocommerce-cart table.shop_table{
    table-layout:auto!important;
  }

  .woocommerce-cart td.product-thumbnail{
    width:86px!important;
  }

  .woocommerce-cart td.product-thumbnail img{
    width:68px!important;
    height:68px!important;
  }

  .woocommerce-cart td.product-name{
    min-width:210px!important;
  }

  .woocommerce-cart td.product-name a{
    max-width:300px!important;
  }

  .woocommerce-cart td.product-price,
  .woocommerce-cart td.product-subtotal{
    white-space:nowrap!important;
  }
}

/* Tablet/mobile: return to one column */
@media (max-width: 900px){
  .woocommerce-cart .woocommerce{
    display:block!important;
  }

  .woocommerce-cart .cart-collaterals{
    position:static!important;
    width:100%!important;
    margin-top:18px!important;
  }

  .woocommerce-cart .cart_totals{
    width:100%!important;
    max-width:none!important;
  }
}


/* ===== V6.13 shop categories, brand story & social ===== */
.dm-shop-category-head{margin:8px 0 22px}.dm-shop-cats{margin-bottom:10px}
.dm-brand-story{padding:18px 0 44px}.dm-brand-story-inner{background:linear-gradient(135deg,#fffaf4 0%,#f0dfc8 100%);border:1px solid var(--dm-line);border-radius:28px;padding:34px 38px;display:grid;grid-template-columns:1.25fr .9fr;gap:30px;align-items:center;box-shadow:0 14px 40px rgba(74,48,24,.08)}
.dm-brand-story-copy small{display:block;color:var(--dm-gold);font-weight:800;margin-bottom:5px}.dm-brand-story-copy h2{font-size:clamp(28px,3vw,42px);line-height:1.35;margin:0 0 10px}.dm-brand-story-copy p{margin:0;color:var(--dm-muted);font-size:15px}.dm-brand-story-tags{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-start;direction:ltr}.dm-brand-story-tags span{background:rgba(255,255,255,.72);border:1px solid #dfc39b;border-radius:999px;padding:9px 13px;font-weight:700;font-size:12px;color:#5c432d;white-space:nowrap}
.dm-social-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.dm-social-link{border:1px solid rgba(255,255,255,.23);border-radius:999px;padding:7px 12px!important;font-size:12px;font-weight:700;transition:.2s}.dm-social-link:hover{background:#e0ba77;color:#443428!important;border-color:#e0ba77;transform:translateY(-2px)}
.dm-cat-placeholder{aspect-ratio:1/1;border-radius:16px;background:linear-gradient(135deg,#f1dfc7,#fff7ed)}
@media(max-width:900px){.dm-brand-story-inner{grid-template-columns:1fr}.dm-brand-story-tags{justify-content:center}.dm-brand-story-copy{text-align:center}}
@media(max-width:760px){.dm-brand-story{padding:8px 0 30px}.dm-brand-story-inner{padding:24px 18px;border-radius:22px}.dm-brand-story-tags{gap:7px}.dm-brand-story-tags span{font-size:11px;padding:8px 10px}.dm-social-links{justify-content:center}.footer-logo{text-align:center}.footer-logo img{margin-inline:auto}}

/* ===== V6.14 Contact + legal pages ===== */
.dm-contact-page{max-width:1080px;margin:0 auto}.dm-contact-hero{background:linear-gradient(135deg,#fffaf4,#f0dfc8);border:1px solid var(--dm-line);border-radius:30px;padding:46px 38px;text-align:center;box-shadow:0 16px 42px rgba(74,48,24,.08);margin-bottom:26px}.dm-contact-hero small{display:block;color:var(--dm-gold);font-weight:800;margin-bottom:5px}.dm-contact-hero h2{font-size:clamp(32px,4vw,50px);line-height:1.3;margin:0 0 10px}.dm-contact-hero p{max-width:680px;margin:0 auto;color:var(--dm-muted)}
.dm-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dm-contact-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:190px;text-align:center;background:var(--dm-card);border:1px solid var(--dm-line);border-radius:24px;padding:24px;transition:.2s;box-shadow:0 8px 24px rgba(74,48,24,.05)}.dm-contact-card:hover{transform:translateY(-4px);border-color:#d6b27a;box-shadow:var(--dm-shadow)}.dm-contact-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#f2dfc8;color:#a7742e;font-size:24px;margin-bottom:12px}.dm-contact-card strong{font-size:18px;margin-bottom:5px}.dm-contact-card span:last-child{color:var(--dm-muted);font-size:14px;line-height:1.8}
.dm-contact-social,.dm-contact-note{margin-top:20px;background:rgba(255,250,244,.9);border:1px solid var(--dm-line);border-radius:24px;padding:28px;text-align:center}.dm-contact-social h3,.dm-contact-note strong{font-size:23px;margin:0 0 7px;display:block}.dm-contact-social p,.dm-contact-note p{margin:0;color:var(--dm-muted)}.dm-contact-social-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px}.dm-contact-social-links a{border:1px solid #d9bb90;border-radius:999px;padding:10px 18px;font-weight:800;background:#fff}.dm-contact-social-links a:hover{background:var(--dm-gold);color:#fff;border-color:var(--dm-gold)}
.dm-legal-page{max-width:900px;margin:0 auto;background:var(--dm-card);border:1px solid var(--dm-line);border-radius:28px;padding:36px 42px;box-shadow:0 12px 34px rgba(74,48,24,.06);text-align:left;color:var(--dm-text);direction:ltr}.dm-legal-page .dm-legal-lead{color:var(--dm-gold);font-weight:800;text-transform:uppercase;letter-spacing:.03em}.dm-legal-page h2{font-size:28px;margin:28px 0 8px}.dm-legal-page h3{font-size:20px;margin:24px 0 8px}.dm-legal-page p{color:#5f5147;line-height:1.9}.dm-legal-page a{color:#9b6b28;text-decoration:underline}
@media(max-width:760px){.dm-contact-hero{padding:32px 20px;border-radius:22px}.dm-contact-grid{grid-template-columns:1fr}.dm-contact-card{min-height:150px}.dm-legal-page{padding:26px 20px;border-radius:22px}.dm-legal-page h2{font-size:23px}.footer-grid{gap:24px}}


/* =========================================================
   V6.15 CHECKOUT LAYOUT REPAIR
   Keeps the classic WooCommerce checkout inside the viewport,
   with Arabic details on the right and order summary on the left.
   ========================================================= */
body.woocommerce-checkout{
  overflow-x:clip!important;
}
.woocommerce-checkout .content-page{
  padding:0!important;
}
.woocommerce-checkout .content-page > .container{
  width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0!important;
}
.woocommerce-checkout .content-page article{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
.woocommerce-checkout .woocommerce{
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:24px 0 64px!important;
}
.woocommerce-checkout form.checkout{
  width:100%!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(330px,.78fr) minmax(0,1.22fr)!important;
  column-gap:42px!important;
  row-gap:0!important;
  align-items:start!important;
  direction:ltr!important;
  margin:0!important;
}
/* summary = left column */
.woocommerce-checkout #order_review_heading{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  clear:none!important;
  justify-self:stretch!important;
  margin:0 0 14px!important;
  padding:0!important;
  direction:rtl!important;
  text-align:right!important;
  font-size:25px!important;
}
.woocommerce-checkout #order_review{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  margin:50px 0 0!important;
  padding:20px!important;
  border-radius:18px!important;
  background:#fffaf4!important;
  border:1px solid var(--dm-line)!important;
  box-shadow:0 12px 34px rgba(74,48,24,.06)!important;
  position:sticky!important;
  top:155px!important;
  direction:rtl!important;
}
/* customer details = wide right column */
.woocommerce-checkout #customer_details{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  direction:rtl!important;
}
.woocommerce-checkout #customer_details:before,
.woocommerce-checkout #customer_details:after,
.woocommerce-checkout form.checkout:before,
.woocommerce-checkout form.checkout:after{
  display:none!important;
  content:none!important;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.woocommerce-checkout #customer_details h3{
  margin:0 0 18px!important;
  font-size:26px!important;
  text-align:right!important;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
  width:100%!important;
  max-width:100%!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 14px!important;
}
.woocommerce-checkout .form-row,
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last,
.woocommerce-checkout .form-row-wide{
  min-width:0!important;
  max-width:100%!important;
}
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container,
.woocommerce-checkout .select2-container .select2-selection--single{
  max-width:100%!important;
  min-width:0!important;
}
/* Coupon: compact and fully inside the checkout width */
.woocommerce-checkout .woocommerce-form-coupon-toggle{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 12px!important;
  text-align:right!important;
  direction:rtl!important;
}
.woocommerce-checkout form.checkout_coupon{
  width:100%!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  direction:rtl!important;
  margin:0 0 22px!important;
}
.woocommerce-checkout form.checkout_coupon .form-row{
  width:100%!important;
  float:none!important;
}
.woocommerce-checkout form.checkout_coupon button,
.woocommerce-checkout form.checkout_coupon .button{
  min-height:50px!important;
  white-space:nowrap!important;
}
/* Review table should never create horizontal scrolling */
.woocommerce-checkout #order_review table,
.woocommerce-checkout #order_review table.shop_table{
  width:100%!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.woocommerce-checkout #order_review .product-name{
  width:68%!important;
  overflow-wrap:anywhere!important;
}
.woocommerce-checkout #order_review .product-total{
  width:32%!important;
  white-space:nowrap!important;
}
.woocommerce-checkout #order_review td,
.woocommerce-checkout #order_review th{
  min-width:0!important;
}

@media(max-width:1020px){
  .woocommerce-checkout form.checkout{
    grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr)!important;
    column-gap:26px!important;
  }
  .woocommerce-checkout #order_review{
    top:135px!important;
    padding:16px!important;
  }
}
@media(max-width:820px){
  .woocommerce-checkout .content-page > .container{
    width:min(100% - 20px,1180px)!important;
  }
  .woocommerce-checkout .woocommerce{
    padding-top:16px!important;
  }
  .woocommerce-checkout form.checkout{
    display:flex!important;
    flex-direction:column!important;
    gap:24px!important;
    direction:rtl!important;
  }
  .woocommerce-checkout #customer_details{
    order:1!important;
  }
  .woocommerce-checkout #order_review_heading{
    order:2!important;
    margin:4px 0 0!important;
  }
  .woocommerce-checkout #order_review{
    order:3!important;
    margin:0!important;
    position:static!important;
  }
}
@media(max-width:620px){
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
    grid-template-columns:1fr!important;
  }
  .woocommerce-checkout form.checkout_coupon{
    grid-template-columns:1fr!important;
  }
  .woocommerce-checkout form.checkout_coupon button,
  .woocommerce-checkout form.checkout_coupon .button{
    width:100%!important;
  }
  .woocommerce-checkout #customer_details h3,
  .woocommerce-checkout #order_review_heading{
    font-size:22px!important;
  }
}


/* V6.16 — Shop/category pages: products first, no repeated category grid. */
.post-type-archive-product .shop-categories,
.tax-product_cat .shop-categories{display:none!important}
.tax-product_cat .shop-hero{display:none!important}
.tax-product_cat .woocommerce-main{padding-top:34px!important}
.post-type-archive-product .shop-hero{padding-bottom:6px}

/* Header cart quantity badge */
.header-start .round-icon{position:relative}
.dm-cart-count{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--dm-gold);color:#fff;font-size:10px;font-weight:800;line-height:19px;text-align:center;border:2px solid #fffaf4}

/* Strong add-to-cart confirmation */
.dm-cart-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}
.dm-cart-modal.is-open{display:flex}
.dm-cart-modal-backdrop{position:absolute;inset:0;background:rgba(35,25,17,.48);backdrop-filter:blur(3px)}
.dm-cart-modal-card{position:relative;z-index:1;width:min(470px,100%);background:#fffaf4;border:1px solid var(--dm-line);border-radius:26px;padding:34px;text-align:center;box-shadow:0 24px 70px rgba(58,38,19,.22);animation:dmCartPop .2s ease-out}
.dm-cart-modal-check{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#f2e2c8;color:#9b6b28;font-size:28px;font-weight:800}
.dm-cart-modal-card h3{font-size:24px;margin:0 0 8px}.dm-cart-modal-card p{color:var(--dm-muted);margin:0 0 22px}
.dm-cart-modal-close{position:absolute;top:12px;left:14px;border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;color:#6f573d}
.dm-cart-modal-actions,.dm-cart-success-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.dm-cart-modal-actions .button,.dm-cart-success-actions .button{min-width:150px;text-align:center}
body.dm-modal-open{overflow:hidden}
@keyframes dmCartPop{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.dm-cart-success-inline{display:grid;gap:7px}.dm-cart-success-inline>span{color:var(--dm-muted)}.dm-cart-success-actions{justify-content:flex-start;margin-top:8px}
@media(max-width:600px){.dm-cart-modal-card{padding:30px 18px 22px}.dm-cart-modal-actions{display:grid}.dm-cart-modal-actions .button{width:100%}.tax-product_cat .woocommerce-main{padding-top:20px!important}}


/* ===== V6.17 offers navigation + contact map ===== */
.dm-offers-section{scroll-margin-top:150px}
.dm-offers-section .section-head p{margin:8px 0 0;color:var(--dm-muted)}
.dm-contact-map{margin-top:20px;background:var(--dm-card);border:1px solid var(--dm-line);border-radius:26px;padding:18px;overflow:hidden;box-shadow:0 8px 24px rgba(74,48,24,.05)}
.dm-contact-map-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 8px 16px}.dm-contact-map-head small{display:block;color:var(--dm-gold);font-weight:800;margin-bottom:4px}.dm-contact-map-head h3{margin:0;font-size:24px}.dm-contact-map iframe{width:100%;height:390px;border:0;border-radius:20px;display:block}
@media(max-width:760px){.dm-contact-map{padding:12px;border-radius:20px}.dm-contact-map-head{align-items:flex-start;flex-direction:column}.dm-contact-map iframe{height:320px}.dm-contact-map-head .button{width:100%;text-align:center}}
