.cart-container {
	display: flex;
	justify-content: space-between;
	margin: auto;
	padding: 20px;
	border-radius: 10px;
	align-items: flex-start;
	gap: 15px;
}
.cart-summary {
	position: sticky;
	top: 0; 
}
.summary-inner {
	padding: 15px;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 4px 100px 0px #0000001a;
}
        .discount {
            color: red;
        }
        .total-price {
            font-weight: bold;
            font-size: 18px;
        } 
.confirm-btn {
	width: 100%;
	background: #48aa43;
	color: white;
	padding: 10px;
	border: none;
	cursor: pointer;
	font-family: inherit;
	display: flex;
	text-align: center !important;
	justify-content: center;
	min-height: 60px;
	align-items: center;
	border-radius: 15px !important;
	font-size: 18px;
	font-weight: 700;
}
        .cart-warning {
            font-size: 12px;
            color: gray;
            margin-top: 10px;
        }
.cart-total-end {
	flex-direction: column;
	gap: 12px;
	justify-content: center;
}
.tab-item {
	padding: 10px;
	width: 50%;
	text-align: center;
	color: #fff;
	font-weight: 700;
	border-radius: 15px;
}
.tab-item.active {
	box-shadow: 0 4px 30px 0 #FFFFFF99;
	background: #fff;
	color: #a71923;
}
.price-type-tabs {
	background: #a71923;
	border-radius: 15px;
	padding: 11px;
	margin-bottom: 15px;
}
.cart-total-end > span:last-child bdi {
	color: #353535;
	font-weight: 700;
}
.cart-total-end .cart-sale-total  span bdi {
	font-weight: 700;
	font-size: 18px;
	color: #353535;
}
.cart-total-end .cart-regullar-total > span{
    position:relative;
}
.cart-total-end .cart-regullar-total > span::after {
	content: "";
	width: 100%;
	height: 2px;
	background: #1f1f1f;
	display: block;
	position: absolute;
	right: 0;
	top: calc(50% - 2px);
}
.installment-button {
	background: #d51f2c !important;
	width: 100%;
	display: block;
	color: #fff;
	padding: 18px !important;
	border-radius: 15px !important;
	margin-bottom: 15px !important;
	font-size: 18px;
	font-weight: 700;
}
.vizitor-notice {
	margin-top: 20px;
	background-color: #fff9e5;
	border-left: 4px solid #ffc107;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	color: #665c00;
	animation: fadeIn 0.6s ease-in-out;
	margin-bottom: 15px;
}
.cart-item {
	width: 100%;
	display: flex;
	background: #fff;
	padding: 15px;
	align-items: center;
	gap: 15px;
	position: relative;
	box-shadow: 0 4px 100px 0px #0000001a;
	border-radius: 15px;
} 
        .cart-item img {
            width: 100px;
            height: auto;
            margin-left: 20px;
        }
        .item-details {
            flex: 1;
        }
        .product-title {
            font-weight: bold;
        }
.item-price {
	font-size: 18px;
	color: #333;
	display: flex;
	flex-direction: column;
}
        .quantity {
            align-items: center;
        }
        .old-price .woocommerce-Price-currencySymbol {
	display: none;
}
.price-box {
	gap: 8px;
}
.old-price {
	color: #777;
}
.quantity button {
	background-color: #fff !important;
	margin: 0 5px !important;
	cursor: pointer;
	color: #353535 !important;
	font-size: 15px;
	width: auto !important;
	padding: 0;
	height: auto;
	border: 2px solid #353535 !important;
	border-radius: 50px;
}
.quantity {
	border: 2px solid #ececec;
	padding: 0 4px;
	border-radius: 8px;
	display: inline-flex;
	width: 102px;
	max-width: 106px;
	min-height: 43px;
	max-height: 44px;
	justify-content: space-between !important;
	align-items: center;
	position: unset !important;
	background: #fff;
	box-shadow: 0 4px 100px 0px #00000014;
	min-width: 106px;
}
.item-image {
	display: flex;
	flex-direction: column;
	gap: 15px;
	justify-content: center;
	align-items: center;
}
.item-image img {
	margin: 0 auto;
	border-radius: 15px;
}
.product-title a {
	font-size: 14px;
}
.item-price > span > bdi {
	font-size: 15px;
	font-weight: 700;
}
.item-price .woocommerce-Price-currencySymbol {
	font-size: 12px;
	font-weight: normal;
	margin-right: 1px;
	transform: rotate(-90deg);
	display: inline-block;
}
.cart-item:last-child {
	border: unset !important;
}
.summary-item {
	grid-template-columns: repeat(2,1fr);
	gap: 8px;
	padding-bottom: 12px;
}
.summary-item p {
	margin: 0;
	font-size: 14px;
}
.low-price-section {
	border: 1px solid #e0e0e2;
	border-radius: 8px;
	margin-top: 15px;
}
.item-details .variation {
	display: flex;
	align-items: center;
	gap: 5px;
}
.item-details .variation * {
	margin: 0;
	font-size: 14px;
}
.cart-item.missing-payment-type {
    border: 1px solid red;
    background-color: #fff2f2;
}
.hidden {
	display: none !important;
}
.installment-period {
    margin-top: 10px;
}
.cart-amount-area {
	display: flex;
	justify-content: space-between;
	background: #0494E1;
	padding: 15px;
	color: #fff;
	margin-bottom: 14px;
	border-radius: 8px;
}
.amounttext {
	display: flex;
	align-items: center;
	gap: 5px;
}
.amount-number {
	font-size: 20px;
	font-weight: 700;
}
.amount-number .woocommerce-Price-currencySymbol {
	font-weight: normal;
	font-size: 14px;
	margin-right: 5px;
}
.cart-quantity-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 15px;
}
.cart-quantity-item .remove {
	color: #d51f2c !important;
	font-size: 25px;
	border: 2px solid #d51f2c !important;
	width: 43px;
	height: 43px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	background: #fff;
}
.installment-period {
	display: flex;
	align-items: center;
	gap:5px
}
.payment-type-options label {
	font-size: 14px;
}
.installment-period label {
	font-size: 14px;
}
/* استایل برای نمایش نتیجه راس‌گیری */
#rasgiri-result {
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	text-align: right;
	font-size: 16px;
	line-height: 1.8;
	margin-top: 20px;
	margin-bottom: 15px;
}

/* استایل برای هر بخش از نتیجه */
#rasgiri-result div {
    margin-bottom: 10px;
}

/* استایل برای عنوان هر بخش */
#rasgiri-result strong {
    color: #333;
    font-weight: bold;
}

/* استایل برای مبلغ چک */
#rasgiri-result .price {
    color: #de043c;
    font-weight: bold;
}

/* استایل برای تاریخ چک */
#rasgiri-result .date {
    color: #de043c;
    font-weight: bold;
}

/* استایل برای اطلاعات صاحب چک */
#rasgiri-result .owner-info {
    color: #000;
}
.profit-bar-container {
  display: flex;
  align-items: center;
  direction: rtl;
  font-family: sans-serif;
  gap: 10px;
}

.price, .label {
  white-space: nowrap;
  font-weight: bold;
  font-size: 14px;
}

.bar {
  flex-grow: 1;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.progress {
	height: 100%;
	width: 98%;
	background: repeating-linear-gradient( 45deg, #2ecc71, #2ecc71 10px, #27ae60 10px, #27ae60 20px );
	border-radius: 6px;
	position: relative;
	float: left;
}
.cart-wrapper {
	padding: 30px 0;
}
.indicator {
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 14px;
  background: orange;
  border-radius: 50%;
  transform: translate(50%, -50%);
  box-shadow: 0 0 6px rgba(255, 165, 0, 0.6);
}
.price-box {
	display: flex;
	gap: 15px;
	align-items: flex-start;
}
.price-item {
	display: flex;
	align-items: center;
	gap: 6px;
	align-items: flex-start;
}

.price-label {
    font-size: 14px;
    color: #777;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.item-price {
    font-weight: bold;
    color: #000;
    font-size: 16px;
}

@media (max-width:767px){
    .cart-container {
	flex-direction: column;
}
.cart-container {
	padding: 0;
}

.cart-item {
	gap: 6px;
}
.profit-bar-container {
	margin-bottom: 25px;
}
}