:root {
	--wd-text-font: "Jost", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(51,51,51);
	--wd-text-font-size: 14px;
	--wd-title-font: "hkgroteskpro", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(15,26,61);
	--wd-entities-title-font: "hkgroteskpro", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "hkgroteskpro", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "hkgroteskpro", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "hkgroteskpro", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(15,26,61);
	--wd-alternative-color: rgb(197,157,95);
	--btn-default-bgcolor: rgb(37,61,141);
	--btn-default-bgcolor-hover: rgb(197,157,95);
	--btn-default-color: #ffffff;
	--btn-default-color-hover: rgb(255,255,255);
	--btn-accented-bgcolor: rgb(197,157,95);
	--btn-accented-bgcolor-hover: rgb(37,61,141);
	--btn-accented-color: rgb(255,255,255);
	--btn-accented-color-hover: rgb(255,255,255);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left bottom;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(16,16,16);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 18px;
	text-transform: none;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a {
	text-transform: none;
}
html .btn.wd-buy-now-btn {
	background: rgb(36,36,36);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(51,51,51);
}
.wd .product-label.onsale {
	background-color: rgb(197,157,95);
}
.wd .product-label.new {
	background-color: rgb(15,26,61);
}
.wd .product-label.featured {
	background-color: rgb(128,0,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1320px;
--wd-form-brd-radius: 5px;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1320px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(0,0,0);
}

@font-face {
	font-family: "hkgroteskpro";
	src: url("//goolink.net/wp-content/uploads/2022/09/hkgroteskpro-semibold.woff") format("woff2"), 
url("//goolink.net/wp-content/uploads/2022/09/hkgroteskpro-semibold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

/* 1. تحسين العنوان (تصغير الحجم وتنسيقه) */
h1.product_title {
    font-size: 1.8rem !important; /* تصغير الخط */
    line-height: 1.4 !important;
    color: #0f1a3d !important; /* كحلي */
    font-family: 'Cairo', sans-serif !important;
    margin-bottom: 10px !important;
}


/* 3. الوصف القصير (Short Description) */
.woocommerce-product-details__short-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* 4. أزرار الشراء (تحويلها لستايل البراند) */
/* زر إضافة للسلة */
button.single_add_to_cart_button {
    background-color: #0f1a3d !important; /* كحلي */
    color: #fff !important;
    border-radius: 5px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(15, 26, 61, 0.2);
}

button.single_add_to_cart_button:hover {
    background-color: #c59d5f !important; /* ذهبي عند الهوفر */
    transform: translateY(-3px);
}

/* زر "اشتر الآن" (Buy Now) */
.wd-buy-now-btn {
    background-color: #c59d5f !important; /* ذهبي */
    color: #fff !important;
    border-radius: 5px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 15px rgba(197, 157, 95, 0.2);
}

.wd-buy-now-btn:hover {
    background-color: #fff !important;
    color: #0f1a3d !important;
    border: 1px solid #0f1a3d;
}

/* 5. تحسين شكل "الأكورديون" (الشحن والضمان) */
.wd-accordion-title {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    color: #0f1a3d !important;
}

.wd-accordion-title:hover {
    color: #c59d5f !important;
}

/* 6. شريط المخزون (Stock Bar) */
.wd-stock-progress-bar .progress-area {
    background-color: #eee !important;
    height: 8px !important;
    border-radius: 10px;
}

.wd-stock-progress-bar .progress-bar {
    background-color: #c59d5f !important; /* ذهبي */
}

/* 7. إزالة الحواف الحادة للصور المصغرة */
.product-image-thumbnail {
    border-radius: 8px !important;
    overflow: hidden;
}



/* تعريف الأنيميشن (نبض ذهبي) */
@keyframes goldPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 157, 95, 0.7); /* لون دهبي */
    }
    70% {
        transform: scale(1.02); /* تكبير خفيف جداً */
        box-shadow: 0 0 0 10px rgba(197, 157, 95, 0); /* الظل يختفي */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 157, 95, 0);
    }
}

/* تطبيق الحركة على زرار الإضافة للسلة */
button.single_add_to_cart_button {
    animation: goldPulse 2s infinite; /* تتكرر كل ثانيتين */
    transition: all 0.3s ease;
}

/* لما الماوس يقف عليه (يوقف الحركة عشان العميل يضغط) */
button.single_add_to_cart_button:hover {
    animation: none;
    transform: scale(1.05); /* يثبت على حجم كبير سنة */
}


/* تطبيق التأخير على الخلفيات غير المرئية */
[data-lazy-load] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

[data-lazy-load].lazy-loaded {
    opacity: 1;
}


/* --- إخفاء الفوتر وحقوق الملكية في السلة وإتمام الطلب --- */

/* 1. صفحة السلة (Cart) */
.woocommerce-cart .footer-container, 
.woocommerce-cart .copyrights-wrapper {
    display: none !important;
}

/* 2. صفحة إتمام الطلب (Checkout) */
.woocommerce-checkout .footer-container, 
.woocommerce-checkout .copyrights-wrapper {
    display: none !important;
}

/* --- إخفاء علم اللغة في تقييمات المنتج (المحاولة الثانية) --- */

/* 1. استهداف أي صورة (علم) داخل منطقة التقييمات */
.woocommerce-Reviews .comment-text img[src*="flags"],
.woocommerce-Reviews .comment-text img.wpml-ls-flag,
.woocommerce-Reviews .comment-text .wcml-review-flag img {
    display: none !important;
    visibility: hidden !important;
    max-width: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. استهداف أي حاوية (Span/Div) تحمل العلم أو اسم اللغة */
.woocommerce-Reviews .comment-text span[class*="wpml-ls-item"],
.woocommerce-Reviews .comment-text .wpml-language-flag {
    display: none !important;
    visibility: hidden !important;
}

/* 3. إزالة أي فراغ متبقي بعد محتوى التقييم */
.woocommerce-Reviews .comment-text .comment-metadata {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* --- تثبيت أداء شريط التنقل السفلي على الموبايل --- */

/* يستهدف الشريط السفلي الثابت في WoodMart */
.wd-bottom-panel {
    /* ضمان أن الستايل الأساسي لا يتغير بعد تحميل JS */
    will-change: transform, opacity !important;
    transform: translateZ(0) !important; /* تسريع معالجة GPU */
    position: fixed !important; 
    left: 0 !important;
    right: 0 !important;
}

/* حل مشكلة CLS (إذا كان الشريط يسبب تغيير في مساحة العرض) */
.page-wrapper {
    margin-bottom: 70px !important; /* تأكد من ترك مساحة ثابتة للشريط السفلي */
}

/* --- تنسيق السعر والتقييمات لستايل Dark Luxury --- */

/* 1./* --- تعديل حجم السعر المخفض ليناسب الموبايل --- */

/* 1. تلوين السعر المخفض بالذهبي وتقليل حجمه (القيمة كانت 1.5rem) */
.product .price ins .amount {
    color: #c59d5f !important; /* اللون الذهبي */
    font-size: 1.2rem !important; /* تم تقليل الحجم لـ 1.2rem ليصبح أكثر تناسباً */
    font-weight: 900 !important;
}

/* 2. تلوين السعر الأصلي المشطوب بالرمادي الفاتح (كما هو) */
.product .price del .amount {
    color: #a0a0a0 !important;
    font-size: 0.9rem !important; /* تقليل حجم المشطوب أيضاً لزيادة التباين */
    font-weight: 600 !important;
}

/* باقي أكواد النجوم والعملة تبقى كما هي */
/* .woocommerce-product-rating .star-rating span:before { color: #c59d5f !important; } */
/* ... إلخ */

/* 3. تلوين أيقونات النجوم بالذهبي (التقييم الفعلي) */
.woocommerce-product-rating .star-rating span:before {
    color: #c59d5f !important;
}

/* 4. تلوين النجوم الفارغة بالرمادي (الخلفية) */
.woocommerce-product-rating .star-rating::before {
    color: #444 !important;
    opacity: 0.6;
}

/* 5. تلوين أيقونة العملة (EGP) باللون الكحلي */
.product .price .woocommerce-Price-currencySymbol {
    color: #0f1a3d !important; 
    font-weight: 800 !important;
    margin-right: 5px; /* مسافة بسيطة */
}

/* إخفاء خلفية عنوان صفحة المتجر بالكامل */
.shop-page-title, 
.page-title-default,
.title-size-default {
    display: none !important;
}

/* لضمان عدم وجود مساحة فارغة سوداء */
.main-page-wrapper {
    padding-top: 0 !important;
}
