/*my_purchased_products*/

.my-purchased-products {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.product-item {
	width: calc(25% - 20px);
	margin: 3px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-family: LahzehVF-FaNum, sans-serif;
	padding: 9px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.product-item img {
	max-width: 150px !important;
	height: auto !important;
	margin-bottom: 15px;
}

.product-item h3 {
	font-size: 12px !important;
	margin-bottom: 10px !important;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-item .price {
	font-size: 14px;
	color: #333;
	margin-bottom: 15px !important;
	display: contents;
	text-align: left;
}
.product-item .price del {
	font-size: 10px;
}

/*Recaptcha*/
.grecaptcha-badge {
	display: none !important;
}

/*orders style t*/
.order-status-row {
	display: flex;
	justify-content: space-between;
	background: #f0f1f1;
	border-bottom: 1px solid #e0e0e2;
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
	color: #06004c;
    font-weight: 600;
}
.order-latest-note {
	padding: 8px 16px;
	font-size: 12px;
	line-height: 1.8;
	display: flex;
	justify-content: space-between;
	align-items: end;
	flex-wrap: wrap;
	gap: 10px;
}
.order-latest-note p {
	color: #222;
}
.order-latest-note .postid::after {
	color: #FFF;
	margin: 0 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
}
.order-latest-note a {
	color: #1f6bc1 !important;
	font-size: 12px !important;	
	font-weight: 600 !important;
}
.order-latest-note .content-note {
	padding: 8px;
	position: relative;
	min-height: 30px;
	max-width: 420px;
	border-radius: 9px;
	background-color: #a7cedc;
	width: fit-content;
	min-width: 80px;
	font-family: LahzehVF-FaNum;
	font-weight: 500;
	box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}
.order-latest-note .content-note::after {
	content: "";
	display: block;
	position: absolute;
	top: -8px;
	right: 40px;
	width: 0;
	height: 0;
	border-width: 0px 0px 10px 10px;
	border-style: solid;
	border-color: #a7cedc transparent;
}
.order-latest-note .common {
	background: #fff;
	padding: 3px 9px;
	border-radius: 6px;
	color: #b311ec !important;
	border: 2px solid #b311ec;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	margin: 9px 0 0;
}
.ldrsp-complete-order {
	font-family: LahzehVF-FaNum;
	row-gap: 16px;
	flex-direction: column;
	display: flex;
}
.order-item {
	border: 1px solid #e0e0e2;
	border-radius: 8px;
	background-color: #fff;
	align-items: stretch;
	flex-direction: column;
	display: flex;
}
.order-status-row {
	padding: 16px;
}
.order-details {
	padding: 8px 16px;
}
.order-details {
	display: flex;
	row-gap: 0 !important;
	gap: 4px;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}
/*
.view-order-button-container {
    width: 100%;
}
.view-order-button-container a.button {
	border-color: rgb(44, 194, 214);
	color: rgb(44, 194, 214) !important;
	width: 100% !important;
	text-align: center;
}*/
.spacein {
	width: 10px;
	height: 10px;
	background: #ddd;
	border-radius: 50%;
}

/*order image style*/
.quantity-pldrshp {
	position: absolute;
	top: 0;
	left: 0px;
	background-color: #b311ec;
	color: white;
	padding: 1px 7px;
	font-size: 12px;
	border-radius: 3px;
	width: 20px;
	height: 20px;
}
.celprdct-img-pldrshp {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 20px 0;
	border-bottom: 1px solid #e0e0e2;
}
/*purchase style*/

.hint-comment-wait,
.hint-comment-approved {
	color: #222;
	text-align: center;
	font-size: 12px;
	padding: 2px;
	position: relative;
	top: -18px;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}
.hint-comment-wait {
    background: orange;
}
.hint-comment-approved {
	background: #29c2d5;
}


.approved-comment {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.phdri {
	margin: 8px !important;
	font-family: LahzehVF-FaNum !important;
}
.top-detail-prdct {
	display: flex;
	justify-content: start;
	align-items: start;
	border-bottom: 1px solid #ddd;
}
.purchase-item-details,
.purchase-item-actions,
.top-detail-prdct,
.approved-comment {
    padding: 8px 16px;
}
.content-prcsfaw {
	margin: 8px 0;
	background: #f0f1f1;
	padding: 8px;
	border-radius: 8px;
}
.date-comment {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.text-comment {
	margin: 10px 0;
}
.text-comment p {
	font-size: 12px;
	font-weight: 500;
	color: #0c0c0c;
	line-height: 2;
}
.date-comment span {
	font-size: 11px;
	font-weight: 500;
	color: #06004c;
}
.nmeprdct-ldrshp a {
	color: #0c0c0c !important;
	font-weight: 600;
	word-spacing: -2px;
}
.imgprdct-ldrshp img {
	width: 55px;
	height: auto;
}
.btn-cmnt {
	padding: 2px 10px;
	color: #0975b6 !important;
	font-weight: 600 !important;
	font-size: 12px;
}
.btn-cmntok {
	color: #b311ec;
	padding: 2px 10px;
	font-weight: 600 !important;
	font-size: 12px;
}
/*argmc Style*/
.argmc-wrapper .argmc-nav-text, .argmc-wrapper .argmc-nav-buttons {
	display: flex;
	justify-content: space-between;
}
.argmc-wrapper .argmc-nav-text {
	border-top: none !important;
	margin-bottom: 20px !important;
	padding: 10px 2px !important;
}
.argmc-login-inner {
	width: 100%;
	max-width: 400px !important;
	border-radius: 6px;
}
.argmc-login-tabs {
	font-size: 14px;
	line-height: 52px;
	margin: 1px 0 6px;
	text-align: center;
	background: #f7f7f7;
	height: 52px;
	border-radius: 12px;
}
.argmc-login-tabs .tab-item.current {
	background: #b41fe8;
	padding: 10px !important;
	border-radius: 12px;
	color: #fff;
	max-width: 40%;
	width: 80px;
	font-size: 14px !important;
}
.argmc-login-tabs .tab-sep {
	font-size: 0;
}

/*Woo Default Style Custum In Ledorashop*/
table {
	font-size: 14px !important;
}
.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
	font-weight: 500 !important;
}

.woocommerce-checkout-payment {
	background: #fff !important;
	border: 1px solid #e0e0e2;
	padding: 20px;
	border-radius: 12px !important;
}
.woocommerce-checkout-payment ul li {
	border-bottom: 1px solid #e0e0e2;
	padding: 18px 0;
}
.woocommerce-checkout-payment ul li label {
	font-weight: 600;
	color: #482595;
	font-size: 14px;
	direction: ltr;
}
.wc_payment_methods.payment_methods.methods {
	border-bottom: none !important;
}
.woocommerce-checkout-payment ul li .payment_box {
	background-color: transparent !important;
	border: none !important;
}
.woocommerce-checkout-payment ul li img {
	margin: -2px 0 0 .5em !important;
	max-width: 32px;
}
.woocommerce-checkout-payment ul li .payment_box:before {
    border: none !important;
}
.woocommerce-checkout .woocommerce .argmc-wrapper .argmc-nav-buttons .button {
	width: 49%;
}
#billing_datedelivery,
#select2-billing_timedelivery-container {
	font-family: LahzehVF-FaNum;
	font-size: 14px;
	font-weight: 600;
}
#billing_gift_11_field {
	border-radius: 6px;
	border: 1px solid #f7f7f7;
	background: #f7f7f7;
	padding: 6px 9px;
}
#billing_gift_11_field legend {
	background: #fff;
	margin-right: 6px;
	padding: 3px 9px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	box-shadow: rgba(0, 0, 0, 0.16) 0px -1px 4px;
}
#billing_gift_11_field label {
	line-height: 24px;
	font-size: 12px;
	margin: 3px 6px;
}
#billing_gift_11_field input {
    margin: 0 10px;
}
#billing_text_gift_card_field label {
	font-size: 12px;
	margin-top: -5px;
	margin-right: 3px;
	border-radius: 6px;
	font-weight: 600;
}
#billing_text_gift_card_field input {
    font-size: 12px;
}
.free-shipping-hint {
	background: #d1e7dd;
	color: #0f5132;
	border: 1px solid #badbcc;
	border-radius: 6px;
	padding: 12px !important;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
	margin: 5px !important;
	font-size: 12px;
	transition: all 0.5s;
}
.fast-shipping-hint {
	background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
	border-radius: 6px;
	padding: 12px !important;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
	margin: 20px 5px !important;
	font-size: 12px;
	transition: all 0.5s;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	margin: 0;
	border-radius: 12px;
}
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	background: #f7f7f7 !important;
	border: none !important;
	font-family: "LahzehVF-FaNum" !important;
}
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout,
.woocommerce-notices-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    margin: 0 10px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-x: auto;
    display: grid;
    grid-gap: 20px;
    position: fixed;
    user-select: none;
    top: 20px;
    z-index: 999;
    left: 5px;
}
.woocommerce-error {
    	background: #FFBFBF;
}
.woocommerce-message {
    background: #b311ec;
    color: #fff;
    margin-top: 10px;
}
.woocommerce-error, .woocommerce-message {
    margin-top: 10px;
    border-top: none !important;
    border-radius: 6px;
}
.woocommerce-error::before {
	content: "\e033";
	color: #b81c23;
	font-size: 16px;
	top: 6px !important;
	right: 6px !important;
}
.woocommerce-message::before {
	font-size: 16px;
	top: 6px !important;
	right: 6px !important;
	color: #fff;
}
.woocommerce-error a {
	color: #FF2C2C !important;
	font-size: 14px;
}
.woocommerce-orders-table__header.woocommerce-orders-table__header-order-actions {
	color: #FFBB0C !important;
	font-size: 12px;
}
.purchase-list .logged-in-as,
.purchase-list .akismet_comment_form_privacy_notice {
    display: none;
}

.purchase-list {
    display: flex;
    flex-wrap: wrap; /* آیتم‌ها در صورت نیاز به خط بعدی می‌روند */
    margin: -10px; /* برای جبران padding آیتم‌ها */
}
.purchase-item {
	width: calc(50% - 20px);
	margin: 10px;
	border: 1px solid #e0e0e2;
	border-radius: 8px;
	box-sizing: border-box;
	font-family: LahzehVF-FaNum;
}
.purchase-item-image img {
	max-width: 80px !important;
	height: auto !important;
	margin-left: 5px;
}

.purchase-item-name {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.purchase-item-name a {
	font-size: 14px;
	font-weight: 600;
	color: #0c0c0c !important;
	margin-bottom: 8px;
}
.purchase-item-name span {
	font-size: 12px;
	font-weight: 300;
	color: #aaa !important;
	line-height: 1.4;
}
.purchase-item-actions {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
}
.comment-form {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 8px;
}
.comment-form textarea {
	font-size: 12px;
	height: 80px;
	max-height: fit-content;
	width: 100% !important;
}
.btn-kcom {
	display: flex;
	gap: 2px;
	align-items: center;
	justify-content: space-between;
	margin-top: 5px;
	flex-wrap: wrap;
}
.btn-kcom .submit-comment, .btn-kcom .close-comment-form {
	font-size: 12px;
	color: #2cc2d6;
	border: 1px solid;
	border-radius: 6px;
	margin-top: 8px;
	background-color: transparent;
	width: 49%;
}
.btn-kcom .submit-comment:hover {
    background-color: #2cc2d6;
    color: #fff;
}
.btn-kcom .close-comment-form:hover {
	background-color: #ff0000;
    color: #fff;
}
.btn-kcom .close-comment-form {
	color: #ff0000;
}


/*dlrm my style*/
.dlrm_wallet_select_th {
	background: #482595 !important;
}
.form-row.form-row-wide.installment-fee .dlrm_wallet_label {
	font-weight: 600 !important;
	color: #ffba09 !important;
}
.dlrm_wallet_select_th input[type="checkbox"] {
	margin-left: 8px !important;
	vertical-align: top !important;
	margin-top: unset !important;
}
.dlrm_wallet_input_box button {
	background: #b311ec;
	color: #fff !important;
	border-bottom-left-radius: 0 !important;
	border-top-left-radius: 0 !important;
}
.dlrm_wallet_input_box {
	position: relative;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
}
.dlrm {
	font-family: LahzehVF-FaNum;
}
.dlrm-d-table.dlrm-table-row {
	font-weight: 300;
	font-size: 12px;
}
.dlrm-d-table.dlrm-d-table-head.dlrm-d-table-head1,
.dlrm-d-table.dlrm-d-table-head.dlrm-d-table-head2 {
	font-size: 14px;
}
.dlrm-d-table-head > div {
	font-weight: 500;
}
.dlrm_wallet_menu_balance {
	font-size: 14px !important;
	margin-bottom: 18px !important;
	padding: 10px 15px !important;
	border-radius: 8px !important;
	color: #000;
	font-weight: 500 !important;
}
.dlrm_ballance_box {
	font-size: 14px !important;
	margin-top: 10px !important;
	color: #ffbb0c !important;
	margin-bottom: 5px !important;
}
.dlrm_wallet_id_box input {
	border-radius: 8px !important;
	font-size: 14px !important;
	margin-bottom: 5px !important;
	color: #555 !important;
	font-weight: 500 !important;
}
.dlrm_add_balance_box p, .dlrm_transfer_balance_box p {
	font-weight: 500 !important;
}
b, strong {
	font-weight: 600 !important;
}
.dlrm_wallet_menu_referral_id span, .dlrm_wallet_menu_balance_id span {
	font-size: 12px;
	font-weight: 300 !important;
}
.dlrm_add_balance_box > form, .dlrm_transfer_balance_box > form {
	background: #f0f1f1 !important;
	border-radius: 8px !important;
}
.dlrm_add_balance_value input[type="text"],
#dlrm_transfer_ballance_to {
	font-size: 18px !important;
	font-weight: 600 !important;
}
.dlrm_wallet_menu_balance {
    background: #482595 !important;
    color: #fff !important;
	max-width: 50% !important;
}
.dlrm_wallet_menu_balance_id {
	background: #ef394e !important;
}
.dlrm_wallet_copy, .dlrm_wallet_confrim {
	background: unset !important;
	padding-left: 5px !important;
}
.dlrm_add_balance {
	color: #fff !important;
}
@media only screen and (max-width: 768px) {
  .dlrmwallet_cards > div {
    max-width: 100% !important;
    margin-bottom: 10px !important;
    padding: 20px !important;
    height: 150px;
  }
   .dlrm_mobile-title {
    display: inline-block !important;
    font-weight: bold;
  }
   .dlrm-table-row > div {
    max-width: 100% !important;
  }
}



@media only screen and (max-width: 768px) {
    .product-item {
    	width: calc(50% - 20px);
}
    .order-latest-note {
    	justify-content: center;
    	align-items: center;
}
.order-latest-note .content-note {
   	max-width: 100%;
	width: 100%;
}
  .dlrm_transactions_filters {
    display: none !important;
  }
  .imgprdct-ldrshp {
	display: flex !important;
	justify-content: center !important;
  }
  .imgprdct-ldrshp img {
	width: 80px;
	object-fit: contain;
    mix-blend-mode: multiply;
  }
  .purchase-item {
	width: calc(100% - 20px);
  }
  .col-approve-comment {
	background: transparent !important;
  }

}
/* ************************************************* */
/* استایل نهایی ویجت محصولات پربازدید (4 ستونی ثابت در همه جا) */
/* ************************************************* */

#digikala-hot-products-widget {
    margin: 15px 0;
    padding: 10px;
    background: #fff;
    border-radius: 9px;
    border: 1px solid #e0e0e1;
}

#digikala-hot-products-widget h2 {
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#digikala-hot-products-widget h2 .fire-icon {
    font-size: 28px;
    color: #ef394e;
    margin-left: 10px;
}
.digikala-hot-products-list {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    padding: 0 10px; 
}

/* 2. استایل هر آیتم محصول: چیدمان داخلی تصویر -> شماره -> متن */
.digikala-hot-product-item {
    display: flex; 
    align-items: center; 
    text-align: right; 
    text-decoration: none;
    background: #fff;
    border-radius: 6px;
    padding: 3px 9px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    position: relative; 
    min-height: 80px; 
}

.hot-product-image-wrapper {
    width: 90px; 
    height: 90px; 
    flex-shrink: 0; 
    margin-left: 3px; 
}
.hot-product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-number-overlay {
    font-family: "LahzehVF-FaNum" !important;
  font-variation-settings: "wght" 690, "STRE" 130, "DOTS" 1;
    color: #b311ec; 
    font-size: 24px;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    margin-left: 3px; 
}

.hot-product-details {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
	text-align: right;
	padding-right: 9px;
}

.hot-product-title {
    font-size: 12px;
    color: #333;
    max-height: 3em; 
    overflow: hidden;
    line-height: 1.6;
    white-space: normal; 
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

@media (max-width: 992px) {
    /* تبلت: حفظ 4 ستون */
    .digikala-hot-products-list {
        grid-template-columns: repeat(4, 1fr); 
        gap: 6px; /* کاهش فاصله */
        padding: 0 6px;
    }
}

@media (max-width: 600px) {
    #digikala-hot-products-widget h2 {
	text-align: right;
	font-size: 18px;
	justify-content: start;
}
    #digikala-hot-products-widget {
        padding: 0;
        border: none;
    }
    .digikala-hot-product-item {
        border: 1px solid #e0e0e0;
        padding: 3px;
        border-radius: 6px;
        margin-bottom: 12px;
        margin-left: 6px;
        width: 200px;
        max-width: 100%;
    }
    /* موبایل: حفظ 4 ستون و کوچک کردن فونت و تصاویر */
    .digikala-hot-products-list {
        grid-template-columns: repeat(4, 1fr); 
        gap: 3px; /* حداقل فاصله */
        padding: 0 3px;
        overflow-x: auto;
    }
    
    .hot-product-image-wrapper {
        width: 66px; /* کوچک کردن تصویر */
        height: 66px;
        margin-left: 3px;
    }
    
    .item-number-overlay {
        font-size: 20px; /* کوچک کردن شماره */
        width: 20px;
        margin-left: 3px;
    }
    
    .hot-product-details {
    	padding-right: 6px;
    }
    
    .hot-product-title {
        font-size: 10px; /* کوچک کردن فونت عنوان */
        max-height: 3em; /* 2 خط با فونت بسیار کوچک */
        line-height: 1.6;
    }
}