/* Add custom CSS styles below */ 
/* K STORE - Search Bar */
.top-navbar .s-search-input {
    visibility: visible !important;
    display: block !important;
    background: #0B5964 !important;
    color: #ffffff !important;
    border: 1px solid #F4B942 !important;
    border-radius: 30px !important;
    height: 48px !important;
}

/* Search placeholder */
.top-navbar .s-search-input::placeholder {
    color: rgba(255,255,255,.65) !important;
}

/* Search icon */
.s-search-icon svg {
    visibility: visible !important;
    color: #F4B942 !important;
    stroke: #F4B942 !important;
}

/* Search area */
.top-navbar {
    background: #063E49 !important;
}
/* K STORE - Main Background */
body,
.app-inner,
main {
    background: linear-gradient(
        160deg,
        #06192B 0%,
        #08263A 45%,
        #063E49 100%
    ) !important;
    background-attachment: fixed !important;
}
}
/* K STORE - Header */
header,
.store-header,
.main-header,
.navbar {
    background: #063E49 !important;
}

/* K STORE - Headings */
main h1,
main h2,
main h3,
main .section-title {
    color: #FFFFFF !important;
}
/* K STORE - Force Header Background */
.main-nav-container,
.main-nav-container.fixed-header,
header .main-nav-container,
.top-navbar,
.navbar,
header {
    background: #063E49 !important;
    border-color: transparent !important;
}

/* Header icons */
.main-nav-container svg,
.main-nav-container i,
.main-nav-container a {
    color: #ffffff !important;
}

/* Cart price */
.main-nav-container span {
    color: #ffffff !important;
}
/* K STORE - Header Polish */
.main-nav-container,
.main-nav-container.fixed-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: auto !important;
}

/* Make all header icons/text clear */
.main-nav-container,
.main-nav-container * {
    color: #ffffff !important;
}

/* SVG icons */
.main-nav-container svg,
.main-nav-container svg path,
.main-nav-container svg circle {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

/* K STORE - Full Premium Background */
body,
.app-inner,
main,
main > div,
.home,
.home-page,
.salla-theme_6 {
    background: linear-gradient(
        160deg,
        #06192B 0%,
        #08263A 50%,
        #063E49 100%
    ) !important;
    background-color: transparent !important;
}
    ) !important;
    background-color: transparent !important;
}
section {
    background-color: transparent !important;
}

/* Section titles */
section h2,
section h3,
.section-title {
    color: #ffffff !important;
}
/* عناوين بطاقات مميزات المتجر */
section .feature-item h2,
section .feature-item h3,
section .feature-item .title {
    color: #063E49 !important;
}
/* K STORE - Feature Titles */
.s-block--features h2,
.s-block--features h3,
.s-block--features h4,
.s-block--features h5,
.s-block--features .title,
.s-block--features strong,
.features-section h2,
.features-section h3,
.features-section h4,
.features-section .title {
    color: #063E49 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}
/* إظهار اسم العميل في آراء العملاء */
salla-testimonials .testimonial__name,
salla-testimonials .customer-name,
salla-testimonials .author-name,
salla-testimonials [class*="name"] {
    color: #063E49 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}
/* K STORE - Reviews customer info */
salla-reviews {
    --reviews-customer-name-color: #063E49;
}

salla-reviews::part(customer-name),
salla-reviews::part(customer-info),
salla-reviews::part(author-name) {
    color: #063E49 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* K STORE - Premium Page Background */
html,
body,
.app-inner,
main,
.home,
.home-page,
.salla-theme_6 {
    background: linear-gradient(
        160deg,
        #06192B 0%,
        #082C3E 50%,
        #064652 100%
    ) !important;
}

/* أقسام الصفحة شفافة فقط */
main > section,
.s-block {
    background: transparent !important;
}

/* بطاقات المنتجات تبقى واضحة */
.s-product-card-entry,
.product-entry,
.product-card {
    background: #FFFFFF !important;
    color: #063E49 !important;
}
/* K STORE - Product Cards Soft Background */
.s-product-card-entry,
.product-entry,
.product-card {
    background: #F4F7F8 !important;
    border: 1px solid rgba(244, 185, 66, 0.16) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Product text */
.s-product-card-entry,
.s-product-card-entry * {
    color: #123A44;
}

/* Add to cart button */
.s-product-card-entry button,
.s-product-card-entry .s-button-element {
    border-color: #0B5B68 !important;
    color: #0B5B68 !important;
    border-radius: 14px !important;
}
/* ================================
   K STORE - PRODUCT CARDS FINAL
   ================================ */

custom-salla-product-card.s-product-card-entry.s-product-card-horizontal {
    background: #123F49 !important;
    background-color: #123F49 !important;
    border: 1px solid #D9A63A !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.20) !important;
}

/* اسم المنتج */
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal h3,
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal h4,
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal a,
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal .s-product-card-content-title {
    color: #FFFFFF !important;
}

/* السعر والتقييم */
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal .s-product-card-price,
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal span {
    color: #F4B942 !important;
}

/* زر إضافة للسلة */
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal button,
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal .s-button-element {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid #F4B942 !important;
    border-radius: 12px !important;
}

/* أيقونة السلة */
custom-salla-product-card.s-product-card-entry.s-product-card-horizontal button svg {
    color: #F4B942 !important;
    stroke: #F4B942 !important;
}
/* K STORE - إصلاح ظهور السعر ورمز الريال */
custom-salla-product-card .s-product-card-price,
custom-salla-product-card .s-product-card-price *,
custom-salla-product-card [class*="price"],
custom-salla-product-card [class*="price"] *,
custom-salla-product-card .s-product-card-sale-price,
custom-salla-product-card .s-product-card-sale-price * {
    color: #F4B942 !important;
    fill: #F4B942 !important;
    stroke: #F4B942 !important;
    opacity: 1 !important;
}
/* =================================
   K STORE - CATEGORY CARDS
   ================================= */

/* بطاقات الأقسام */
[data-testid="store-home-main-links"] a,
[data-testid="store-home-main-links"] .category-entry,
[data-testid="store-home-main-links"] [class*="category"],
.s-block--categories a {
    background-color: #123F49 !important;
    border-color: #F4B942 !important;
    border-radius: 18px !important;
}

/* أسماء الأقسام */
[data-testid="store-home-main-links"] a,
[data-testid="store-home-main-links"] a span,
[data-testid="store-home-main-links"] a p,
[data-testid="store-home-main-links"] a h3 {
    color: #FFFFFF !important;
}

/* الصور نفسها لا تتأثر */
[data-testid="store-home-main-links"] img {
    background: transparent !important;
}
/* =================================
   K STORE - STORE FEATURES
   ================================= */

/* بطاقات مميزات المتجر */
[data-testid="store-home-features"] .feature-item,
[data-testid="store-home-features"] [class*="feature"],
.s-block--features .feature-item,
.s-block--features [class*="feature"] {
    background: #123F49 !important;
    background-color: #123F49 !important;
    border: 1px solid #F4B942 !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
}

/* العنوان الرئيسي داخل الميزة */
[data-testid="store-home-features"] h3,
[data-testid="store-home-features"] h4,
[data-testid="store-home-features"] [class*="feature"] h3,
[data-testid="store-home-features"] [class*="feature"] h4 {
    color: #FFFFFF !important;
}

/* الوصف */
[data-testid="store-home-features"] p,
[data-testid="store-home-features"] [class*="feature"] p {
    color: #D8E2E4 !important;
}

/* أيقونات المميزات */
[data-testid="store-home-features"] svg,
[data-testid="store-home-features"] i {
    color: #F4B942 !important;
    stroke: #F4B942 !important;
}
/* =================================
   K STORE - CUSTOMER REVIEWS FINAL
   ================================= */

/* السلايد الخارجي */
[data-testid="store-home-testimonials"] .s-reviews-container .swiper-slide {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* البطاقة البيضاء الداخلية */
[data-testid="store-home-testimonials"] .s-reviews-container .swiper-slide > div,
[data-testid="store-home-testimonials"] .s-reviews-container .swiper-slide > article {
    background: #123F49 !important;
    background-color: #123F49 !important;
    border: 1px solid #F4B942 !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.15) !important;
}

/* إزالة أي خلفيات بيضاء داخل البطاقة */
[data-testid="store-home-testimonials"] .s-reviews-container .swiper-slide > div > div,
[data-testid="store-home-testimonials"] .s-reviews-container .swiper-slide > article > div {
    background: transparent !important;
}

/* نص التقييم */
[data-testid="store-home-testimonials"] .s-reviews-container p,
[data-testid="store-home-testimonials"] .s-reviews-container h3,
[data-testid="store-home-testimonials"] .s-reviews-container h4,
[data-testid="store-home-testimonials"] .s-reviews-container span {
    color: #FFFFFF !important;
}

/* النجوم */
[data-testid="store-home-testimonials"] .s-reviews-container [class*="star"],
[data-testid="store-home-testimonials"] .s-reviews-container [class*="star"] * {
    color: #F4B942 !important;
    fill: #F4B942 !important;
}

/* علامة الاقتباس */
[data-testid="store-home-testimonials"] .s-reviews-container [class*="quote"] {
    color: #F4B942 !important;
    border: none !important;
}
/* =================================
   K STORE - FOOTER FINAL
   ================================= */

/* خلفية الفوتر وكل الحاويات الداخلية */
footer[data-testid="store-footer"],
footer[data-testid="store-footer"] > div,
footer[data-testid="store-footer"] .store-footer,
footer[data-testid="store-footer"] .store-footer__inner,
footer[data-testid="store-footer"] .store-footer__top,
footer[data-testid="store-footer"] .store-footer__bottom,
footer[data-testid="store-footer"] .container,
.store-footer,
.store-footer__inner,
.store-footer__top,
.store-footer__bottom {
    background: #123F49 !important;
    background-color: #123F49 !important;
}

/* خط علوي ذهبي */
footer[data-testid="store-footer"] {
    border-top: 1px solid #F4B942 !important;
}

/* العناوين */
footer[data-testid="store-footer"] h2,
footer[data-testid="store-footer"] h3,
footer[data-testid="store-footer"] h4,
footer[data-testid="store-footer"] strong {
    color: #F4B942 !important;
}

/* النصوص والروابط */
footer[data-testid="store-footer"] p,
footer[data-testid="store-footer"] span,
footer[data-testid="store-footer"] li,
footer[data-testid="store-footer"] a {
    color: #FFFFFF !important;
}

/* الأيقونات */
footer[data-testid="store-footer"] svg {
    color: #F4B942 !important;
    fill: #F4B942 !important;
    stroke: #F4B942 !important;
}
/* K STORE - إصلاح وضوح نصوص الفوتر */

/* جميع النصوص داخل الفوتر */
footer[data-testid="store-footer"] p,
footer[data-testid="store-footer"] span,
footer[data-testid="store-footer"] li,
footer[data-testid="store-footer"] a,
footer[data-testid="store-footer"] div {
    color: #FFFFFF !important;
}

/* العناوين تبقى ذهبية */
footer[data-testid="store-footer"] h1,
footer[data-testid="store-footer"] h2,
footer[data-testid="store-footer"] h3,
footer[data-testid="store-footer"] h4,
footer[data-testid="store-footer"] h5 {
    color: #F4B942 !important;
}

/* الروابط */
footer[data-testid="store-footer"] a {
    color: #FFFFFF !important;
}

/* عند المرور على الرابط */
footer[data-testid="store-footer"] a:hover {
    color: #F4B942 !important;
}
/* =================================
   K STORE - MOBILE SIDE MENU
   ================================= */

/* خلفية القائمة الجانبية */
.s-menu-modal,
.s-menu-modal-content,
.s-menu-modal .s-menu-wrapper,
.s-menu-wrapper,
.s-menu,
.mobile-menu,
.drawer,
.drawer-content {
    background: #123F49 !important;
    background-color: #123F49 !important;
}

/* عناصر القائمة */
.s-menu-modal a,
.s-menu-wrapper a,
.s-menu a,
.mobile-menu a,
.drawer a {
    color: #FFFFFF !important;
    border-color: rgba(244, 185, 66, 0.25) !important;
}

/* عنوان القائمة */
.s-menu-modal h3,
.s-menu-modal h4,
.s-menu-wrapper h3,
.s-menu-wrapper h4 {
    color: #F4B942 !important;
}

/* زر الإغلاق */
.s-menu-modal button,
.s-menu-wrapper button,
.drawer button {
    color: #FFFFFF !important;
    background: #123F49 !important;
}

/* الأيقونات */
.s-menu-modal svg,
.s-menu-wrapper svg,
.drawer svg {
    color: #F4B942 !important;
    stroke: #F4B942 !important;
}
/* إصلاح لون القائمة الرئيسية فقط */
.s-menu-modal h3,
.s-menu-modal h4,
.s-menu-modal strong,
.s-menu-modal .menu-title,
.s-menu-wrapper h3,
.s-menu-wrapper h4,
.s-menu-wrapper strong,
.mobile-menu h3,
.mobile-menu h4,
.mobile-menu strong {
    color: #F4B942 !important;
}
/* K STORE - Breadcrumb / مسار الأقسام */

.breadcrumb,
.breadcrumb a,
.breadcrumb span,
.breadcrumb li,
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span,
.breadcrumbs li,
salla-breadcrumb,
salla-breadcrumb a,
salla-breadcrumb span {
    color: #FFFFFF !important;
}

/* الأسهم بين الأقسام */
.breadcrumb svg,
.breadcrumbs svg,
salla-breadcrumb svg {
    color: #F4B942 !important;
    stroke: #F4B942 !important;
}
/* =================================
   K STORE - PRODUCT DESCRIPTION
   ================================= */

/* وصف المنتج */
.product-entry__content,
.product-entry__content p,
.product-entry__content div,
.product-entry__content span,
.product-description,
.product-description p,
.product-description div,
.product-description span,
[itemprop="description"],
[itemprop="description"] p,
[itemprop="description"] span {
    color: #FFFFFF !important;
}

/* القوائم والنقاط داخل الوصف */
.product-entry__content ul,
.product-entry__content ol,
.product-entry__content li,
.product-description ul,
.product-description ol,
.product-description li,
[itemprop="description"] li {
    color: #FFFFFF !important;
}

/* الروابط والكلمات الموجودة أسفل الوصف */
.product-entry__content a,
.product-description a,
[itemprop="description"] a {
    color: #F4B942 !important;
    text-decoration-color: #F4B942 !important;
}

/* النصوص القوية */
.product-entry__content strong,
.product-entry__content b,
.product-description strong,
.product-description b {
    color: #F4B942 !important;
}
/* ===== K STORE - FIX PRODUCT TEXT ===== */

/* جميع النصوص داخل محتوى صفحة المنتج */
body.product-page main p,
body.product-page main li,
body.product-page main span,
body.product-page main strong,
body.product-page main b,

.product-single p,
.product-single li,
.product-single span,

.product-details p,
.product-details li,

.product-description p,
.product-description li,

.content-entry p,
.content-entry li,

.s-product-content p,
.s-product-content li,

article p,
article li {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* روابط وصف المنتج */
.product-description a,
.product-details a,
.content-entry a,
article a {
    color: #F4B942 !important;
    opacity: 1 !important;
}
/* =================================
   K STORE - PRODUCT REVIEWS
   ================================= */

/* خلفية قسم التقييمات */
salla-comments,
[data-testid="store-product-comments"],
.s-comments,
.s-comments-container {
    background: #123F49 !important;
    background-color: #123F49 !important;
    color: #FFFFFF !important;
}

/* النصوص داخل التقييمات */
salla-comments p,
salla-comments span,
salla-comments div,
salla-comments h2,
salla-comments h3,
salla-comments h4,
[data-testid="store-product-comments"] p,
[data-testid="store-product-comments"] span,
[data-testid="store-product-comments"] div {
    color: #FFFFFF !important;
}

/* الرقم 100% */
salla-comments [class*="rate"],
salla-comments [class*="rating"],
salla-comments [class*="percentage"] {
    color: #FFFFFF !important;
}

/* النجوم */
salla-comments [class*="star"],
salla-comments [class*="star"] *,
[data-testid="store-product-comments"] [class*="star"],
[data-testid="store-product-comments"] [class*="star"] * {
    color: #F4B942 !important;
    fill: #F4B942 !important;
}

/* الخطوط الفاصلة */
salla-comments hr,
[data-testid="store-product-comments"] hr {
    border-color: rgba(244, 185, 66, 0.20) !important;
}/* =================================
   K STORE - PRODUCT OPTIONS CLEAN
   ================================= */

/* الصندوق الرئيسي فقط */
salla-product-options {
    background: #123F49 !important;
    border: 1px solid #F4B942 !important;
    border-radius: 18px !important;
    padding: 16px !important;
}

/* إلغاء الإطارات من العناصر الداخلية */
salla-product-options div,
salla-product-options section,
salla-product-options fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* العناوين والنصوص */
salla-product-options label,
salla-product-options p,
salla-product-options span,
salla-product-options h3,
salla-product-options h4 {
    color: #FFFFFF !important;
}

/* النص الثانوي */
salla-product-options small {
    color: #D8E2E4 !important;
}

/* حقل رقم اللاعب */
salla-product-options input[type="text"],
salla-product-options input[type="number"] {
    background: #0E3540 !important;
    color: #FFFFFF !important;
    border: 1px solid #F4B942 !important;
    border-radius: 12px !important;
}

/* لون الاختيارات */
salla-product-options input[type="radio"],
salla-product-options input[type="checkbox"] {
    accent-color: #F4B942 !important;
}
/* K STORE - صندوق السعر في صفحة المنتج */
body.product-single form > section.flex.bg-white {
    background: #123F49 !important;
    background-color: #123F49 !important;
    border: 1px solid #F4B942 !important;
    border-radius: 18px !important;
}

/* النص داخل صندوق السعر */
body.product-single form > section.flex.bg-white,
body.product-single form > section.flex.bg-white * {
    color: #FFFFFF !important;
}

/* السعر إن كان له عنصر مستقل */
body.product-single form > section.flex.bg-white [class*="price"] {
    color: #F4B942 !important;
}
/* K STORE - إصلاح اسم المنتج داخل السلة */
.cart-item h3,
.cart-item h4,
.cart-item a,
.cart-item [class*="title"],
.cart-item [class*="name"],
[data-testid*="cart"] h3,
[data-testid*="cart"] h4,
[data-testid*="cart"] a,
[data-testid*="cart"] [class*="title"],
[data-testid*="cart"] [class*="name"] {
    color: #123F49 !important;
    opacity: 1 !important;
}
/* =========================================
   K STORE - CONTENT PAGES
   الأسئلة الشائعة + السياسات + الصفحات النصية
========================================= */

/* خلفية صفحات المحتوى */
body.page-single #main-content,
body.page-single main,
body.page-single .content,
body.page-single .page-content,
body.page-single [class*="page-content"],
body.page-single [class*="content-wrapper"] {
    background-color: #062B3D !important;
}

/* صندوق محتوى الصفحة */
body.page-single article,
body.page-single .content-entry,
body.page-single [class*="content-entry"],
body.page-single [class*="page-content"] {
    background-color: #174B54 !important;
    border-radius: 16px !important;
}

/* النصوص */
body.page-single article p,
body.page-single article li,
body.page-single article span,
body.page-single .content-entry p,
body.page-single .content-entry li {
    color: #FFFFFF !important;
}

/* العناوين */
body.page-single h1,
body.page-single h2,
body.page-single h3,
body.page-single h4 {
    color: #F4B942 !important;
}

/* الروابط */
body.page-single article a,
body.page-single .content-entry a {
    color: #F4B942 !important;
}
/* جعل وصف المنتج واضحًا باللون الأبيض */
.product-single .product-entry,
.product-single .product-entry p,
.product-single .product-entry span,
.product-single .product-entry div,
.product-single .product-description,
.product-single .product-description p,
.product-single [data-testid="store-product-description"],
.product-single [data-testid="store-product-description"] * {
    color: #ffffff !important;
}
/* 3 منتجات جنب بعض - الجوال */
@media (max-width: 767px) {

  /* شبكة المنتجات */
  [data-testid="store-home-fixed-products-list"]
  .s-products-list-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    align-items: stretch !important;
  }

  /* بطاقة المنتج */
  [data-testid="store-home-fixed-products-list"]
  custom-salla-product-card.s-product-card-horizontal {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  /* صورة المنتج */
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-image {
    width: 100% !important;
    min-width: 0 !important;
    height: 115px !important;
    flex: none !important;
  }

  [data-testid="store-home-fixed-products-list"]
  .s-product-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* المحتوى */
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content {
    width: 100% !important;
    min-width: 0 !important;
    padding: 5px !important;
    box-sizing: border-box !important;
  }

  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content-main,
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content-sub,
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content-footer {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* زر أضف إلى السلة */
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content-footer button,
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content-footer salla-button,
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content-footer .s-button-element {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 32px !important;
    padding: 3px 4px !important;
    margin: 0 !important;
    font-size: 10px !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 767px) {

  /* إخفاء زر المفضلة من منتجات الأكثر مبيعاً */
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-wishlist-btn {
    display: none !important;
  }

  /* ترتيب الفوتر */
  [data-testid="store-home-fixed-products-list"]
  .s-product-card-content-footer {
    display: block !important;
    width: 100% !important;
    gap: 0 !important;
  }

  /* زر أضف إلى السلة */
  [data-testid="store-home-fixed-products-list"]
  salla-add-product-button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  [data-testid="store-home-fixed-products-list"]
  salla-add-product-button .s-button-element,
  [data-testid="store-home-fixed-products-list"]
  salla-add-product-button button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    padding: 4px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 10px !important;
  }
}
/* قسم الألعاب فقط: 2 فوق + 2 تحت */
@media (max-width: 767px) {

  #main-links-3 .swiper {
    overflow: visible !important;
  }

  #main-links-3 .swiper-wrapper,
  #main-links-3 .s-slider-swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
  }

  #main-links-3 .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  #main-links-3 .slide--cat-entry {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }
}
/* توسيط أقسام الألعاب 2×2 */
@media (max-width: 767px) {

 /* توسيط قسم الألعاب بالكامل */
@media (max-width: 767px) {

  #main-links-3,
  #main-links-3 .container,
  #main-links-3 .s-slider-container,
  #main-links-3 .swiper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }

  #main-links-3 .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;

    width: 92% !important;
    max-width: 92% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  #main-links-3 .swiper-slide {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
  }
}
/* توسيط قسم البطاقات الرقمية فقط */
@media (max-width: 767px) {

  #main-links-5 .swiper-wrapper {
    width: 92% !important;
    max-width: 92% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  #main-links-5 .swiper-slide {
    width: calc(50% - 6px) !important;
    margin: 0 6px !important;
  }
}
  /* إظهار نص نفذت الكمية بوضوح */
salla-add-product-button[disabled],
salla-add-product-button[disabled] *,
salla-add-product-button[product-status="out"],
salla-add-product-button[product-status="out"] * {
    color: #D9A62E !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* زر المنتج عند نفاد الكمية */
salla-add-product-button[disabled] button {
    color: #D9A62E !important;
    opacity: 1 !important;
}
  /* بطاقات الاتصالات - 2 فوق و 2 تحت */
@media (max-width: 767px) {

  #main-links-7 .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;

    transform: none !important;
    width: 100% !important;
    height: auto !important;

    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  #main-links-7 .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }

  #main-links-7 .swiper-slide a {
    width: 100% !important;
    height: 100% !important;
  }
}
  @media (max-width: 767px) {

  /* توسيط السلايدر كامل */
  #main-links-7 {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #main-links-7 .s-slider-container,
  #main-links-7 .swiper {
    width: 92% !important;
    max-width: 92% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #main-links-7 .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    box-sizing: border-box !important;
  }

  #main-links-7 .swiper-slide {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
  }
}
  /* توسيط قسم البطاقات الرقمية فقط */
@media (max-width: 767px) {

  #main-links-5 .swiper-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;

    width: 100% !important;
    transform: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 16px !important;
  }

  #main-links-5 .swiper-slide {
    flex: 0 0 40% !important;
    width: 40% !important;
    max-width: 40% !important;

    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
}
  /* ضبط البطاقات الرقمية لليسار قليلاً */
@media (max-width: 767px) {

  #main-links-5 .swiper-wrapper {
    position: relative !important;
    left: -15px !important;
  }

}
  /* إظهار عناوين مميزات المتجر */
[data-testid="store-home-features"] h2,
[data-testid="store-home-features"] h3,
[data-testid="store-home-features"] h4,
[data-testid="store-home-features"] .font-bold,
[data-testid="store-home-features"] .font-semibold {
    color: #D9A62E !important;
    opacity: 1 !important;
    visibility: visible !important;
}
  /* إصلاح ألوان نصوص المدونة والمقالات */
.blog-single,
.blog-single *,
.article,
.article *,
.article-content,
.article-content *,
.post-content,
.post-content *,
[data-testid*="blog"],
[data-testid*="blog"] * {
    color: #1f2937 !important;
}

/* العناوين */
.blog-single h1,
.blog-single h2,
.blog-single h3,
.article h1,
.article h2,
.article h3,
.article-content h1,
.article-content h2,
.article-content h3 {
    color: #0f3f46 !important;
}

/* الروابط داخل المقال */
.blog-single a,
.article a,
.article-content a,
.post-content a {
    color: #c9952e !important;
}

/* معلومات الكاتب والتاريخ */
.blog-single time,
.blog-single .author,
.article time,
.article .author {
    color: #5f6b73 !important;
}