:root {
    --primary-color: #7d266d;
    --primary-light: rgba(18, 75, 99, 0.05);
    --primary-hover: #0e3a4d;
    --text-color: #222;
    --text-light: #555;
    --white: #fff;
    --border-light: #eaeaea;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 3px 10px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.25s ease;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --accent-color: #ff6b4a;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #1a6b8f 100%);
}
.navigation.posts-navigation {
    display: none;
}
#sidebar {
    display: none !important;
}
.woocommerce .woocommerce-checkout #payment {
  background:
white;
  border-radius:
1rem;
  box-shadow: var(--shadow-md);
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
  float: left;
  width: 100%;
  border-radius:
1rem;
}

.woocommerce table.shop_table {
	background:white;
}
.woocommerce-account .woocommerce-MyAccount-navigation {

  display: none;
}
.woocommerce-variation-price {
    display: none !important;
}

/* Product Grid Styling */
.image-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-row a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.image-row a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-row a:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments - always show 2 columns for all device sizes */
@media screen and (max-width: 768px) {
    .image-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .image-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

/* Add some animation for better user experience */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.image-row a {
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
    opacity: 0;
}

/* You can add this to your HTML to initialize the animation delay */
.image-row a:nth-child(1) { --i: 1; }
.image-row a:nth-child(2) { --i: 2; }
.image-row a:nth-child(3) { --i: 3; }
.image-row a:nth-child(4) { --i: 4; }
.image-row a:nth-child(5) { --i: 5; }
.image-row a:nth-child(6) { --i: 6; }
.image-row a:nth-child(7) { --i: 7; }
.image-row a:nth-child(8) { --i: 8; }
.custom-scroll::-webkit-scrollbar {
	width: var(--scrollbarWidth)
}

.custom-scroll::-webkit-scrollbar-thumb {
	background-color: var(--scrollbarThumb);
	border-radius: 7.5px;
	border: 1px solid var(--scrollbarBg)
}

.custom-scroll::-webkit-scrollbar-track {
	background: var(--scrollbarBg);
	border-radius: 7.5px
}


html,
body {
	padding: 0;
	margin: 0;
	min-width: 100%;
	overflow-x: hidden
}

html.no-scroll,
html.no-scroll body {
	overflow: hidden !important;
	height: 100% !important
}

body {
	background-color: #fff;
	color: black
}

* {
	font-family: "Tajawal", sans-serif;
	box-sizing: border-box
}

main {
	padding: 50px 0
		background: white;
}

figure {
	padding: 10px 5px 20px 5px;
	border: solid 1px #3993b5;
	border-radius: 5px
}

.single img,
figure img {
	max-width: 100%
}

a {
	text-decoration: none
}

p {
	color: #444;
	font-size: 20px;
	line-height: 33px
}

select {
	border: 2px solid #ecedf6;
	background-color: #fafbfd;
	height: 45px;
	border-radius: 22.5px;
	padding: 0 27px;
	font-size: 14px;
	color: var(--text-color);
	background-repeat: no-repeat;
	background-size: 12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none
}

blockquote {
	border-inline-start: solid 4px #16477398;
	background-color: #1647730d;
	margin: 20px;
	padding: 2px 15px
}

figcaption {
	text-align: center;
	font-size: 15px;
	color: #4c6f8f
}

.rtl {
	direction: rtl
}

.ltr {
	direction: ltr
}

.text-center {
	text-align: center !important
}

.py-100 {
	padding: 100px 0
}

.py-50 {
	padding: 50px 0
}

p.text-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis
}

p.text-excerpt-1 {
	-webkit-line-clamp: 1
}

p.text-excerpt-2 {
	-webkit-line-clamp: 2
}

p.text-excerpt-3 {
	-webkit-line-clamp: 3
}

p.text-excerpt-4 {
	-webkit-line-clamp: 4
}

p.desc {
	font-size: 20px;
	line-height: 35px;
	color: #4e4e4e;
	margin-top: 40px;
	margin-bottom: 40px;
	padding-left: 5px
}

.fw300 {
	font-weight: 300
}

.fw400 {
	font-weight: 400
}

.fw500 {
	font-weight: 500
}

.fw600 {
	font-weight: 600
}

.fw700 {
	font-weight: 700
}

.fw800 {
	font-weight: 800
}

.fw900 {
	font-weight: 900
}

.align-center {
	text-align: center !important
}

.hidden {
	display: none
}

.container {
	max-width: 1200px
}

body.logged-in .non-logged-in {
	display: none !important
}

body:not(.logged-in) .logged-in {
	display: none !important
}

.srvempty {
	text-align: center;
	padding: 30px
}

.srvemptyi {
	font-size: 80px;
	color: #cbd1d6
}

.srvemptytxt {
	font-size: 25px;
	color: #b2bec7
}

.secondary-btn {
	background-color: var(--primary-color);
	min-width: 180px;
	height: 40px;
	border-radius: 22.5px;
	padding: 0 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all .3s ease-in-out
}

.secondary-btn i {
	font-size: 30px;
	-webkit-margin-end: 5px;
	margin-inline-end: 5px
}




/* تصميم متجاوب للهواتف مع بطاقات متساوية */
.uniform-orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    direction: rtl;
}

.uniform-order-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
    /* ثبات أبعاد البطاقة */
    display: flex;
    flex-direction: column;
}

.uniform-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
}

.uniform-order-number {
    font-weight: 600;
    font-size: 15px;
}

.uniform-order-date {
    font-size: 13px;
    opacity: 0.9;
}

.uniform-order-content {
    padding: 0;
    /* تثبيت ارتفاع محتوى البطاقة */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uniform-order-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    /* ضمان ارتفاع متساوٍ لكل صف */
    min-height: 45px;
    align-items: center;
}

.uniform-order-row:last-child {
    border-bottom: none;
}

.uniform-order-label {
    color: #666;
    font-weight: 500;
}

.uniform-order-value {
    font-weight: 500;
    text-align: left;
}

.uniform-order-total .uniform-order-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

.uniform-order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    /* ضمان عرض ثابت للشارة */
    min-width: 80px;
    text-align: center;
}

.status-completed {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.status-processing {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.status-on-hold {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.status-pending {
    background-color: rgba(158, 158, 158, 0.1);
    color: #9E9E9E;
}

.status-cancelled,
.status-failed,
.status-refunded {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.uniform-order-actions {
    display: flex;
    gap: 8px;
    padding: 15px;
    background-color: #f9f9f9;
    /* ضمان ارتفاع ثابت للأزرار */
    min-height: 65px;
    align-items: center;
}

.uniform-order-btn {
    flex: 1;
    display: block;
    padding: 10px 2px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.uniform-order-btn:active {
    opacity: 0.8;
}

.uniform-order-btn:hover {
    opacity: 0.9;
}

.btn-pay {
    background-color: #4CAF50;
}

.btn-cancel {
    background-color: #F44336;
}

.uniform-empty-orders {
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin: 20px 0;
}

.uniform-empty-orders p {
    color: #666;
    margin: 0;
}

.no-actions-message {
    color: #777;
    text-align: center;
    width: 100%;
}

/* تنسيق للشاشات المتوسطة والكبيرة */
@media (min-width: 768px) {
    .uniform-orders-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .uniform-orders-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
  background-color: var(--primary-color);
  color: #fff;
  border-radius:
7px;
}



/* Footer Styles */
.main-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 25px 0;
    position: relative;
}

/* Space before footer */
.footer-spacer {
    height: 180px; /* يمكن تعديل قيمة الارتفاع حسب المساحة المطلوبة */
    width: 100%;
    clear: both;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    font-size: 14px;
	color:#fff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
	color:#fff;
    transition: var(--transition);
}

.social-icon .svg-icon {
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(18, 75, 99, 0.2);
}

.social-icon:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(18, 75, 99, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .footer-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .copyright {
        text-align: center;
        width: 100%;
    }
    
    .social-links {
        margin: 0 auto 15px;
    }
}











h2.login-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}



/* نموذج تسجيل الدخول */
.woocommerce-form.woocommerce-form-login {
  max-width: 480px;
  margin: 0 auto;
  padding: 25px;
  background-color: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  direction: rtl;
}

/* العناوين والتسميات */
.woocommerce-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
}

/* حقول الإدخال */
.woocommerce-form input[type="text"],
.woocommerce-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--input-radius);
  background-color: var(--input-bg);
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* حالة التركيز للحقول */
.woocommerce-form input[type="text"]:focus,
.woocommerce-form input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--focus-color);
}

/* نص العنصر النائب */
.woocommerce-form input::placeholder {
  color: var(--placeholder-color);
  opacity: 0.7;
}

/* الصفوف والعناصر */
.form-row {
  margin-bottom: 20px;
}

/* صندوق "تذكرني" */
.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.woocommerce-form__input-checkbox {
  margin-left: 8px;
  width: 18px;
  height: 18px;
}

/* زر تسجيل الدخول */
.woocommerce-button.button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--button-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.woocommerce-button.button:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
  transform: translateY(-1px);
}

.woocommerce-button.button:active {
  transform: translateY(0);
}

/* رابط كلمة المرور المفقودة */
.woocommerce-LostPassword {
  text-align: center;
  margin-top: 15px;
}

.woocommerce-LostPassword a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.woocommerce-LostPassword a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* حاوية كلمة المرور مع زر عرض/إخفاء */
.password-input {
  position: relative;
  display: block;
  width: 100%;
}

/* زر عرض/إخفاء كلمة المرور */
.show-password-input {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  height: 20px;
  width: 20px;
  opacity: 0.6;
  transition: opacity 0.2s;
  /* إخفاء المحتوى الأصلي للزر (الأيقونة القديمة) */
  font-size: 0;
  color: transparent;
  background-color: transparent;
}

/* إخفاء أيقونة WooCommerce الافتراضية */
.show-password-input::after {
  display: none !important;
}

.show-password-input::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.show-password-input.display-password::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E");
}

.show-password-input:hover {
  opacity: 1;
}

/* تعديل حقل كلمة المرور لإفساح المجال لزر العرض/الإخفاء */
.password-input input[type="password"],
.password-input input[type="text"] {
  padding-left: 35px;
}

/* أنماط إضافية لإخفاء الأيقونة الافتراضية من ووكومرس */
.woocommerce-password-strength:after,
.password-input:after {
  display: none !important;
}

/* تعديلات للشاشات الصغيرة */
@media (max-width: 576px) {
  .woocommerce-form.woocommerce-form-login {
    padding: 20px 15px;
  }
  
  .woocommerce-form input[type="text"],
  .woocommerce-form input[type="password"] {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .woocommerce-button.button {
    padding: 10px 16px;
    font-size: 15px;
  }
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    right: auto;
    color: #515151;
    background-color: var(--primary-color);
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    color: #fff;
    padding: 16px;
    border-radius: 13px;
}
	
	.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
    background-color: var(--primary-color); /* إلغاء تأثير تغيير الخلفية */
    color: #fff; /* إلغاء تغيير اللون */
    box-shadow: none; /* إلغاء أي تأثيرات ظلية */
    text-shadow: none; /* إلغاء تأثير النص */
}

	
	
	
	.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    font-family: inherit;
    font-weight: 400;
    letter-spacing: normal;
    padding: 24px;
    display: block;
    background-color: var(--wc-form-color-background, #fff);
    border: var(--wc-form-border-width) solid #dee2e6;
    border-radius: 13px;
    color: var(--wc-form-color-text, #212529);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    line-height: normal;
    height: auto;
}








/**
 * CSS for the single-product.php template
 * Add this to your theme's style.css or create a separate stylesheet
 */

/* Main Product Container */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

/* Product Main Section Layout */
.product-main {
    margin-bottom: 60px;
}

.product-main .row {
    display: flex;
    flex-wrap: wrap;
}

.product-main .col-md-6 {
    width: 50%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .product-main .col-md-6 {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* Product Gallery */
.product-gallery .woocommerce-product-gallery {
    margin-bottom: 0;
}

.product-gallery .woocommerce-product-gallery__image {
    border-radius: 8px;
    overflow: hidden;
}

/* Product Summary */
.product-summary {
    padding-left: 30px;
}

.product-summary .product_title {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-summary .price {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: block;
}

.product-summary .woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-summary .cart {
    margin-bottom: 30px;
}

.product-summary .quantity .qty {
    width: 70px;
    height: 45px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.product-summary .single_add_to_cart_button {
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-summary .single_add_to_cart_button:hover {
    background-color: #2980b9;
}

.product-summary .product_meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 14px;
}

.product-summary .product_meta > span {
    display: block;
    margin-bottom: 8px;
}

/* Product Tabs */
.product-details-tabs {
    margin-bottom: 60px;
}

.woocommerce-tabs ul.tabs {
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
    display: flex;
    border-bottom: 1px solid #eee;
}

.woocommerce-tabs ul.tabs li {
    margin-right: 30px;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 0;
    color: #666;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: #3498db;
    border-bottom-color: #3498db;
}

.woocommerce-tabs .panel {
    padding: 20px 0;
}

.woocommerce-tabs .panel h2:first-child {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Related Products Section */
.related-products-section {
    margin-bottom: 60px;
}

.related-products-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

.related-product {
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
}

.related-product:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-product img {
    border-radius: 6px;
    margin-bottom: 15px;
}

.related-product h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.related-product .price {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.related-product .button {
    background-color: #3498db;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s;
}

.related-product .button:hover {
    background-color: #2980b9;
}



/* CSS لتصميم عنوان بطاقات الهدايا */
.gift-title-section {
  text-align: center;
  margin: 30px auto;
  padding: 0;
  position: relative;
}

.gift-title {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  font-size: 28px;
  font-weight: bold;
  padding: 15px 40px;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
  position: relative;
  z-index: 2;
}







.gift-title-bg {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .gift-title {
    font-size: 24px;
    padding: 12px 30px;
  }
}

@media screen and (max-width: 480px) {
  .gift-title {
    font-size: 20px;
    padding: 10px 25px;
  }
}






.elyonko-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.elyonyyyyk {
  text-align: center;
  margin: 20px;
}

.woocommerce .woocommerce-customer-details address {

  display: none;
}








/*header*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    direction: rtl;
    line-height: 1.6;
    background-color: #f9fafb;
}

.svg-icon {
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    fill: currentColor;
    vertical-align: middle;
}

/* Header Styles - Enhanced */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.main-header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-lg);
}

.header-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;
}

.scrolled .header-wrapper {
    height: 70px;
}

/* Mobile Menu Button - Enhanced */
.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: none;
    padding: 10px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

/* Logo Container - Enhanced */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container img {
    max-height: 60px;
    width: auto;
}

.logo-container a {
    display: block;
    overflow: hidden;
    position: relative;
}

/* Desktop Menu - Enhanced */
.desktop-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-menu li {
    margin: 0 8px;
    position: relative;
}

.main-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    display: block;
    position: relative;
    font-size: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.main-menu .current-menu-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.main-menu .menu-item-has-children {
    position: relative;
}

.main-menu .menu-item-has-children > a::after {
    content: '▾';
    margin-right: 5px;
    font-size: 10px;
    vertical-align: middle;
}

.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    padding: 8px 0;
    border: 1px solid var(--border-light);
}

.main-menu .sub-menu li {
    margin: 0;
    width: 100%;
}

.main-menu .sub-menu a {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 0;
    border-right: 3px solid transparent;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
}

.header-icon-link, 
.user-icon {
    color: var(--text-light);
    text-decoration: none;
    margin-right: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -3px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    padding: 0 1px;
}

/* Mobile Menu Container - Enhanced */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    border-radius: 0 0 0 var(--radius-lg);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
}

.mobile-menu-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 15px;
    display: block;
    border-radius: var(--radius-md);
    position: relative;
}

.mobile-menu .current-menu-item a {
    color: var(--primary-color);
    background-color: var(--primary-light);
    font-weight: 600;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    display: none;
    opacity: 0;
    backdrop-filter: blur(5px);
}

/* Menu Open State */
body.menu-open .mobile-menu-container {
    right: 0;
}

body.menu-open .menu-overlay {
    display: block;
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .header-wrapper {
        justify-content: space-between;
        height: 75px;
    }
    
    .mobile-menu-btn {
        display: flex;
        order: 1;
    }
    
    .logo-container {
        order: 2;
        flex: 1;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .header-icons {
        order: 3;
    }
    
    .main-header.scrolled .header-wrapper {
        height: 65px;
    }
}

@media (max-width: 576px) {
    .header-wrapper {
        height: 70px;
        padding: 0 15px;
    }
    
    .logo-container img {
        max-height: 50px;
    }
    
    .mobile-menu-container {
        width: 85%;
        max-width: 300px;
    }
    
    .header-icon-link, 
    .user-icon {
        margin-right: 8px;
    }
    
    .main-header.scrolled .header-wrapper {
        height: 60px;
    }
}
.woocommerce .woocommerce-customer-details .woocommerce-column__title {
  margin-top: 0;
  display: none;
}


/* لوحة تحكم المستخدم */
.woocommerce_user_dashboard_wrapper {
    max-width: 100%;
    margin: 10px auto;
    padding: 0 10px;
    direction: rtl;
}
    
.woocommerce_user_dashboard_top {
    margin-bottom: 15px;
}
    
.woocommerce_user_dashboard_title {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #333;
    text-align: center;
}
    
.woocommerce_user_dashboard_nav {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 10px;
}
    
.woocommerce_user_dashboard_nav_item {
    width: calc(50% - 5px);
    margin: 0;
}
    
.woocommerce_user_dashboard_nav_link {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #444;
    border-radius: 8px;
}
    
.woocommerce_user_dashboard_nav_link:hover, .woocommerce_user_dashboard_nav_link:active {
    background-color: #4a90e2;
    color: white;
}
    
.woocommerce_user_dashboard_nav_link:hover .woocommerce_user_dashboard_nav_icon, 
.woocommerce_user_dashboard_nav_link:active .woocommerce_user_dashboard_nav_icon {
    color: white;
}
    
.woocommerce_user_dashboard_nav_icon {
    margin-left: 10px;
    color: #4a90e2;
    flex-shrink: 0;
}
    
.woocommerce_user_dashboard_nav_text {
    font-size: 16px;
    font-weight: bold;
}
    
/* للشاشات الصغيرة */
@media (max-width: 350px) {
    .woocommerce_user_dashboard_nav {
        gap: 8px;
    }
    
    .woocommerce_user_dashboard_nav_item {
        width: calc(50% - 4px);
    }
    
    .woocommerce_user_dashboard_nav_link {
        padding: 10px;
    }
    
    .woocommerce_user_dashboard_nav_text {
        font-size: 14px;
    }
}






.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media (min-width: 1025px) {
    .product-item {
        width: 23%; 
        margin-bottom: 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .product-item {
        width: 32%; 
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .product-item {
        width: 48%; 
        margin-bottom: 15px;
    }
}

.product-item {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff;
    text-align: center;
    border-radius: 22px;
	height: 72%;
}

.product-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 13px;
}

.woocommerce-loop-product__title {
    font-size: 14px;
    margin-top: 10px;
    height: 2.8em;
    overflow: hidden;
}


/* RTL support for Arabic */
.login-register-container {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Tabs styling */
.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-weight: 600;
    font-size: 18px;
    color: #777;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.form-tab.active {
    color: #3a7cbd;
}

.form-tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    height: 3px;
    background: #3a7cbd;
    border-radius: 3px 3px 0 0;
}

.form-tab:hover {
    color: #3a7cbd;
}

.login-register-content .form-content {
    display: none;
}

.login-register-content .form-content.active {
    display: block;
}

.woocommerce-form {
    margin: 0;
}

.woocommerce-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.woocommerce-form .form-row {
    margin-bottom: 22px;
}

.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.woocommerce-form input[type="text"]:focus,
.woocommerce-form input[type="email"]:focus,
.woocommerce-form input[type="password"]:focus {
    border-color: #3a7cbd;
    box-shadow: 0 0 0 2px rgba(58, 124, 189, 0.2);
    background-color: #fff;
}

.woocommerce-button.button {
    background: #3a7cbd;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(58, 124, 189, 0.2);
}

.woocommerce-button.button:hover {
    background: #2c5c8e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(58, 124, 189, 0.3);
}

.woocommerce-LostPassword {
    margin-top: 18px;
    text-align: center;
}

.woocommerce-LostPassword a {
    color: #3a7cbd;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.woocommerce-form__input-checkbox {
    margin-left: 10px;
}







 /* حاوية حقل الكمية */
        .quantity {
            display: inline-flex;
            align-items: center;
            height: 40px;
            margin: 0 8px 0 8px;
            border: 1px solid #d2d2d2;
            border-radius: 4px;
            overflow: hidden;
            background: #fff;
        }
        
        /* أزرار الزيادة والنقصان */
        .quantity button.qty-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 40px;
            border: none;
            color: #333;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            background: transparent;
            transition: background 0.2s;
            padding: 0;
        }
        
        
        /* حقل الإدخال */
        .quantity .qty {
            width: 45px !important;
            height: 40px !important;
            margin: 0 !important;
            padding: 0 !important;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            font-size: 14px !important;
            font-weight: 500 !important;
            text-align: center !important;
        }
        
        /* إخفاء أزرار الزيادة والنقصان الافتراضية في المتصفح */
        .quantity .qty::-webkit-outer-spin-button,
        .quantity .qty::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        
        .quantity .qty[type=number] {
            -moz-appearance: textfield;
        }
        
        /* أزرار إضافة إلى السلة للتناسق */
        .single_add_to_cart_button,
        .buy_now_button {
            height: 40px !important;
            border-radius: 4px !important;
            font-weight: 600 !important;
        }



.order-actions--heading,
.order-actions-button {
    display: none !important;
}







 .elyonko-slider {
    width: 94%;
    max-width: 1200px;
    margin: 20px auto 30px;
    direction: rtl;
}
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.slider-wrapper {
    display: flex;
    transition: transform 0.5s;
    touch-action: pan-y;
}
.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    user-select: none;
}
.slider-slide a { display: block; }
.slider-slide img {
    width: 100%;
    height: auto;
    display: block;
}
/* The following arrow-related styles have been removed:
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.prev-slide { left: 15px; }
.next-slide { right: 15px; }
*/
.slider-indicators {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}
.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.indicator.active {
    background: white;
    transform: scale(1.2);
}









.single-product .product-page {
    color: var(--color-text);
    background-color: var(--color-bg-light);
    padding: 20px 0;
}

.container {
    margin: 0 auto;
    padding: 0 15px;
}

.breadcrumbs-container {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--color-text-light);
}

.breadcrumbs-container a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs-container a:hover {
    color: var(--color-primary);
}

/* Product Layout */
.single-product .product-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 25px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .single-product .product-layout {
        grid-template-columns: 1fr;
    }
}

/* Product Gallery */
.single-product .product-gallery-section {
    position: relative;
}

.single-product .gallery-container {
    position: inherit;
    width: 75%;
    height: 75%;
}

.single-product .sale-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.single-product .main-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.single-product .main-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.single-product .main-image-wrapper:hover .main-product-img {
    transform: scale(1.05);
}

.single-product .thumbnails-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-light);
}

.single-product .thumbnails-slider::-webkit-scrollbar {
    height: 6px;
}

.single-product .thumbnails-slider::-webkit-scrollbar-track {
    background: var(--color-bg-light);
    border-radius: 10px;
}

.single-product .thumbnails-slider::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
}

.single-product .thumb {
    min-width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.single-product .thumb.active {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.single-product .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.single-product .product-info-section {
    display: flex;
    flex-direction: column;
}

.single-product .product-category-wrapper {
    margin-bottom: 10px;
}

.single-product .product-category-wrapper a {
    color: var(--color-text-light);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.single-product .product-category-wrapper a:hover {
    color: var(--color-primary);
}

.single-product .product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text);
    line-height: 1.2;
}

.single-product .rating-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.single-product .stars-rating {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.single-product .star {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.single-product .star:before {
    content: "★";
    position: absolute;
    color: #e2e8f0;
    font-size: 20px;
}

.single-product .star.filled:before {
    color: var(--color-accent);
}

.single-product .star.half:before {
    background: linear-gradient(to right, var(--color-accent) 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.single-product .reviews-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.single-product .reviews-link:hover {
    color: var(--color-primary);
}

.single-product .price-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 5px;
}

.single-product .price-old {
    text-decoration: line-through;
    color: var(--color-text-lighter);
    font-size: 18px;
}

.single-product .price-current {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
}

.single-product .price-current.on-sale {
    color: var(--color-secondary);
}

.single-product .currency {
    font-size: 20px;
    font-weight: normal;
}

.single-product .discount-percentage {
    background-color: var(--color-secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.single-product .product-brief {
    margin: 0px;
    color: var(--color-text-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 9px;
}

.single-product .cart-form {
    margin: 30px 0;
    background-color: var(--color-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Override WooCommerce Form Styles */
.single-product .cart-form .quantity input {
    width: 80px;
    height: 54px;
    text-align: center;
    font-size: 18px;
    border-radius: 8px;
    margin-left: 15px;
}

.single-product .cart-form .single_add_to_cart_button {
    color: white !important;
    padding: 15px 35px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    font-size: 16px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
    transition: var(--transition) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
	width:100%;
	margin:9px;
}

.single-product .cart-form .single_add_to_cart_button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    z-index: -1;
}

.single-product .cart-form .single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3) !important;
}

.single-product .cart-form .single_add_to_cart_button:hover:before {
    left: 100%;
}

.single-product .info-row {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--color-text-light);
}

.single-product .info-label {
    font-weight: 600;
    color: var(--color-text);
    margin-left: 5px;
}

.single-product .social-share {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.single-product .share-buttons {
    display: flex;
    gap: 10px;
    margin-right: 10px;
}

.single-product .share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.single-product .share-button:hover {
    transform: translateY(-3px);
}



/* Product Tabs */
.single-product .product-details-tabs {
    margin: 50px 0;
}

.single-product .tabs-wrapper {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.single-product .tabs-nav {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--color-border);
    background: linear-gradient(to left, #f8f9fa, #ffffff);
    padding: 0;
    width: 250px;
    float: right;
}

.single-product .tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
    text-align: right;
    width: 100%;
}

.single-product .tab-btn:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--color-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.single-product .tab-btn:hover {
    color: var(--color-primary);
    background-color: rgba(58, 134, 255, 0.05);
}

.single-product .tab-btn.active {
    color: var(--color-primary);
    background-color: rgba(58, 134, 255, 0.1);
}

.single-product .tab-btn.active:after {
    transform: scaleY(1);
}

.single-product .tabs-content {
    padding: 25px;
    flex: 1;
}

.single-product .tab-pane {
    display: none;
}

.single-product .tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.single-product .description-content,
.single-product .additional-content {
    line-height: 1.8;
    color: var(--color-text);
}

/* Reviews */
.single-product .reviews-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .single-product .reviews-summary {
        grid-template-columns: 1fr;
    }
}

.single-product .reviews-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.single-product .overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.single-product .rating-number {
    font-size: 60px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.single-product .rating-stars {
    display: flex;
    gap: 5px;
    margin: 15px 0;
}

.single-product .rating-count {
    font-size: 14px;
    color: var(--color-text-light);
}

.single-product .rating-breakdown {
    padding: 25px;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.single-product .rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.single-product .stars-label {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.single-product .star-icon:after {
    content: "★";
    color: var(--color-accent);
    margin-right: 5px;
}

.single-product .progress-bar {
    flex: 1;
    height: 10px;
    background-color: var(--color-border);
    border-radius: 5px;
    overflow: hidden;
    margin: 0 15px;
}

.single-product .progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--color-primary-light), var(--color-primary));
    border-radius: 5px;
    transition: width 0.5s ease;
}

.single-product .rating-value {
    width: 40px;
    text-align: left;
    font-weight: 600;
}

/* Related Products */
.single-product .related-products {
    margin: 50px 0;
}

.single-product .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.single-product .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(to left, var(--color-primary), var(--color-primary-light));
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 992px) {
    .single-product .product-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .single-product .product-page {
        padding: 15px 0;
    }
    
    .single-product .product-layout {
        gap: 20px;
    }
    
    .single-product .main-image-wrapper {
		height: auto;
    width: 135%;
    }
    
    .single-product .product-title {
        font-size: 24px;
    }
    
    .single-product .price-current {
        font-size: 28px;
    }
    
    .single-product .tabs-wrapper {
        flex-direction: column;
    }
    
    .single-product .tabs-nav {
        width: 100%;
        float: none;
        border-left: none;
    }
    
    .single-product .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
        border-bottom: 1px solid var(--color-border);
    }
    
    .single-product .tab-btn:after {
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
    }
    
    .single-product .tabs-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .single-product .main-image-wrapper {
        height: auto;
		width: 135%;
    }
    
    .single-product .thumb {
        min-width: 60px;
        height: 60px;
    }
}






#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
 
  background-color: var(--primary-color);
}









/* Main Wallet Dashboard Styles */
.wallet-dashboard {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
}

/* Balance Card */
.wallet-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    overflow: hidden;
}

.balance-card {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.balance-label {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.balance-amount {
    font-size: 32px;
    font-weight: bold;
}

/* Action Cards */
.wallet-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px 15px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.action-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.action-icon.plus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232575fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

.action-icon.transfer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232575fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 1l4 4-4 4'%3E%3C/path%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'%3E%3C/path%3E%3Cpath d='M7 23l-4-4 4-4'%3E%3C/path%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'%3E%3C/path%3E%3C/svg%3E");
}

.action-icon.history {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232575fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v5h5'%3E%3C/path%3E%3Cpath d='M3.05 13A9 9 0 1 0 6 5.3L3 8'%3E%3C/path%3E%3Cpath d='M12 7v5l4 2'%3E%3C/path%3E%3C/svg%3E");
}

.action-title {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Content Card */
.content-card {
    border: 1px solid #eaeaea;
}

.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid #eaeaea;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.card-content {
    padding: 24px;
}

/* Form Styles */
.wallet-form .form-row {
    margin-bottom: 20px;
}

.wallet-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.wallet-form input[type="number"],
.wallet-form textarea,
.wallet-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.wallet-form textarea {
    min-height: 100px;
    resize: vertical;
}

.amount-input {
    position: relative;
}

.amount-input .currency {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.amount-input input {
    padding-left: 30px !important;
}

.form-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.form-actions {
    margin-top: 30px;
}

.action-button {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.action-button:hover {
    opacity: 0.9;
}

/* Transaction List */
.transaction-list {
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eaeaea;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-left {
    display: flex;
    align-items: center;
}

.transaction-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.transaction-icon.in {
    background-color: rgba(46, 213, 115, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ed573' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5l0 14M5 12l7 7 7-7'/%3E%3C/svg%3E");
}

.transaction-icon.out {
    background-color: rgba(255, 71, 87, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4757' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l0 -14M5 12l7 -7 7 7'/%3E%3C/svg%3E");
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.transaction-date {
    font-size: 12px;
    color: #777;
}

.transaction-amount {
    font-weight: 600;
    font-size: 16px;
}

.amount-in {
    color: #2ed573;
}

.amount-out {
    color: #ff4757;
}

/* Empty States */
.empty-transactions {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.empty-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ddd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cline x1='10' y1='9' x2='8' y2='9'%3E%3C/line%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Modal Styles */
.wallet-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.wallet-modal.active {
    display: block;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: auto;
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    direction: rtl;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eaeaea;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.modal-body {
    padding: 24px;
}

/* Select2 Styling */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px;
    padding-right: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
    left: 5px;
    right: auto;
}

.select2-dropdown {
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wallet-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .wallet-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .transaction-amount {
        margin-top: 10px;
        margin-right: 52px;
    }
}






 .desktop-menu .main-menu .menu-item-has-children {
        position: relative;
    }
    
    .desktop-menu .main-menu .menu-item-has-children > a:after {
        content: '\f107';
        font-family: 'FontAwesome';
        margin-right: 5px;
        display: inline-block;
    }
    
    .desktop-menu .main-menu .sub-menu {
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 200px;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 100;
        padding: 10px 0;
        border-radius: 4px;
    }
    
    .desktop-menu .main-menu .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .desktop-menu .main-menu .sub-menu .menu-item {
        width: 100%;
    }
    
    .desktop-menu .main-menu .sub-menu .menu-item a {
        padding: 10px 15px;
        display: block;
        color: #333;
        font-size: 14px;
        text-align: right;
    }
    
    .desktop-menu .main-menu .sub-menu .menu-item a:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    /* Mobile Sub-menu Styling */
    .mobile-menu .menu-item-has-children {
        position: relative;
    }
    
    .mobile-menu .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu .menu-item-has-children > a:after {
        content: '\f107';
        font-family: 'FontAwesome';
        transition: transform 0.3s ease;
    }
    
    .mobile-menu .menu-item-has-children.active > a:after {
        transform: rotate(180deg);
    }
    
    .mobile-menu .sub-menu {
        display: none;
        padding-right: 15px;
        background-color: rgba(0, 0, 0, 0.02);
    }
    
    .mobile-menu .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .mobile-menu .sub-menu .menu-item a {
        padding: 10px 15px;
        font-size: 14px;
    }

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    display: none;
}


/* Floating Support Button CSS */
.elyonko-floating-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    direction: rtl;
}

.main-button {
    display: flex;
    align-items: center;
    background-color: #1890ff;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.main-button img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}

.main-button span {
    font-weight: bold;
    font-size: 16px;
}

.support-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.support-options.active {
    display: flex;
}

.support-options a {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.support-options a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.support-options a span {
    font-weight: bold;
    margin-left: 10px;
    font-size: 14px;
}

.support-options a img {
    width: 24px;
    height: 24px;
}

.support-button {
    background-color: #e6f7ff !important;
    border: 1px solid #91d5ff;
}

.wallet-button {
    background-color: #f6ffed !important;
    border: 1px solid #b7eb8f;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .main-button {
        padding: 8px 15px;
    }
    
    .main-button img {
        width: 24px;
        height: 24px;
    }
    
    .main-button span {
        font-size: 14px;
    }
}


.customer-id-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
    max-width: 385px;
    justify-content: space-between;
}

.customer-id-info {
    display: flex;
    align-items: center;
}

.customer-id-label {
    margin-left: 8px;
    font-weight: bold;
}

.customer-id-value {
    margin-left: 5px;
    font-size: 16px;
}

.copy-section {
    display: flex;
    align-items: center;
}

.copy-customer-id {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
}

.copy-customer-id:hover {
    background-color: #0069d9;
}

.copy-message {
    display: none;
    color: green;
    font-size: 14px;
    margin-right: 10px;
}

  .google-login-container {
                margin-bottom: 20px;
                text-align: center;
            }
            
            .google-login-separator {
                display: flex;
                align-items: center;
                text-align: center;
                margin: 15px 0;
            }
            
            .google-login-separator::before,
            .google-login-separator::after {
                content: '';
                flex: 1;
                border-bottom: 1px solid #ddd;
            }
            
            .google-login-separator span {
                padding: 0 10px;
                color: #777;
                font-size: 14px;
            }
            
            .google-login-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: #fff;
                color: #757575;
                border: 1px solid #ddd;
                border-radius: 4px;
                padding: 10px 15px;
                font-size: 14px;
                font-weight: 500;
                text-decoration: none;
                transition: background-color 0.3s;
                margin: 0 auto;
                width: 100%;
                max-width: 280px;
            }
            
            .google-login-btn:hover {
                background-color: #f5f5f5;
                text-decoration: none;
                color: #555;
            }
            
            .google-login-btn img {
                margin-right: 10px;
            }
            
            /* RTL support for Arabic */
            .rtl .google-login-btn img {
                margin-right: 0;
                margin-left: 10px;
            }
            
            /* Make Google buttons appear in both tabs */
            .login-content .google-login-container,
            .register-content .google-login-container {
                display: block !important;
            }