/* TAQA STORE V243 — Premium Footer + Legal Experience
   Visual-only customer experience layer. Desktop and mobile are intentionally independent. */

:root{
  --v243-green:#22e86f;
  --v243-green-soft:rgba(34,232,111,.10);
  --v243-ink:#050907;
  --v243-panel:#0a100d;
  --v243-panel-2:#0d1511;
  --v243-line:rgba(255,255,255,.075);
  --v243-text:#f6f8f7;
  --v243-muted:#9da8a2;
}

/* =============================
   PREMIUM FOOTER — SHARED
   ============================= */
.footer,footer.footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(800px 320px at 82% -70px,rgba(34,232,111,.10),transparent 66%),
    linear-gradient(180deg,#070b09 0%,#030504 100%)!important;
  border-top:1px solid rgba(255,255,255,.07)!important;
}
.footer::before{
  content:"";
  position:absolute;
  inset:0 auto auto 50%;
  width:min(92vw,1400px);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(34,232,111,.34),transparent);
  pointer-events:none;
}
.taqa-site-footer-v203{
  position:relative;
  z-index:1;
  width:min(100%,1480px)!important;
  margin-inline:auto!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--v243-text)!important;
}
.taqa-site-footer-grid-v203{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
}
.taqa-site-footer-v203 .taqa-builder-section{
  min-width:0;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.taqa-site-footer-v203 .taqa-builder-section>h3{
  margin:0 0 16px!important;
  color:#f7faf8!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.3!important;
  letter-spacing:0!important;
}
.taqa-site-footer-v203 .taqa-builder-section>h3::after{
  content:"";
  display:block;
  width:24px;
  height:2px;
  margin-top:9px;
  background:var(--v243-green);
  border-radius:99px;
  opacity:.8;
}
.taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-logo-picture,
.taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-logo-picture img{
  display:block!important;
  object-fit:contain!important;
}
.taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-text p{
  color:#a9b3ae!important;
  line-height:1.95!important;
  font-weight:400!important;
}
.taqa-site-footer-v203 .taqa-builder-links nav{gap:4px!important;}
.taqa-site-footer-v203 .taqa-builder-links a{
  position:relative;
  display:flex!important;
  align-items:center;
  width:max-content;
  max-width:100%;
  min-height:34px;
  color:#9ca7a1!important;
  font-weight:500!important;
  line-height:1.45!important;
  transition:color .18s ease,transform .18s ease!important;
}
.taqa-site-footer-v203 .taqa-builder-links a::before{
  content:"";
  width:0;
  height:1px;
  margin-inline-end:0;
  background:var(--v243-green);
  border-radius:99px;
  transition:width .18s ease,margin .18s ease;
}
.taqa-site-footer-v203 .taqa-builder-links a:hover{
  color:#fff!important;
  transform:translateX(-2px);
}
.taqa-site-footer-v203 .taqa-builder-links a:hover::before{width:12px;margin-inline-end:7px;}
.taqa-site-footer-v203 .taqa-builder-social-row{gap:8px!important;}
.taqa-site-footer-v203 .taqa-builder-social-row a{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.025)!important;
  color:#dce3df!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease!important;
}
.taqa-site-footer-v203 .taqa-builder-social-row a:hover{
  transform:translateY(-2px);
  color:#07110b!important;
  background:var(--v243-green)!important;
  border-color:var(--v243-green)!important;
}
.taqa-site-footer-v203 .taqa-builder-payment-row{gap:8px!important;}
.taqa-site-footer-v203 .taqa-builder-payment-item{
  width:auto!important;
  min-width:72px!important;
  height:39px!important;
  padding:7px 11px!important;
  border-radius:9px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(0,0,0,.13)!important;
}
.taqa-site-footer-v203 .taqa-builder-payment-item img{max-width:58px!important;max-height:19px!important;}
.taqa-site-footer-v203 .taqa-builder-block-label{
  color:#7f8a84!important;
  font-weight:600!important;
  margin-bottom:10px!important;
}
.taqa-site-footer-v203 .taqa-builder-info-card{
  justify-content:flex-start!important;
  gap:12px!important;
  padding:14px 15px!important;
  border:1px solid rgba(255,255,255,.07)!important;
  background:rgba(255,255,255,.022)!important;
  border-radius:14px!important;
}
.taqa-site-footer-v203 .taqa-builder-info-card picture,
.taqa-site-footer-v203 .taqa-builder-info-card img{
  width:46px!important;
  height:46px!important;
  object-fit:contain!important;
}
.taqa-site-footer-v203 .taqa-builder-info-card strong{font-size:13px!important;color:#f7faf8!important;}
.taqa-site-footer-v203 .taqa-builder-info-card p,
.taqa-site-footer-v203 .taqa-builder-info-card small{font-size:11.5px!important;color:#8d9992!important;}
.taqa-site-footer-v203 .taqa-builder-image-picture img{
  object-fit:contain!important;
}
.taqa-site-footer-v203 .taqa-builder-backtop{
  min-height:38px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:rgba(255,255,255,.025)!important;
  color:#b9c3be!important;
  font-size:12px!important;
  font-weight:600!important;
}
.taqa-site-footer-v203 .taqa-builder-backtop:hover{border-color:rgba(34,232,111,.34)!important;color:#fff!important;background:rgba(34,232,111,.06)!important;}
.taqa-site-footer-v203 .taqa-builder-section[data-section-id="copyright"]{
  border-top:1px solid rgba(255,255,255,.065)!important;
  color:#727d77!important;
}

/* =============================
   FOOTER — DESKTOP
   ============================= */
@media (min-width:1024px){
  .footer,footer.footer{margin-top:92px!important;}
  .taqa-site-footer-v203{padding:56px 42px 32px!important;font-family:'IBM Plex Sans Arabic','Tajawal',sans-serif!important;}
  .taqa-site-footer-grid-v203{column-gap:38px!important;row-gap:36px!important;align-items:start!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="backtop"]{grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;margin-bottom:-4px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"]{grid-column:span 4!important;padding-inline-end:22px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="navigation"]{grid-column:span 2!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="legal"]{grid-column:span 2!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="social"]{grid-column:span 4!important;padding-inline-start:18px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-logo-picture,
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-logo-picture img{height:54px!important;max-width:194px!important;margin:0!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-text p{max-width:390px!important;margin:15px 0 0!important;font-size:13.5px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="payments"]{
    grid-column:span 8!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-end!important;
    gap:12px 22px!important;
    padding-top:25px!important;
    border-top:1px solid rgba(255,255,255,.055)!important;
  }
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="verification"]{
    grid-column:span 4!important;
    padding-top:25px!important;
    border-top:1px solid rgba(255,255,255,.055)!important;
  }
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="gateway"]{grid-column:span 4!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="copyright"]{grid-column:1/-1!important;padding-top:24px!important;margin-top:4px!important;text-align:center!important;align-items:center!important;}
  .taqa-site-footer-v203 .taqa-builder-links a{font-size:13.5px!important;}
}

/* =============================
   FOOTER — MOBILE
   ============================= */
@media (max-width:760px){
  .footer,footer.footer{margin-top:54px!important;padding-bottom:calc(74px + env(safe-area-inset-bottom))!important;}
  .taqa-site-footer-v203{padding:34px 18px 22px!important;font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif!important;}
  .taqa-site-footer-grid-v203{column-gap:18px!important;row-gap:27px!important;}
  .taqa-site-footer-v203 .taqa-builder-section{grid-column:1/-1!important;text-align:start!important;align-items:flex-start!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="backtop"]{display:none!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"]{padding-bottom:2px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-logo-picture,
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-logo-picture img{height:44px!important;max-width:158px!important;margin:0!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-text p{margin:12px 0 0!important;max-width:330px!important;font-size:12.5px!important;line-height:1.85!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="navigation"],
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="legal"]{grid-column:span 6!important;padding:0!important;}
  .taqa-site-footer-v203 .taqa-builder-section>h3{font-size:13px!important;margin-bottom:11px!important;}
  .taqa-site-footer-v203 .taqa-builder-links a{font-size:12.5px!important;min-height:31px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="social"]{padding-top:20px!important;border-top:1px solid rgba(255,255,255,.06)!important;}
  .taqa-site-footer-v203 .taqa-builder-social-row{justify-content:flex-start!important;}
  .taqa-site-footer-v203 .taqa-builder-social-row a{width:40px!important;height:40px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="payments"]{padding-top:20px!important;border-top:1px solid rgba(255,255,255,.06)!important;}
  .taqa-site-footer-v203 .taqa-builder-payment-row{justify-content:flex-start!important;}
  .taqa-site-footer-v203 .taqa-builder-payment-item{min-width:66px!important;height:37px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="payments"] .taqa-builder-image-picture{margin:12px 0 0!important;max-width:270px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="verification"]{padding:0!important;}
  .taqa-site-footer-v203 .taqa-builder-info-card{justify-content:flex-start!important;padding:13px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="copyright"]{padding-top:20px!important;text-align:start!important;align-items:flex-start!important;font-size:11px!important;}
}

/* =============================
   LEGAL EXPERIENCE — BASE
   ============================= */
body[data-policy="terms"],body[data-policy="privacy"],body[data-policy="refund"],
body[data-page="payment-policy"],body[data-page="delivery-policy"]{
  background:
    radial-gradient(900px 420px at 78% 40px,rgba(34,232,111,.055),transparent 67%),
    #050806!important;
}
body[data-policy] #mainContent.v243-legal-main,
body[data-page="payment-policy"] #mainContent,
body[data-page="delivery-policy"] #mainContent{
  width:min(100% - 32px,1360px)!important;
  max-width:1360px!important;
}
.v243-legal-shell{display:grid;gap:24px;}
.v243-legal-hero{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  background:
    radial-gradient(560px 280px at 12% 10%,rgba(34,232,111,.12),transparent 70%),
    linear-gradient(145deg,rgba(14,23,18,.96),rgba(7,11,9,.98));
  box-shadow:0 24px 80px rgba(0,0,0,.24);
}
.v243-legal-hero::after{
  content:"";position:absolute;inset:auto -80px -110px auto;width:330px;height:330px;
  border:1px solid rgba(34,232,111,.11);border-radius:50%;box-shadow:0 0 0 58px rgba(34,232,111,.018),0 0 0 116px rgba(34,232,111,.012);pointer-events:none;
}
.v243-legal-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#90f6b7;font-size:12px;font-weight:700;}
.v243-legal-eyebrow i,.v243-legal-eyebrow svg{width:15px;height:15px;}
.v243-legal-title{margin:14px 0 10px!important;color:#fff!important;letter-spacing:-.02em!important;}
.v243-legal-intro{margin:0!important;color:#adb7b1!important;line-height:1.95!important;max-width:790px;}
.v243-legal-layout{display:grid;gap:24px;align-items:start;}
.v243-legal-nav{
  position:sticky;
  top:112px;
  display:grid;
  gap:6px;
  padding:9px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:rgba(10,16,13,.84);
  backdrop-filter:blur(18px);
}
.v243-legal-nav-label{padding:10px 11px 6px;color:#707c75;font-size:11px;font-weight:700;}
.v243-legal-nav a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:43px;padding:0 12px;border-radius:11px;color:#9ea9a3!important;text-decoration:none!important;font-size:12.5px;font-weight:600;transition:.18s ease;
}
.v243-legal-nav a i,.v243-legal-nav a svg{width:15px;height:15px;opacity:.68;}
.v243-legal-nav a:hover,.v243-legal-nav a.is-current{background:rgba(34,232,111,.075);color:#effff5!important;}
.v243-legal-nav a.is-current{box-shadow:inset 3px 0 0 var(--v243-green);}
.v243-legal-content{display:grid;gap:14px;min-width:0;}
.v243-legal-card{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:16px;
  padding:22px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(14,20,17,.88),rgba(8,12,10,.92));
  box-shadow:0 12px 36px rgba(0,0,0,.11);
}
.v243-legal-card-icon{
  width:46px;height:46px;border-radius:13px;display:grid;place-items:center;
  color:#7ef1a8;background:rgba(34,232,111,.075);border:1px solid rgba(34,232,111,.15);
}
.v243-legal-card-icon i,.v243-legal-card-icon svg{width:20px;height:20px;}
.v243-legal-card h2,.v243-legal-card h3{margin:1px 0 7px!important;color:#f5f8f6!important;font-size:16px!important;font-weight:700!important;}
.v243-legal-card p{margin:0!important;color:#98a49d!important;font-size:13.5px!important;line-height:1.95!important;}
.v243-legal-actions{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:5px;padding:18px 20px;border:1px solid rgba(34,232,111,.11);border-radius:17px;background:rgba(34,232,111,.035);
}
.v243-legal-actions-copy strong{display:block;color:#eef6f1;font-size:14px;}
.v243-legal-actions-copy span{display:block;margin-top:4px;color:#849089;font-size:12px;}
.v243-legal-actions-buttons{display:flex;gap:9px;flex-wrap:wrap;}
.v243-legal-actions a{min-height:40px;padding:0 15px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;font-size:12px;font-weight:700;}
.v243-legal-actions .is-primary{background:var(--v243-green);color:#041008!important;}
.v243-legal-actions .is-secondary{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025);color:#d9e1dc!important;}

/* Existing static payment / delivery policy pages get the same visual language. */
body[data-page="payment-policy"] .v128-static-main,
body[data-page="delivery-policy"] .v128-static-main{display:grid;gap:18px!important;}
body[data-page="payment-policy"] .v128-page-hero,
body[data-page="delivery-policy"] .v128-page-hero{
  padding:34px!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:24px!important;
  background:radial-gradient(520px 240px at 8% 0,rgba(34,232,111,.10),transparent 70%),linear-gradient(145deg,#0d1511,#070b09)!important;
  box-shadow:0 24px 80px rgba(0,0,0,.20)!important;
}
body[data-page="payment-policy"] .v128-page-hero .eyebrow,
body[data-page="delivery-policy"] .v128-page-hero .eyebrow{color:#8af4b1!important;font-size:12px!important;font-weight:700!important;}
body[data-page="payment-policy"] .v128-page-hero h1,
body[data-page="delivery-policy"] .v128-page-hero h1{margin:10px 0 8px!important;color:#fff!important;}
body[data-page="payment-policy"] .v128-page-hero p,
body[data-page="delivery-policy"] .v128-page-hero p{color:#9faba4!important;line-height:1.9!important;}
body[data-page="payment-policy"] .v128-card,
body[data-page="delivery-policy"] .v128-card{
  padding:28px!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(14,20,17,.88),rgba(8,12,10,.92))!important;box-shadow:none!important;
}
body[data-page="payment-policy"] .v128-card h2,
body[data-page="delivery-policy"] .v128-card h2{font-size:16px!important;color:#f4f8f5!important;margin-bottom:8px!important;}
body[data-page="payment-policy"] .v128-card p,
body[data-page="delivery-policy"] .v128-card p{color:#98a49d!important;line-height:1.95!important;font-size:13.5px!important;}

/* =============================
   LEGAL — DESKTOP
   ============================= */
@media (min-width:901px){
  body[data-policy] #mainContent.v243-legal-main{padding-top:26px!important;}
  .v243-legal-hero{padding:54px 58px;border-radius:26px;}
  .v243-legal-title{font-size:44px!important;line-height:1.18!important;}
  .v243-legal-intro{font-size:15px!important;}
  .v243-legal-layout{grid-template-columns:230px minmax(0,1fr);gap:30px;}
  .v243-legal-card{padding:25px 26px;}
  .v243-legal-card h2,.v243-legal-card h3{font-size:17px!important;}
  .v243-legal-card p{font-size:14px!important;}
}

/* =============================
   LEGAL — MOBILE
   ============================= */
@media (max-width:900px){
  body[data-policy] #mainContent.v243-legal-main,
  body[data-page="payment-policy"] #mainContent,
  body[data-page="delivery-policy"] #mainContent{width:calc(100% - 28px)!important;padding-top:10px!important;}
  body[data-policy] .breadcrumb{margin:5px 0 12px!important;font-size:11px!important;}
  .v243-legal-shell{gap:15px;}
  .v243-legal-hero{padding:25px 20px;border-radius:20px;}
  .v243-legal-title{font-size:29px!important;line-height:1.25!important;margin-top:10px!important;}
  .v243-legal-intro{font-size:13px!important;line-height:1.85!important;}
  .v243-legal-layout{gap:15px;}
  .v243-legal-nav{position:static;display:flex;overflow-x:auto;scrollbar-width:none;gap:7px;padding:4px;background:transparent;border:0;border-radius:0;backdrop-filter:none;}
  .v243-legal-nav::-webkit-scrollbar{display:none;}
  .v243-legal-nav-label{display:none;}
  .v243-legal-nav a{flex:0 0 auto;min-height:37px;padding:0 12px;border:1px solid rgba(255,255,255,.07);border-radius:999px;background:rgba(255,255,255,.02);font-size:11.5px;}
  .v243-legal-nav a.is-current{box-shadow:none;border-color:rgba(34,232,111,.22);background:rgba(34,232,111,.07);}
  .v243-legal-content{gap:10px;}
  .v243-legal-card{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:17px 15px;border-radius:15px;}
  .v243-legal-card-icon{width:38px;height:38px;border-radius:11px;}
  .v243-legal-card-icon i,.v243-legal-card-icon svg{width:18px;height:18px;}
  .v243-legal-card h2,.v243-legal-card h3{font-size:14px!important;margin-bottom:5px!important;}
  .v243-legal-card p{font-size:12.5px!important;line-height:1.85!important;}
  .v243-legal-actions{padding:15px;border-radius:15px;align-items:stretch;}
  .v243-legal-actions-copy{width:100%;}
  .v243-legal-actions-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr;}
  .v243-legal-actions a{width:100%;}
  body[data-page="payment-policy"] .v128-page-hero,
  body[data-page="delivery-policy"] .v128-page-hero{padding:24px 20px!important;border-radius:20px!important;}
  body[data-page="payment-policy"] .v128-page-hero h1,
  body[data-page="delivery-policy"] .v128-page-hero h1{font-size:29px!important;}
  body[data-page="payment-policy"] .v128-card,
  body[data-page="delivery-policy"] .v128-card{padding:18px 16px!important;border-radius:16px!important;}
  body[data-page="payment-policy"] .v128-card h2,
  body[data-page="delivery-policy"] .v128-card h2{font-size:14px!important;}
  body[data-page="payment-policy"] .v128-card p,
  body[data-page="delivery-policy"] .v128-card p{font-size:12.5px!important;}
}

@media (prefers-reduced-motion:reduce){
  .taqa-site-footer-v203 *,.v243-legal-shell *{transition:none!important;scroll-behavior:auto!important;}
}
