@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//gadgetgostar.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//gadgetgostar.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "bakh", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "bakh", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "bakh", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "bakh", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "bakh", 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: "bakh", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-primary-color: rgb(0,56,112);
	--wd-alternative-color: rgb(0,56,112);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,56,112);
	--btn-accented-bgcolor-hover: rgb(0,56,112);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(0,56,112);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(0,56,112);
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--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: 5px;
}



@font-face {
	font-family: "bakh";
	src: url("//gadgetgostar.com/wp-content/uploads/2025/08/YekanBakhFaNum-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "bakh";
	src: url("//gadgetgostar.com/wp-content/uploads/2025/08/YekanBakhFaNum-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
}

/* استایل دادن به گزینه‌های حمل‌ونقل و پرداخت شبیه به عکس شما */
.woocommerce-checkout #shipping_method li,
.woocommerce-checkout .wc_payment_methods li {
    background: #f9fafb;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    padding: 12px 16px !important;
    transition: all 0.2s ease;
}

/* رنگ و استایل موقعی که کاربر یک گزینه را انتخاب می‌کند */
.woocommerce-checkout #shipping_method li:has(input:checked),
.woocommerce-checkout .wc_payment_methods li:has(input:checked) {
    background: #f0f7ff !important;
    border-color: #002e5b !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* گرد کردن زوایای فیلدهای ورودی آدرس */
.woocommerce-checkout input[type="text"], 
.woocommerce-checkout input[type="email"], 
.woocommerce-checkout select {
    border-radius: 8px !important;
}

/* شیک کردن دکمه ثبت سفارش */
.woocommerce-checkout #place_order {
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: bold !important;
}
/* 1. اصلاح کل کانتینر سبد خرید برای نمایش درست آیتم‌ها */
.wc-block-cart-item__quantity {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important; 
}

/* 2. دادن عرض ثابت و ظاهر کارتی به باکس تعداد */
.wc-block-components-quantity-selector {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    width: 120px !important;
    overflow: hidden !important;
}

/* 3. اصلاح اندازه و رنگ دکمه‌های مثبت و منفی */
.wc-block-components-quantity-selector__button {
    width: 40px !important;
    height: 40px !important; /* اضافه کردن ارتفاع برای اطمینان */
    background: #f9fafb !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #003870 !important; /* رنگ آبی اختصاصی شما */
    font-size: 18px !important;
    font-weight: bold !important;
}

/* 4. اصلاح ظاهر عدد داخل باکس */
.wc-block-components-quantity-selector__input {
    flex: 1 !important;
    border: none !important;
    text-align: center !important;
    color: #003870 !important; /* رنگ آبی اختصاصی شما برای عدد */
    background: transparent !important;
    padding: 5px 0 !important;
    font-weight: bold !important;
    min-height: 40px !important;
}

/* 5. استایل سطل زباله */
.wc-block-cart-item__remove-link {
    display: flex !important;
    align-items: center !important;
    color: #ef4444 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
}

.wc-block-cart-item__remove-link svg {
    fill: #ef4444 !important;
    width: 20px !important;
    height: 20px !important;
    transition: transform 0.2s ease;
}

.wc-block-cart-item__remove-link:hover svg {
    transform: scale(1.15);
}
/* 1. ایجاد یک سطر افقی برای تراز کردن کلمه رنگ و گزینه‌ها */
table.variations tbody tr {
    display: flex !important;
    align-items: center !important; /* تراز کردن در وسط */
    flex-wrap: wrap !important;     /* در صورت کمبود جا، می‌شکند */
    gap: 15px !important;           /* فاصله بین کلمه رنگ و دکمه‌ها */
}

/* 2. تنظیم سلول‌های جدول برای حذف فاصله اضافی */
table.variations th, 
table.variations td {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
}

/* 3. استایل خاص برای کلمه "رنگ" */
table.variations .label {
    margin: 0 !important;
    font-weight: bold !important;
}

/* 4. تراز کردن باکس رنگ‌ها و دکمه پاک کردن در کنار هم */
table.variations td.value {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* 5. مرتب‌سازی دکمه پاک کردن (Reset) که تداخل داشت */
.wd-reset-var {
    margin-left: 10px !important;
    order: 2; /* قرار دادن در انتهای لیست */
}

.wd-reset-var a.reset_variations {
    font-size: 12px !important;
    color: #ef4444 !important;
    white-space: nowrap; /* جلوگیری از شکستن کلمه پاک کردن */
}

/* گزینه‌های محصول — هماهنگ با رنگ سایت */
.single-product form.variations_form table.variations,
.single-product form.variations_form table.variations tbody {
    display: block;
    width: 100%;
    border: 0 !important;
    direction: rtl;
}

.single-product form.variations_form table.variations tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.single-product form.variations_form table.variations th.label,
.single-product form.variations_form table.variations td.value {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: right;
}

.single-product form.variations_form table.variations th.label label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #003b75;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.single-product form.variations_form table.variations th.label label::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #003b75;
}

/* منوی اصلی برای عملکرد ووکامرس حفظ می‌شود */
.single-product form.variations_form .na-option-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
}

.single-product form.variations_form .na-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    direction: rtl;
}

.single-product form.variations_form .na-option-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 11px;
    border: 1px solid #c8dcf3;
    border-radius: 10px;
    background: #fff;
    color: #303030;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    white-space: normal;
    text-align: right;
    box-shadow: none;
    cursor: pointer;
    text-transform: none;
    transition: background .2s, border-color .2s;
}

.single-product form.variations_form .na-option-button.is-selected {
    border-color: #003b75;
    background: #f5f9ff;
    color: #003b75;
}

.single-product form.variations_form .na-option-button.is-selected::before {
    content: "";
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border-radius: 50%;
    background: #003b75 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.single-product form.variations_form .na-option-button:hover:not(:disabled) {
    border-color: #003b75;
    background: #e7f1ff;
}

.single-product form.variations_form .na-option-button:focus-visible {
    outline: 2px solid #003b75;
    outline-offset: 3px;
}

.single-product form.variations_form .na-option-button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.single-product form.variations_form .wd-reset-var {
    margin-top: 8px;
}

.single-product form.variations_form .reset_variations {
    font-size: 12px;
    color: #003b75;
}

/* حذف پاک کردن */
.single-product form.variations_form
table.variations:has(.na-option-button):not(:has(.na-option-button:nth-child(2)))
.wd-reset-var,
.single-product form.variations_form
table.variations:has(.na-option-button):not(:has(.na-option-button:nth-child(2)))
.reset_variations {
    display: none !important;
}

/* موبایل — متن هر گزینه یک‌خطی */
@media (max-width: 767px) {
    .single-product form.variations_form table.variations tr {
        gap: 7px;
        margin-bottom: 14px;
    }

    .single-product form.variations_form table.variations th.label label {
        font-size: 14px;
        gap: 6px;
    }

    .single-product form.variations_form .na-option-buttons {
        gap: 6px;
    }

    .single-product form.variations_form .na-option-button {
        flex: 0 0 auto;
        min-width: 0;
        min-height: 34px;
        max-width: 100%;
        padding: 6px 9px;
        gap: 6px;
        border-radius: 9px;
        font-size: 12px;
        line-height: 1.5;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* حفظ حالت یک‌خطی در صورت وجود متن داخل span */
    .single-product form.variations_form .na-option-button > * {
        flex-shrink: 0;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .single-product form.variations_form .na-option-button.is-selected::before {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        background-size: 12px;
    }
}