/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* =========================
   0) Fonts
========================= */
@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap");

/* =========================
   1) Global: Link underline pop
========================= */
.stk-block-text__text a{
  display:inline-block;
  text-decoration:none;
  background:linear-gradient(var(--theme-palette-color-1, rgb(162,139,85)), var(--theme-palette-color-1, rgb(162,139,85))) 0 100% / 0 2px no-repeat;
  transition:background-size .42s cubic-bezier(.22,1,.36,1);
}
.stk-block-text__text a:hover,
.stk-block-text__text a:focus-visible{
  background-size:100% 2px;
  animation:taj-pop .5s cubic-bezier(.22,1,.36,1);
}
@keyframes taj-pop{
  0%{transform:translateY(0) scale(1)}
  52%{transform:translateY(-2.5px) scale(1.08)}
  78%{transform:translateY(1px) scale(.995)}
  100%{transform:translateY(0) scale(1)}
}

/* =========================
   2) Icons List (GSBP)
========================= */
#gspb_iconsList-id-gsbp-6ab2dd0.gspb_iconsList{
  display:grid;
  grid:auto / repeat(2, minmax(0, 1fr));
  gap:10px;
  font:400 1rem "Fredoka One", sans-serif;
}
#gspb_iconsList-id-gsbp-6ab2dd0 .gspb_iconsList__item{display:flex;align-items:center;gap:8px}
#gspb_iconsList-id-gsbp-6ab2dd0 svg{width:18px;height:18px;vertical-align:middle}
#gspb_iconsList-id-gsbp-6ab2dd0 svg path{fill:currentColor}
#gspb_iconsList-id-gsbp-6ab2dd0 a{
  color:var(--wp--preset--color--palette-color-8, var(--theme-palette-color-8, #fff));
  text-decoration:none;
}
#gspb_iconsList-id-gsbp-6ab2dd0 a:hover{
  color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, rgb(134,171,137)));
}
@media (max-width:640px){
  #gspb_iconsList-id-gsbp-6ab2dd0.gspb_iconsList{grid:auto / 1fr}
}

/* =========================
   3) Hero image focus (type-2)
========================= */
.hero-section[data-type="type-2"] .ct-media-container{overflow:hidden;--focus-x:20%;--focus-y:80%}
.hero-section[data-type="type-2"] .ct-media-container > img{
  width:100%;height:100%;object-fit:cover;object-position:var(--focus-x) var(--focus-y);
}

/* =========================
   4) Breadcrumbs
========================= */
.ct-breadcrumbs{--theme-font-size:20px}

/* =========================
   5) WPForms #9690 — Horizontal (Header/Newsletter)
========================= */
#wpforms-9690{
  --h:60px; --r:16px; --gap:28px;
  --bg:#f8f4ef; --ph:#b9b4ad;
  --btn:var(--theme-palette-color-1, #a28b55);
  overflow:hidden;
}
#wpforms-9690 #wpforms-form-9690{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content;
  gap:var(--gap);
  align-items:end;
  width:100%;max-width:100%;
}
#wpforms-9690 .wpforms-field-container,
#wpforms-9690 .wpforms-field{
  margin:0!important;padding:0!important;
  width:400px!important; /* مقصود لدسكتوب الهيدر */
  max-width:none!important;min-width:0!important;box-sizing:border-box;
}
#wpforms-9690 #wpforms-9690-field_2-container,
#wpforms-9690 #wpforms-9690-field_3-container,
#wpforms-9690 #wpforms-9690-field_4-container{display:none!important}
#wpforms-9690 .wpforms-field-label{margin:0 0 8px;font:600 14px/1 system-ui;color:#6b6b6b}
#wpforms-9690 input[class^="wpforms-field-"],
#wpforms-9690 .wpforms-field input[type="email"]{
  height:var(--h)!important;line-height:var(--h)!important;
  padding:0 22px!important;background:var(--bg)!important;color:#222;
  border:0!important;border-radius:var(--r)!important;outline:0!important;box-shadow:none!important;
  width:100%!important;max-width:none!important;box-sizing:border-box;
  appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;
  font:16px/1 system-ui, sans-serif;
}
#wpforms-9690 #wpforms-9690-field_1::placeholder{color:var(--ph)}
#wpforms-9690 .wpforms-submit-container{margin:0!important;align-self:end}
#wpforms-9690 #wpforms-submit-9690{
  height:var(--h);min-width:clamp(140px,18vw,190px);
  white-space:nowrap;background:var(--btn);color:#fff;border:0;border-radius:var(--r);
  padding:0 34px;font:400 16px/1 "Fredoka One", system-ui, sans-serif;cursor:pointer;
  transition:transform .12s, filter .12s;
}
#wpforms-9690 #wpforms-submit-9690:hover{filter:brightness(.95);transform:translateY(-1px)}

/* Footer stacked variant */
:where(footer, .site-footer, .ct-footer) #wpforms-9690,
.footer-newsletter #wpforms-9690{--r:18px;--gap:14px;--bg:#fff;--ph:#d5d1cb}
:where(footer, .site-footer, .ct-footer) #wpforms-9690 #wpforms-form-9690,
.footer-newsletter #wpforms-9690 #wpforms-form-9690{grid-template-columns:1fr!important;row-gap:var(--gap)}
:where(footer, .site-footer, .ct-footer) #wpforms-9690 .wpforms-field-label,
.footer-newsletter #wpforms-9690 .wpforms-field-label{display:none!important}
:where(footer, .site-footer, .ct-footer) #wpforms-9690 #wpforms-9690-field_1,
.footer-newsletter #wpforms-9690 #wpforms-9690-field_1{padding-inline:18px!important}

/* =========================
   6) WPForms × Brizy — information-taj-wpf (compact + dropdown seam fix + big submit)
========================= */
.information-taj-wpf{
  --h:0; --r:20px; --gap-x:5px; --gap-y:5px; --pad-y:20px; --pad-x:30px;
  --bd:#d9d5cf; --focus:#a28b55; --txt:#2f2f2f; --ph:#a8a29e; --bg:#fff;
  --dd-bg:#fff; --dd-item:#2f2f2f; --dd-sep:#eceae7; --dd-hover:rgba(162,139,85,.06);
  --dd-shadow:0 10px 28px rgba(0,0,0,.10);
  font-family:"Fredoka", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
}
.information-taj-wpf *{box-sizing:border-box}
.information-taj-wpf.wpforms-container,
.information-taj-wpf .wpforms-form{width:100%!important;max-width:100%!important}
.information-taj-wpf.wpforms-container :is(input, select, textarea, .wpforms-field-row).wpforms-field-medium,
.information-taj-wpf.wpforms-container :is(input, select, textarea, .wpforms-field-row).wpforms-field-small,
.information-taj-wpf.wpforms-container :is(input, select, textarea, .wpforms-field-row).wpforms-field-large,
.wp-core-ui .information-taj-wpf.wpforms-container :is(input, select, textarea, .wpforms-field-row).wpforms-field-medium,
.wp-core-ui .information-taj-wpf.wpforms-container :is(input, select, textarea, .wpforms-field-row).wpforms-field-small,
.wp-core-ui .information-taj-wpf.wpforms-container :is(input, select, textarea, .wpforms-field-row).wpforms-field-large{width:100%!important;max-width:100%!important}

/* Grid / ordering */
.information-taj-wpf .wpforms-field-container{
  display:grid!important;grid-template-columns:repeat(2, minmax(0,1fr));
  column-gap:var(--gap-x)!important;row-gap:var(--gap-y)!important;align-items:start;
}
.information-taj-wpf .wpforms-field{margin:0!important;min-width:0}
.information-taj-wpf :is(.wpforms-field-label, .wpforms-field-sublabel){display:none!important}
.information-taj-wpf .wpforms-field[data-field-id="0"],
.information-taj-wpf .wpforms-field[data-field-id="2"],
.information-taj-wpf .wpforms-submit-container{grid-column:1 / -1}
.information-taj-wpf .wpforms-field[data-field-id="1"],
.information-taj-wpf .wpforms-field[data-field-id="5"]{grid-column:1}
.information-taj-wpf .wpforms-field[data-field-id="4"],
.information-taj-wpf .wpforms-field[data-field-id="3"]{grid-column:2}

/* Inputs / textarea / select */
.information-taj-wpf .wpforms-field :is(input, textarea, select){
  width:100%!important;height:auto!important;min-height:auto!important;
  padding:var(--pad-y) var(--pad-x)!important;border:1px solid var(--bd)!important;border-radius:var(--r)!important;
  background:var(--bg)!important;color:var(--txt)!important;font-size:16px!important;line-height:1.15!important;
  box-shadow:none!important;outline:0;
}
.information-taj-wpf ::placeholder{color:var(--ph)}
.information-taj-wpf input[type="number"]{-moz-appearance:textfield}
.information-taj-wpf input[type="number"]::-webkit-outer-spin-button,
.information-taj-wpf input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.information-taj-wpf textarea{resize:vertical}
.information-taj-wpf .wpforms-field[data-field-id="2"] textarea{min-height:220px!important}

/* Focus */
.information-taj-wpf :is(input, select, textarea):focus{
  border-color:var(--focus)!important;
  box-shadow:0 0 0 .16rem rgba(162,139,85,.18)!important;
}

/* Select — Choices.js */
.information-taj-wpf .wpforms-field-select :is(.choices, .choices__inner){
  width:100%!important;max-width:100%!important;height:auto!important;min-height:auto!important;
  padding:0!important;border:1px solid var(--bd)!important;border-radius:var(--r)!important;background:var(--bg)!important;
  position:relative;
}
.information-taj-wpf .wpforms-field-select .choices__list--single{
  display:flex;align-items:center;min-height:auto!important;
  padding:var(--pad-y) calc(var(--pad-x) + 28px) var(--pad-y) var(--pad-x)!important;line-height:1.15!important;
}
.information-taj-wpf .wpforms-field-select .choices__placeholder{color:var(--ph)!important;opacity:1}
.information-taj-wpf .wpforms-field-select .choices[data-type*="select-one"]::after{
  content:"";position:absolute;right:12px;top:50%;width:10px;height:10px;
  transform:translateY(-50%) rotate(45deg);border:solid rgba(0,0,0,.45);border-width:0 2px 2px 0;transition:.2s;
}
.information-taj-wpf .wpforms-field-select .choices.is-open[data-type*="select-one"]::after{transform:translateY(-50%) rotate(-135deg)}
[dir="rtl"] .information-taj-wpf .wpforms-field-select .choices[data-type*="select-one"]::after{left:12px;right:auto}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown{
  width:100%!important;min-width:100%!important;border:1px solid var(--bd)!important;border-radius:var(--r)!important;
  background:var(--dd-bg)!important;box-shadow:var(--dd-shadow)!important;overflow:hidden;z-index:9999;
}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown .choices__item--selectable{
  padding:14px 16px;line-height:1.25;font-weight:500;color:rgba(47,47,47,.92);cursor:pointer;
}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown .choices__item--selectable:not(:last-child){border-bottom:1px solid var(--dd-sep)}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown .choices__item--selectable.is-highlighted{
  background:var(--dd-hover)!important;color:var(--dd-item)!important;
}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown .is-selected{background:rgba(162,139,85,.08)!important;font-weight:600}
/* Native fallback */
.information-taj-wpf .wpforms-field-select select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  height:auto!important;min-height:auto!important;
  padding:var(--pad-y) calc(var(--pad-x) + 28px) var(--pad-y) var(--pad-x)!important;
  border:1px solid var(--bd)!important;border-radius:var(--r)!important;background:var(--bg)!important;
}

/* Submit */
.information-taj-wpf .wpforms-submit-container{
  grid-column:1/-1;display:flex;justify-content:center;margin-top:12px!important;padding:0!important;
}
.information-taj-wpf .wpforms-submit{
  height:50px!important;min-height:auto!important;padding:35px 74px!important;border:0!important;border-radius:9999px!important;
  background:var(--focus)!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font:700 20px/1.15 "Fredoka", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif!important;
}

/* Seam fix */
.information-taj-wpf .wpforms-field-select .choices.is-open .choices__inner{
  border-bottom-color:transparent!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;
}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown{
  margin-top:-1px!important;border-top-left-radius:0!important;border-top-right-radius:0!important;
}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown .choices__list{margin:0!important;padding:0!important}
.information-taj-wpf .wpforms-field-select .choices__list--dropdown .choices__item{margin:0!important}

/* Remove outer paddings */
.information-taj-wpf :is(.wpforms-field-container, .wpforms-field, .wpforms-field-row, .wpforms-field-content){padding:0!important}

/* =========================
   7) WPForms #10452 — Newsletter (Vertical)
========================= */
#wpforms-10452{
  --h:56px; --r:18px; --bg:#fff; --ph:#c8c8c8; --txt:#333; --btn:#a28b55;
  --shadow:0 8px 18px rgba(0,0,0,.12);
  font-family:"Fredoka", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
#wpforms-form-10452{max-width:440px;margin:0}
#wpforms-10452 .wpforms-field-container{display:block!important}
#wpforms-10452 .wpforms-field-label{display:none!important}
#wpforms-10452 #wpforms-10452-field_2-container,
#wpforms-10452 #wpforms-10452-field_3-container{
  position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;pointer-events:none;
}
#wpforms-10452 #wpforms-10452-field_1-container{margin:0 0 var(--gap)!important}
#wpforms-10452 #wpforms-10452-field_1{
  width:400px!important;height:var(--h)!important;line-height:var(--h)!important;padding:0 22px!important;
  border:0!important;border-radius:var(--r)!important;background:var(--bg)!important;color:var(--txt)!important;box-shadow:var(--shadow)!important;outline:0!important;
}
#wpforms-10452 #wpforms-10452-field_1::placeholder{color:var(--ph)!important;opacity:1}
#wpforms-10452 .wpforms-submit-container{margin:var(--gap) 0 0!important;display:flex!important;justify-content:flex-start!important}
#wpforms-submit-10452{
  height:var(--h)!important;min-width:150px!important;padding:0 24px!important;white-space:nowrap!important;
  background:var(--btn)!important;color:#fff!important;border:0!important;border-radius:var(--r)!important;
  font:700 18px/1 "Fredoka One", system-ui, sans-serif!important;box-shadow:var(--shadow)!important;
  transition:transform .08s ease, filter .15s ease!important;
}
#wpforms-submit-10452:hover{transform:translateY(-1px);filter:brightness(.96)}
#wpforms-submit-10452:active{transform:none;filter:brightness(.92)}

/* =========================
   8) RTL spacing (Stackable)
========================= */
html[dir="rtl"] .stk-330d6f1-column{display:flex;flex-wrap:wrap;gap:56px 28px;justify-content:center}
html[dir="rtl"] .stk-row.stk--flex > .wp-block-stackable-column{margin-inline:14px;margin-block:0}
@media (max-width:767.98px){html[dir="rtl"] .stk-330d6f1-column{gap:32px 20px}}

/* =========================
   9) Popup #10311 (Overlay, Box, Inner WPForms)
========================= */
/* Overlay */
.pum-overlay[data-popmake="10311"]{
  background:rgba(0,0,0,.58)!important;backdrop-filter:blur(2px);
}
/* Container */
#popmake-10311.pum-container{
  top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;
  width:min(92vw,560px)!important;max-height:90vh!important;background:#cfcfcf!important;border:none!important;border-radius:20px!important;
  box-shadow:0 28px 64px rgba(0,0,0,.35)!important;overflow:visible!important;
}
#popmake-10311 .pum-content{padding:36px 24px 32px!important;overflow:visible!important}
#popmake-10311 .stk-block, #popmake-10311 .stk-block-content{overflow:visible!important}

/* Logo */
#popmake-10311 .stk-block-image .stk-img-wrapper{width:200px!important;height:100px!important;margin:0 auto!important}
#popmake-10311 .stk-block-image img{width:100%;height:100%;object-fit:contain}

/* Heading + Text */
#popmake-10311 #welcome-to-tajain .stk-block-heading__text{
  font-family:"Fredoka", system-ui, -apple-system, Segoe UI, Arial, sans-serif;font-weight:800;font-size:36px;line-height:1.12;
  color:#5b7f5f!important;text-align:center;margin:6px 0 0;
}
#popmake-10311 .stk-block-text__text{
  font-size:17px;line-height:1.6;text-align:center;color:#393d72!important;margin:10px 0 16px;
}

/* WPForms #9690 inside popup */
#popmake-10311 #wpforms-9690{width:100%;max-width:520px;margin:0 auto;position:relative!important}
/* Hide traps for popup */
#popmake-10311 #wpforms-9690 #wpforms-9690-field_2-container,
#popmake-10311 #wpforms-9690 #wpforms-9690-field_5-container{
  position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;pointer-events:none;
}
/* Force vertical layout */
#popmake-10311 #wpforms-form-9690,
#popmake-10311 #wpforms-9690 .wpforms-field-container,
#popmake-10311 #wpforms-9690 .wpforms-submit-container{display:block!important;width:100%!important;float:none!important}
/* Email field */
#popmake-10311 #wpforms-9690 #wpforms-9690-field_1-container{margin:0!important}
#popmake-10311 #wpforms-9690 #wpforms-9690-field_1{
  box-sizing:border-box!important;width:100%!important;height:56px;padding:0 16px;font-size:16px;background:#fff;border:1px solid #e5e5e5;border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(0,0,0,.04);
}
#popmake-10311 #wpforms-9690 #wpforms-9690-field_1::placeholder{color:#9a9a9a;opacity:1;font-weight:600}
#popmake-10311 #wpforms-9690 #wpforms-9690-field_1:focus{
  border-color:#cddbcc!important;outline:0;box-shadow:0 0 0 3px rgba(122,160,120,.18);
}
/* Submit under field */
#popmake-10311 #wpforms-9690 .wpforms-submit-container{position:static!important;margin:16px 0 0!important;text-align:center!important}
#popmake-10311 #wpforms-submit-9690{
  display:inline-block!important;min-width:220px;height:52px;padding:0 18px;white-space:nowrap;background:#7aa078!important;color:#fff!important;border:none;border-radius:10px;
  cursor:pointer;text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:15px;
  box-shadow:0 16px 30px rgba(122,160,120,.28);transition:transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}
#popmake-10311 #wpforms-submit-9690:hover{transform:translateY(-2px);box-shadow:0 20px 36px rgba(122,160,120,.32)}
#popmake-10311 #wpforms-submit-9690:active{transform:none;opacity:.92}

/* Close (X) */
#popmake-10311 .pum-close{
  position:absolute;top:16px;right:16px;width:32px;height:32px;background:transparent!important;border:none!important;box-shadow:none!important;color:#2f375e;cursor:pointer;font-size:0;
}
#popmake-10311 .pum-close::before,
#popmake-10311 .pum-close::after{
  content:"";position:absolute;left:50%;top:50%;width:26px;height:2px;background:currentColor;transform-origin:center;
}
#popmake-10311 .pum-close::before{transform:translate(-50%,-50%) rotate(45deg)}
#popmake-10311 .pum-close::after{transform:translate(-50%,-50%) rotate(-45deg)}

/* =========================
   10) Responsive (unified)
========================= */
/* ≤ 640px — forms downsizing + full width buttons */
@media (max-width:640px){
  /* #9690 */
  #wpforms-9690{--h:46px;--r:14px}
  #wpforms-9690 #wpforms-form-9690{grid-template-columns:1fr!important;gap:14px}
  #wpforms-9690 .wpforms-field-container,
  #wpforms-9690 .wpforms-field,
  #wpforms-9690 .wpforms-submit-container{width:100%!important}
  #wpforms-9690 #wpforms-9690-field_1{
    width:100%!important;height:46px!important;line-height:46px!important;padding:0 16px!important;border-radius:14px!important;font-size:15px!important;
  }
  #wpforms-9690 #wpforms-submit-9690{
    width:100%!important;height:46px!important;padding:0 20px!important;border-radius:14px!important;font-size:15px!important;white-space:nowrap!important;
  }

  /* #10452 */
  #wpforms-form-10452{max-width:100%}
  #wpforms-10452{--h:46px;--r:14px}
  #wpforms-10452 #wpforms-10452-field_1{width:100%!important;padding:0 16px!important;font-size:15px!important}
  #wpforms-submit-10452{height:46px!important;width:100%!important;padding:0 20px!important;font-size:16px!important;border-radius:var(--r)!important}

  /* information-taj-wpf */
  .information-taj-wpf{--pad-y:14px;--pad-x:18px;--r:16px}
  .information-taj-wpf .wpforms-field[data-field-id="2"] textarea{min-height:170px!important}
  .information-taj-wpf .wpforms-submit{height:46px!important;padding:0 22px!important;font:700 18px/1.1 "Fredoka",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif!important;border-radius:18px!important}
}

/* ≤ 480px — popup tighter */
@media (max-width:480px){
  #popmake-10311.pum-container{width:min(94vw,560px)!important;border-radius:18px!important}
  #popmake-10311 .pum-content{padding:28px 16px 30px!important}
  #popmake-10311 #welcome-to-tajain .stk-block-heading__text{font-size:32px}
  #popmake-10311 #wpforms-9690 #wpforms-9690-field_1{height:46px!important}
  #popmake-10311 #wpforms-submit-9690{height:46px!important;min-width:200px!important}
}
/* === Stackable: Fix Arabic row to one line (block .stk-330d6f1) === */
html[lang^="ar"] .stk-330d6f1 > .stk-row{
  /* استخدم Grid بدل Flex لتثبيت 6 أعمدة في سطر واحد */
  display:grid !important;
  grid-template-columns: repeat(6, minmax(140px,1fr));
  align-items:start;
  justify-items:center;
  gap:clamp(16px,3vw,40px);
  direction: rtl; /* اتجاه عربي بدون ما يقلب ترتيب المحتوى الداخلي */
}

/* وسط الأيقونة والنص تحتها */
html[lang^="ar"] .stk-330d6f1 .stk-block-text{ text-align:center !important; }
html[lang^="ar"] .stk-330d6f1 .stk-block-text__text{ margin-top:.5rem; }

/* ما نلمسش الـ .stk-row الداخلية بتاعت الـ button-group */
html[lang^="ar"] .stk-330d6f1 .stk-block-button-group .stk-row{
  display:flex; justify-content:center; flex-wrap:nowrap;
}

/* امنع أي عرض ثابت/هوامش تكسر الشبكة */
html[lang^="ar"] .stk-330d6f1 .stk-block-column{
  width:auto !important; margin:0 !important;
}

/* --- Responsive مثل الإنجليزي --- */
@media (max-width: 1024px){
  html[lang^="ar"] .stk-330d6f1 > .stk-row{
    grid-template-columns: repeat(3, minmax(160px,1fr));
  }
}
@media (max-width: 640px){
  html[lang^="ar"] .stk-330d6f1 > .stk-row{
    grid-template-columns: repeat(2, minmax(150px,1fr));
  }
}

/* اختيارى: لو عايزهم يفضلوا 6 في سطر واحد مع سكرول أفقى بدل التقسيم */
@media (max-width: 1024px){
  html[lang^="ar"] .stk-330d6f1 > .stk-row.scroll-one-line{
    display:flex !important; flex-wrap:nowrap; overflow-x:auto;
    gap:24px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  }
  html[lang^="ar"] .stk-330d6f1 > .stk-row.scroll-one-line > .stk-block-column{
    flex:0 0 220px; scroll-snap-align:center;
  }
}

/* Footer (row=top) — mobile only */
@media (max-width: 767px){
  #footer [data-row="top"] > .ct-container{
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0,1fr));
    gap: 12px;
  }

  /* 1 فول ويدث */
  #footer [data-row="top"] .ct-container > [data-column="widget-area-1"]{
    grid-column: 1 / -1 !important;
  }

  /* 2 و 3 جنب بعض نص/نص */
  #footer [data-row="top"] .ct-container > [data-column="widget-area-2"]{
    grid-column: 1 / span 6 !important;
  }
  #footer [data-row="top"] .ct-container > [data-column="widget-area-3"]{
    grid-column: 7 / -1 !important;
  }

  /* 4 فول ويدث */
  #footer [data-row="top"] .ct-container > [data-column="widget-area-4"]{
    grid-column: 1 / -1 !important;
  }
}
