/*
 Theme Name: IranKala Child
 Template: irankala
 Theme URI: https://zhaket.com/web/irankala-wordpress-theme
 Author: S.Reza Salehi
 Author URI: http://sreza-salehi.ir
 Version: 1.0.0
*/


.irk-has-swatches img {
	width: 32px;
    height: 32px;
}
.swatches-preview img {
    width: 10px;
    height: 10px;
    margin-bottom: 2px;
}
.variation-item img {width: 32px; height: 32px;}
/* باکس کلی روش‌های پرداخت */
.woocommerce-checkout #payment {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* هر درگاه پرداخت */
.woocommerce-checkout #payment ul.payment_methods li {
    background: #fafafa;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 14px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

/* هاور */
.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #ff9800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,152,0,0.15);
}

/* وقتی انتخاب شد */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked + label {
    color: #ff9800;
}

/* استایل انتخاب شده */
.woocommerce-checkout #payment ul.payment_methods li:has(input[type="radio"]:checked) {
    border-color: #ff9800;
    background: #fff8f0;
    box-shadow: 0 10px 25px rgba(255,152,0,0.15);
}

/* متن درگاه */
.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* لوگوی درگاه */
.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 34px;
    width: auto;
    border-radius: 8px;
}

/* دکمه رادیویی */
.woocommerce-checkout #payment input[type="radio"] {
    accent-color: #ff9800;
    transform: scale(1.2);
}

/* متن توضیحات درگاه */
.woocommerce-checkout #payment .payment_box {
    background: #fff;
    border-radius: 12px;
    margin-top: 12px;
    border: 1px solid #eee;
    color: #666;
}

/* افکت لایت نارنجی */
.woocommerce-checkout #payment ul.payment_methods li::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: rgba(255,152,0,0.08);
    border-radius: 50%;
}

#shipping_method,
ul#shipping_method{
    margin:0;
    padding:0;
}

#shipping_method li,
ul#shipping_method li{
    list-style:none;
    background:#fafafa;
    border:2px solid transparent;
    border-radius:16px;
    padding:16px 18px;
    margin-bottom:14px;
    transition:.3s;
    position:relative;
    overflow:hidden;
}

#shipping_method li:hover,
ul#shipping_method li:hover{
    border-color:#ff9800;
    box-shadow:0 8px 20px rgba(255,152,0,.15);
}

#shipping_method li:has(input:checked),
ul#shipping_method li:has(input:checked){
    border-color:#ff9800;
    background:#fff8f0;
    box-shadow:0 10px 25px rgba(255,152,0,.15);
}

#shipping_method li label,
ul#shipping_method li label{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    cursor:pointer;
}

#shipping_method input[type=radio],
ul#shipping_method input[type=radio]{
    accent-color:#ff9800;
}
/* =========================
   DIGIPAY - TARAB STYLE
========================= */

.digipay-widget.digipay-widget--light {
    background: #F3F7FF !important;
    border: 1.5px solid #3159D9 !important;
    border-radius: 14px !important;
    padding: 10px !important;
    margin-top: 12px !important;

    box-shadow: 0 3px 10px rgba(49, 89, 217, 0.08) !important;

    color: #263B73 !important;
}


/* همه متن‌ها */
.digipay-widget.digipay-widget--light * {
    font-family: inherit !important;
}


/* عنوان */
.digipay-widget.digipay-widget--light .digipay-widget-title {
    color: #263B73 !important;
    font-weight: 700 !important;
}


/* مبلغ */
.digipay-widget.digipay-widget--light strong,
.digipay-widget.digipay-widget--light b {
    color: #3159D9 !important;
    font-weight: 800 !important;
}


/* لینک */
.digipay-widget.digipay-widget--light a {
    color: #3159D9 !important;
}


/* =========================
   بخش آیکون دیجی پی
========================= */

.digipay-widget.digipay-widget--light .digipay-widget-icon {
    border: 1.5px solid #3159D9 !important;
    border-radius: 10px !important;
    background: #ffffff !important;

    padding: 6px !important;
}


/* خود آیکون */
.digipay-widget.digipay-widget--light .digipay-widget-icon img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
}


/* موبایل */
@media (max-width: 768px) {

    .digipay-widget.digipay-widget--light {
        padding: 9px !important;
        border-radius: 12px !important;
    }

    .digipay-widget.digipay-widget--light .digipay-widget-icon img {
        width: 28px !important;
        height: 28px !important;
    }
}
/* آیکون دیجی پی */
.digipay-widget.digipay-widget--light img {
    position: relative;
    z-index: 2;
    border-radius: 50% !important;

    animation: digipayIconPulse 2.2s infinite ease-in-out !important;
}


/* انیمیشن */
@keyframes digipayIconPulse {

    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 1px rgba(49, 89, 217, .15));
    }

    50% {
        transform: scale(1.07);
        filter: drop-shadow(0 0 10px rgba(49, 89, 217, .65));
    }
}