/*==========================================
=    Import Google Font & Global Override  =
==========================================*/

/* 1. استيراد خط Cairo من Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600&display=swap');

/* 2. متغيرات عامة وتطبيق الخط ولون النص */
:root {
    --main-color: #222222;
    --white-color: #fff;
    --text-color: #222222;      /* جعل النص أسود داكن جداً */
    --underline-color: #feeb75; /* لون الخط التزييني تحت العناوين */
}

body,
body * {
    font-family: 'Cairo', sans-serif !important;
    line-height: 1.6 !important;
    color: var(--text-color) !important;
}

/*==========================================
=            Root & Global Styles         =
==========================================*/
:root {
    --main-color: #000000;
    --white-color: #fff;
    --text-color: #feeb75;  /* New global text color */
}

body {
    background-color: #FFFFFF !important;
    color: var(--text-color); /* Apply text color site-wide */
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

/* Remove unwanted default padding on fixed banner */
.s-block.s-block--fixed-banner.wide-placeholder .container {
    padding: 0 !important;
}

.banner--fixed img {
    background-color: transparent;
}

/*==========================================
=                Navbar                   =
==========================================*/
.main-nav-container.shadow-default.bg-white {
    background-color: #feeb75 !important;
}

.navbar-brand img {
    max-width: 290px;
    max-height: 4.5rem;
}

@media (min-width: 1024px) {
    .main-menu li.root-level > a {
        color: var(--main-color);
    }
}

.top-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    background: var(--main-color) !important;
    color: var(--white-color);
}

.text-primary {
    color: var(--main-color);
}

.s-menu-topnav-list {
    color: #FFFFFF9 !important;
    text-align: center;
}

.header-btn__icon,
.sicon-menu {
    background: var(--main-color);
    color: var(--white-color);
    transition: transform 0.3s ease;
}

.sicon-menu {
    padding: 7px;
    border-radius: 50px;
}

.header-btn__icon:hover,
.sicon-menu:hover {
    transform: translateY(-10px);
}

.s-search-icon svg {
    fill: var(--white-color) !important;
}

.s-cart-summary-total {
    color: var(--main-color);
}

.s-search-container input,
.s-search-container input::placeholder {
    color: var(--white-color) !important;
}

/*==========================================
=               Main Section              =
==========================================*/
.container {
    width: 100%;
    margin: 0 auto;
}

/*==========================================
=               Categories                =
==========================================*/
.s-slider-block__title,
.s-block__title {
    display: flex;
    justify-content: center;
    align-items: center;
}

section.s-block.s-block--categories img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

section.s-block.s-block--categories img:hover {
    transform: translateY(10px) scale(1.1);
}

/*==========================================
=                 Tabs                    =
==========================================*/
.s-block--tabs-produtcs .tab-trigger.is-active button {
    color: var(--white-color);
}

/*==========================================
=            Products Section             =
==========================================*/
.s-slider-block__title h2,
.s-block__title h2 {
    text-align: center;
    position: relative;
    color: #212121;
}

.s-slider-block__title h2::after,
.s-block__title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--main-color);
    z-index: -1;
}

/*==========================================
=          Quick Links Section            =
==========================================*/
section.s-block.s-block--quick-links .container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 2rem !important;
    padding: 3rem 0 !important;
}

section.s-block.s-block--quick-links .container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem 2rem !important;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    height: auto;
}

section.s-block.s-block--quick-links .container a .icon,
section.s-block.s-block--quick-links .container a img {
    width: 72px !important;
    height: 72px !important;
    margin-bottom: 1.25rem !important;
    object-fit: contain;
}

section.s-block.s-block--quick-links .container a span {
    font-size: 1.1rem !important;
    color: var(--text-color);
    font-weight: 600;
    text-align: center !important;
}

section.s-block.s-block--quick-links .container a:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    background: var(--main-color);
}

section.s-block.s-block--quick-links .container a:hover span {
    color: var(--white-color);
}

section.s-block.s-block--quick-links .container a:hover .icon,
section.s-block.s-block--quick-links .container a:hover img {
    filter: brightness(0) invert(1);
}

/*==========================================
=        Square Images (Grid View)        =
==========================================*/
section.s-block.s-block--gallery .container,
section.s-block.s-block--image-grid .container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    padding: 2rem 0 !important;
}

section.s-block.s-block--gallery .container img,
section.s-block.s-block--image-grid .container img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

/*==========================================
=                 Footer                  =
==========================================*/
.store-footer {
    background: url('https://i.ibb.co/v4jBXQwB/ba438500-e331-41f9-81e3-9faf17b91ad3-800.webp') center/cover no-repeat;
    padding: 3rem 1rem 1rem;
    color: var(--white-color);
}

.store-footer,
.store-footer *,
.store-footer__inner,
.store-footer__inner * {
    text-align: center !important;
    font-weight: 700;
}

.store-footer__inner {
    background: transparent !important;
    width: 100%;
    padding-top: 0;
}

.store-footer__inner::before {
    content: '';
    background: url('https://i.ibb.co/V07HvwK5/image.png') center/contain no-repeat;
    width: 180px;
    height: 100px;
    display: block;
    margin: 0 auto 1.5rem;
}

.store-footer__inner .container.grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

.store-footer__inner .container.grid > div {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-footer .payment-methods {
    background: rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: .5rem 1rem;
    margin: 1rem 0;
    display: inline-flex;
    gap: .5rem;
}

.store-footer .payment-methods img {
    filter: brightness(1.2) contrast(1.2);
    max-height: 35px;
}

.s-social-list.hydrated {
    margin-top: 1rem;
    justify-content: center;
}

.copyright-text p {
    color: var(--white-color) !important;
    margin-top: 1rem;
    font-size: .9rem;
    text-shadow: none;
}

/* تأكيد أن جميع نصوص الفوتر بيضاء صافية */
.store-footer,
.store-footer *,
.store-footer__inner,
.store-footer__inner * {
    color: #ffffff !important;
}

/* Add custom CSS styles below */ 
/* Add custom CSS styles below */

body {
    background-color: rgba(243, 244, 246, 1);
}

/* Banners Grid */
section.s-block--banners .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-row .banner-entry:first-child {
    grid-column: unset !important;
    grid-row: unset !important;
}

/* Product Card Rounding */
.s-product-card-entry {
    border-radius: 6%;
}

/* Fixed Banner Styling */
.banner--fixed img {
    border-radius: 15px;
    box-shadow: 1px 2px 2px #000;
    border-width: thin;
}

/* Banner Entry Styling */
.banner-entry {
    border-radius: 15px;
    box-shadow: 1px 2px 2px #000;
    background-size: cover;
    border-width: thin;
}

.banner-entry:first-child {
    height: auto;
}

/* Product Card Hover */
.s-product-card-fit-height .s-product-card-image {
    height: auto;
    max-height: none;
    box-shadow: 3px 4px 2px #000;
    border-radius: 6%;
    transition: 1s;
}
.s-product-card-fit-height .s-product-card-image:hover {
    transform: scale(0.9);
}

/* Buttons & Inputs */
.s-button-btn,
.s-price-range-number-input {
    background-color: #fff;
    color: #000;
}
.s-button-btn:hover,
.s-price-range-number-input:hover {
    color: #fff;
    background-color: #000;
}

/* Reviews Slides */
.s-reviews-container .swiper-slide {
    border: 1px solid rgba(0,0,0,0.22);
    transform: skew(10deg, 10deg);
    margin: 67px 0 73px;
}

/* Features Items */
.s-block--features__item {
    box-shadow: 1px 1px 2px #000;
    border-width: thin;
}

/* Theme Colors */
:root {
    --main-color: #feeb75;  /* updated from green */
    --white-color: #fff;
}

body {
    background-color: #fff;
}

/* Navbar */
.header-btn__icon,
.sicon-menu {
    background-color: var(--main-color);
    color: #fff;
    transition: all 0.3s ease-in-out;
}
.sicon-menu {
    padding: 7px;
    border-radius: 50px;
}
.header-btn__icon:hover,
.sicon-menu:hover {
    transform: translateY(-10px);
}
.top-navbar {
    background-color: var(--main-color);
    color: #fff;
}
.main-nav-container.fixed-pinned .inner {
    padding: 15px;
    border-radius: 0 0 50px 50px;
}

/* Fixed Banner Reset */
section.s-block.s-block--fixed-banner.wide-placeholder {
    margin-top: 0 !important;
}
section.s-block.s-block--fixed-banner.wide-placeholder .container {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}
section.s-block.s-block--fixed-banner.wide-placeholder .banner--fixed img {
    border-radius: 0 !important;
    background: transparent;
}

/* Section Titles */
@media (min-width: 1024px) {
    .s-block__title h2 {
        font-size: 27px !important;
    }
}
.s-block__title h2,
.s-slider-block__title h2 {
    font-size: 21px;
    position: relative;
    padding: 0;
    color: var(--main-color);
}
.s-block__title h2:before,
.s-slider-block__title h2:before {
    position: absolute;
    content: '';
    height: 3px;
    right: 30px;
    left: 30px;
    background: var(--main-color);
    bottom: -10px;
    transition: all .5s;
    z-index: -1;
}
.s-block__title h2:hover:before,
.s-slider-block__title h2:hover:before {
    right: 0;
    left: 0;
}
.s-block__title {
    display: flex;
    justify-content: center;
    align-items: center;
}
.s-block__display-all {
    background: var(--main-color);
    color: #fff;
    padding: 5px;
    border-radius: 50px;
    font-size: 18px;
}
body.index .s-block__title {
    flex-direction: column;
    row-gap: 28px;
}
body.index .s-block__title,
.s-slider-block__title {
    margin-bottom: 2rem;
}

/* Products Slider */
.s-products-slider-card {
    padding-bottom: 10px;
}
.s-product-card-entry {
    border: 1px solid var(--main-color);
    overflow: hidden;
    box-shadow: rgba(17,12,46,0.05) 0 48px 100px 0;
    background: #fff;
}
.s-button-btn {
    background-color: var(--main-color) !important;
    color: #fff;
}

/* Social Icon Gradients */
a[href*=instagram] {
    background: linear-gradient(45deg,#feeb75 0,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
a[href*=tiktok] {
    background: linear-gradient(120deg,#69c9d0,#ffffff,#ee1d52);
}
a[href*=facebook] {
    background: linear-gradient(45deg,#3776f2,#dae2e6);
}
a[href*=youtube] {
    background-color: #c4302b;
}
a[href*=whatsapp] > span:first-child {
    background-color: green;
    border: 0;
}

/* Intro Overlay Animation */
body.index:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: fixed;
    z-index: 99999999999999999 !important;
    transform: scale(0);
    background-size: 200px !important;
    background-repeat: no-repeat;
    background-position: center !important;
    animation: logobg 2.5s;
}
@keyframes logobg {
    0%,20%,78% { transform: scale(1); }
    100%   { transform: scale(0); }
}

/*==========================================
= Override Underline Color                =
==========================================*/
.s-slider-block__title h2::after,
.s-block__title h2::after,
.s-block__title h2:before,
.s-slider-block__title h2:before {
    background: var(--underline-color) !important;
}

/*==========================================
=   Highlight Top Bar Elements in Yellow  =
==========================================*/

/* تعريف متغير للون الأصفر */
:root {
  --top-highlight: #feeb75;
}

/* APPLY: شريط التنقل العلوي، حقل البحث، وأيقونات المهيدر */
.top-navbar,
.s-search-container input,
.header-btn__icon,
.sicon-menu {
  background-color: var(--top-highlight) !important;
}

/* لتحسين وضوح نص placeholder */
.s-search-container input::placeholder {
  color: #222222 !important;
}

/* إن أردت تعديل لون أيقونة البحث */
.s-search-icon svg {
  fill: #000000 !important;
}

/*==========================================
=  Override Add-to-Cart Button Color      =
==========================================*/

/* نستخدم المتغيّر الأصفر الموجود مسبقاً */
:root {
  --cart-btn-color: #feeb75;
}

/* استهداف زرّ الإضافة إلى السلة */
.s-button-btn {
  background-color: var(--cart-btn-color) !important;
  color: #000000 !important;
}

/*==========================================
=   Color Features Items Background Yellow =
==========================================*/
.s-block--features__item {
  background-color: var(--underline-color) !important;
}
/* فقط تغيير ألوان نصوص الفوتر أسفل الصفحة إلى الأسود */
.store-footer,
.store-footer *,
.store-footer__inner,
.store-footer__inner * {
    color: #000 !important;
}
/* تغيير جميع نصوص المتجر إلى اللون الأسود فقط */
body,
body * {
    color: #000 !important;
/* جعل كل بطاقة تقييم بنفس الحجم وزوايا قوسية */
.s-reviews-container .swiper-slide {
  transform: none !important;       /* إزالة الميلان */
  margin: 0 !important;
  flex: 0 0 300px !important;       /* عرض ثابت لكل بطاقة */
  height: 350px !important;         /* ارتفاع ثابت لكل بطاقة */
  border-radius: 16px !important;   /* زوايا قوسية */
  overflow: hidden !important;      /* لمنع تجاوز المحتوى للزوايا */
}

/* تأكد من وجود مسافة منتظمة بين البطاقات */
.s-reviews-container .swiper-wrapper {
  display: flex !important;
  gap: 1rem !important;
}
/* اجعل خلفية العنصر الرئيسي شفافة */
a[href*="snapchat"],
a[href^="tel:"],
a[href^="mailto:"] {
  background: transparent !important;
}

/* طبق التدرّج اللوني فقط على العنصر الأول (الآيكون) */
a[href*="snapchat"] > span:first-child,
a[href^="tel:"] > span:first-child,
a[href^="mailto:"] > span:first-child {
  background: linear-gradient(120deg, #FFFC00 0%, #FFFFFF 50%, #FFFC00 100%) !important;
}
/* استهداف رابط السناب */
a[href*="snapchat"] {
  background: linear-gradient(120deg, #FFFC00 0%, #FFFFFF 50%, #FFFC00 100%) !important;
}

/* إذا الآيكون داخل span */
a[href*="snapchat"] > span:first-child {
  background: linear-gradient(120deg, #FFFC00 0%, #FFFFFF 50%, #FFFC00 100%) !important;
}