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

.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: url(https://pikav.ir/wp-content/uploads/2021/10/accessories-popup.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}

.page-title-default{
	background-color:#0a0a0a;
	background-image: url(https://pikav.ir/wp-content/uploads/2021/10/accessories-page-title.jpg);
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:rgb(16,16,16);
	background-image: none;
}

:root{
--wd-text-font:IRANSans;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:14px;
}
:root{
--wd-title-font:IRANSans;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:IRANSans;
--wd-entities-title-font-weight:600;
--wd-entities-title-color:#333333;
--wd-entities-title-color-hover:rgb(51 51 51 / 65%);
}
:root{
--wd-alternative-font:IRANSans;
}
:root{
--wd-widget-title-font:IRANSans;
--wd-widget-title-font-weight:600;
--wd-widget-title-transform:uppercase;
--wd-widget-title-color:#333;
--wd-widget-title-font-size:16px;
}
:root{
--wd-header-el-font:IRANSans;
--wd-header-el-font-weight:700;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:13px;
}
html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .categories-style-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title{
	text-transform: none;
}

:root{
--wd-primary-color:rgb(46,107,198);
}
:root{
--wd-alternative-color:#fbbc34;
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
:root{
--btn-default-bgcolor:#f7f7f7;
}
:root{
--btn-default-bgcolor-hover:#efefef;
}
:root{
--btn-accented-bgcolor:rgb(46,107,198);
}
:root{
--btn-accented-bgcolor-hover:rgb(42,97,180);
}
:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}

	:root{
					
							--wd-form-brd-radius: 5px;
			
					
					--wd-form-brd-width: 2px;
		
					--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: 0px;
		
			}

	
	
			:root{
			--wd-container-w: 1222px;
		}
	
			@media (min-width: 1239px) {
			.platform-Windows .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
		@media (min-width: 1222px) {
			html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 223px;
		}
	
	
@font-face {
	font-family: "Jost";
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Jost";
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "hkgroteskpro";
	font-weight: 600;
	font-style: normal;
}

/* ===============================================
   PIKAV — Checkout Page Custom Styles
   فقط برای صفحه تسویه‌حساب (Checkout)
   =============================================== */

/* --- کارت‌بندی دو ستون اصلی (جزئیات صورتحساب / سفارش شما) --- */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 28px 24px;
    border: 1px solid #eef0f2;
}

/* فاصله بین دو ستون در دسکتاپ */
@media (min-width: 992px) {
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #customer_details {
        padding-left: 12px;
    }
    .woocommerce-checkout #order_review {
        padding-right: 12px;
    }
}

/* --- عنوان بخش‌ها --- */
.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout .woocommerce-billing-fields h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* --- فیلدهای فرم --- */
.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
    color: #333;
}

.woocommerce-checkout .form-row .required {
    color: #e53935;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 1.5px solid #dfe2e6 !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fafbfc !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #2f6feb !important;
    box-shadow: 0 0 0 3px rgba(47, 111, 235, 0.12) !important;
    background-color: #ffffff !important;
    outline: none;
}

/* --- جدول جمع‌بندی سفارش --- */
.woocommerce-checkout-review-order-table {
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
    font-size: 17px;
    font-weight: 800;
    color: #1a3a8f;
    border-top: 2px solid #eaeaea;
    border-bottom: none;
}

/* --- روش‌های ارسال و پرداخت (رادیو باتن‌های سفارشی) --- */
.woocommerce-checkout ul#shipping_method li,
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.woocommerce-checkout ul#shipping_method li:hover,
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method:hover {
    border-color: #b9c6f5;
    background-color: #f8faff;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method.selected,
.woocommerce-checkout ul#shipping_method li input:checked ~ label {
    border-color: #2f6feb;
}

.woocommerce-checkout input[type="radio"] {
    accent-color: #2f6feb;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* --- دکمه نهایی پرداخت --- */
#place_order,
.woocommerce-checkout #payment #place_order {
    background: linear-gradient(135deg, #2f6feb, #1a4fd6) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(47, 111, 235, 0.3);
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 111, 235, 0.4);
}

#place_order:active {
    transform: translateY(0);
}

/* --- چک‌باکس قوانین و مقررات --- */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
    font-size: 13px;
    color: #555;
}

/* --- ریسپانسیو موبایل --- */
@media (max-width: 768px) {
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        padding: 18px 16px;
        border-radius: 10px;
        margin-bottom: 16px;
    }

    #place_order {
        padding: 15px !important;
        font-size: 15px !important;
    }
}

/* ===============================================
   PIKAV — Cart Page Custom Styles
   فقط برای صفحه سبد خرید (Cart)
   =============================================== */

/* --- کانتینر کلی جدول سبد خرید --- */
.woocommerce-cart .woocommerce {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 8px;
    border: 1px solid #eef0f2;
}

/* --- جدول محصولات --- */
table.shop_table.cart {
    border-collapse: collapse;
    width: 100%;
}

table.shop_table.cart thead th {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    padding: 16px 12px;
    border-bottom: 2px solid #f0f0f0;
    background: #fafbfc;
}

table.shop_table.cart tbody td {
    padding: 16px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* --- تصویر محصول --- */
table.shop_table.cart td.product-thumbnail img {
    border-radius: 8px;
    border: 1px solid #eee;
    width: 72px;
    height: 72px;
    object-fit: cover;
}

/* --- نام محصول --- */
table.shop_table.cart td.product-name a {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
    transition: color 0.2s ease;
}

table.shop_table.cart td.product-name a:hover {
    color: #2f6feb;
}

/* متغیرهای محصول (رنگ، سایز و ...) */
table.shop_table.cart .variation {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* --- قیمت --- */
table.shop_table.cart td.product-price,
table.shop_table.cart td.product-subtotal {
    font-weight: 700;
    color: #1a3a8f;
    font-size: 14px;
}

/* --- کنترل تعداد (کوانتیتی) --- */
table.shop_table.cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #dfe2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fafbfc;
}

table.shop_table.cart .quantity input.qty {
    border: none !important;
    background: transparent !important;
    text-align: center;
    width: 48px !important;
    padding: 8px 4px !important;
    font-size: 14px;
}

/* --- دکمه حذف محصول --- */
table.shop_table.cart td.product-remove a.remove {
    color: #e53935 !important;
    background: #fdeceb !important;
    border-radius: 50% !important;
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

table.shop_table.cart td.product-remove a.remove:hover {
    background: #e53935 !important;
    color: #fff !important;
    transform: scale(1.08);
}

/* --- ردیف کد تخفیف / آپدیت سبد --- */
.woocommerce-cart-form .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
}

.woocommerce-cart-form .coupon input#coupon_code {
    border: 1.5px solid #dfe2e6 !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    background-color: #fafbfc !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-cart-form .coupon input#coupon_code:focus {
    border-color: #2f6feb !important;
    box-shadow: 0 0 0 3px rgba(47, 111, 235, 0.12) !important;
    background-color: #fff !important;
    outline: none;
}

.woocommerce-cart-form .coupon button,
.woocommerce-cart-form button[name="update_cart"] {
    border-radius: 8px !important;
    padding: 11px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 1.5px solid #2f6feb !important;
    background: transparent !important;
    color: #2f6feb !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce-cart-form .coupon button:hover,
.woocommerce-cart-form button[name="update_cart"]:hover {
    background: #2f6feb !important;
    color: #fff !important;
}

/* --- باکس خلاصه سبد خرید (Cart Totals) --- */
.cart_totals {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
    border: 1px solid #eef0f2;
}

.cart_totals h2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.cart_totals .order-total td,
.cart_totals .order-total th {
    font-size: 18px;
    font-weight: 800;
    color: #1a3a8f;
    border-top: 2px solid #eaeaea;
    border-bottom: none;
}

/* --- دکمه ادامه فرآیند خرید (Proceed to Checkout) --- */
.wc-proceed-to-checkout a.checkout-button {
    background: linear-gradient(135deg, #2f6feb, #1a4fd6) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center;
    display: block;
    letter-spacing: 0.3px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(47, 111, 235, 0.3);
}

.wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 111, 235, 0.4);
    color: #fff !important;
}

/* --- سبد خرید خالی --- */
.woocommerce-cart .cart-empty {
    text-align: center;
    font-size: 15px;
    padding: 24px;
    background: #fafbfc;
    border-radius: 10px;
}

.woocommerce-cart .return-to-shop a.button {
    background: #2f6feb !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
}

/* --- ریسپانسیو موبایل: تبدیل جدول به کارت‌های عمودی --- */
@media (max-width: 768px) {
    table.shop_table.cart thead {
        display: none;
    }

    table.shop_table.cart tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 14px 8px;
        border-bottom: 1px solid #f0f0f0;
    }

    table.shop_table.cart tbody td {
        border-bottom: none;
        padding: 4px 6px;
    }

    table.shop_table.cart td.product-remove {
        order: 1;
    }

    table.shop_table.cart td.product-thumbnail {
        order: 2;
    }

    table.shop_table.cart td.product-name {
        order: 3;
        flex: 1 1 100%;
    }

    table.shop_table.cart td.product-price {
        display: none;
    }

    table.shop_table.cart td.product-quantity {
        order: 4;
    }

    table.shop_table.cart td.product-subtotal {
        order: 5;
        margin-right: auto;
    }

    .woocommerce-cart-form .coupon {
        flex-wrap: wrap;
    }

    .cart_totals {
        margin-top: 16px;
        padding: 18px;
    }
}

/* ===============================================
   PIKAV — Order Received (Thank You) Page Styles
   فقط برای صفحه بعد از پرداخت موفق
   =============================================== */

/* --- کانتینر کلی صفحه --- */
.woocommerce-order-received .woocommerce,
.woocommerce-order-received .entry-content {
    max-width: 720px;
    margin: 0 auto;
}

/* --- پیام موفقیت‌آمیز بودن سفارش --- */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: #f2f9f3 !important;
    border: 1.5px solid #b7e4c7 !important;
    border-radius: 12px;
    padding: 20px 24px !important;
    font-size: 16px;
    font-weight: 700;
    color: #1e7e34;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #2fa84f;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    margin-left: 10px;
    vertical-align: middle;
}

/* --- جدول اطلاعات کلی سفارش (شماره سفارش، تاریخ، ایمیل، مبلغ، روش پرداخت) --- */
ul.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f2;
    padding: 20px 24px;
    margin-bottom: 24px;
    list-style: none;
}

ul.woocommerce-order-overview li {
    flex: 1 1 45%;
    font-size: 13px;
    border: none !important;
    padding: 0 !important;
}

ul.woocommerce-order-overview li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1a3a8f;
    margin-top: 4px;
}

/* --- عنوان «مشخصات سفارش» و «آدرس صورتحساب» --- */
.woocommerce-order-received h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 28px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* --- باکس جدول جزئیات سفارش --- */
table.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f2;
    overflow: hidden;
}

table.woocommerce-table--order-details thead th {
    background: #fafbfc;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    padding: 14px 16px;
    border-bottom: 2px solid #f0f0f0;
}

table.woocommerce-table--order-details tbody td,
table.woocommerce-table--order-details tfoot td,
table.woocommerce-table--order-details tfoot th {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

table.woocommerce-table--order-details .product-name {
    font-weight: 600;
}

table.woocommerce-table--order-details .woocommerce-Price-amount {
    font-weight: 700;
    color: #1a3a8f;
}

table.woocommerce-table--order-details tfoot tr:last-child td,
table.woocommerce-table--order-details tfoot tr:last-child th {
    font-size: 17px;
    font-weight: 800;
    border-bottom: none;
    border-top: 2px solid #eaeaea;
}

/* --- باکس آدرس صورتحساب / ارسال --- */
.woocommerce-customer-details .woocommerce-column {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f2;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.woocommerce-customer-details address {
    font-style: normal;
    font-size: 14px;
    line-height: 2;
    color: #333;
}

.woocommerce-customer-details .woocommerce-column__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* --- ریسپانسیو موبایل --- */
@media (max-width: 768px) {
    ul.woocommerce-order-overview {
        padding: 16px 18px;
    }

    ul.woocommerce-order-overview li {
        flex: 1 1 100%;
    }

    table.woocommerce-table--order-details thead {
        display: none;
    }

    table.woocommerce-table--order-details tbody tr {
        display: flex;
        flex-direction: column;
        padding: 10px 16px;
    }

    .woocommerce-order-received .woocommerce-thankyou-order-received {
        padding: 16px 18px !important;
        font-size: 14px;
    }
}

/* ===============================================
   PIKAV — Single Product Page Custom Styles
   فقط برای صفحه محصول
   =============================================== */

/* --- گالری تصاویر محصول --- */
.single-product .woocommerce-product-gallery {
    border-radius: 14px;
    overflow: hidden;
    background: #fafbfc;
    border: 1px solid #eef0f2;
}

.single-product .product-image-thumbnail img {
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    transition: border-color 0.2s ease;
}

.single-product .product-image-thumbnail.active-thumb img,
.single-product .product-image-thumbnail:hover img {
    border-color: #2f6feb;
}

/* --- عنوان محصول --- */
.single-product .product_title.entry-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* --- قیمت --- */
.single-product .summary .price {
    font-size: 24px;
    font-weight: 800;
    color: #1a3a8f;
}

.single-product .summary .price del {
    font-size: 16px;
    font-weight: 500;
    color: #9ca3af;
    opacity: 1;
}

.single-product .summary .price ins {
    text-decoration: none;
}

/* --- جدول انتخاب متغیرها (رنگ و ...) --- */
.single-product table.variations {
    margin: 20px 0;
}

.single-product table.variations td.label {
    font-size: 13px;
    font-weight: 700;
    padding-bottom: 10px;
}

/* سواچ‌های رنگ سفارشی */
.single-product .select_box_colorpicker .select_option_colorpicker {
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 3px;
    display: inline-block;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.single-product .select_box_colorpicker .select_option_colorpicker:hover {
    transform: scale(1.08);
}

.single-product .select_box_colorpicker .select_option_colorpicker.selected,
.single-product .select_box_colorpicker .select_option_colorpicker.active {
    border-color: #2f6feb;
}

.single-product .yith_wccl_value {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
}

/* --- دکمه افزودن به سبد خرید --- */
.single-product .single_add_to_cart_button {
    background: linear-gradient(135deg, #2f6feb, #1a4fd6) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(47, 111, 235, 0.3);
}

.single-product .single_add_to_cart_button:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 111, 235, 0.4);
}

.single-product .single_add_to_cart_button.disabled {
    background: #d1d5db !important;
    box-shadow: none;
    cursor: not-allowed;
}

/* --- وضعیت موجودی --- */
.single-product .stock.in-stock {
    color: #1e7e34;
    font-weight: 700;
    font-size: 13px;
}

.single-product .stock.out-of-stock {
    color: #e53935;
    font-weight: 700;
    font-size: 13px;
}

/* --- دکمه‌های مقایسه و علاقمندی --- */
.single-product .wd-compare-btn,
.single-product .wd-wishlist-btn {
    transition: color 0.2s ease, transform 0.15s ease;
}

.single-product .wd-compare-btn:hover,
.single-product .wd-wishlist-btn:hover {
    color: #2f6feb;
    transform: translateY(-1px);
}

/* --- تب‌های توضیحات/مشخصات (آکاردئون) --- */
.single-product .woocommerce-tabs.wd-accordion {
    margin-top: 32px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef0f2;
}

.single-product .woocommerce-tabs.wd-accordion .wc-tab-title,
.single-product .woocommerce-tabs.wd-accordion .accordion-title {
    font-weight: 700;
    padding: 16px 20px;
    background: #fafbfc;
    transition: background-color 0.2s ease;
}

.single-product .woocommerce-tabs.wd-accordion .wc-tab-title:hover {
    background: #f0f3ff;
}

/* --- کارت محصولات مرتبط --- */
.single-product .related.products .product-grid-item {
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.single-product .related.products .product-grid-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.single-product .related.products .product-labels .onsale {
    background: #e53935;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
}

/* --- ریسپانسیو موبایل --- */
@media (max-width: 768px) {
    .single-product .product_title.entry-title {
        font-size: 18px;
    }

    .single-product .summary .price {
        font-size: 20px;
    }

    .single-product .single_add_to_cart_button {
        width: 100%;
        padding: 14px !important;
    }
}

/* ===============================================
   PIKAV — Header & Mobile Menu Custom Styles
   (بر اساس کد HTML واقعی سایت - وودمارت)
   =============================================== */

/* --- هدر با سایه ملایم --- */
.whb-header.whb-sticky-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

/* --- لوگو --- */
.site-logo .wd-logo img {
    transition: transform 0.2s ease;
}

.site-logo .wd-logo:hover img {
    transform: scale(1.03);
}

/* --- دکمه منوی همبرگری در هدر موبایل (منو + آیکون) --- */
.wd-header-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}

.wd-header-mobile-nav a:active {
    opacity: 0.6;
}

/* --- آیکون سبد خرید و بج تعداد در هدر --- */
.wd-header-cart .wd-cart-number.wd-tools-count {
    background: #2f6feb !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff;
}

.wd-header-cart .wd-cart-subtotal .woocommerce-Price-amount {
    color: #1a3a8f;
    font-weight: 700;
}

/* --- پنل آفکانواس منوی موبایل --- */
.mobile-nav.wd-side-hidden {
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.14);
}

/* --- باکس جستجو داخل منوی موبایل --- */
.mobile-nav .wd-search-form {
    padding: 16px;
}

.mobile-nav .wd-search-form form.searchform input.s {
    border: 1.5px solid #dfe2e6 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    background-color: #fafbfc !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.mobile-nav .wd-search-form form.searchform input.s:focus {
    border-color: #2f6feb !important;
    box-shadow: 0 0 0 3px rgba(47, 111, 235, 0.12) !important;
    outline: none;
    background-color: #fff !important;
}

.mobile-nav .wd-search-form .searchsubmit {
    color: #2f6feb;
}

/* --- تب‌های «منو» و «دسته بندی‌ها» --- */
.mobile-nav ul.wd-nav-mob-tab {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav ul.wd-nav-mob-tab li.mobile-tab-title {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 0;
    color: #888;
    transition: color 0.2s ease;
}

.mobile-nav ul.wd-nav-mob-tab li.mobile-tab-title a {
    color: inherit;
}

.mobile-nav ul.wd-nav-mob-tab li.mobile-tab-title.wd-active {
    color: #2f6feb;
    border-bottom: 2px solid #2f6feb;
}

/* --- آیتم‌های لیست منو (هم منو، هم دسته‌بندی‌ها) --- */
.mobile-nav .wd-nav-mobile.wd-nav > li.menu-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.mobile-nav .wd-nav-mobile.wd-nav > li.menu-item > a.woodmart-nav-link {
    padding: 14px 16px !important;
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.mobile-nav .wd-nav-mobile.wd-nav > li.menu-item:active {
    background-color: #f0f3ff;
}

/* آیتم فعال (صفحه فعلی) */
.mobile-nav .wd-nav-mobile.wd-nav > li.menu-item.current-menu-item > a.woodmart-nav-link {
    color: #2f6feb !important;
    font-weight: 700;
}

/* --- زیرمنو‌ها (فروشگاه، حساب کاربری) --- */
.mobile-nav .wd-nav-mobile .wd-sub-menu {
    background: #fafbfc;
}

.mobile-nav .wd-nav-mobile .wd-sub-menu .menu-item a.woodmart-nav-link,
.mobile-nav .wd-nav-mobile .wd-sub-menu .menu-item a {
    padding: 12px 28px !important;
    font-size: 14px;
    color: #555;
}

/* دکمه باز کردن زیرمنو (فلش) */
.mobile-nav .wd-nav-opener {
    transition: transform 0.2s ease;
}

.mobile-nav li.wd-active > .wd-nav-opener {
    transform: rotate(90deg);
    color: #2f6feb;
}

/* --- آیتم‌های ویژه (لیست علاقمندی، مقایسه، حساب کاربری) --- */
.mobile-nav .menu-item-wishlist a,
.mobile-nav .menu-item-compare a,
.mobile-nav .menu-item-account > a {
    font-weight: 600;
}

/* --- بستن منو با کلیک روی پس‌زمینه --- */
.wd-close-side.wd-close-side-opened {
    transition: opacity 0.25s ease;
}

/* --- ریسپانسیو موبایل کلی --- */
@media (max-width: 768px) {
    .whb-general-header-inner {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* ===============================================
   PIKAV — Blog Cards Alignment Fix (Home Page)
   بر اساس کد HTML واقعی کارت وبلاگ
   نکته: فقط در صفحاتی که body کلاس single-post ندارد
   اجرا می‌شود (یعنی خودِ صفحه تکی مقاله را دست نمی‌زند)
   =============================================== */

/* --- کانتینر هر کارت به‌صورت ستونی، تا دکمه «ادامه مطالعه» همیشه ته کارت بچسبه --- */
body:not(.single-post) .article-body-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- عنوان: همیشه ارتفاع ثابت با حداکثر ۲ خط (کوتاه‌ترها هم همون فضا رو می‌گیرن) --- */
body:not(.single-post) .article-body-container .wd-entities-title.post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
    line-height: 1.4em;
    margin-bottom: 10px;
}

/* --- متادیتا (تاریخ، نویسنده، دیدگاه‌ها): ارتفاع ثابت --- */
body:not(.single-post) .article-body-container .entry-meta.wd-entry-meta {
    min-height: 24px;
    margin-bottom: 12px;
}

/* --- متن خلاصه: محدود به ۲ خط تا همه کارت‌ها هم‌قد بشن --- */
body:not(.single-post) .article-body-container .entry-content.wd-entry-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.6em * 2);
    line-height: 1.6em;
    color: #666;
    font-size: 13px;
    margin-bottom: 14px;
}

/* --- دکمه «ادامه مطالعه» همیشه ته کارت --- */
body:not(.single-post) .article-body-container .read-more-section {
    margin-top: auto;
    padding-top: 4px;
}

body:not(.single-post) .article-body-container .btn-read-more.more-link {
    color: #2f6feb;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}

body:not(.single-post) .article-body-container .btn-read-more.more-link:hover {
    color: #1a4fd6;
}

/* --- دسته‌بندی بالای عنوان --- */
body:not(.single-post) .article-body-container .meta-categories-wrapp {
    margin-bottom: 8px;
}

body:not(.single-post) .article-body-container .meta-post-categories a {
    font-size: 11px;
    font-weight: 700;
    color: #2f6feb;
    background: #eaf1ff;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ===============================================
   PIKAV — Product Cards Alignment Fix (Home Page)
   بر اساس کد HTML واقعی کارت محصول وودمارت
   =============================================== */

/* --- کارت محصول: چیدمان ستونی تا اجزا هم‌تراز بشن --- */
.product-grid-item .product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* گالری تصویر بدون تغییر در بالای کارت باقی می‌مونه */
.product-grid-item .product-wrapper > .product-element-top {
    flex: 0 0 auto;
}

/* --- عنوان محصول: ارتفاع ثابت با حداکثر ۲ خط --- */
.product-grid-item .product-wrapper h3.wd-entities-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
    line-height: 1.4em;
    margin: 10px 0 6px;
    font-size: 14px;
}

.product-grid-item .product-wrapper h3.wd-entities-title a {
    color: #1a1a1a;
}

/* --- دسته‌بندی محصول: ارتفاع ثابت یک خط --- */
.product-grid-item .product-wrapper .wd-product-cats {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.3em;
    line-height: 1.3em;
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

/* --- قیمت: همیشه ته کارت می‌چسبه (حتی وقتی عنوان کوتاهه) --- */
.product-grid-item .product-wrapper .price {
    margin-top: auto;
    padding-top: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #1a3a8f;
}

/* --- دکمه افزودن/انتخاب گزینه‌ها: عرض کامل و پایین کارت --- */
.product-grid-item .product-wrapper .wd-add-btn {
    margin-top: 8px;
}

/* --- ریسپانسیو موبایل --- */
@media (max-width: 768px) {
    .product-grid-item .product-wrapper h3.wd-entities-title {
        font-size: 13px;
    }

    .product-grid-item .product-wrapper .price {
        font-size: 13px;
    }
}
