/* =====================================================
   JYOTISHSHOP CART
   ===================================================== */

/* ==========================
   QUANTITY BUTTONS
========================== */
.quantity{
    display:flex;
    align-items:center;
    gap:8px;
    box-sizing:border-box;
}
.quantity *{
    box-sizing:border-box;
}
.quantity .qty-minus,
.quantity .qty-plus{
    display:flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#9b5b21;
    color:#fff;
    cursor:pointer;
    font-size:20px;
    line-height:1;
    padding:0;
    transition:.25s;
}
.quantity .qty-minus:hover,
.quantity .qty-plus:hover{
    background:#7d4517;
}
.quantity .qty-minus:focus-visible,
.quantity .qty-plus:focus-visible{
    outline:2px solid #4CAF50;
    outline-offset:2px;
}
.quantity input.qty{
    width:60px;
    height:36px;
    padding:0 6px;
    text-align:center;
    border:1px solid #dcdcdc;
    border-radius:8px;
}

/* ==========================
   TRUST BADGES
========================== */
.jy-cart-trust{
    margin-top:20px;
    padding:20px;
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:12px;
}
.jy-trust-item{
    padding:10px 0;
    border-bottom:1px solid #ececec;
    color:#333;
    font-size:15px;
}
.jy-trust-item:last-child{
    border-bottom:none;
}

/* ==========================
   FREE GIFT CARD (cart page)
========================== */
.jy-free-shipping{
    margin-bottom:25px;
}
.jy-gift-card{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px;
    background:#ffffff;
    border:1px solid #e8e8e8;
    border-radius:14px;
    box-sizing:border-box;
}
.jy-gift-card.unlocked{
    background:#eefbf1;
    border-color:#4caf50;
}

.jy-gift-image{
    flex:0 0 70px;
    width:70px;
    height:70px;
}
.jy-gift-thumb{
    display:block;
    width:70px;
    height:70px;
    object-fit:contain;
}

.jy-gift-info{
    flex:1;
    min-width:0;
}
.jy-gift-info h3{
    margin:0 0 6px;
    font-size:20px;
    font-weight:700;
}
.jy-gift-info strong{
    display:block;
    margin-bottom:8px;
    font-size:16px;
}
.jy-gift-info p{
    margin:8px 0;
    color:#555;
    line-height:1.5;
}

.jy-gift-info .button{
    margin-top:12px;
    max-width:100%;
    box-sizing:border-box;
    text-align:center;
}
.jy-gift-info .button:focus-visible{
    outline:2px solid #4CAF50;
    outline-offset:2px;
}

/* ==========================
   PRICE / BADGES (shared: cart + checkout gift cards)
========================== */
.jy-worth{
    display:flex;
    align-items:center;
    gap:10px;
    margin:8px 0 12px;
}
.old-price{
    text-decoration:line-through;
    color:#888;
    font-size:15px;
}
.free-badge{
    background:#16a34a;
    color:#fff;
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}
.jy-added{
    color:#1b7c35;
    font-weight:600;
}

/* ==========================
   GIFT FEATURES LIST (shared)
========================== */
.jy-gift-features{
    list-style:none;
    margin:10px 0 0;
    padding:0;
}
.jy-gift-features li{
    margin:7px 0;
    color:#166534;
    font-size:14px;
    font-weight:500;
    line-height:1.5;
}

/* ==========================
   PROGRESS BAR
========================== */
.jy-progress{
    width:100%;
    height:12px;
    margin-top:14px;
    background:#e6e6e6;
    border-radius:20px;
    overflow:hidden;
    box-sizing:border-box;
}
.jy-progress-bar{
    height:100%;
    background:linear-gradient(90deg,#4CAF50,#2E7D32);
    transition:width .35s ease;
}
.jy-progress-text{
    margin-top:8px;
    font-size:13px;
    color:#666;
}

/* ==========================
   MOBILE (cart gift card)
========================== */
@media (max-width:767px){
    .jy-gift-card{
        gap:12px;
        align-items:flex-start;
        flex-wrap:wrap;
    }
    .jy-gift-image{
        width:60px;
        height:60px;
        flex:0 0 60px;
    }
    .jy-gift-thumb{
        width:60px;
        height:60px;
    }
    .jy-gift-info h3{
        font-size:18px;
    }
    .jy-gift-info .button{
        display:block;
        width:100%;
    }
}

/* =====================================================
   CHECKOUT FREE GIFT CARD (premium version)
   ===================================================== */
.jy-checkout-gift{
    margin-bottom:20px;
}

.jy-checkout-gift-inner{
    display:flex;
    align-items:center;
    gap:16px;
    padding:18px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
    transition:.25s;
}
.jy-checkout-gift-inner.unlocked{
    background:#f0fff4;
    border:2px solid #22c55e;
}

.jy-checkout-gift-image{
    flex:0 0 70px;
    width:70px;
    height:70px;
}
.jy-checkout-gift-thumb{
    width:70px !important;
    height:70px !important;
    display:block;
    object-fit:contain;
}

.jy-checkout-gift-info{
    flex:1;
}
.jy-checkout-gift-info h4{
    margin:0 0 6px;
    font-size:20px;
    font-weight:700;
    color:#111827;
}
.jy-checkout-gift-info strong{
    display:block;
    margin-bottom:10px;
    font-size:16px;
    color:#111;
}
.jy-checkout-gift-info p{
    margin:5px 0;
}

@media(max-width:767px){
    .jy-checkout-gift-inner{
        gap:12px;
        padding:15px;
    }
    .jy-checkout-gift-image{
        width:60px;
        height:60px;
        flex:0 0 60px;
    }
    .jy-checkout-gift-thumb{
        width:60px !important;
        height:60px !important;
    }
    .jy-checkout-gift-info h4{
        font-size:18px;
    }
}

/* ===========================================
   PAYMENT SAVING BOX
=========================================== */
.jy-payment-saving{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:16px;
    margin:18px 0;
    background:#ecfdf5;
    border:1px solid #22c55e;
    border-left:5px solid #16a34a;
    border-radius:12px;
    box-shadow:0 3px 12px rgba(0,0,0,.05);
}
.jy-payment-saving-icon{
    font-size:26px;
    line-height:1;
}
.jy-payment-saving-text{
    flex:1;
}
.jy-payment-saving-text strong{
    display:block;
    margin-bottom:5px;
    color:#166534;
    font-size:16px;
}
.jy-payment-saving-text p{
    margin:0;
    color:#444;
    font-size:14px;
    line-height:1.6;
}

/* =====================================
   PREMIUM PAYMENT METHOD
===================================== */
.jy-payment-method-box{
    margin:18px 0;
}

.jy-payment-recommended{
    padding:14px 16px;
    background:#fff8e1;
    border:1px solid #f6c343;
    border-left:5px solid #f59e0b;
    border-radius:10px;
    font-size:15px;
    line-height:1.6;
    margin-bottom:10px;
}
.jy-payment-recommended strong{
    color:#7c4d00;
}
.jy-payment-recommended span{
    display:block;
    margin-top:5px;
    color:#555;
}

.jy-payment-save{
    padding:14px 16px;
    background:#ecfdf5;
    border:1px solid #22c55e;
    border-left:5px solid #16a34a;
    border-radius:10px;
    color:#166534;
    font-size:14px;
    line-height:1.7;
}

/* ===========================================
   PREMIUM PAYMENT METHODS
=========================================== */

#payment ul.payment_methods{
    padding:0;
    margin:15px 0;
    border:none;
}

#payment ul.payment_methods li{

    list-style:none;

    margin-bottom:12px;

    padding:14px 16px;

    border:1px solid #e5e7eb;

    border-radius:12px;

    background:#fff;

    transition:.25s;

}

#payment ul.payment_methods li:hover{

    border-color:#22c55e;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}

#payment input[type=radio]{

    transform:scale(1.2);

    margin-right:10px;

}

#payment label{

    font-size:16px;

    font-weight:600;

    color:#222;

}

.payment_box{

    margin-top:12px !important;

    border-radius:10px !important;

    background:#f8fafc !important;

    border:1px solid #dbeafe !important;

}

.payment_method_cod label::after{

    content:" (+₹40)";

    color:#dc2626;

    font-size:13px;

    font-weight:700;

}

.payment_method_razorpay label::after{

    color:#16a34a;

    font-size:13px;

    font-weight:700;

}

/* ===========================================
   CHECKOUT TRUST BOX
=========================================== */

.jy-checkout-trust{

    margin:20px 0;

    padding:18px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:14px;

    box-shadow:0 3px 12px rgba(0,0,0,.05);

}

.jy-checkout-trust h3{

    margin:0 0 15px;

    font-size:18px;

    color:#111827;

}

.jy-checkout-trust ul{

    margin:0;

    padding:0;

    list-style:none;

}

.jy-checkout-trust li{

    padding:8px 0;

    font-size:15px;

    color:#374151;

    border-bottom:1px solid #f3f4f6;

}

.jy-checkout-trust li:last-child{

    border-bottom:none;

}

/* ===========================================
   CHECKOUT HELP
=========================================== */

.jy-checkout-help{

    margin-top:20px;

    padding:18px;

    background:#f0fdf4;

    border:1px solid #22c55e;

    border-radius:14px;

    text-align:center;

}

.jy-checkout-help h4{

    margin:0 0 10px;

    font-size:18px;

}

.jy-checkout-help p{

    margin:0 0 15px;

    color:#555;

    line-height:1.6;

}

.jy-whatsapp-btn{

    display:inline-block;

    background:#25D366;

    color:#fff !important;

    text-decoration:none;

    padding:12px 22px;

    border-radius:8px;

    font-weight:600;

    transition:.25s;

}

.jy-whatsapp-btn:hover{

    background:#1ebe5d;

}

/* ===========================
   HEADER CART
=========================== */

.jy-header-cart{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#9b5b21;

    font-size:26px;

}

.jy-cart-icon{

    line-height:1;

}

.jy-cart-count{

    position:absolute;

    top:-8px;

    right:-10px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#e53935;

    color:#fff;

    font-size:11px;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

}
/* ==========================================
   PREMIUM PRODUCT CARD
========================================== */

.wc-block-components-product-button__button,
.wp-block-button__link,
.add_to_cart_button{

    width:100% !important;

    border-radius:12px !important;

    background:#9b5b21 !important;

    color:#fff !important;

    font-weight:700;

    font-size:15px;

    padding:13px 18px;

    transition:.30s;

    border:none !important;

    box-shadow:0 4px 12px rgba(155,91,33,.20);

}

.wc-block-components-product-button__button:hover,
.wp-block-button__link:hover,
.add_to_cart_button:hover{

    background:#7d4517 !important;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.18);

}
.wp-block-post{

    border:1px solid #ececec;

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    background:#fff;

}

.wp-block-post:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.wp-block-post img{

    transition:.35s;

}

.wp-block-post:hover img{

    transform:scale(1.05);

}

.wc-block-components-product-price{

    font-size:22px;

    font-weight:700;

    color:#9b5b21;

}

.wc-block-components-product-price del{

    color:#999;

    font-size:15px;

}