@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//hamnna.com/wp-content/themes/woodmart/fonts/woodmart-font-3-300.woff2?v=8.2.7.1") format("woff2");
}

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

:root {
	--wd-header-banner-h: 55px;
	--wd-text-font: IRansansX;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: IRansansX;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: IRansansX;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRansansX;
	--wd-widget-title-font: IRansansX;
	--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: IRansansX;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgba(56,112,67,0.6);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgba(47,99,52,0.6);
	--btn-accented-bgcolor-hover: rgba(62,109,59,0.6);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--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: 233px;
}
.wd-page-title {
	background-color: #e8e8e8;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #f4f4f4;
	background-image: none;
}
html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title {
	font-weight: 700;
	font-size: 16px;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 50px;
	}

}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--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;
}


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

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}
.promo-banner .banner-image img {
    border-radius: 15px;
}
.product-grid-item .product-image-link {
    display: block;
    padding: 20px;
}
.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}
.blog-design-masonry .post-title {
    font-size: 20px;
    min-height: 56px;
}

.has-delivery-badge img {
    position: relative;
}

.has-delivery-badge::after {
    content: "ارسال امروز";
    position: absolute;
    /* این مقادیر را تغییر دهید تا دقیقاً روی عکس فیکس شود */
    top: 1px; 
    right: 100px; 
    background: #e74c3c;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 999;
}

/* Woodmart/WooCommerce - Shipping methods as cards (Checkout) */
.woocommerce-checkout .woocommerce-shipping-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0;
  padding: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
  list-style: none !important;
  margin: 0 !important;
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #fff;
  transition: .2s ease;
  position: relative;
}

/* make the label block to look like a card */
.woocommerce-checkout .woocommerce-shipping-methods li label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
  margin: 0;
  line-height: 1.6;
}

/* radio alignment */
.woocommerce-checkout .woocommerce-shipping-methods li input[type="radio"]{
  margin-top: 2px;
}

/* Selected (checked) card */
.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) {
  border-color: #19a974;          /* رنگ سبز انتخاب */
  box-shadow: 0 0 0 2px rgba(25,169,116,.15);
}

/* Make price a bit nicer */
.woocommerce-checkout .woocommerce-shipping-methods li .amount {
  font-weight: 700;
}

/* Responsive: one column on mobile */
@media (max-width: 768px){
  .woocommerce-checkout .woocommerce-shipping-methods{
    grid-template-columns: 1fr;
  }
}

.free-shipping-notice{
  padding:10px 12px;
  border:1px solid #e5e5e5;
  background:#f8fff6;
  border-radius:8px;
  margin:0 0 12px 0;
}

.free-shipping-notice--center{
  text-align:center;
}

.free-shipping-notice__sub{
  font-size:13px;
  margin-top:6px;
  opacity:.9;
}


.product-spec-box {
    direction: rtl;
    font-family: inherit;
    max-width: 900px;
    margin: 25px auto;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.product-spec-header {
    background: linear-gradient(135deg, #005f73, #0a9396);
    color: #ffffff;
    padding: 18px 24px;
    text-align: right;
}

.product-spec-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.product-spec-header p {
    margin: 8px 0 0;
    font-size: 14px;
    opacity: 0.95;
    color: #ffffff;
}

.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    margin: 0;
}

.product-spec-table tr {
    border-bottom: 1px solid #eeeeee;
}

.product-spec-table tr:last-child {
    border-bottom: none;
}

.product-spec-table td {
    padding: 14px 22px;
    font-size: 15px;
    color: #333333;
    vertical-align: middle;
}

.product-spec-table td:first-child {
    width: 38%;
    background: #f8fafb;
    color: #005f73;
    font-weight: 700;
}

.product-spec-table td:last-child {
    color: #222222;
    font-weight: 500;
}

.product-spec-badge {
    display: inline-block;
    background: #e6f7f7;
    color: #005f73;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin: 3px 4px;
    line-height: 1.8;
}

.product-spec-note {
    margin: 0;
    padding: 14px 22px;
    background: #fff8e6;
    color: #7a5200;
    font-size: 14px;
    border-top: 1px solid #f1dfb5;
}

@media (max-width: 600px) {
    .product-spec-box {
        border-radius: 12px;
        margin: 20px 0;
    }

    .product-spec-header {
        padding: 16px;
    }

    .product-spec-header h3 {
        font-size: 18px;
        line-height: 1.8;
    }

    .product-spec-header p {
        font-size: 13px;
    }

    .product-spec-table td {
        display: block;
        width: 100% !important;
        padding: 10px 16px;
        font-size: 14px;
    }

    .product-spec-table td:first-child {
        padding-top: 14px;
        padding-bottom: 6px;
    }

    .product-spec-table td:last-child {
        padding-top: 6px;
        padding-bottom: 14px;
    }

    .product-spec-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
}
.header-phone-container {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa; /* رنگ پس‌زمینه بسیار ملایم */
    border-radius: 50px; /* دکمه گرد */
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.header-phone-container:hover {
    background: #007bff; /* رنگ آبی در هنگام هاور */
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.phone-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333; /* رنگ پیش‌فرض شماره */
    font-weight: 800; /* کاملاً بولد */
    font-size: 16px;
    transition: color 0.3s ease;
}

.header-phone-container:hover .phone-link {
    color: #fff; /* سفید شدن متن در هاور */
}

.phone-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* تنظیم فونت دقیق وودمارت برای باکس شما */
.elmax-brand-box {
    direction: rtl;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    /* اعمال متغیر فونت قالب */
    font-family: var(--wd-entities-title-font) !important;
}

/* اعمال فونت به تمام عناصر داخلی باکس */
.elmax-brand-box h4,
.elmax-brand-box p,
.elmax-brand-box span,
.elmax-brand-box a {
    font-family: var(--wd-entities-title-font) !important;
}

.elmax-feature-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.elmax-icon-box { background: #000080; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.elmax-icon-box svg { width: 22px; height: 22px; fill: #fecb25; }
.elmax-feature-text h4 { margin: 0; font-size: 15px; font-weight: bold; color: #1a202c; text-align: center;}
.elmax-feature-text p { margin: 0; font-size: 13px; color: #718096; line-height: 1.5; text-align: center; }
.elmax-call-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #000080; color: #ffffff !important; padding: 14px; border-radius: 10px; text-decoration: none; font-weight: bold; font-size: 15px; transition: all 0.3s ease; }
.elmax-call-btn:hover { background: #000066; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,128,0.2); }

.hidden{
display:none!important;
}

.wallet-cashback-box{
display:flex;
align-items:center;
gap:12px;
background:linear-gradient(135deg,#fff7e6,#fff1cc);
border:1px solid #ffd27a;
border-radius:12px;
padding:14px;
margin-top:15px;
font-size:14px;
box-shadow:0 4px 12px rgba(0,0,0,0.06);
}

.wallet-icon{
font-size:26px;
background:#fff;
border-radius:10px;
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.wallet-text{
color:#5a4300;
font-weight:500;
line-height:1.7;
}

.wallet-text strong{
color:#e65100;
font-size:16px;
font-weight:800;
}


.trust-bar{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin-top:18px;
}

.trust-item{
display:flex;
align-items:center;
gap:8px;
background:#f8f9fb;
border:1px solid #eee;
border-radius:10px;
padding:10px;
font-size:13px;
color:#333;
transition:all .2s;
}

.trust-item:hover{
background:#fff;
box-shadow:0 4px 10px rgba(0,0,0,0.06);
}

.trust-icon{
font-size:18px;
}


.header-wallet-box{
display:flex;
align-items:center;
gap:8px;
background:linear-gradient(135deg,#fff7e6,#ffe9b3);
padding:8px 12px;
border-radius:30px;
font-size:13px;
border:1px solid #ffd27a;
font-weight:500;
}

.wallet-icon{
font-size:18px;
}

.wallet-text strong{
color:#e65100;
font-weight:800;
margin-right:4px;
}

.wallet-login{
background:#f5f5f5;
padding:8px 14px;
border-radius:30px;
font-size:13px;
text-decoration:none;
}

.header-wallet-box{
color:#000 !important;
}

.header-wallet-box:hover{
color:#000 !important;
}
