/* رنگ‌های گلوبال (قابل ویرایش) */
:root {
    --pym-color-primary: #2F2F3C;
    --pym-color-primary-dark: #40423c;
    --pym-color-primary-contrast: #ffffff;
    --pym-color-text: #212121;
    --pym-color-text-dark: #333333;
    --pym-color-text-muted: #8B8B8B;
    --pym-color-text-secondary: #666666;
    --pym-color-text-50: rgba(1, 13, 10, 0.5);
    --pym-color-text-40: rgba(1, 13, 10, 0.4);
    --pym-color-dim-text: rgba(20, 20, 20, 0.4);
    --pym-color-white: #ffffff;
    --pym-color-bg: #ffffff;
    --pym-color-bg-muted: #F7F7F7;
    --pym-color-border: #F0F0F0;
    --pym-color-border-light: #eeeeee;
    --pym-color-border-xlight: #f5f5f5;
    --pym-color-success: #0C673B;
    --pym-color-accent-bg: #e6f3e6;
    --pym-color-primary-10: rgba(6, 103, 55, 0.1);
    --pym-color-error-bg: #f8d7da;
    --pym-color-error-text: #721c24;
    --pym-color-error-border: #f5c6cb;
}

/* استایل مراحل خرید */
.pymcartcust-checkout-steps{
    width:100%; 
    max-width:795px;
    margin:0 auto 30px;   /* وسط‌چین + فاصلهٔ پایین قدیمی */
    display:flex;
    align-items:center;
    justify-content:center;
    direction:rtl;
}

.pymcartcust-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.pymcartcust-step-icon {
    width: 56px;
    height: 56px;
    background-color: var(--pym-color-white);
    border: 1.5px solid var(--pym-color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.pymcartcust-step-icon img.pymcartcust-icon {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease;
}

.pymcartcust-step-label {
    font-size: 14px;
    color: var(--pym-color-text-dark);
    font-weight: 500;
}

/* حالت فعال */
.pymcartcust-step.active .pymcartcust-step-icon {
    background-color: var(--pym-color-primary);
    border: none;
}

.pymcartcust-step.active .pymcartcust-step-icon img.pymcartcust-icon {
    filter: brightness(0) invert(1); /* تبدیل رنگ آیکن به سفید */
}

/* حالت غیرفعال */
.pymcartcust-step.disabled {
    cursor: not-allowed;
}

.pymcartcust-step.disabled .pymcartcust-step-icon {
    opacity: 0.5;
}

/* خطوط اتصال بین مراحل */
.pymcartcust-step-connector {
    flex: 1;
    height: 2px;
    margin: 0 10px; /* فاصله از آیکن‌ها */
    position: relative;
    top: -16px; /* تنظیم موقعیت خط نسبت به آیکن‌ها */
    transition: background-color 0.3s ease;
}

/* حالت غیرفعال (پیش‌فرض) */
.pymcartcust-step-connector.inactive {
    background-color: var(--pym-color-text-muted);
}

/* حالت فعال */
.pymcartcust-step-connector.active {
    background-color: var(--pym-color-primary);
}

/* محتوای مراحل */
#step-content {
    border: none;
    padding: 0;
    border-radius: 0;
}

.woocommerce-order-overview {
    list-style: none;
    padding: 0;
}

.woocommerce-order-overview li {
    margin-bottom: 10px;
    font-size: 16px;
}

.woocommerce-order-overview li strong {
    font-weight: bold;
    color: var(--pym-color-primary);
}



/* استایل کانتینر کلی سبد خرید */
.pymcartcust-cart-container {
    display: flex;
    gap: 20px;
    background-color: var(--pym-color-bg);
    border: 1.5px solid var(--pym-color-border);
    border-radius: 16px;
    padding: 20px 20px 20px 40px;
    direction: rtl;
}

/* بخش محصولات (70%) */
.pymcartcust-cart-products {
    flex: 0 0 70%;
}

/* هدر سبد خرید */
.pymcartcust-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.pymcartcust-title-column {
    flex: 1;
    display: flex;
    align-items: center;
}

.pymcartcust-quantity-column {
    width: 150px;
    text-align: center;
}

.pymcartcust-price-column {
    width: 150px;
    text-align: left;
}

.pymcartcust-cart-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--pym-color-text-dark);
    display: inline-block;
    margin-bottom: 5px;
}

.pymcartcust-cart-count {
    font-size: 14px;
    font-weight: 400;
    background: #e6f3e6;
    color: #0C673B;
    padding: 4px 8px;
    border-radius: 8px;
    margin-right: 10px;
    margin-top: -4px;
}

.pymcartcust-quantity-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--pym-color-text-dark);
}

.pymcartcust-price-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--pym-color-text-dark);
}

.pymcartcust-header-divider {
    border-bottom: 1px solid var(--pym-color-border-light);
    margin-bottom: 10px;
}

/* لیست محصولات */
.pymcartcust-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* هر آیتم محصول */
.pymcartcust-product-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--pym-color-border-light);
    position: relative;
    margin-top: 10px;
}

.pymcartcust-product-item .mini-cart-product-image {
    width: 100px;
    height: 104px;
    background: var(--pym-color-bg-muted);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pymcartcust-product-item .mini-cart-product-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.pymcartcust-product-item .mini-cart-product-details {
    margin-right: 11px;
    flex: 1;
}

.pymcartcust-product-item .mini-cart-product-category {
    font-size: 12px;
    font-weight: 500;
    color: var(--pym-color-text-muted);
    margin-bottom: 5px;
    display: block;
}

.pymcartcust-product-item .mini-cart-product-name {
    flex: 1;
}

.pymcartcust-product-item .mini-cart-product-name a {
    font-size: 14px;
    color: var(--pym-color-text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
    word-break: break-word;
}

.pymcartcust-product-item .pymcartcust-price-quantity-wrapper {
    display: flex;
    align-items: center;
}

.pymcartcust-product-item .mini-cart-product-quantity {
    width: 150px;
    text-align: center;
}

.pymcartcust-product-item .mini-cart-product-price {
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.pymcartcust-product-item .mini-cart-product-price .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--pym-color-text-dark);
}

.pymcartcust-product-item .mini-cart-product-price .woocommerce-Price-currencySymbol {
    font-size: 12px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
}

.pymcartcust-product-item .mini-cart-product-price del {
    filter: blur(1px);
    text-decoration: none;
    display: block;
    font-size: 12px;
    color: var(--pym-color-text-muted);
}

.pymcartcust-product-item .mini-cart-product-price del .woocommerce-Price-amount {
    font-size: 12px;
    color: var(--pym-color-text-muted);
    font-weight: 400;
}

.pymcartcust-product-item .mini-cart-product-price del .woocommerce-Price-currencySymbol {
    display: none;
}

.pymcartcust-product-item .mini-cart-product-price ins {
    text-decoration: none;
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--pym-color-text-dark);
}

.pymcartcust-product-item .mini-cart-product-price ins .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--pym-color-text-dark);
}

.pymcartcust-product-item .mini-cart-product-quantity .quantity-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pymcartcust-product-item .mini-cart-product-quantity .quantity {
    width: 27px;
    text-align: center;
    font-size: 13px;
    color: var(--pym-color-text-dark);
    margin: 0 5px;
    border: 0.7px solid var(--pym-color-border-xlight);
    border-radius: 4px;
    padding: 2px 0;
    background: transparent;
    height: 27px;
    line-height: 23px;
}

.pymcartcust-product-item .mini-cart-product-quantity .qnt-btn {
    width: 27px;
    height: 27px;
    line-height: 15px;
    text-align: center;
    background: var(--pym-color-bg-muted);
    color: var(--pym-color-text);
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.pymcartcust-product-item .mini-cart-product-quantity .qnt-btn:hover {
    border-color: var(--pym-color-success);
    background: var(--pym-color-success);
    color: var(--pym-color-white);
}

.pymcartcust-product-item .mini-cart-product-quantity .minus.qnt-btn.trash::before {
    content: '';
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none"><path d="M2 4.49998H3.33333M3.33333 4.49998H14M3.33333 4.49998V13.8333C3.33333 14.1869 3.47381 14.5261 3.72386 14.7761C3.97391 15.0262 4.31304 15.1666 4.66667 15.1666H11.3333C11.687 15.1666 12.0261 15.0262 12.2761 14.7761C12.5262 14.5261 12.6667 14.1869 12.6667 13.8333V4.49998M5.33333 4.49998V3.16665C5.33333 2.81302 5.47381 2.47389 5.72386 2.22384C3.97391 1.97379 6.31304 1.83331 6.66667 1.83331H9.33333C9.68696 1.83331 10.0261 1.97379 10.2761 2.22384C10.5262 2.47389 10.6667 2.81302 10.6667 3.16665V4.49998M6.66667 7.83331V11.8333M9.33333 7.83331V11.8333" stroke="%23CF2E2E" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    display: block;
    width: 16px;
    height: 16px;
    line-height: 27px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pymcartcust-product-item .mini-cart-product-quantity .minus.qnt-btn.trash:hover::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none"><path d="M2 4.49998H3.33333M3.33333 4.49998H14M3.33333 4.49998V13.8333C3.33333 14.1869 3.47381 14.5261 3.72386 14.7761C3.97391 15.0262 4.31304 15.1666 4.66667 15.1666H11.3333C11.687 15.1666 12.0261 15.0262 12.2761 14.7761C12.5262 14.5261 12.6667 14.1869 12.6667 13.8333V4.49998M5.33333 4.49998V3.16665C5.33333 2.81302 5.47381 2.47389 5.72386 2.22384C3.97391 1.97379 6.31304 1.83331 6.66667 1.83331H9.33333C9.68696 1.83331 10.0261 1.97379 10.2761 2.22384C10.5262 2.47389 10.6667 2.81302 10.6667 3.16665V4.49998M6.66667 7.83331V11.8333M9.33333 7.83331V11.8333" stroke="%23FFFFFF" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* پیام سبد خرید خالی */
.woocommerce-mini-cart__empty-message {
    padding: 0;
    text-align: center;
    font-size: 14px;
    color: var(--pym-color-text-secondary);
    background: transparent;
    position: relative;
    max-height: 350px;
    top: 50px;
}

.woocommerce-mini-cart__empty-message::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://sepiddoone.com/wp-content/uploads/2025/04/31cfa3d4-0908-4040-80c5-5356b252c69e_removalai_preview.svg');
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

/* بخش جمع‌بندی (30%) */
.pymcartcust-cart-summary {
    flex: 0 0 30%;
    background-color: var(--pym-color-bg-muted);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

/* سرتیتر کد تخفیف */
.pymcartcust-coupon-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pymcartcust-coupon-icon {
    width: 24px;
    height: 24px;
}

.pymcartcust-coupon-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--pym-color-text);
}

/* استایل کد تخفیف */
.pymcartcust-coupon {
    position: relative;
}

.pymcartcust-coupon-input {
    width: 100% !important;
    padding: 15px 15px 15px 10px !important;
    background-color: var(--pym-color-white);
    border: none !important;
    border-radius: 12px !important;
    font-size: 12px;
    font-weight: 400;
    color: var(--pym-color-text-dark);
}

.pymcartcust-coupon-input::placeholder {
    color: var(--pym-color-text-muted);
    font-size: 12px;
    font-weight: 400;
}

.pymcartcust-apply-coupon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    color: var(--pym-color-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* خط جداکننده */
.pymcartcust-divider {
    border-top: 1px solid var(--pym-color-border);
    margin: 10px 0;
}

/* استایل جزئیات جمع‌بندی */
.pymcartcust-summary-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pymcartcust-summary-details p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.pymcartcust-label {
    font-size: 14px;
    color: var(--pym-color-text);
}

.pymcartcust-cart-items .pymcartcust-label,
.pymcartcust-cart-savings .pymcartcust-label {
    font-weight: 400;
}

.pymcartcust-cart-total .pymcartcust-label {
    font-weight: 600;
}

.pymcartcust-value {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pymcartcust-number {
    font-size: 14px;
    font-weight: 500;
    color: #010D0A;
}

.pymcartcust-cart-total .pymcartcust-number {
    font-size: 20px;
    font-weight: 600;
}

.pymcartcust-unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
}

/* دکمه تایید و تکمیل سفارش */
.pymcartcust-checkout-button {
    display: block;
    text-align: center;
    background-color: var(--pym-color-primary) !important;
    color: var(--pym-color-primary-contrast) !important;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.pymcartcust-checkout-button:hover {
    background-color: var(--pym-color-primary-dark);
}

/* ریسپانسیو برای تبلت (عرض 768px تا 1024px) */
@media (max-width: 1024px) {
    .pymcartcust-cart-container {
        gap: 15px;
        padding: 15px 15px 15px 30px;
    }

    .pymcartcust-cart-products {
        flex: 0 0 65%;
    }

    .pymcartcust-cart-summary {
        flex: 0 0 35%;
        padding: 12px;
    }

    .pymcartcust-quantity-column,
    .pymcartcust-price-column {
        width: 120px;
    }

    .pymcartcust-product-item .mini-cart-product-image {
        width: 80px;
        height: 84px;
    }

    .pymcartcust-product-item .mini-cart-product-image img {
        width: 60px;
        height: 60px;
    }

    .pymcartcust-product-item .mini-cart-product-details {
        margin-right: 8px;
    }

    .pymcartcust-cart-title {
        font-size: 16px;
    }

    .pymcartcust-cart-count {
        font-size: 12px;
        padding: 3px 6px;
    }
}


.pymchekoutcust-price-column {
  display: flex;
  justify-content: flex-end;
}

/* ریسپانسیو برای موبایل (عرض کمتر از 768px) */
@media (max-width: 767px) {
    .pymcartcust-cart-container {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }
    
    .pymcartcust-checkout-steps{
        width:100%;       /* پرکردن کل عرض موبایل */
        max-width:100%;   /* احتیاطی، تا حاشیه‌ای ایجاد نشود */
    }

    .pymcartcust-cart-products,
    .pymcartcust-cart-summary {
        flex: 0 0 100%;
        width: 100%;
    }

    .pymcartcust-cart-products {
        order: 1;
    }

    .pymcartcust-cart-summary {
        order: 2;
        padding: 16px;
    }

    .pymcartcust-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pymcartcust-title-column {
        flex: 1 1 100%;
        justify-content: space-between;
    }

    .pymcartcust-quantity-label,
    .pymcartcust-price-label {
        display: none;
    }

    .pymcartcust-product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pymcartcust-product-item .mini-cart-product-image {
        width: 80px;
        height: 84px;
    }

    .pymcartcust-product-item .mini-cart-product-image img {
        width: 60px;
        height: 60px;
    }

    .pymcartcust-product-item .mini-cart-product-details {
        margin-right: 0;
    }

    .pymcartcust-product-item .pymcartcust-price-quantity-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
        width: auto;
        margin-right: auto;
        justify-content: flex-end;
    }

    .pymcartcust-product-item .mini-cart-product-quantity,
    .pymcartcust-product-item .mini-cart-product-price {
        width: auto;
        text-align: left;
    }

    .pymcartcust-product-item .mini-cart-product-quantity {
        order: 2;
    }

    .pymcartcust-product-item .mini-cart-product-price {
        order: 1;
    }

    .pymcartcust-product-item .pymcartcust-quantity-column {
        order: 2;
    }

    .pymcartcust-product-item .mini-cart-product-quantity .quantity-buttons {
        justify-content: flex-end;
    }

    .pymcartcust-cart-title {
        font-size: 16px;
    }

    .pymcartcust-cart-count {
        font-size: 12px;
        padding: 3px 6px;
    }

    .pymcartcust-coupon-title {
        font-size: 14px;
    }

    .pymcartcust-coupon-icon {
        width: 20px;
        height: 20px;
    }

    .pymcartcust-checkout-button {
        font-size: 14px !important;
        padding: 10px;
    }

    .pymcartcust-step-icon {
        width: 48px;
        height: 48px;
        padding: 12px;
    }

    .pymcartcust-step-icon img.pymcartcust-icon {
        width: 20px;
        height: 20px;
    }

    .pymcartcust-step-label {
        font-size: 12px;
    }

    .pymcartcust-step-connector {
        margin: 0 5px;
        top: -20px;
    }
}

/* حالت دسکتاپ */
.pymcartcust-step.active .pymcartcust-step-label {
    color: var(--pym-color-text);      /* رنگ مرحله فعال */
    font-weight: 500;    /* وزن 500 */
    font-size: 16px;     /* سایز 16 */
}

.pymcartcust-step:not(.active) .pymcartcust-step-label {
    color: var(--pym-color-text-muted);      /* رنگ مرحله غیر‌فعال */
    font-weight: 400;    /* وزن 400 */
    font-size: 16px;     /* سایز 16 */
}

/* حالت موبایل */
@media (max-width: 768px) {
    .pymcartcust-step .pymcartcust-step-label {
        font-size: 12px !important;  /* سایز 12 برای همه مراحل */
    }
}

/* مخفی کردن کد تخفیف در تسویه حساب */
.woocommerce-form-coupon-toggle {
    display: none !important;
}

/* استایل کانتینر کلی تسویه حساب */
.pymchekoutcust-checkout-container {
    background-color: var(--pym-color-bg);
    border: 1.5px solid var(--pym-color-border);
    border-radius: 16px;
    padding: 20px 20px 20px 40px;
    direction: rtl;
}

/* لایه داخلی برای چیدمان flex */
.pymchekoutcust-checkout-inner {
    display: flex;
    gap: 20px;
}

/* بخش فرم اطلاعات (70%) */
.pymchekoutcust-checkout-form {
    flex: 0 0 70%;
}

/* بخش جمع‌بندی سفارش (30%) */
.pymchekoutcust-checkout-summary {
    flex: 0 0 30%;
    background-color: var(--pym-color-bg-muted);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

/* عنوان اصلی */
.pymchekoutcust-main-title {
    font-size: 22px !important;
    font-weight: 500 !important;
    color: var(--pym-color-text) !important;
    margin: 0;
}

/* خط جداکننده */
.pymchekoutcust-divider {
    border-top: 1px solid var(--pym-color-border);
    margin: 10px 0;
}

/* عنوان اطلاعات تحویل گیرنده */
.pymchekoutcust-recipient-title,
.pymchekoutcust-address-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--pym-color-text);
    margin: 20px 0;
}


.woocommerce-page form .form-row .input-text {
    border-radius: 8px;
}
/* ردیف‌های فیلدها */
.pymchekoutcust-field-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.pymchekoutcust-field-row .form-row {
    flex: 1;
    margin: 0;
}

/* استایل لیبل‌ها */
.pymchekoutcust-label {
    font-size: 14px;
    font-weight: 400;
    color: #010D0A;
    margin-bottom: 5px;
    display: block;
}

/* استایل اینپوت‌ها */
.pymchekoutcust-input {
    width: 100%;
    background-color: var(--pym-color-bg-muted) !important;
    padding: 16px 6px !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text);
}

/* استایل Select2 */
.select2-container--default .select2-selection--single {
    background-color: var(--pym-color-bg-muted) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 8px;
    height: 52px; /* 16px padding بالا + 16px padding پایین + 20px ارتفاع متن */
    padding: 16px 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--pym-color-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--pym-color-text-50);
    font-size: 14px;
    font-weight: 400;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    top: 0;
    right: 6px;
}

/* استایل لیست بازشونده */
.select2-container--default .select2-results__option {
    font-size: 14px;
    font-weight: 400;
    color: #010D0A;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--pym-color-primary);
    color: var(--pym-color-primary-contrast);
}

/* استایل textarea */
.pymchekoutcust-textarea {
    min-height: 101px;
    resize: vertical;
}

/* استایل پلیسV2 پلیس‌هولدر */
.pymchekoutcust-input::placeholder {
    color: var(--pym-color-text-50);
    font-size: 14px;
    font-weight: 400;
}

/* انتخاب نحوه ارسال */
.pymchekoutcust-shipping-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pymchekoutcust-shipping-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--pym-color-text);
    margin: 0;
}

.pymchekoutcust-cart-count {
    font-size: 14px;
    font-weight: 500;
    color: var(--pym-color-primary);
    background-color: var(--pym-color-primary-10);
    padding: 8px 16px;
    border-radius: 8px;
}

/* روش‌های حمل‌ونقل */
.pymchekoutcust-shipping-methods {
    display: block;
}


.pymchekoutcust-mini-cart-product-price del .woocommerce-Price-amount {
font-size: 14px;
  color: #828282;
  font-weight: 400;
}


.pymchekoutcust-shipping-methods .shipping_method_select {
    width: 100%;
}

/* محصولات سفارش */
.pymchekoutcust-order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pymchekoutcust-order-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pymchekoutcust-item-image {
    width: 100px;
    height: 104px;
    background: var(--pym-color-bg-muted);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pymchekoutcust-item-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.pymchekoutcust-item-details {
    flex: 1;
}

.pymchekoutcust-item-name {
    font-size: 14px;
    color: var(--pym-color-text-dark);
    display: block;
    margin-bottom: 5px;
}

.pymchekoutcust-item-quantity {
    font-size: 12px;
    color: var(--pym-color-text-muted);
}

.pymchekoutcust-item-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--pym-color-text-dark);
}

.pymchekoutcust-item-price .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--pym-color-text-dark);
}

.pymchekoutcust-item-price .woocommerce-Price-currencySymbol {
    font-size: 12px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
    margin-right: -4px;
    margin-left: 2px;
}

/* جزئیات جمع‌بندی */
.pymchekoutcust-summary-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pymchekoutcust-summary-details p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.pymchekoutcust-subtotal .pymchekoutcust-label,
.pymchekoutcust-shipping .pymchekoutcust-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text);
}

.pymchekoutcust-subtotal .pymchekoutcust-value,
.pymchekoutcust-shipping .pymchekoutcust-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--pym-color-text);
}

/* مجموع کل */
.pymchekoutcust-summary-total {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pymchekoutcust-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.pymchekoutcust-total .pymchekoutcust-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--pym-color-text);
}

.pymchekoutcust-total .pymchekoutcust-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--pym-color-text);
}

/* روش‌های پرداخت */
.pymchekoutcust-payment-methods {
    margin-top: -10px;
}

.pymchekoutcust-payment-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--pym-color-text);
    margin-bottom: 10px;
}

/* دکمه ثبت سفارش */
.pymchekoutcust-place-order-button {
    display: block;
    text-align: center;
    background-color: var(--pym-color-primary) !important;
    color: var(--pym-color-primary-contrast) !important;
    padding: 12px;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none !important;
    cursor: pointer;
    margin-top: 20px;
}

.pymchekoutcust-place-order-button:hover {
    background-color: var(--pym-color-primary-dark);
}

/* ریسپانسیو برای تبلت */
@media (max-width: 1024px) {
    .pymchekoutcust-checkout-container {
        padding: 15px 15px 15px 30px;
    }

    .pymchekoutcust-checkout-inner {
        gap: 15px;
    }

    .pymchekoutcust-checkout-form {
        flex: 0 0 65%;
    }

    .pymchekoutcust-checkout-summary {
        flex: 0 0 35%;
        padding: 12px;
    }

    .pymchekoutcust-item-image {
        width: 80px;
        height: 84px;
    }

    .pymchekoutcust-item-image img {
        width: 60px;
        height: 60px;
    }

    .pymchekoutcust-summary-title {
        font-size: 16px;
    }

    .pymchekoutcust-field-row {
        flex-direction: column;
        gap: 10px;
    }

    .pymchekoutcust-field-row .form-row {
        width: 100%;
    }

    .pymchekoutcust-shipping-methods {
        flex-direction: column;
        gap: 10px;
    }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 767px) {
    .pymchekoutcust-checkout-container {
        padding: 15px;
    }

    .pymchekoutcust-checkout-inner {
        flex-direction: column;
        gap: 20px;
    }

    .pymchekoutcust-checkout-form,
    .pymchekoutcust-checkout-summary {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .pymchekoutcust-main-title {
        font-size:16px !important;
    }

    .pymchekoutcust-checkout-form {
        order: 1;
    }

    .pymchekoutcust-checkout-summary {
        order: 2;
        padding: 16px;
    }

    .pymchekoutcust-order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pymchekoutcust-item-image {
        width: 80px;
        height: 84px;
    }

    .pymchekoutcust-item-image img {
        width: 60px;
        height: 60px;
    }

    .pymchekoutcust-item-price {
        text-align: left;
    }

    .pymchekoutcust-summary-title {
        font-size: 16px;
    }

    .pymchekoutcust-place-order-button {
        font-size: 14px !important;
        padding: 10px;
    }

    .pymchekoutcust-field-row {
        flex-direction: column;
        gap: 10px;
    }

    .pymchekoutcust-field-row .form-row {
        width: 100%;
    }

    .pymchekoutcust-shipping-methods {
        flex-direction: column;
        gap: 10px;
    }
}

/* پنهان کردن قوانین و متن حریم خصوصی WooCommerce */
#payment .woocommerce-terms-and-conditions-wrapper,
#payment .woocommerce-privacy-policy-text {
    display: none !important;
}

/* پنهان کردن دکمه پیش‌فرض ثبت سفارش داخل payment */
#payment .form-row.place-order {
    display: none !important;
}

/* نمایش پیام‌های خطا */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
    display: block !important;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    background-color: var(--pym-color-error-bg);
    color: var(--pym-color-error-text);
    border: 1px solid var(--pym-color-error-border);
}




.pymchekoutcust-discount {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: var(--pym-color-primary); /* رنگ دلخواه برای تخفیف */
}
.pymchekoutcust-discount .woocommerce-remove-coupon {
    color: var(--pym-color-primary);
    text-decoration: none;
    margin-right: 5px;
    font-size: 12px;
    font-weight: 400;
}





/* استایل عنوان اطلاعات خرید */
.pymchekoutcust-purchase-info-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--pym-color-text);
    margin-bottom: -14px;
}

/* استایل مرور سفارش */
.pymchekoutcust-order-review-table {
    background: var(--pym-color-bg) !important;
    padding: 16px !important;
    border-radius: 8px !important;
    border: none !important;
}

/* ردیف‌های مرور سفارش */
.pymchekoutcust-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border: none !important;
}

/* لیبل‌ها (خرید شما، کد تخفیف، هزینه ارسال) */
.pymchekoutcust-row .pymchekoutcust-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text);
}

/* مقادیر (جلوی خرید شما، کد تخفیف، هزینه ارسال) */
.pymchekoutcust-row .pymchekoutcust-value {
    font-size: 16px;
    font-weight: 400;
    color: var(--pym-color-dim-text);
}

/* استایل تخفیف */
.pymchekoutcust-discount .pymchekoutcust-value {
    color: var(--pym-color-dim-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pymchekoutcust-discount .woocommerce-remove-coupon {
    color: var(--pym-color-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
}

/* استایل مبلغ قابل پرداخت */
.pymchekoutcust-total .pymchekoutcust-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--pym-color-text);
}

.pymchekoutcust-total .pymchekoutcust-value {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pymchekoutcust-total-number {
    font-size: 20px;
    font-weight: 600;
    color: var(--pym-color-text);
}

.pymchekoutcust-total-unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
}

/* کانتینر اصلی لیست محصولات */
.pymchekoutcust-products-list {
    display: flex !important;
}

/* لیست محصولات */
.pymchekoutcust-product-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 0 !important;
}

/* خط جداکننده بین آیتم‌های محصول */
.pymchekoutcust-product-list .pymchekoutcust-product-item:not(:last-child) {
    border-bottom: 1px solid var(--pym-color-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* هر آیتم محصول */
.pymchekoutcust-product-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* ستون عنوان (شامل تصویر و جزئیات) */
.pymchekoutcust-title-column {
    display: flex;
    align-items: center;
    flex: 1;
}

/* جزئیات محصول داخل عنوان (نام + قیمت) به‌صورت فلکس برای چسباندن قیمت به چپ */
.pymchekoutcust-mini-cart-product-details {
    display: grid;
    grid-template-columns: 1fr auto; /* نام/دسته سمت راست، قیمت چسبیده به چپ */
    grid-auto-rows: min-content;
    align-items: start;
    column-gap: 10px;
}

/* نام محصول فضای میانی را پر کند تا ستون قیمت به چپ رانده شود */
.pymchekoutcust-mini-cart-product-name {
    grid-column: 1 / 2;
}

/* دسته‌بندی زیر نام در همان ستون راست بماند */
.pymchekoutcust-mini-cart-product-category {
    grid-column: 1 / 2;
}

/* ستون قیمت همیشه در ستون چپ باشد */
.pymchekoutcust-price-column {
    grid-column: 10 / 10;
}

/* تصویر محصول */
.pymchekoutcust-mini-cart-product-image {
    width: 80px;
    height: 80px;
    background-color: var(--pym-color-white);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    margin-left: 10px;
    overflow: hidden;
}

.pymchekoutcust-mini-cart-product-image img {
    object-fit: cover !important;
    width: 100px;
    height: 100px;
}

/* مخفی کردن دسته‌بندی محصول */
.pymchekoutcust-mini-cart-product-category {
    display: none;
}

/* نام محصول */
.pymchekoutcust-mini-cart-product-name a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--pym-color-text);
    line-height: 32px;
    text-decoration: none;
}

.pymchekoutcust-mini-cart-product-price {
    display: flex;
  flex-direction: column;
}

/* استایل قیمت */
.pymchekoutcust-mini-cart-product-price .woocommerce-Price-amount {
    display: flex;
    justify-content: flex-end;
    font-size: 16px;
    font-weight: 500;
    color: #010D0A;
}

/* کلمه تومان در قیمت‌های بدون تخفیف */
.pymchekoutcust-mini-cart-product-price .woocommerce-Price-currencySymbol {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
}

/* برای موبایل */
@media (max-width: 767px) {
    .pymchekoutcust-mini-cart-product-price .woocommerce-Price-currencySymbol {
        font-size: 12px;
        font-weight: 400;
        color: #828282;
        margin-right: 0;
        margin-left: 1px;
    }
}

/* قیمت قبل تخفیف: بلر 1 پیکسل، مخفی کردن کلمه تومان و حذف خط */
.pymchekoutcust-mini-cart-product-price del {
    filter: blur(1px);
    text-decoration: none;
}

.pymchekoutcust-mini-cart-product-price del .woocommerce-Price-currencySymbol {
    display: none;
}

/* قیمت تخفیف‌خورده: جابجایی دستی به راست و حذف زیرخط */
.pymchekoutcust-mini-cart-product-price ins {
    text-decoration: none;
    display: inline-block;
}

.pymchekoutcust-mini-cart-product-price ins .woocommerce-Price-amount {
    display: inline-block;
    position: relative;
}

/* کلمه تومان در قیمت تخفیف‌دار */
.pymchekoutcust-mini-cart-product-price ins .woocommerce-Price-currencySymbol {
    font-size: 14px;
    font-weight: 400;
    color: #828282;
    margin-right: 2px;
}

/* موبایل برای قیمت تخفیف‌دار */
@media (max-width: 767px) {
    .pymchekoutcust-mini-cart-product-price ins .woocommerce-Price-currencySymbol {
        font-size: 12px;
        font-weight: 400;
        color: #828282;
        margin-right: 0;
    }
    .woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
        width:100% !important;
    }
}

/* تنظیم فاصله قیمت از نام محصول */
.pymchekoutcust-mini-cart-product-price {
    margin-top: 8px;
}






/* غیرفعال کردن فونت المنتور */
.elementor-widget-woocommerce-checkout-page,
.elementor-widget-woocommerce-checkout-page * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* مخفی کردن هدر صفحه فقط برای صفحه تشکر */
body.woocommerce-order-received .page-header {
    display: none !important;
}

/* اطمینان از وسط بودن کانتینر */
.woocommerce-order {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

/* استایل‌های صفحه تشکر */
.pym-thankyou-page {
    direction: rtl;
    background-color: var(--pym-color-bg);
    border: 1.5px solid var(--pym-color-border);
    border-radius: 16px;
    width: 562px;
    min-height: auto;
    margin: 30px 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* هدر */
.pym-thankyou-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pym-thankyou-icon img {
    width: 115px;
    height: 115px;
}

.pym-thankyou-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--pym-color-text);
    margin: 0;
}

/* اطلاعات سفارش */
.pym-thankyou-order-info {
    width: 100%;
    display: flex;
    justify-content: center;
}


/* استایل خط جداکننده */
.pym-thankyou-divider {
    width: 420px !important;
    height: 1px !important;
    background-color: var(--pym-color-bg-muted) !important;
    margin: 16px 0 !important;
}

/* استایل جمع فاکتور */
.pym-thankyou-total-amount {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: var(--pym-color-text) !important;
}

.pym-thankyou-currency {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--pym-color-text-40) !important; /* #010D0A با اپاسیتی 40% */
    margin-right: 4px !important;
}

.pym-thankyou-order-info-inner {
    background-color: var(--pym-color-bg-muted);
    border-radius: 12px;
    width: 420px;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.pym-thankyou-order-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text);
}

.pym-thankyou-order-number {
    font-size: 16px;
    font-weight: 500;
    color: var(--pym-color-text);
}

/* محصولات */
.pym-thankyou-order-items {
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pym-thankyou-order-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pym-thankyou-item-image {
    background-color: var(--pym-color-bg-muted);
    border-radius: 16px;
    width: 164px;
    height: 122px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pym-thankyou-item-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.pym-thankyou-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pym-thankyou-item-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--pym-color-text);
    line-height: 32px;
    margin: 0;
}

.pym-thankyou-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pym-thankyou-item-quantity {
    display: flex;
    gap: 5px;
}

.pym-thankyou-quantity-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
}

.pym-thankyou-quantity-value {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text);
}

.pym-thankyou-item-price .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--pym-color-text);
}

.pym-thankyou-item-price .woocommerce-Price-currencySymbol {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
    margin-right: -4px;
    margin-left: 2px;
}

/* جمع فاکتور */
.pym-thankyou-order-summary {
    width: 420px;
}

.pym-thankyou-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pym-thankyou-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
}

.pym-thankyou-value .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 500;
    color: var(--pym-color-text);
}

.pym-thankyou-value .woocommerce-Price-currencySymbol {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
    margin-right: -4px;
    margin-left: 2px;
}

/* آدرس */
.pym-thankyou-address-container {
    background-color: var(--pym-color-bg-muted);
    border-radius: 8px;
    width: 420px;
    height: 151px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pym-thankyou-address-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--pym-color-text);
    margin: 0;
}

.pym-thankyou-address-value {
    font-size: 14px;
    font-weight: 400;
    color: var(--pym-color-text-muted);
    line-height: 24px;
    margin: 0;
}

.pym-thankyou-address-meta {
    display: flex;
    gap: 10px;
}

.pym-thankyou-address-meta-item {
    background-color: var(--pym-color-white);
    border-radius: 8px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pym-thankyou-meta-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--pym-color-text);
    line-height: 24px;
}

.pym-thankyou-meta-value {
    font-size: 12px;
    font-weight: 400;
    color: var(--pym-color-text);
    line-height: 24px;
}

/* دکمه‌ها */
.pym-thankyou-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pym-thankyou-button {
    background-color: var(--pym-color-primary) !important;
    color: var(--pym-color-primary-contrast) !important;
    border-radius: 12px !important;
    width: 420px !important;
    height: 48px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease !important;
}

.pym-thankyou-button:hover {
    background-color: var(--pym-color-primary-dark) !important;
}

.pym-thankyou-back-button {
    color: var(--pym-color-text-muted) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* جزئیات سفارش */
.pym-thankyou-order-details {
    width: 100%;
}

.pym-thankyou-section-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--pym-color-text);
    margin: 20px 0 10px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 767px) {
    /* اضافه کردن باکس سایزینگ برای همه المنت‌ها */
    .pym-thankyou-page * {
        box-sizing: border-box;
    }
    
    /* تنظیمات اصلی صفحه */
    .pym-thankyou-page {
        width: 100% !important;
        max-width: 100%;
        margin: 15px 0;
        border: none;
    }
    
    /* تنظیم المنت‌های داخلی */
    .pym-thankyou-order-items,
    .pym-thankyou-order-summary,
    .pym-thankyou-address-container,
    .pym-thankyou-order-info-inner,
    .pym-thankyou-button {
        width: 100% !important;
        max-width: 100%;
    }
    
    /* تنظیمات محصولات در موبایل */
    .pym-thankyou-order-item {
        flex-direction: column;
    }
    
    .pym-thankyou-item-image {
        height: auto;
        aspect-ratio: 1/0.75;
    }
    
    .pym-thankyou-item-image img {
        width: 80% !important;
        height: auto !important;
    }
    
    .pym-thankyou-divider {
    width: 100% !important;
    }
    
    .pym-thankyou-item-details {
        width: 100%;
        padding: 10px 0;
    }
    
    /* تنظیمات متن در موبایل */
    .pym-thankyou-title {
        font-size: 20px !important;
        text-align: center;
    }
    
    .pym-thankyou-order-number {
        font-size: 14px !important;
    }
    
    /* بهبود استایل آدرس */
    .pym-thankyou-address-container {
        height: auto;
        padding: 15px;
    }
    
    /* تنظیمات دکمه‌ها */
    .pym-thankyou-button {
        height: 44px !important;
        font-size: 14px !important;
    }
    
    /* اصلاح حاشیه‌ها و فاصله‌ها */
    .pym-thankyou-item-meta,
    .pym-thankyou-total {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    /* کاهش سایز فونت‌ها */
    .pym-thankyou-value .woocommerce-Price-amount {
        font-size: 16px !important;
    }
    
    .pym-thankyou-section-title {
        font-size: 16px !important;
    }
}

/* برای تبلت‌ها (اختیاری) */
@media (min-width: 768px) and (max-width: 1024px) {
    .pym-thankyou-page {
        width: 90% !important;
    }
}

/* نگاشت رنگ‌ها به اجزاء کلیدی با استفاده از متغیرهای بالا */
.pymcartcust-step-icon {
    background-color: var(--pym-color-white);
    border-color: var(--pym-color-border);
}

.pymcartcust-step.active .pymcartcust-step-icon {
    background-color: var(--pym-color-primary);
}

.pymcartcust-step .pymcartcust-step-label {
    color: var(--pym-color-text);
}

.pymcartcust-step:not(.active) .pymcartcust-step-label {
    color: var(--pym-color-text-muted);
}

.pymcartcust-step-connector.inactive {
    background-color: var(--pym-color-text-muted);
}

.pymcartcust-step-connector.active {
    background-color: var(--pym-color-primary);
}

.pymcartcust-cart-container,
.pymchekoutcust-checkout-container,
.pym-thankyou-page {
    background-color: var(--pym-color-bg);
    border-color: var(--pym-color-border);
}

.pymcartcust-cart-summary,
.pymchekoutcust-checkout-summary,
.pym-thankyou-order-info-inner,
.pym-thankyou-address-container {
    background-color: var(--pym-color-bg-muted);
}

.pymcartcust-cart-title,
.pymchekoutcust-main-title,
.pym-thankyou-title {
    color: var(--pym-color-text);
}

.pymcartcust-label,
.pymchekoutcust-label,
.pym-thankyou-order-label,
.pym-thankyou-label {
    color: var(--pym-color-text);
}

.pymcartcust-checkout-button,
.pymchekoutcust-place-order-button,
.pym-thankyou-button {
    background-color: var(--pym-color-primary) !important;
    color: var(--pym-color-primary-contrast) !important;
}

.pymcartcust-checkout-button:hover,
.pymchekoutcust-place-order-button:hover,
.pym-thankyou-button:hover {
    background-color: var(--pym-color-primary-dark);
}

.pymcartcust-cart-count {
    background: var(--pym-color-accent-bg);
    color: var(--pym-color-success);
}

.pymcartcust-header-divider,
.pymcartcust-divider,
.pymchekoutcust-divider,
.pym-thankyou-divider {
    border-color: var(--pym-color-border) !important;
    background-color: var(--pym-color-border) !important;
}

.pymchekoutcust-input,
.select2-container--default .select2-selection--single {
    background-color: var(--pym-color-bg-muted) !important;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    background-color: var(--pym-color-error-bg);
    color: var(--pym-color-error-text);
    border-color: var(--pym-color-error-border);
}