/* =========================================================
   ثيم موقع الغامدي — بأسلوب ادراس
   لتغيير الألوان: عدّل القيم الثلاث الأولى فقط
   ========================================================= */
:root {
  --ag-primary: #0b2a4a;   /* اللون الأساسي (كحلي) */
  --ag-accent: #c9a14a;    /* اللون الثانوي (ذهبي) */
  --ag-dark: #071b3a;      /* اللون الغامق (الهيرو والفوتر) */

  --ag-ink: #142033;
  --ag-muted: #5f6b7a;
  --ag-line: #e3e7ee;
  --ag-tint: #f4f6f9;
  --ag-radius: 14px;
  --ag-radius-sm: 10px;
  --ag-shadow: 0 1px 2px rgba(7, 27, 58, .06), 0 10px 28px rgba(7, 27, 58, .08);
  --ag-font: "IBM Plex Sans Arabic", "Cairo", "Tajawal", Tahoma, sans-serif;

  /* ربط ألوان القالب القديم بالألوان الجديدة */
  --themecolorbackground: var(--ag-primary);
  --themecolorcolor: #fff;
  --themecolor2background: var(--ag-accent);
  --themecolor2color: var(--ag-dark);
}

body.ag-site {
  font-family: var(--ag-font);
  color: var(--ag-ink);
  background: #fff;
  overflow-x: hidden;
  padding-top: 0 !important;
}
body.ag-site h1, body.ag-site h2, body.ag-site h3, body.ag-site h4, body.ag-site h5, body.ag-site h6,
body.ag-site p, body.ag-site a, body.ag-site button, body.ag-site input, body.ag-site select, body.ag-site textarea, body.ag-site label, body.ag-site li, body.ag-site td, body.ag-site th {
  font-family: var(--ag-font);
}
body.ag-site a { color: inherit; }
body.ag-site a:hover { color: var(--ag-primary); text-decoration: none; }
.ag-skip { position: absolute; top: 8px; inset-inline-start: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; transform: translateY(-200%); }
.ag-skip:focus { transform: none; }
.ag-muted { color: var(--ag-muted); }
.ag-narrow { max-width: 860px; }

/* ===== الأزرار ===== */
.ag-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; line-height: 1.3; white-space: nowrap; cursor: pointer; transition: .2s; background: none; }
.ag-btn-sm { padding: .5em 1em; font-size: .9rem; }
.ag-btn-lg { padding: .85em 1.7em; font-size: 1.05rem; }
.ag-btn-block { width: 100%; }
.ag-btn-primary, body.ag-site .ag-btn-primary { background: var(--ag-primary); color: #fff; }
.ag-btn-primary:hover { background: var(--ag-dark); color: #fff !important; }
.ag-btn-accent, body.ag-site .ag-btn-accent { background: var(--ag-accent); color: var(--ag-dark); }
.ag-btn-accent:hover { filter: brightness(.94); color: var(--ag-dark) !important; }
.ag-btn-outline { border-color: var(--ag-primary); color: var(--ag-primary) !important; }
.ag-btn-outline:hover { background: var(--ag-primary); color: #fff !important; }
.ag-btn-ghost-light, body.ag-site .ag-btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.ag-btn-ghost-light:hover { background: #fff; color: var(--ag-dark) !important; }
.ag-link { display: inline-flex; align-items: center; gap: .4em; color: var(--ag-primary) !important; font-weight: 600; }
.ag-link i { transition: .2s; font-size: .85em; }
.ag-link:hover i { transform: translateX(-4px); }
.ag-icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ag-tint); color: var(--ag-ink); display: inline-grid; place-items: center; cursor: pointer; font-size: 1.05rem; }
.ag-icon-btn:hover { background: #e8ecf3; }

/* أزرار القالب القديم */
body.ag-site .btn-primary { background: var(--ag-primary) !important; border-color: var(--ag-primary) !important; color: #fff !important; border-radius: 999px; padding: .6em 1.4em; font-weight: 600; box-shadow: none !important; }
body.ag-site .btn-primary:hover { background: var(--ag-dark) !important; border-color: var(--ag-dark) !important; }
body.ag-site .btn-secondary { border-radius: 999px; }
body.ag-site .text-primary { color: var(--ag-accent) !important; }
body.ag-site .bg-primary { background-color: var(--ag-primary) !important; }

/* ===== الشريط العلوي ===== */
.ag-topbar { background: var(--ag-dark); color: rgba(255, 255, 255, .78); font-size: .85rem; }
.ag-topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.ag-topbar-links { display: flex; align-items: center; gap: 18px; }
.ag-topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: inherit !important; }
.ag-topbar-links a:hover { color: #fff !important; }
.ag-topbar-social { display: inline-flex; gap: 12px; padding-inline-start: 14px; border-inline-start: 1px solid rgba(255, 255, 255, .15); }

/* ===== الهيدر ===== */
.ag-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ag-line); transition: box-shadow .2s; }
.ag-header.ag-scrolled { box-shadow: 0 6px 24px rgba(7, 27, 58, .08); }
.ag-header-in { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.ag-brand { flex: none; display: flex; align-items: center; }
.ag-brand img { max-height: var(--max-h, 54px); height: 54px; width: auto; object-fit: contain; }
.ag-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.ag-nav-link { display: inline-flex; align-items: center; gap: 6px; padding: .5em .8em; border-radius: 999px; font-weight: 500; font-size: .95rem; background: none; border: 0; color: var(--ag-ink) !important; cursor: pointer; white-space: nowrap; }
.ag-nav-link:hover, .ag-dd.open > .ag-nav-link { background: var(--ag-tint); color: var(--ag-primary) !important; }
.ag-nav-link i { font-size: .7em; opacity: .7; }
.ag-dd { position: relative; }
.ag-dd-menu { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 220px; background: #fff; border: 1px solid var(--ag-line); border-radius: 12px; box-shadow: var(--ag-shadow); padding: 8px; display: none; z-index: 20; }
.ag-dd-menu a { display: block; padding: .55em .9em; border-radius: 8px; font-size: .93rem; }
.ag-dd-menu a:hover { background: var(--ag-tint); }
.ag-dd.open .ag-dd-menu { display: block; }
.ag-nav-cta { display: none; }
.ag-header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.ag-cart-n { position: absolute; top: -3px; inset-inline-end: -3px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ag-accent); color: var(--ag-dark); font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.ag-cart-n[hidden] { display: none; }
.ag-menu-btn { display: none; }

/* زر السلة العائم القديم وزر الواتساب */
body.ag-site .cart_cc { z-index: 90; }
.ag-wa-float { position: fixed; bottom: 22px; left: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; font-size: 28px; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); z-index: 95; transition: transform .2s; }
.ag-wa-float:hover { transform: scale(1.06); }

/* ===== الأقسام ===== */
.ag-section { padding: 84px 0; }
.ag-section-sm { padding: 48px 0 72px; }
.ag-tint { background: var(--ag-tint); }
.ag-dark { background: var(--ag-dark); color: #fff; }
.ag-dark .ag-lead, .ag-dark .ag-kicker { color: rgba(255, 255, 255, .65); }
.ag-dark h2 { color: #fff; }
.ag-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.ag-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin: .2em 0 .25em; line-height: 1.35; color: inherit; }
.ag-sec-num { color: var(--ag-accent); font-weight: 700; margin-inline-end: 10px; font-variant-numeric: tabular-nums; }
.ag-kicker { color: var(--ag-muted); font-weight: 600; font-size: .9rem; }
.ag-lead { color: var(--ag-muted); font-size: 1.06rem; margin: 0; max-width: 62ch; }
.ag-grid { display: grid; gap: 20px; }
.ag-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ag-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ===== الهيرو ===== */
.ag-hero { position: relative; background: var(--ag-dark); color: #fff; overflow: hidden; isolation: isolate; min-height: 560px; display: flex; align-items: center; }
.ag-hero-slider, .ag-hero-slider .owl-stage-outer, .ag-hero-slider .owl-stage, .ag-hero-slider .owl-item { position: absolute !important; inset: 0; height: 100% !important; z-index: -2; }
.ag-hero-slider .owl-stage { position: relative !important; }
.ag-hero-slider .owl-item { position: relative !important; float: right; }
.ag-hero-slide { height: 100%; min-height: 560px; background-size: cover; background-position: center; }
.ag-hero-slider .owl-nav { display: none !important; }
.ag-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(7, 27, 58, .94) 0%, rgba(7, 27, 58, .78) 50%, rgba(7, 27, 58, .45) 100%); }
.ag-hero-in { position: relative; padding-top: 96px; padding-bottom: 72px; }
.ag-hero-kicker { display: inline-block; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .3em 1em; font-size: .9rem; color: var(--ag-accent); margin-bottom: 18px; }
.ag-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.25; color: #fff; max-width: 16ch; margin-bottom: .45em; }
.ag-hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 58ch; line-height: 1.8; }
.ag-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ag-hero-captions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 48px; max-width: 900px; }
.ag-hero-captions a { display: block; padding: 14px 16px; border-radius: var(--ag-radius-sm); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; }
.ag-hero-captions a:hover { background: rgba(255, 255, 255, .13); }
.ag-hero-captions span { display: block; font-weight: 600; }
.ag-hero-captions small { color: rgba(255, 255, 255, .7); }

/* ===== بطاقات المداخل ===== */
.ag-entry { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--ag-radius); border: 1px solid var(--ag-line); background: #fff; transition: .25s; color: var(--ag-ink) !important; }
.ag-entry:hover { border-color: var(--ag-primary); box-shadow: var(--ag-shadow); transform: translateY(-3px); }
.ag-entry h3 { font-size: 1.15rem; font-weight: 700; margin: 8px 0 0; }
.ag-entry p { color: var(--ag-muted); margin: 0; flex: 1; }
.ag-entry-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(11, 42, 74, .08); color: var(--ag-primary); font-size: 1.35rem; }

/* ===== الأرقام ===== */
.ag-stats-band { background: var(--ag-primary); color: #fff; }
.ag-stats { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 38px; padding-bottom: 38px; }
.ag-stat { text-align: center; padding: 6px 10px; border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.ag-stat:first-child { border: 0; }
.ag-stat strong { display: block; font-size: clamp(1.7rem, 3.2vw, 2.6rem); color: var(--ag-accent); line-height: 1.25; font-weight: 700; }
.ag-stat > span { color: rgba(255, 255, 255, .8); }

/* ===== البطاقات ===== */
.ag-card { background: #fff; border: 1px solid var(--ag-line); border-radius: var(--ag-radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.ag-card:hover { box-shadow: var(--ag-shadow); transform: translateY(-3px); border-color: transparent; }
.ag-card-media { display: block; aspect-ratio: 4 / 3; background: var(--ag-tint); overflow: hidden; }
.ag-card-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.ag-card:hover .ag-card-media img { transform: scale(1.05); }
.ag-product .ag-card-media { aspect-ratio: 1; background: #fff; padding: 14px; }
.ag-product .ag-card-media img { object-fit: contain; }
.ag-card-body { padding: 16px 18px; flex: 1; }
.ag-card-body p { color: var(--ag-muted); font-size: .93rem; margin: 0; line-height: 1.7; }
.ag-card-body time { display: block; font-size: .82rem; color: var(--ag-muted); margin-bottom: 4px; }
.ag-card-title { font-size: 1.05rem; font-weight: 700; margin: .1em 0 .45em; line-height: 1.5; }
.ag-card-foot { padding: 0 18px 18px; }
.ag-price strong { color: var(--ag-primary); font-size: 1.2rem; }
.ag-installment { font-size: .84rem; color: var(--ag-muted); margin: .3em 0 0; }
.ag-installment b { color: var(--ag-ink); }
.ag-ins-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .85rem; }
.ag-ins-list li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--ag-line); color: var(--ag-muted); }
.ag-ins-list b { color: var(--ag-ink); font-weight: 600; }

/* تصنيفات المنتجات */
.ag-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.ag-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--ag-line); border-radius: 999px; padding: 6px 18px 6px 6px; font-weight: 500; transition: .2s; }
.ag-chip:hover { border-color: var(--ag-primary); }
.ag-chip img, .ag-chip-ic { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--ag-tint); color: var(--ag-primary); }
.ag-cat-card { display: block; border-radius: var(--ag-radius); overflow: hidden; border: 1px solid var(--ag-line); background: #fff; transition: .25s; }
.ag-cat-card:hover { box-shadow: var(--ag-shadow); transform: translateY(-3px); }
.ag-cat-media { display: block; aspect-ratio: 4 / 3; background: var(--ag-tint); }
.ag-cat-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.ag-cat-name { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 700; color: var(--ag-ink); }
.ag-cat-name i { color: var(--ag-accent); font-size: .85em; }

/* ===== البوابات ===== */
.ag-portal { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--ag-radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; transition: .25s; }
.ag-portal:hover { background: rgba(255, 255, 255, .1); border-color: var(--ag-accent); }
.ag-portal-ic { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--ag-accent); color: var(--ag-dark); font-size: 1.25rem; }
.ag-portal strong { display: block; font-size: 1.05rem; }
.ag-portal small { color: rgba(255, 255, 255, .65); }
.ag-portal-arrow { margin-inline-start: auto; opacity: .5; }

/* ===== من نحن ===== */
.ag-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ag-about-text { color: var(--ag-muted); font-size: 1.05rem; line-height: 1.9; }
.ag-values { display: grid; gap: 16px; margin: 22px 0 26px; }
.ag-value { display: flex; gap: 14px; }
.ag-value > span { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ag-tint); color: var(--ag-primary); }
.ag-value strong { display: block; }
.ag-value p { margin: 0; color: var(--ag-muted); font-size: .93rem; }
.ag-about-media { position: relative; background: var(--ag-tint); border-radius: var(--ag-radius); padding: 30px; }
.ag-about-media img { width: 100%; height: auto; }
.ag-about-badge { position: absolute; bottom: 24px; inset-inline-start: -18px; background: var(--ag-accent); color: var(--ag-dark); border-radius: var(--ag-radius); padding: 14px 22px; box-shadow: var(--ag-shadow); }
.ag-about-badge strong { display: block; font-size: 2rem; line-height: 1; }

/* ===== الخطوات والأسئلة ===== */
.ag-process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ag-process li { padding: 28px; border: 1px solid var(--ag-line); border-radius: var(--ag-radius); }
.ag-process li > span { width: 44px; height: 44px; border-radius: 50%; background: var(--ag-primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.ag-process strong { display: block; font-size: 1.12rem; margin: 12px 0 4px; }
.ag-process p { margin: 0; color: var(--ag-muted); }
.ag-faq { display: grid; gap: 10px; }
.ag-faq details { background: #fff; border: 1px solid var(--ag-line); border-radius: var(--ag-radius-sm); padding: 0 20px; }
.ag-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; }
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary i { color: var(--ag-primary); transition: .2s; }
.ag-faq details[open] summary i { transform: rotate(180deg); }
.ag-faq details p { color: var(--ag-muted); margin: 0; padding-bottom: 18px; line-height: 1.8; }

/* ===== الدعوة الختامية ===== */
.ag-cta { background: linear-gradient(120deg, var(--ag-primary), var(--ag-dark)); color: #fff; padding: 64px 0; }
.ag-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ag-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 .25em; font-weight: 700; }
.ag-cta p { color: rgba(255, 255, 255, .8); margin: 0; }
.ag-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== الفوتر ===== */
.ag-footer { background: var(--ag-dark); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.ag-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.ag-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.ag-footer a { display: flex; align-items: center; gap: 10px; padding: 4px 0; color: inherit !important; }
.ag-footer a:hover { color: var(--ag-accent) !important; }
.ag-footer p { display: flex; gap: 10px; align-items: flex-start; }
.ag-footer i { color: var(--ag-accent); width: 16px; text-align: center; }
.ag-footer-brand img { max-height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.ag-footer-about p { display: block; margin: 16px 0; line-height: 1.8; font-size: .93rem; }
.ag-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.ag-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; padding: 0; }
.ag-socials a i { color: inherit; }
.ag-socials a:hover { background: var(--ag-accent); border-color: var(--ag-accent); color: var(--ag-dark) !important; }
.ag-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 20px; padding-bottom: 20px; font-size: .85rem; }
.ag-footer-bottom a { display: inline-flex; }
.ag-mobile-bar { display: none; }

/* ===== الصفحات الداخلية (القوالب القديمة) ===== */
body.ag-site .single_page_view_title { background: var(--ag-dark); color: #fff; padding: 46px 0 42px; margin: 0; position: relative; overflow: hidden; text-align: start; }
body.ag-site .single_page_view_title::after { content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(201, 161, 74, .18); pointer-events: none; }
body.ag-site .pages_s_contents_title { background: none !important; padding: 0 !important; margin: 0 !important; text-align: start !important; border: 0 !important; }
body.ag-site .pages_s_contents_title h2 { color: #fff !important; font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 700; margin: .25em 0 0; }
body.ag-site .pages_s_contents_title h2::before, body.ag-site .pages_s_contents_title h2::after { display: none !important; }
.ag-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .6); position: relative; z-index: 1; }
.ag-crumbs a { color: rgba(255, 255, 255, .75) !important; }
.ag-crumbs a:hover { color: #fff !important; }
body.ag-site .main-bread { display: none; }
body.ag-site .single_page_view_content { padding-top: 40px; padding-bottom: 64px; }
body.ag-site .single_page_view_content > .container > .row > .col-12 > .image-full img,
body.ag-site .image-full img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--ag-radius); }
body.ag-site .pages_s_contents_content { font-size: 1.05rem; line-height: 1.95; color: var(--ag-ink); }
body.ag-site .pages_s_contents_content img { max-width: 100%; height: auto; border-radius: var(--ag-radius-sm); }
body.ag-site .ag-pd-price { color: var(--ag-primary); font-weight: 700; font-size: 1.6rem; }

/* النماذج العامة (تواصل، التوظيف، السلة، الطلب، الدخول) */
body.ag-site .form-control, body.ag-site .select2-container .select2-selection--single { border: 1px solid var(--ag-line) !important; border-radius: var(--ag-radius-sm) !important; min-height: 46px; box-shadow: none !important; font-family: var(--ag-font); }
body.ag-site textarea.form-control { min-height: 120px; }
body.ag-site .form-control:focus { border-color: var(--ag-primary) !important; box-shadow: 0 0 0 3px rgba(11, 42, 74, .12) !important; }
body.ag-site label, body.ag-site .form-label { font-weight: 500; color: var(--ag-ink); }
body.ag-site .card { border-radius: var(--ag-radius); border-color: var(--ag-line); }
body.ag-site .table { background: #fff; }
body.ag-site .table th { background: var(--ag-tint); }
body.ag-site .alert-info { background: #eef4fb; border-color: #d4e3f5; color: #1d4471; border-radius: var(--ag-radius-sm); }

/* ===== التجاوب ===== */
@media (max-width: 1199px) {
  .ag-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ag-footer-grid { grid-template-columns: 1fr 1fr; }
  .ag-nav-link { padding: .5em .6em; font-size: .9rem; }
}
@media (max-width: 1099px) {
  .ag-menu-btn { display: inline-grid; }
  .ag-nav { position: fixed; top: 0; bottom: 0; right: 0; width: min(330px, 86vw); background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 84px 16px 24px; margin: 0; box-shadow: -12px 0 40px rgba(0, 0, 0, .15); transform: translateX(110%); transition: transform .3s; z-index: 120; overflow-y: auto; }
  body.ag-nav-open .ag-nav { transform: none; }
  body.ag-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7, 27, 58, .4); z-index: 110; }
  .ag-menu-btn { position: relative; z-index: 130; }
  .ag-nav-link { justify-content: space-between; padding: .8em 1em; border-radius: 10px; font-size: 1rem; }
  .ag-dd-menu { position: static; box-shadow: none; border: 0; padding: 0 12px 6px; min-width: 0; }
  .ag-nav-cta { display: inline-flex; margin-top: 12px; }
  .ag-about { grid-template-columns: 1fr; gap: 36px; }
  .ag-grid-3, .ag-process { grid-template-columns: 1fr 1fr; }
  .ag-stats { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .ag-stat:nth-child(4) { border: 0; }
}
@media (max-width: 640px) {
  body.ag-site { padding-bottom: 64px !important; }
  .ag-topbar-tag, .ag-topbar-social, .ag-hide-sm { display: none !important; }
  .ag-topbar-in { justify-content: center; }
  .ag-topbar-links { gap: 14px; font-size: .8rem; }
  .ag-header-in { min-height: 66px; gap: 10px; }
  .ag-brand img { height: 44px; }
  .ag-section { padding: 56px 0; }
  .ag-grid-3, .ag-process { grid-template-columns: 1fr; }
  .ag-grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ag-card-body { padding: 12px; }
  .ag-card-foot { padding: 0 12px 12px; }
  .ag-card-title { font-size: .95rem; }
  .ag-stats { grid-template-columns: 1fr 1fr; }
  .ag-stat:nth-child(odd) { border: 0; }
  .ag-stat:nth-child(4) { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
  .ag-stat:last-child { grid-column: 1 / -1; }
  .ag-hero { min-height: 0; }
  .ag-hero-in { padding-top: 64px; padding-bottom: 48px; }
  .ag-hero-captions { display: none; }
  .ag-footer-grid { grid-template-columns: 1fr; }
  .ag-about-badge { inset-inline-start: 12px; }
  .ag-wa-float { bottom: 80px; }
  body.ag-site .cart_cc { bottom: 80px !important; }
  .ag-mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--ag-line); z-index: 98; box-shadow: 0 -4px 20px rgba(0, 0, 0, .06); }
  .ag-mobile-bar a, .ag-mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: .75rem; color: var(--ag-muted) !important; background: none; border: 0; }
  .ag-mobile-bar i { font-size: 1.15rem; }
  .ag-mobile-bar .ag-primary { background: var(--ag-primary); color: #fff !important; }
  body.ag-site .scroll-to-top { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .ag-site * { transition: none !important; } }

/* صفحة المنتج */
body.ag-site .single_page_view_content h5.text-dark-2 { font-size: .95rem; font-weight: 500; color: var(--ag-muted) !important; background: var(--ag-tint); border-radius: 8px; padding: 8px 12px; margin: 0 0 6px; }
body.ag-site .single_page_view_content h5.text-dark-2 span { color: var(--ag-primary); font-weight: 700; }
body.ag-site .single_page_view_content [start_add_cart] { padding: .8em 2.2em; font-size: 1.05rem; }
body.ag-site .btn-info { background: var(--ag-accent) !important; border-color: var(--ag-accent) !important; color: var(--ag-dark) !important; border-radius: 999px; font-weight: 600; }
body.ag-site .btn-success { border-radius: 999px; }
