/* ===== أقسام متجر رقميات ===== */

/* شبكة الأقسام فقط؛ لا تؤثر في شبكة المنتجات */
.woocommerce ul.products:has(> li.product-category) {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 20px;
  direction: rtl;
}

/* إزالة عناصر التنظيف التي قد تشغل خانات بالشبكة */
.woocommerce ul.products:has(> li.product-category)::before,
.woocommerce ul.products:has(> li.product-category)::after {
  display: none !important;
}

/* بطاقة القسم */
.woocommerce ul.products li.product-category {
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
}

/* رابط البطاقة */
.woocommerce ul.products li.product-category > a {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
}

/* مربع الصورة مع أيقونة صغيرة داخله */
.woocommerce ul.products li.product-category img {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  padding: 22% !important;
  margin: 0 !important;
  background: #f3f5f7;
  border-radius: 3px;
  transition: background-color .2s ease;
}

/* اسم القسم أسفل الصورة */
.woocommerce ul.products li.product-category
.woocommerce-loop-category__title {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  min-height: 54px;
  margin: 0 !important;
  padding: 10px 3px 0 !important;
  background: transparent !important;
  color: #002264 !important;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 1.6;
  text-align: center;
}

/* إخفاء عدد المنتجات */
.woocommerce ul.products li.product-category
.woocommerce-loop-category__title .count {
  display: none !important;
}

/* تأثير المرور والتركيز بلوحة المفاتيح */
.woocommerce ul.products li.product-category > a:hover img,
.woocommerce ul.products li.product-category > a:focus-visible img {
  background: #e7f6ff;
}

.woocommerce ul.products li.product-category > a:hover
.woocommerce-loop-category__title {
  color: #007eae !important;
}

/* تنسيق قائمة الأقسام في الشريط الجانبي */
.woocommerce #secondary .widget_product_categories .widget-title {
  color: #002264;
  font-size: 19px;
  padding-bottom: 12px;
  border-bottom: 2px solid #00b1fa;
}

.woocommerce #secondary ul.product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce #secondary ul.product-categories li {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce #secondary ul.product-categories li a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
}

.woocommerce #secondary ul.product-categories li a:hover {
  color: #007eae;
}

/* التابلت */
@media (min-width: 545px) and (max-width: 1024px) {
  .woocommerce ul.products:has(> li.product-category) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* الهاتف */
@media (max-width: 544px) {
  .woocommerce ul.products:has(> li.product-category) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .woocommerce ul.products li.product-category
  .woocommerce-loop-category__title {
    font-size: 14px !important;
  }
}
/* ===== الصفحة الرئيسية — رقميات ===== */
.rq-home {
  direction: rtl;
  color: #002264;
  max-width: 1200px;
  margin-inline: auto;
  padding: 24px 16px 50px;
}

/* البانر */
.rq-home .rq-hero {
  padding: clamp(28px, 5vw, 64px);
  margin-bottom: 45px;
  border-radius: 16px;
  background: #edf8ff;
  border-inline-start: 5px solid #00b1fa;
}

.rq-home .rq-eyebrow {
  font-weight: 700;
  color: #007eae;
  margin-bottom: 12px;
}

.rq-home .rq-hero h1 {
  font-size: clamp(27px, 3.5vw, 44px);
  line-height: 1.5;
  margin: 0 0 16px;
}

.rq-home .rq-hero p {
  max-width: 700px;
  line-height: 1.9;
}

.rq-home .wp-block-button__link {
  background: #002264;
  color: #fff;
  border-radius: 7px;
  padding: 12px 26px;
}

.rq-home .wp-block-button__link:hover {
  background: #005b91;
}

/* عناوين الأقسام */
.rq-home h2 {
  margin-top: 42px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e6edf4;
  color: #002264;
  font-size: clamp(21px, 2.5vw, 27px);
}

/* شبكات المنتجات فقط */
.rq-home .woocommerce ul.products:not(:has(> .product-category)) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.rq-home .woocommerce ul.products:not(:has(> .product-category))::before,
.rq-home .woocommerce ul.products:not(:has(> .product-category))::after {
  display: none !important;
}

.rq-home .woocommerce ul.products li.product:not(.product-category) {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 14px;
  min-width: 0;
  border: 1px solid #e6edf4;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.rq-home .woocommerce li.product:not(.product-category) img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.rq-home .woocommerce-loop-product__title {
  color: #002264;
  font-size: 15px !important;
  line-height: 1.7;
}

.rq-home .woocommerce li.product .price {
  color: #002264 !important;
  font-weight: 700;
}

.rq-home .woocommerce li.product .button {
  background: #002264;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 768px) {
  .rq-home .woocommerce ul.products:not(:has(> .product-category)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

}

/* ==================================
   رقميات — تنسيق Astra وWooCommerce
   ================================== */

:root {
  --rq-navy: #002264;
  --rq-cyan: #00b1fa;
  --rq-text: #334155;
  --rq-border: #e2e8f0;
  --rq-light: #f3f9fd;
}

/* وضوح النص */
body {
  color: var(--rq-text);
  line-height: 1.8;
}

h1, h2, h3, h4 {
  color: var(--rq-navy);
}

/* القوائم الرئيسية */
.main-header-menu > .menu-item > .menu-link {
  font-weight: 700;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
  color: #007eae;
}

/* الأزرار */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-block-button__link {
  border-radius: 8px;
  background: var(--rq-navy);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  padding: 12px 20px;
  transition:
    background-color .2s ease,
    box-shadow .2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-block-button__link:hover {
  background: #007eae;
  color: #fff;
  box-shadow: 0 4px 12px rgb(0 34 100 / 12%);
}

/* بطاقات المنتجات فقط */
.woocommerce ul.products li.product:not(.product-category) {
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--rq-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

@media (hover: hover) {
  .woocommerce ul.products li.product:not(.product-category):hover {
    border-color: var(--rq-cyan);
    box-shadow: 0 6px 20px rgb(0 34 100 / 8%);
  }
}

/* صور المنتجات */
.woocommerce ul.products li.product:not(.product-category)
a img {
  border-radius: 8px;
}

/* أسماء المنتجات */
.woocommerce ul.products li.product
.woocommerce-loop-product__title {
  color: var(--rq-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

/* الأسعار */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--rq-navy);
  font-weight: 700;
}

.woocommerce .price del {
  opacity: .55;
}

.woocommerce .price ins {
  text-decoration: none;
}

/* أسماء الأقسام */
.woocommerce ul.products li.product-category
.woocommerce-loop-category__title,
.widget_product_categories .product-categories a,
.wc-block-product-categories-list-item > a {
  font-weight: 800 !important;
}

/* حقول النماذج */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--rq-border);
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  color: var(--rq-text);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--rq-cyan);
  outline: 2px solid rgb(0 177 250 / 18%);
  outline-offset: 1px;
}

/* التنقل بين صفحات المتجر */
.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 8px;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--rq-border);
  border-radius: 8px;
  color: var(--rq-navy);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--rq-navy);
  background: var(--rq-navy);
  color: #fff;
}

/* وضوح التنقل بلوحة المفاتيح */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--rq-cyan);
  outline-offset: 3px;
}

/* تنسيق المنتجات على الهاتف */
@media (max-width: 544px) {
  .woocommerce ul.products li.product:not(.product-category) {
    padding: 10px;
    border-radius: 9px;
  }

  .woocommerce ul.products li.product
  .woocommerce-loop-product__title {
    font-size: 14px;
  }

  .woocommerce ul.products li.product a.button {
    display: block;
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
  }
}

/* احترام إعداد تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product,
  .woocommerce a.button,
  .woocommerce button.button,
  .wp-block-button__link {
    transition: none;
  }
}

/* إعلان خدمات رقميات */
.rq-project-banner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 52px);
  margin: 20px 0 48px;
  background: linear-gradient(135deg, #f4faff, #eaf5fc);
  border: 1px solid #dcecf6;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}

.rq-project-banner,
.rq-project-banner * {
  box-sizing: border-box;
}

.rq-project-copy {
  min-width: 0;
}

.rq-project-label {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 18px;
  border: 1px solid #bce6fa;
  border-radius: 999px;
  background: #fff;
  color: #005c86;
  font-size: 13px;
  font-weight: 700;
}

.rq-project-banner h1 {
  margin: 0 0 18px;
  color: #002264;
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 800;
  line-height: 1.45;
}

.rq-project-banner h1 span {
  display: block;
  color: #007eae;
}

.rq-project-copy > p {
  margin: 0 0 22px;
  max-width: 520px;
  color: #475569;
  font-size: 16px;
  line-height: 1.95;
}

.rq-project-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.rq-project-services li {
  padding: 6px 10px;
  border-radius: 6px;
  background: #ffffffb3;
  color: #002264;
  font-size: 13px;
  font-weight: 600;
}

.rq-project-banner a.rq-project-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 9px;
  background: #002264;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgb(0 34 100 / 14%);
  transition: background-color .2s ease;
}

.rq-project-banner a.rq-project-cta:hover {
  background: #006d99;
  color: #fff;
}

.rq-project-cta:focus-visible {
  outline: 3px solid #00b1fa;
  outline-offset: 4px;
}

.rq-project-copy small {
  display: block;
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.8;
}

.rq-project-visual {
  position: relative;
  min-width: 0;
}

.rq-project-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgb(0 34 100 / 12%);
}

.rq-project-caption {
  display: block;
  width: fit-content;
  max-width: 90%;
  position: relative;
  margin: -20px auto 0;
  padding: 10px 18px;
  border: 1px solid #e2edf5;
  border-radius: 9px;
  background: #fff;
  color: #002264;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 5px 18px rgb(0 34 100 / 7%);
}

@media (max-width: 767px) {
  .rq-project-banner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px 20px;
    border-radius: 16px;
  }

  .rq-project-banner h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .rq-project-banner a.rq-project-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rq-project-banner a.rq-project-cta {
    transition: none;
  }
}

/* زر واتساب العائم — رقميات */
.rq-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 5px 20px rgb(0 0 0 / 18%);
  transition: background-color .2s ease;
}

.rq-whatsapp-float:hover {
  background: #128c4a;
}

.rq-whatsapp-float svg {
  display: block;
  flex-shrink: 0;
}

.rq-whatsapp-label {
  position: absolute;
  right: calc(100% + 12px);
  width: max-content;
  padding: 8px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #002264;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  direction: rtl;
  box-shadow: 0 3px 12px rgb(0 34 100 / 8%);
}

.rq-whatsapp-float:focus-visible {
  outline: 3px solid #002264;
  outline-offset: 4px;
}

@media (max-width: 544px) {
  .rq-whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }

  .rq-whatsapp-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rq-whatsapp-float {
    transition: none;
  }
}
/* إخفاء قائمة أحدث المقالات من الرئيسية فقط */
body.home .wp-block-latest-posts {
  display: none !important;
}

/* واجهة خدمات رقميات — الإصدار الجديد */
.rq-design {
  --rq-navy: #002264;
  --rq-blue: #007eae;
  direction: rtl;
  max-width: 1180px;
  margin: auto;
  padding: 18px 0 60px;
  color: #334155;
  font-family: inherit;
  line-height: 1.85;
}

.rq-design,
.rq-design * {
  box-sizing: border-box;
}

.rq-design h1,
.rq-design h2,
.rq-design h3 {
  color: var(--rq-navy);
  font-family: inherit;
}

.rq-design a {
  text-decoration: none;
}

.rq-design-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #dcebf6;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, #00b1fa18, transparent 55%),
    #f6fbff;
}

.rq-design-badge {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid #c8e7f6;
  border-radius: 30px;
  background: #fff;
  color: #006b94;
  font-size: 12px;
  font-weight: 700;
}

.rq-design-copy h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.45;
  margin: 20px 0;
}

.rq-design-copy > p {
  color: #526176;
  font-size: 16px;
}

.rq-design-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.rq-design a.rq-design-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #002264;
  border-radius: 9px;
  background: #002264;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.rq-design a.rq-design-button:hover {
  background: #006d99;
  border-color: #006d99;
  color: #fff;
}

.rq-design a.rq-design-outline {
  background: #fff;
  border-color: #c9dbe9;
  color: #002264;
}

.rq-design-copy p.rq-design-small {
  margin: 15px 0 0;
  font-size: 12px;
  color: #64748b;
}

.rq-design-picture {
  position: relative;
  min-width: 0;
}

.rq-design-picture img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 17px;
  box-shadow: 0 15px 30px rgb(0 34 100 / 10%);
}

.rq-design-picture-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 90%;
  margin: -24px auto 0;
  padding: 15px;
  border: 1px solid #e1ebf3;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(0 34 100 / 7%);
}

.rq-design-dot {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border: 3px solid #ccefff;
  border-radius: 50%;
  background: #00b1fa;
}

.rq-design-picture-label strong {
  display: block;
  color: #002264;
  font-size: 14px;
}

.rq-design-picture-label div > span {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.rq-design-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid #e2ebf3;
  border-radius: 14px;
  overflow: hidden;
}

.rq-design-strip > div {
  padding: 18px 10px;
  text-align: center;
  background: #fff;
}

.rq-design-strip > div + div {
  border-inline-start: 1px solid #e2ebf3;
}

.rq-design-strip strong,
.rq-design-strip span {
  display: block;
}

.rq-design-strip strong {
  color: #002264;
  font-size: 17px;
}

.rq-design-strip span {
  color: #64748b;
  font-size: 12px;
}

.rq-design-section {
  margin-top: 52px;
  scroll-margin-top: 30px;
}

.rq-design-heading {
  margin-bottom: 25px;
}

.rq-design-eyebrow {
  color: #007eae;
  font-size: 12px;
  font-weight: 700;
}

.rq-design-heading h2 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 32px);
}

.rq-design-heading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.rq-design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rq-design-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid #dfe8f0;
  border-radius: 17px;
  background: #fff;
}

@media (hover: hover) {
  .rq-design-card:hover {
    border-color: #8ed7f6;
    box-shadow: 0 8px 24px rgb(0 34 100 / 6%);
  }
}

.rq-design-featured {
  background: linear-gradient(145deg, #edf8ff, #fff);
  border-color: #9edbf7;
}

.rq-design-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
}

.rq-design-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: 1px solid #d4edfa;
  border-radius: 14px;
  background: #eaf7ff;
  color: #007eae;
  font: 700 19px monospace;
  direction: ltr;
}

.rq-design-category {
  padding: 4px 9px;
  border: 1px solid #e0e9f1;
  border-radius: 20px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
}

.rq-design-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.rq-design-card > p {
  font-size: 14px;
  color: #526176;
  margin: 0;
}

.rq-design-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  color: #42536b;
  font-size: 13px;
}

.rq-design-card li {
  padding: 5px 0;
}

.rq-design-card li::before {
  content: "✓";
  color: #007eae;
  margin-inline-end: 8px;
}

.rq-design a.rq-design-request {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e3ecf4;
  color: #002264;
  font-size: 14px;
  font-weight: 700;
}

.rq-design-request span {
  color: #007eae;
  font-size: 20px;
}

.rq-design-process {
  padding: 32px;
  border-radius: 20px;
  background: #f3f8fc;
}

.rq-design-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rq-design-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  border: 1px solid #c5e7f7;
  border-radius: 50%;
  background: #fff;
  color: #007eae;
  font-weight: 700;
}

.rq-design-steps h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.rq-design-steps p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.rq-design-contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(25px, 4vw, 42px);
  border-radius: 21px;
  background: #002264;
  color: #fff;
}

.rq-design-contact-tag {
  color: #7cd9ff;
  font-size: 12px;
  font-weight: 700;
}

.rq-design-contact h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 30px);
  margin: 10px 0 14px;
}

.rq-design-contact p {
  color: #d8e8f8;
  font-size: 14px;
  margin-bottom: 23px;
}

.rq-design-contact a.rq-design-button {
  background: #fff;
  color: #002264;
  border-color: #fff;
}

.rq-design-contact a.rq-design-button:hover {
  background: #dff4ff;
  color: #002264;
}

.rq-design-brief {
  padding: 25px;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  background: #ffffff0d;
}

.rq-design-brief h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 15px;
}

.rq-design-brief ul {
  padding-inline-start: 20px;
  margin: 0;
  color: #d8e8f8;
  font-size: 14px;
}

.rq-design-brief li {
  padding: 5px 0;
}

.rq-design-faq details {
  padding: 18px 20px;
  margin-bottom: 10px;
  border: 1px solid #e1eaf2;
  border-radius: 10px;
  background: #fff;
}

.rq-design-faq summary {
  cursor: pointer;
  color: #002264;
  font-size: 15px;
  font-weight: 700;
}

.rq-design-faq details p {
  margin: 14px 0 0;
  color: #526176;
  font-size: 14px;
}

.rq-design a:focus-visible,
.rq-design summary:focus-visible {
  outline: 3px solid #00b1fa;
  outline-offset: 4px;
}

body.page-id-130 .entry-header {
  display: none;
}

@media (max-width: 950px) {
  .rq-design-hero {
    grid-template-columns: 1fr;
  }

  .rq-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rq-design-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .rq-design {
    padding-top: 8px;
  }

  .rq-design-hero {
    padding: 26px 20px;
    gap: 28px;
    border-radius: 18px;
  }

  .rq-design-copy h1 {
    font-size: 33px;
  }

  .rq-design-actions {
    flex-direction: column;
  }

  .rq-design-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rq-design-strip > div {
    border: 1px solid #edf2f7;
  }

  .rq-design-grid,
  .rq-design-contact {
    grid-template-columns: 1fr;
  }

  .rq-design-card {
    padding: 23px;
  }

  .rq-design-process {
    padding: 25px 20px;
  }

  .rq-design-contact {
    gap: 24px;
  }

  .rq-design-section {
    margin-top: 38px;
  }
}

/* لوحة حساب رقميات */
body.woocommerce-account .woocommerce {
  color: #334155;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  padding: 14px;
  border: 1px solid #e0eaf3;
  border-radius: 16px;
  background: #f5faff;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border: 0;
  margin: 5px 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 15px;
  border: 0;
  border-radius: 9px;
  color: #002264;
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation
li.is-active a {
  background: #002264;
  color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-navigation
li:not(.is-active) a:hover {
  background: #e3f3fc;
}

.rq-portal,
.rq-portal * {
  box-sizing: border-box;
}

.rq-portal {
  margin-top: 28px;
  color: #334155;
  line-height: 1.8;
}

.rq-portal-heading {
  padding: 28px;
  border: 1px solid #dcebf6;
  border-radius: 17px;
  background: linear-gradient(135deg, #edf8ff, #fff);
}

.rq-portal-heading > span {
  color: #007eae;
  font-size: 12px;
  font-weight: 700;
}

.rq-portal-heading h2 {
  color: #002264;
  font-size: clamp(24px, 3vw, 32px);
  margin: 7px 0 10px;
}

.rq-portal-heading p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.rq-portal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 25px;
}

.rq-portal-links a {
  display: block;
  padding: 19px;
  border: 1px solid #e0eaf3;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
}

.rq-portal-links b {
  display: block;
  color: #002264;
  margin-bottom: 6px;
}

.rq-portal-links span {
  color: #64748b;
  font-size: 12px;
}

.rq-project-panel {
  margin: 20px 0;
  padding: 25px;
  border: 1px solid #dce7f1;
  border-radius: 17px;
  background: #fff;
}

.rq-project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rq-project-top small {
  color: #007eae;
  font: 700 12px monospace;
}

.rq-project-top h3 {
  color: #002264;
  font-size: 21px;
  margin: 7px 0;
}

.rq-project-state {
  padding: 5px 12px;
  background: #eaf7ff;
  border: 1px solid #c9e9fa;
  border-radius: 30px;
  color: #006b94;
  font-size: 12px;
  font-weight: 700;
}

.rq-project-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.rq-project-timeline li {
  position: relative;
  padding: 12px 4px;
  border-top: 3px solid #e2e8f0;
  color: #64748b;
  text-align: center;
  font-size: 11px;
}

.rq-stage-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  border: 1px solid #dce5ee;
  border-radius: 50%;
  background: #f4f7fa;
  font-weight: 700;
}

.rq-project-timeline li.complete {
  border-color: #007eae;
  color: #002264;
}

.rq-project-timeline li.complete .rq-stage-dot {
  background: #007eae;
  border-color: #007eae;
  color: #fff;
}

.rq-project-timeline li.current {
  border-color: #00b1fa;
  color: #002264;
  font-weight: 700;
}

.rq-project-timeline li.current .rq-stage-dot {
  background: #002264;
  border-color: #002264;
  color: #fff;
  box-shadow: 0 0 0 4px #e3f5ff;
}

.rq-project-timeline small {
  display: block;
  color: #007eae;
  font-size: 10px;
  margin-top: 5px;
}

.rq-project-update {
  padding: 18px;
  border-inline-start: 3px solid #00b1fa;
  border-radius: 8px;
  background: #f4f9fd;
}

.rq-project-update strong {
  color: #002264;
  font-size: 13px;
}

.rq-project-update p {
  color: #526176;
  font-size: 14px;
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}

.rq-project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.rq-project-footer small {
  color: #64748b;
}

.rq-project-footer a {
  color: #002264;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rq-project-empty {
  padding: 35px 25px;
  border: 1px dashed #bfd9eb;
  border-radius: 16px;
  background: #f9fcff;
  text-align: center;
}

.rq-empty-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  border-radius: 15px;
  background: #e5f5ff;
  color: #007eae;
  font-size: 30px;
}

.rq-project-empty h3 {
  color: #002264;
  font-size: 22px;
}

.rq-project-empty p {
  color: #64748b;
  font-size: 14px;
}

.rq-project-empty a {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  background: #002264;
  color: #fff;
  text-decoration: none;
}

.rq-portal a:focus-visible {
  outline: 3px solid #00b1fa;
  outline-offset: 4px;
}

@media (max-width: 650px) {
  .rq-portal-links {
    grid-template-columns: 1fr;
  }

  .rq-project-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 8px;
  }

  .rq-project-panel {
    padding: 20px 15px;
  }

  .rq-portal-heading {
    padding: 24px 20px;
  }
}

/* إخفاء النص الافتراضي أعلى لوحة حساب العميل */
body.woocommerce-account
.woocommerce-MyAccount-content:has(.rq-portal) > p {
  display: none;
}

/* واجهة الدخول — رقميات */
body.page-id-10:not(.logged-in) {
  background: #eef3f8;
}

body.page-id-10:not(.logged-in) .entry-header {
  display: none;
}

body.page-id-10:not(.logged-in) .site-content {
  background: #eef3f8;
}

body.page-id-10:not(.logged-in) .ast-article-single {
  background: transparent;
}

body:not(.logged-in) .rq-auth-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 620px;
  margin: 35px auto 60px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #e0e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgb(0 34 100 / 6%);
  direction: rtl;
}

.rq-auth-shell,
.rq-auth-shell * {
  box-sizing: border-box;
}

.rq-auth-intro {
  margin-bottom: 28px;
  text-align: center;
}

.rq-auth-intro > span {
  color: #007eae;
  font-size: 14px;
  font-weight: 700;
}

.rq-auth-intro h2 {
  margin: 10px 0 0;
  color: #002264;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.6;
}

.rq-auth-social {
  text-align: center;
}

.rq-auth-social .nsl-container {
  padding: 0 !important;
  text-align: center !important;
}

.rq-auth-social .nsl-container-buttons {
  width: 100%;
  padding: 0 !important;
}

.rq-auth-social .nsl-container-buttons > a {
  width: 100%;
}

.rq-auth-social .nsl-button {
  min-height: 48px;
  border-radius: 6px !important;
}

.rq-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.rq-auth-divider::before,
.rq-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dce5ee;
}

body:not(.logged-in) .rq-auth-shell #customer_login {
  display: block;
}

body:not(.logged-in) .rq-auth-shell #customer_login::before,
body:not(.logged-in) .rq-auth-shell #customer_login::after {
  display: none;
}

body:not(.logged-in) .rq-auth-shell #customer_login > div {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body:not(.logged-in) .rq-auth-shell .woocommerce h2 {
  color: #002264;
  font-size: 21px;
  margin: 0 0 20px;
}

body:not(.logged-in) .rq-auth-shell form.login,
body:not(.logged-in) .rq-auth-shell form.register {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: right;
}

body:not(.logged-in) .rq-auth-shell .form-row {
  padding: 0;
  margin: 0 0 20px;
}

body:not(.logged-in) .rq-auth-shell .form-row label {
  display: block;
  color: #002264;
  font-size: 14px;
  margin-bottom: 8px;
}

body:not(.logged-in) .rq-auth-shell input.input-text {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfdbe7;
  border-radius: 6px;
  background: #f8fbfe;
  color: #002264;
  font: inherit;
  box-shadow: none;
}

body:not(.logged-in) .rq-auth-shell input.input-text:focus {
  border-color: #007eae;
  outline: 2px solid #dff4ff;
  outline-offset: 1px;
}

body:not(.logged-in) .rq-auth-shell input[type="password"],
body:not(.logged-in) .rq-auth-shell input[type="email"] {
  direction: ltr;
  text-align: right;
}

body:not(.logged-in) .rq-auth-shell
.woocommerce-form-login__rememberme {
  margin-bottom: 16px;
}

body:not(.logged-in) .rq-auth-shell button.button {
  display: block;
  float: none;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  background: #002264;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

body:not(.logged-in) .rq-auth-shell button.button:hover {
  background: #006d99;
  color: #fff;
}

.rq-auth-shell .lost_password {
  margin-top: 16px;
  font-size: 13px;
}

.rq-auth-shell .lost_password a {
  color: #007eae;
  text-decoration: none;
}

body:not(.logged-in) .rq-auth-shell #customer_login .u-column2 {
  padding-top: 30px;
  margin-top: 30px !important;
  border-top: 1px solid #e2eaf2;
}

body:not(.logged-in) .rq-auth-shell form.register > p,
.rq-auth-shell .woocommerce-privacy-policy-text {
  color: #64748b;
  font-size: 13px;
  line-height: 1.9;
}

.rq-auth-shell a:focus-visible,
.rq-auth-shell button:focus-visible {
  outline: 3px solid #00b1fa;
  outline-offset: 3px;
}

/* بعد الدخول تظهر لوحة الحساب ومتابعة المشاريع */
body.logged-in .rq-auth-intro,
body.logged-in .rq-auth-social,
body.logged-in .rq-auth-divider {
  display: none;
}

@media (max-width: 600px) {
  body:not(.logged-in) .rq-auth-shell {
    margin: 18px auto 35px;
    padding: 26px 20px;
    border-radius: 12px;
  }
}

/* إطار موحد لرمز التحقق */
.otp-container {
    direction: ltr !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0 !important;
    width: fit-content;
    max-width: 100%;
    margin: 18px auto !important;
    padding: 4px 12px;
    background: #fff;
    border: 2px solid #00B1FA;
    border-radius: 12px;
    box-sizing: border-box;
}

.otp-container .otp-input {
    width: 48px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #002264 !important;
    font-family: Arial, sans-serif;
    font-size: 28px !important;
    font-weight: 700;
    text-align: center !important;
}

.otp-container:focus-within {
    box-shadow: 0 0 0 4px rgb(0 177 250 / 12%);
}

/* قائمة الهاتف — رقميات */
@media (max-width: 921px) {

  /* خلفية منطقة القائمة */
  #ast-mobile-header .ast-mobile-header-content,
  #ast-mobile-popup .ast-mobile-popup-inner {
    background: #f5f9fd;
  }

  /* حاوية الروابط */
  #ast-mobile-header .main-header-menu,
  #ast-mobile-popup .main-header-menu {
    padding: 16px !important;
    margin: 0 !important;
    background: transparent !important;
    direction: rtl;
  }

  /* عناصر القائمة الرئيسية */
  #ast-mobile-header .main-header-menu > .menu-item,
  #ast-mobile-popup .main-header-menu > .menu-item {
    margin: 0 0 9px;
    border: 0 !important;
    background: transparent;
  }

  /* شكل الروابط */
  #ast-mobile-header .main-header-menu > .menu-item > .menu-link,
  #ast-mobile-popup .main-header-menu > .menu-item > .menu-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 18px !important;
    border: 1px solid #e1eaf3 !important;
    border-radius: 12px;
    background: #fff;
    color: #002264;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    transition: background-color .2s, border-color .2s;
  }

  /* الصفحة الحالية */
  #ast-mobile-header .main-header-menu > .current-menu-item > .menu-link,
  #ast-mobile-popup .main-header-menu > .current-menu-item > .menu-link {
    background: #002264;
    border-color: #002264 !important;
    color: #fff;
    box-shadow: inset -4px 0 0 #00b1fa;
  }

  /* المرور على الرابط */
  #ast-mobile-header .main-header-menu > .menu-item > .menu-link:hover,
  #ast-mobile-popup .main-header-menu > .menu-item > .menu-link:hover {
    background: #e9f7ff;
    border-color: #00b1fa !important;
    color: #002264;
  }

  /* تمييز خدمة تصميم المشاريع */
  #ast-mobile-header .main-header-menu > .menu-item > a[href*="page_id=130"],
  #ast-mobile-popup .main-header-menu > .menu-item > a[href*="page_id=130"] {
    border-inline-start: 4px solid #00b1fa !important;
  }

  /* زر فتح القائمة وإغلاقها */
  #ast-mobile-header .menu-toggle,
  #ast-mobile-popup .menu-toggle-close {
    border: 1px solid #dce8f2;
    border-radius: 10px;
    background: #eef8ff;
    color: #002264;
  }

  /* التركيز بلوحة المفاتيح */
  #ast-mobile-header .menu-link:focus-visible,
  #ast-mobile-popup .menu-link:focus-visible {
    outline: 2px solid #00b1fa;
    outline-offset: 3px;
  }
}

/* قائمة الكمبيوتر — رقميات */
@media (min-width: 922px) {

  /* الشريط دون خلفية أو إطار */
  #ast-desktop-header .main-header-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px 0 !important;
    margin-block: 8px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }

  #ast-desktop-header .main-header-menu > .menu-item {
    display: flex;
    align-items: center;
    background: transparent;
  }

  /* الروابط */
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px !important;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #002264;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .2s ease,
                color .2s ease;
  }

  /* المرور على الروابط */
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover {
    background: #e9f7ff;
    color: #006b94;
  }

  /* الصفحة الحالية */
  #ast-desktop-header .main-header-menu > .current-menu-item > .menu-link,
  #ast-desktop-header .main-header-menu > .current-menu-ancestor > .menu-link {
    background: #002264;
    color: #fff;
  }

  /* القوائم المنسدلة */
  #ast-desktop-header .main-header-menu .sub-menu {
    padding: 8px;
    border: 1px solid #e1eaf3;
    border-top: 3px solid #00b1fa;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgb(0 34 100 / 10%);
  }

  #ast-desktop-header .main-header-menu .sub-menu .menu-link {
    padding: 10px 14px;
    border-radius: 7px;
    color: #002264;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
  }

  #ast-desktop-header .main-header-menu .sub-menu .menu-link:hover {
    background: #edf8ff;
    color: #006b94;
  }

  /* وضوح التنقل بلوحة المفاتيح */
  #ast-desktop-header .main-header-menu .menu-link:focus-visible {
    outline: 2px solid #00b1fa;
    outline-offset: 3px;
  }
}

/* شاشات الكمبيوتر الصغيرة */
@media (min-width: 922px) and (max-width: 1100px) {
  #ast-desktop-header .main-header-menu {
    gap: 3px;
  }

  #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    padding-inline: 10px !important;
    font-size: 13px;
  }
}

/* تقليل الحركة حسب إعداد الجهاز */
@media (prefers-reduced-motion: reduce) {
  #ast-desktop-header .main-header-menu .menu-link {
    transition: none;
  }
}

/* صندوق البحث في الترويسة */
.rq-header-search {
  display: flex;
  align-items: center;
  direction: rtl;
  width: clamp(240px, 34vw, 520px);
  max-width: 100%;
  margin: 0;
  padding: 5px;
  border: 1px solid #d9e5ef;
  border-radius: 12px;
  background: #f5f9fd;
  box-sizing: border-box;
}

.rq-header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #002264;
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
}

.rq-header-search input[type="search"]::placeholder {
  color: #64748b;
  opacity: 1;
}

.rq-header-search:focus-within {
  border-color: #00b1fa;
  box-shadow: 0 0 0 3px rgb(0 177 250 / 12%);
}

.rq-header-search button {
  flex-shrink: 0;
  min-height: 42px;
  margin: 0;
  padding: 9px 20px;
  border: 0;
  border-radius: 8px;
  background: #002264;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.rq-header-search button:hover {
  background: #006b94;
}

@media (max-width: 921px) {
  .rq-header-search {
    width: 100%;
  }
}

/* نموذج طلب المشروع — رقميات */
.rq-project-request {
  max-width: 900px;
  margin: 48px auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid #dce8f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgb(0 34 100 / 6%);
  scroll-margin-top: 30px;
}

.rq-request-heading {
  margin-bottom: 28px;
}

.rq-request-heading > span {
  color: #007eae;
  font-size: 13px;
  font-weight: 700;
}

.rq-request-heading h2 {
  margin: 10px 0;
  color: #002264;
  font-size: clamp(25px, 3vw, 34px);
}

.rq-request-heading p,
.rq-request-note {
  color: #64748b;
  font-size: 14px;
  line-height: 1.9;
}

#forminator-module-270 {
  direction: rtl;
  text-align: right;
  font-family: inherit;
}

#forminator-module-270 .forminator-label {
  color: #002264 !important;
  font-weight: 700 !important;
}

#forminator-module-270 .forminator-input,
#forminator-module-270 .forminator-textarea {
  border: 1px solid #d5e2ed !important;
  border-radius: 10px !important;
  background: #f8fbfe !important;
  color: #002264 !important;
  font-family: inherit !important;
}

#forminator-module-270 .forminator-input {
  min-height: 48px;
}

#forminator-module-270 .forminator-textarea {
  min-height: 160px;
}

#forminator-module-270 input[type="email"],
#forminator-module-270 input[type="tel"] {
  direction: ltr;
  text-align: right;
}

#forminator-module-270 .forminator-input:focus,
#forminator-module-270 .forminator-textarea:focus {
  border-color: #00b1fa !important;
  box-shadow: 0 0 0 3px rgb(0 177 250 / 12%) !important;
}

#forminator-module-270 .forminator-button-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 10px !important;
  background: #002264 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

#forminator-module-270 .forminator-button-submit:hover {
  background: #006b94 !important;
}

.rq-request-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e4edf5;
  font-size: 12px;
}

/* سجل تحديثات مشاريع رقميات */
.rq-portal .rq-history {
  margin-top: 22px;
  border: 1px solid #dce8f2;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.rq-portal .rq-history > summary {
  padding: 16px 18px;
  background: #f3f9fd;
  color: #002264;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.rq-portal .rq-history > summary span {
  color: #007eae;
}

.rq-portal .rq-history > summary:focus-visible {
  outline: 2px solid #00b1fa;
  outline-offset: -3px;
}

.rq-portal .rq-history-list {
  list-style: none;
  margin: 0;
  padding: 8px 20px;
}

.rq-portal .rq-history-item {
  padding: 18px 0;
  border-bottom: 1px solid #e6edf4;
}

.rq-portal .rq-history-item:last-child {
  border-bottom: 0;
}

.rq-portal .rq-history-item time,
.rq-portal .rq-history-item > small {
  display: block;
  margin-bottom: 10px;
  color: #64748b;
  font-size: 12px;
}

.rq-portal .rq-history-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rq-portal .rq-history-meta strong {
  color: #002264;
  font-size: 14px;
}

.rq-portal .rq-history-meta span {
  padding: 3px 10px;
  border-radius: 20px;
  background: #eaf7ff;
  color: #006b94;
  font-size: 11px;
}

.rq-portal .rq-history-item p {
  margin: 10px 0 0;
  color: #526176;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
#forminator-module-270 .rq-project-name-row { width:100%; }
#forminator-module-270 .rq-project-name-row .forminator-input { width:100%; box-sizing:border-box; }

/* 5.2.0 service catalogue */
.rq-design-icon svg{width:26px;height:26px;display:block}
.rq-service-detail nav{font-size:14px;color:#526579;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.rq-service-detail .rq-web-page-hero>p{max-width:760px}
.rq-service-detail .rq-web-three article{min-width:0}
@media(max-width:700px){.rq-service-detail .rq-web-three{grid-template-columns:1fr}.rq-service-detail .rq-web-actions{gap:12px}.rq-service-detail .rq-web-page-hero h1{font-size:clamp(26px,7vw,38px)}}
