/* Widad DXB Style — Morocco × UAE design layer (loaded after the theme and Elementor styles) */
:root{--widad-burgundy:#6F0000;--widad-burgundy-dark:#4E0000;--widad-gold:#C9A34E;--widad-sand:#F7F3F2;--widad-cream:#FFEFD7;--widad-green:#1F4D3A;--widad-ink:#1A1A1A;--widad-muted:#6B6B6B}

/* ---------- Arabic typography: Tajawal for text, Amiri for headings. Letter-spacing breaks Arabic joins → reset everywhere. */
html[lang="ar"] body,html[lang="ar"] p,html[lang="ar"] a,html[lang="ar"] li,html[lang="ar"] td,html[lang="ar"] th,html[lang="ar"] label,html[lang="ar"] input,html[lang="ar"] button,html[lang="ar"] select,html[lang="ar"] textarea,html[lang="ar"] .elementor-widget-text-editor,html[lang="ar"] .elementor-button-text,html[lang="ar"] .menu,html[lang="ar"] .woocommerce,html[lang="ar"] .header-text{font-family:'Tajawal','Poppins',Tahoma,sans-serif!important;letter-spacing:0!important}
html[lang="ar"] body{line-height:1.85}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] h4,html[lang="ar"] h5,html[lang="ar"] h6,html[lang="ar"] .elementor-heading-title,html[lang="ar"] .page-head h1,html[lang="ar"] .product_title,html[lang="ar"] .woocommerce-loop-product__title,html[lang="ar"] .product-title,html[lang="ar"] .widget-title,html[lang="ar"] .n2-font-heading{font-family:'Amiri','Tajawal',serif!important;letter-spacing:0!important;line-height:1.55;text-transform:none!important}
html[lang="ar"] .elementor-heading-title{letter-spacing:0!important}
html[lang="ar"] .elementor-widget-heading .elementor-heading-title{font-weight:700}
html[lang="ar"] .elementor-button .elementor-button-text{font-weight:500}
html[lang="ar"] .header-text,html[lang="ar"] .header__top{font-size:13px}
html[lang="ar"] .price,html[lang="ar"] .woocommerce-Price-amount,html[lang="ar"] .n2-ss-slider{font-family:'Tajawal',sans-serif}

/* ---------- Palette hooks (theme + Elementor defaults are overridden where they clash with the brand) */
.elementor-widget-button .elementor-button{transition:background-color .2s ease,color .2s ease}
.elementor-widget-button .elementor-button:hover{background-color:var(--widad-gold)!important;color:var(--widad-ink)!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.single_add_to_cart_button:hover{background-color:var(--widad-gold)!important;color:var(--widad-ink)!important}
.widad-title .elementor-heading-title::after{content:"";display:block;width:56px;height:2px;background:var(--widad-gold);margin:14px auto 0}
.widad-title .elementor-heading-title{text-align:center}
.jas-social a:hover,.header__top a:hover{color:var(--widad-gold)!important}

/* ---------- Zellige motif: an 8-point star tile drawn in the brand burgundy at very low opacity */
.widad-motif{position:relative;overflow:hidden}
.widad-motif::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.07;background-size:120px 120px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%236F0000' stroke-width='1.3'><rect x='30' y='30' width='60' height='60'/><rect x='30' y='30' width='60' height='60' transform='rotate(45 60 60)'/><circle cx='60' cy='60' r='9'/><path d='M60 0v18M60 102v18M0 60h18M102 60h18'/></g></svg>")}
.widad-motif>.elementor-container,.widad-motif>.elementor-widget-wrap{position:relative;z-index:1}
.widad-motif--dark::before{opacity:.12;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23FFFFFF' stroke-width='1.3'><rect x='30' y='30' width='60' height='60'/><rect x='30' y='30' width='60' height='60' transform='rotate(45 60 60)'/><circle cx='60' cy='60' r='9'/><path d='M60 0v18M60 102v18M0 60h18M102 60h18'/></g></svg>")}

/* ---------- Home slider (Pro Elements "Slides" widget inside the .widad-hero section) */
.widad-hero{position:relative}
.widad-slider .elementor-slide-heading,.widad-slider .elementor-slide-description{text-shadow:0 2px 14px rgba(0,0,0,.35)}
.widad-slide__kicker{display:block;font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;letter-spacing:3px;color:var(--widad-gold);margin-bottom:16px;text-transform:uppercase}
html[lang="ar"] .widad-slide__kicker{font-family:'Tajawal',sans-serif;letter-spacing:0;font-size:16px}
.widad-slider .elementor-swiper-button{opacity:.75;transition:opacity .2s}
.widad-slider .elementor-swiper-button:hover{opacity:1}
.widad-slider .swiper-pagination-bullet{transition:transform .2s}
.widad-slider .swiper-pagination-bullet-active{transform:scale(1.35)}
@media (max-width:767px){.widad-slider .elementor-swiper-button{display:none}.widad-slider .elementor-slide-heading{line-height:1.25}}

/* ---------- "Coming soon" tiles and empty archives */
.widad-soon .elementor-heading-title::after{content:" · Coming soon";display:block;font-size:11px;letter-spacing:2px;color:var(--widad-gold);font-weight:600;margin-top:4px}
html[lang="ar"] .widad-soon .elementor-heading-title::after{content:" · قريبًا";letter-spacing:0}
.widad-empty{text-align:center;padding:60px 20px;background:var(--widad-sand);margin:20px 0 40px}
.widad-empty__title{font-size:24px;color:var(--widad-burgundy);margin-bottom:8px;font-weight:600}
.widad-empty .button{background:var(--widad-burgundy);color:#fff;margin-top:12px}

/* ---------- Product page extras */
.widad-size-guide{margin:12px 0 18px;font-size:13px;color:var(--widad-muted)}
.widad-size-guide a{color:var(--widad-burgundy);text-decoration:underline}
.widad-story dt{margin-top:14px;color:var(--widad-burgundy)}
.widad-story dd{margin:2px 0 0}

/* ---------- Language switcher in the header top bar (replaces the floating pill) */
.header__top .wdb-switcher{display:inline-flex;padding:2px;background:transparent;border:1px solid rgba(255,255,255,.55);border-radius:999px;vertical-align:middle}
.header__top .wdb-switcher a{color:#fff;padding:3px 11px;font-size:12px;line-height:1.4;border-radius:999px}
.header__top .wdb-switcher a[aria-current="true"]{background:#fff;color:var(--widad-burgundy)}
@media (max-width:767px){.header__top .jas-col-md-4{text-align:center}}

/* ---------- Category tiles */
.elementor-widget-image img{transition:transform .35s ease}
.elementor-widget-image:hover img{transform:scale(1.02)}

/* ---------- Footer */
.footer-contact p{margin-bottom:6px}
.footer-contact strong{letter-spacing:2px}
html[lang="ar"] .footer-contact strong{letter-spacing:0}

/* ---------- Contact form (Contact Form 7, table layout from the theme template): never wider than the screen */
.wpcf7 table{table-layout:fixed;width:100%!important}
.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.wpcf7 select,.wpcf7 textarea{width:100%!important;max-width:100%;box-sizing:border-box}
@media (max-width:767px){.wpcf7 table,.wpcf7 tbody,.wpcf7 tr,.wpcf7 td{display:block;width:100%!important;padding:0 0 10px!important}}
