/*
Theme Name: ITRI Luxe
Theme URI: https://example.com/itri-luxe
Author: Smart Advice
Author URI: https://example.com
Description: Thème WordPress minimaliste luxe (FR/AR, RTL), compatible WooCommerce. Conçu pour la marque ITRI.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: itri-luxe
Domain Path: /languages
Tags: custom-logo, translation-ready, rtl-language-support, woocommerce, blog
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================
   ITRI LUXE — Base styles
   ========================= */


/* Arabic font */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');

:root{

  --black-cosmic:#0A0A0A;
  --gold-celestial:#C9A646;
  --grey-mineral:#7E7E7E;
  --white-light:#F4F1EA;
  --radius:18px;
  --shadow: 0 10px 28px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--black-cosmic);
  color:var(--white-light);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height:1.8;
}
a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--gold-celestial); }
img{ max-width:100%; height:auto; display:block; }

.container{
  width:min(1180px, calc(100% - 48px));
  margin-inline:auto;
}

.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(201,166,70,.16);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.brand{
  display:flex; align-items:center; gap:12px; min-width: 160px;
}
.brand-mark{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px;
  border:1px solid rgba(201,166,70,.55);
  border-radius:999px;
}
.brand-title{
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:15px;
}
.brand-sub{
  color:var(--grey-mineral);
  font-size:12px;
  letter-spacing:.08em;
}

.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{ display:inline-block; 
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.92;
}
.nav a:focus-visible{ outline:2px solid var(--gold-celestial); outline-offset:3px; }

.header-actions{
  display:flex; align-items:center; gap:12px;
}

.lang-switcher{
  display:flex; gap:8px; align-items:center;
  border:1px solid rgba(201,166,70,.28);
  padding:8px 10px;
  border-radius:999px;
}
.lang-switcher a{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.85;
}
.lang-switcher .is-active{
  color:var(--gold-celestial);
  opacity:1;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:999px;
  border:1px solid rgba(201,166,70,.65);
  background:transparent;
  color:var(--white-light);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  transition: all .4s ease;
  cursor:pointer;
}
.btn:hover{
  background: rgba(201,166,70,.08);
}
.btn:focus-visible{
  outline:2px solid var(--gold-celestial);
  outline-offset:3px;
}

.hero{
  padding:86px 0 56px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:-40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,166,70,.13), transparent 42%),
    radial-gradient(circle at 72% 62%, rgba(244,241,234,.06), transparent 45%),
    radial-gradient(circle at 45% 10%, rgba(201,166,70,.09), transparent 38%);
  filter: blur(0px);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:34px;
  align-items:center;
}
.kicker{
  color:var(--grey-mineral);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:12px;
}
.h1{
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:44px;
  line-height:1.2;
  margin:12px 0 10px;
}
.lead{
  color:rgba(244,241,234,.88);
  max-width: 58ch;
  margin:0 0 22px;
}
.hero-card{
  border:1px solid rgba(201,166,70,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  padding:22px;
}
.hero-card .meta{
  color:var(--grey-mineral);
  font-size:13px;
  margin:0 0 10px;
}
.hero-card .value{
  font-size:18px;
  margin:0;
}
.hr{
  height:1px;
  background: rgba(201,166,70,.18);
  margin:18px 0;
}

.section{
  padding:56px 0;
}
.section-title{
  font-family: Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:22px;
  margin:0 0 12px;
}
.section-sub{
  color:rgba(244,241,234,.82);
  margin:0 0 26px;
  max-width: 70ch;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  border:1px solid rgba(201,166,70,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  padding:22px;
}
.card h3{
  margin:0 0 8px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:14px;
}
.card p{ margin:0; color:rgba(244,241,234,.82); }

.products-wrap{
  border:1px solid rgba(201,166,70,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.015);
  padding:18px;
}
.woocommerce ul.products li.product{
  background: rgba(255,255,255,.02);
  border:1px solid rgba(201,166,70,.18);
  border-radius: var(--radius);
  padding:14px !important;
}
.woocommerce ul.products li.product .price{
  color: var(--gold-celestial);
}
.woocommerce a.button{
  border:1px solid rgba(201,166,70,.65);
  background:transparent !important;
  color:var(--white-light) !important;
  border-radius:999px !important;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px !important;
  padding:10px 16px !important;
  transition: all .35s ease;
}
.woocommerce a.button:hover{
  background: rgba(201,166,70,.08) !important;
}

.page-head{
  padding:44px 0 18px;
}
.page-head h1{
  margin:0;
  font-family: Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:34px;
}
.page-head p{
  margin:8px 0 0;
  color:rgba(244,241,234,.82);
  max-width: 80ch;
}

.form{
  display:grid;
  gap:12px;
  max-width:680px;
}
.input, .textarea{
  width:100%;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(201,166,70,.22);
  color:var(--white-light);
  padding:12px 14px;
  border-radius: 14px;
  outline:none;
}
.textarea{ min-height: 160px; resize: vertical; }
.note{
  color:var(--grey-mineral);
  font-size:13px;
}

.site-footer{
  border-top:1px solid rgba(201,166,70,.16);
  padding:28px 0;
  color:rgba(244,241,234,.75);
  font-size:13px;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-grid a{ opacity:.9; }
.footer-grid a:hover{ opacity:1; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .cards{ grid-template-columns:1fr; }
  .h1{ font-size:38px; }
  .nav{ display:none; }
}


/* =========================
   Mobile menu + animations
   ========================= */

.burger{
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid rgba(201,166,70,.28);
  background:transparent;
  color:var(--white-light);
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: all .35s ease;
}
.burger:hover{ background: rgba(201,166,70,.08); }
.burger:focus-visible{ outline:2px solid var(--gold-celestial); outline-offset:3px; }
.burger-lines{
  width:18px; height:12px; position:relative;
}
.burger-lines span{
  position:absolute; left:0; right:0;
  height:1px; background: rgba(244,241,234,.92);
  transition: transform .35s ease, opacity .35s ease, top .35s ease;
}
.burger-lines span:nth-child(1){ top:0; }
.burger-lines span:nth-child(2){ top:5.5px; }
.burger-lines span:nth-child(3){ top:11px; }

body.menu-open .burger-lines span:nth-child(1){ top:5.5px; transform: rotate(45deg); }
body.menu-open .burger-lines span:nth-child(2){ opacity:0; }
body.menu-open .burger-lines span:nth-child(3){ top:5.5px; transform: rotate(-45deg); }

.mobile-nav-overlay{
  position:fixed; inset:0;
  background: rgba(10,10,10,.62);
  backdrop-filter: blur(10px);
  opacity:0; pointer-events:none;
  transition: opacity .35s ease;
  z-index: 80;
}
body.menu-open .mobile-nav-overlay{ opacity:1; pointer-events:auto; }

.mobile-nav{
  position:fixed;
  top:0; bottom:0;
  width:min(380px, 92vw);
  background: rgba(10,10,10,.92);
  border-left: 1px solid rgba(201,166,70,.18);
  right:-420px;
  transition: right .45s ease;
  z-index: 90;
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
body.rtl .mobile-nav{ left:-420px; right:auto; border-left:0; border-right:1px solid rgba(201,166,70,.18); }
body.menu-open .mobile-nav{ right:0; }
body.menu-open.rtl .mobile-nav{ left:0; }

.mobile-nav-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(201,166,70,.16);
}
.mobile-nav-title{
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:14px;
}
.mobile-nav-close{
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid rgba(201,166,70,.28);
  background:transparent;
  color:var(--white-light);
  cursor:pointer;
}
.mobile-nav-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-top:12px;
}
.mobile-nav-links a{
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(201,166,70,.14);
  background: rgba(255,255,255,.01);
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px;
}
.mobile-nav-links a:hover{
  background: rgba(201,166,70,.06);
  border-color: rgba(201,166,70,.28);
}

.reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .9s ease, transform .9s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

@media (max-width: 980px){
  .burger{ display:inline-flex; }
  .header-actions .btn{ display:none; }
}

body.rtl{
  font-family: 'Tajawal', system-ui, -apple-system, sans-serif;
}

/* Product hover luxury */
.woocommerce ul.products li.product{
  transition: transform .45s ease, box-shadow .45s ease;
}
.woocommerce ul.products li.product:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}

/* =========================
   WooCommerce — single product (premium)
   ========================= */
.single-product .product{
  border:1px solid rgba(201,166,70,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.015);
  padding:18px;
}
.single-product .woocommerce-product-gallery{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(201,166,70,.14);
  background: rgba(255,255,255,.01);
}
.single-product .summary{
  padding: 6px 4px;
}
.single-product .product_title{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.single-product .price{
  color: var(--gold-celestial) !important;
  font-size: 20px !important;
}
.woocommerce div.product form.cart .button{
  border:1px solid rgba(201,166,70,.65) !important;
  background:transparent !important;
  color:var(--white-light) !important;
  border-radius:999px !important;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:12px 18px !important;
  transition: all .35s ease;
}
.woocommerce div.product form.cart .button:hover{
  background: rgba(201,166,70,.08) !important;
}


/* =========================
   Hero — Stars background
   ========================= */
.hero{ position:relative; }
.hero-stars{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.hero-stars canvas{ width:100%; height:100%; display:block; }
.hero > .container{ position:relative; z-index:1; }

/* Wordmark typography (Direction 1) */
.brand-title,
.h1,
.section-title,
.page-head h1{
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  letter-spacing:.22em;
}
.brand-title{
  letter-spacing:.28em;
  text-transform:uppercase;
}
/* =========================
   ITRI — Manifest Sticky Section (fixed only inside section)
   ========================= */
.section-fixed-image.itri-manifest{
  position: relative;
  background: #0A0A0A; /* important: évite que le fond se “voit” ailleurs */
  border-top: 1px solid rgba(201,166,70,.12);
  border-bottom: 1px solid rgba(201,166,70,.12);
}

/* zone sticky : colle au viewport pendant la section seulement */
.section-fixed-image.itri-manifest .fixed-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

/* image */
.section-fixed-image.itri-manifest .fixed-media{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

/* overlay luxe */
.section-fixed-image.itri-manifest .fixed-overlay{
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 22%,
    rgba(201,166,70,.12),
    rgba(10,10,10,.86) 58%,
    rgba(10,10,10,.95) 100%);
}

/* contenu */
.section-fixed-image.itri-manifest .fixed-inner{
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 18px;
  text-align: center;
}

/* donne du “scroll” à la section pour profiter du sticky */
.section-fixed-image.itri-manifest{
  min-height: 180vh; /* ajuste si tu veux plus/moins de durée sticky */
}

.section-fixed-image.itri-manifest .manifest-pillars{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.section-fixed-image.itri-manifest .manifest-pillars span{
  border: 1px solid rgba(201,166,70,.35);
  background: rgba(255,255,255,.03);
  color: rgba(244,241,234,.88);
  padding: 10px 14px;
  border-radius: 999px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.trust-bar{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;padding:14px 20px;border-top:1px solid rgba(201,166,70,.12);color:var(--grey-mineral);font-size:13px;letter-spacing:.05em}
.final-cta{text-align:center;margin-bottom:28px}
.final-cta h3{margin-top:0;font-size:22px;letter-spacing:.08em}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);transition:.35s ease;box-shadow:0 14px 30px rgba(0,0,0,.35)}
.single_add_to_cart_button,.woocommerce a.button,.woocommerce button.button{min-height:46px;font-weight:600}
@media(max-width:768px){.trust-bar{justify-content:flex-start;font-size:12px}.hero-cta .btn{width:100%}}


/* =========================
   ITRI V3 — Conversion Luxe
   ========================= */
.topbar-conversion{
  background:linear-gradient(90deg, rgba(201,166,70,.14), rgba(201,166,70,.05));
  border-bottom:1px solid rgba(201,166,70,.16);
  font-size:12px;
  letter-spacing:.08em;
}
.topbar-conversion .container{
  display:flex; gap:18px; justify-content:center; align-items:center;
  padding:8px 0; flex-wrap:wrap;
}
.topbar-conversion strong{ color:var(--gold-celestial); font-weight:600; }

.sticky-convert{
  position:fixed; left:0; right:0; bottom:0; z-index:70;
  background:rgba(10,10,10,.94); backdrop-filter:blur(12px);
  border-top:1px solid rgba(201,166,70,.18);
  transform:translateY(120%);
  transition:transform .35s ease;
}
.sticky-convert.is-visible{ transform:translateY(0); }
.sticky-convert-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:12px 0;
}
.sticky-convert-copy{ font-size:13px; color:rgba(244,241,234,.82); }
.sticky-convert-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.btn-gold{
  background:var(--gold-celestial);
  color:#111;
  border-color:var(--gold-celestial);
  box-shadow:0 10px 28px rgba(201,166,70,.18);
}
.btn-gold:hover{ background:#d8b763; color:#111; }

.urgency-band{
  margin:16px 0 0;
  display:inline-flex; gap:8px; align-items:center;
  padding:10px 16px; border-radius:999px;
  border:1px solid rgba(201,166,70,.26);
  background:rgba(201,166,70,.06);
  font-size:12px; letter-spacing:.08em; text-transform:uppercase;
}

.social-proof{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:28px;
}
.social-proof .proof{
  padding:20px; border:1px solid rgba(201,166,70,.12); border-radius:16px;
  background:rgba(255,255,255,.02);
}
.social-proof .proof strong{ display:block; font-size:26px; color:var(--gold-celestial); }

.exit-popup{
  position:fixed; inset:0; z-index:90; display:none;
  align-items:center; justify-content:center; padding:24px;
  background:rgba(0,0,0,.64);
}
.exit-popup.is-visible{ display:flex; }
.exit-popup-card{
  width:min(560px, 100%);
  background:#111; border:1px solid rgba(201,166,70,.22); border-radius:22px;
  box-shadow:var(--shadow); padding:28px;
}
.exit-popup-card h3{ margin-top:0; letter-spacing:.08em; text-transform:uppercase; }
.exit-popup-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }

.whatsapp-float{
  position:fixed; right:20px; bottom:92px; z-index:75;
  padding:12px 16px; border-radius:999px;
  background:#111; border:1px solid rgba(201,166,70,.25);
  box-shadow:var(--shadow); font-size:12px; letter-spacing:.08em;
}
.product-card-badge{
  position:absolute; top:14px; left:14px; z-index:3;
  padding:7px 10px; border-radius:999px; background:rgba(10,10,10,.84);
  border:1px solid rgba(201,166,70,.24); color:var(--gold-celestial);
  font-size:10px; letter-spacing:.14em; text-transform:uppercase;
}
.woocommerce ul.products li.product{ position:relative; overflow:hidden; }
.woocommerce ul.products li.product .button{
  width:100%; margin-top:12px !important; border-radius:999px !important;
  background:var(--gold-celestial) !important; color:#111 !important;
  text-transform:uppercase; letter-spacing:.12em; font-size:11px !important;
}
.woocommerce ul.products li.product .price{ color:var(--gold-celestial) !important; font-weight:600; }
@media (max-width: 820px){
  .social-proof{ grid-template-columns:1fr; }
  .sticky-convert-inner{ flex-direction:column; align-items:flex-start; }
  .whatsapp-float{ right:14px; bottom:82px; }
}


/* =========================
   ITRI V4 — Offer structure / cart / single product
   ========================= */
.itri-choice-section{ padding-top:14px; }
.format-grid{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:20px;
  margin-top:28px;
}
.format-card{
  position:relative;
  padding:28px;
  border-radius:22px;
  border:1px solid rgba(201,166,70,.16);
  background:rgba(255,255,255,.02);
  box-shadow:var(--shadow);
}
.format-card-featured{
  background:linear-gradient(180deg, rgba(201,166,70,.10), rgba(255,255,255,.02));
  border-color:rgba(201,166,70,.34);
}
.format-badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(201,166,70,.24);
  color:var(--gold-celestial);
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.format-card h3{ margin:0 0 10px; font-size:24px; line-height:1.35; }
.format-points{
  list-style:none; padding:0; margin:18px 0 0;
  display:grid; gap:10px;
}
.format-points li{
  padding-left:18px; position:relative; color:rgba(244,241,234,.88);
}
.format-points li::before{
  content:"•"; position:absolute; left:0; color:var(--gold-celestial);
}
.format-actions{ margin-top:20px; }

.shop-strategy-card{
  display:grid; grid-template-columns:1.2fr .8fr; gap:18px;
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(201,166,70,.18);
  background:rgba(255,255,255,.02);
}
.shop-strategy-card h2{ margin:4px 0 10px; }
.shop-strategy-points{
  display:flex; flex-wrap:wrap; gap:10px; align-content:flex-start;
}
.shop-strategy-points span{
  display:inline-flex; padding:10px 14px; border-radius:999px;
  border:1px solid rgba(201,166,70,.18); background:rgba(201,166,70,.05);
  font-size:12px; letter-spacing:.06em;
}

.itri-offer-note,
.itri-cart-upgrade{
  padding:18px 20px;
  border-radius:18px;
  border:1px solid rgba(201,166,70,.18);
  background:rgba(201,166,70,.05);
  margin:0 0 20px;
}
.itri-offer-note strong,
.itri-cart-upgrade strong{ color:var(--gold-celestial); }

.itri-single-reassurance{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin:18px 0 18px;
}
.itri-single-reassurance > div{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(201,166,70,.14);
  background:rgba(255,255,255,.02);
}
.itri-single-reassurance strong{
  display:block; color:var(--gold-celestial); font-size:12px; letter-spacing:.10em; text-transform:uppercase;
}
.itri-single-reassurance span{
  display:block; margin-top:6px; font-size:14px; color:rgba(244,241,234,.86);
}

.itri-box-upsell{
  margin-top:18px;
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(201,166,70,.18);
  background:linear-gradient(180deg, rgba(201,166,70,.08), rgba(255,255,255,.02));
}
.itri-box-upsell h3{ margin:8px 0 8px; }
.itri-box-upsell-badge{
  display:inline-flex; padding:7px 11px; border-radius:999px;
  border:1px solid rgba(201,166,70,.24); color:var(--gold-celestial);
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button{
  min-height:50px;
  min-width:220px;
  border-radius:999px !important;
  box-shadow:0 12px 26px rgba(201,166,70,.18);
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #customer_details{
  margin-top:18px;
}

@media (max-width: 900px){
  .format-grid,
  .shop-strategy-card,
  .itri-single-reassurance{
    grid-template-columns:1fr;
  }
}


/* =========================
   ITRI fix — Arabic typography + remove overlap issues
   ========================= */

/* Stronger Arabic shaping/rendering */
html[lang^="ar"] body,
html[dir="rtl"] body,
body.rtl {
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0 !important;
  word-spacing: normal;
  font-kerning: normal;
  font-feature-settings: "liga" 1, "calt" 1, "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Prevent spaced-out Arabic headings/buttons/labels */
html[lang^="ar"] .brand-title,
html[dir="rtl"] .brand-title,
body.rtl .brand-title,
html[lang^="ar"] .nav a,
html[dir="rtl"] .nav a,
body.rtl .nav a,
html[lang^="ar"] .btn,
html[dir="rtl"] .btn,
body.rtl .btn,
html[lang^="ar"] .kicker,
html[dir="rtl"] .kicker,
body.rtl .kicker,
html[lang^="ar"] .meta,
html[dir="rtl"] .meta,
body.rtl .meta,
html[lang^="ar"] .section-title,
html[dir="rtl"] .section-title,
body.rtl .section-title,
html[lang^="ar"] .section-sub,
html[dir="rtl"] .section-sub,
body.rtl .section-sub,
html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
body.rtl h1,
body.rtl h2,
body.rtl h3 {
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Keep Latin logo elegant while Arabic pages stay readable */
html[lang^="ar"] .brand-title,
html[dir="rtl"] .brand-title,
body.rtl .brand-title {
  font-family: Georgia, "Times New Roman", serif !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

/* Arabic hero and body text rhythm */
html[lang^="ar"] .h1,
html[dir="rtl"] .h1,
body.rtl .h1 {
  line-height: 1.35;
  letter-spacing: 0 !important;
}
html[lang^="ar"] .lead,
html[dir="rtl"] .lead,
body.rtl .lead,
html[lang^="ar"] p,
html[dir="rtl"] p,
body.rtl p,
html[lang^="ar"] li,
html[dir="rtl"] li,
body.rtl li {
  letter-spacing: 0 !important;
  line-height: 1.9;
}

/* Hide now-unused floating widget styles */
.whatsapp-float { display: none !important; }
