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

:root {
	--wd-text-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(86,86,86);
	--wd-text-font-size: 14px;
	--wd-title-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(0,0,0);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "IRANSansWeb_FaNum_Medium", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,50,98);
	--wd-alternative-color: rgb(243,174,19);
	--btn-default-bgcolor: rgb(0,50,98);
	--btn-default-bgcolor-hover: rgb(243,174,19);
	--btn-accented-bgcolor: rgb(0,50,98);
	--btn-accented-bgcolor-hover: rgb(180,149,102);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--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-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 280px;
}
.wd-page-title .wd-page-title-bg img {
	background-repeat: repeat;
	object-fit: cover;
	background-attachment: scroll;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(0,50,98);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 760px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--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-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1600px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}

rs-slides :is([data-type=text],[data-type=button]) {
font-family: IRANSansWeb_FaNum_Medium !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: IRANSansWeb_FaNum_Medium !important;
}


/* --- استایل دکمه کادوپیچی (تم لوکس طلایی) --- */
#btn-buy-as-gift {
    /* تنظیم عرض متناسب با متن */
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    
    /* استفاده از فلکس برای تراز دقیق آیکون و متن */
    display: inline-flex !important;
    align-items: center; /* تراز عمودی */
    justify-content: center; /* تراز افقی */
    gap: 8px; /* فاصله استاندارد بین آیکون کادو و متن */
    
    margin-top: 15px;
    
    /* رنگ‌بندی پایه (حالت عادی) */
    background-color: #FFFCF5 !important; /* کرم خیلی روشن */
    border: 2px solid #C5A059 !important; /* طلایی مات */
    color: #C5A059 !important; /* متن طلایی */
    
    /* تایپوگرافی */
    font-size: 20px !important;
    font-weight: 500; /* کمی ضخیم برای خوانایی بهتر */
    
    /* استایل کادر */
    border-radius: 8px; /* گوشه‌های نرم‌تر */
    padding: 12px 16px !important; /* پدینگ بیشتر برای جلوه بهتر */
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* انیمیشن نرم */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* سایه خیلی محو */
}

/* --- حالت هاور (تعامل کاربر) --- */
#btn-buy-as-gift:hover {
    background-color: #C5A059 !important; /* طلایی مات توپر */
    color: #ffffff !important; /* متن سفید */
    border-color: #C5A059 !important;
    
    /* افکت‌های اضافی برای جذابیت */
    transform: translateY(-2px); /* حرکت جزئی به بالا */
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4); /* سایه طلایی زیر دکمه */
}

/* اصلاح واکنش‌گرایی در موبایل */
@media (max-width: 480px) {
    #btn-buy-as-gift {
        width: 100% !important; /* در موبایل تمام عرض باشد بهتر کلیک می‌شود */
        justify-content: center;
    }
}




/* --- استایل پاپ‌آپ و گرید --- */
#gift-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 99999;
    display: flex; justify-content: center; align-items: center;
}
.gift-modal-content {
    background: #fff; padding: 25px; width: 95%; max-width: 800px; /* عرض مدال کمی بیشتر شد */
    border-radius: 12px; position: relative; text-align: center;
    max-height: 90vh; overflow-y: auto; /* اسکرول برای صفحات کوچک */
}
.close-gift-modal {
    position: absolute; top: 10px; left: 15px; font-size: 32px; cursor: pointer; color: #666; z-index: 10;
}

/* هدر مراحل */
.gift-steps-header {
    display: flex; justify-content: center; align-items: center; margin-bottom: 25px; flex-wrap: wrap;
}
.step-dot { color: #ccc; font-weight: bold; font-size: 14px; white-space: nowrap;}
.step-dot.active { color: #0d47a1; border-bottom: 2px solid #0d47a1; padding-bottom: 2px;}
.step-line { width: 20px; height: 1px; background: #eee; margin: 0 8px; }

/* --- شبکه محصولات (کارت پستال‌ها بزرگتر) --- */
.gift-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
    /* ارتفاع اسکرول را بیشتر کردیم تا کارت‌های بزرگ جا شوند */
    max-height: 500px; 
    overflow-y: auto;
}

/* آیتم تکی (دسکتاپ: ۲ ستونه برای بزرگی بیشتر) */
.gift-item-radio {
    cursor: pointer;
    flex: 0 0 calc(50% - 10px); /* ۵۰ درصد عرض (۲ تایی) */
    max-width: calc(50% - 10px);
    display: flex;
}

/* موبایل: ۱ ستونه (تمام عرض برای وضوح کامل) */
@media (max-width: 600px) {
    .gift-item-radio { 
        flex: 0 0 100%; 
        max-width: 100%; 
    }
}

.gift-item-radio input { display: none; }

.gift-item-box {
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

/* --- تصویر (افزایش ارتفاع چشمگیر) --- */
.gift-item-box img {
    width: 100%;
    /* ارتفاع را از ۱۰۰ به ۲۵۰ رساندیم تا کارت استاندارد دیده شود */
    height: 250px; 
    object-fit: contain; /* کل تصویر دیده شود و کراپ نشود */
    margin-bottom: 12px;
}

/* جایگزین تصویر برای گزینه‌های "بدون..." */
.gift-img-placeholder {
    font-size: 50px; height: 150px; display: flex; align-items: center; justify-content: center; color: #ccc;
}

/* متن‌ها */
.gift-title { font-size: 15px; color: #333; line-height: 1.5; margin-bottom: 5px; font-weight: 600;}
.gift-price { font-size: 14px; color: #0d47a1; font-weight: bold; }

/* حالت انتخاب شده */
.gift-item-radio input:checked + .gift-item-box {
    border-color: #0d47a1;
    background: #e3f2fd;
    box-shadow: 0 0 15px rgba(13, 71, 161, 0.15);
}

/* دکمه‌های ناوبری پایین مدال */
.gift-nav-buttons {
    display: flex; justify-content: space-between; gap: 10px; margin-top: 20px;
}
.gift-nav-buttons button { flex: 1; }

/* باکس توضیحات */
.gift-note-wrapper { text-align: right; margin-bottom: 20px; }
.gift-note-hint {
    font-size: 13px; color: #555; margin-bottom: 10px; line-height: 1.6;
    background: #f0f7ff; padding: 12px; border-radius: 5px; border-right: 4px solid #0d47a1;
}
#gift-user-note {
    width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 8px;
    font-family: inherit; font-size: 14px; min-height: 120px;
}
#gift-user-note:focus { border-color: #0d47a1; outline: none; }