/* ===== GLOBAL IMAGE + PRODUCT CARD SYSTEM ===== */

.woocommerce img,
.woocommerce-page img {
    max-width: 100%;
    display: block;
}

.tulip-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tulip-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tulip-product-image-link {
    display: block;
    text-decoration: none;
    background: #ffffff !important;
}

.tulip-product-image-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.tulip-product-image-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    margin: 0 !important;
    background: #ffffff !important;
    transition: transform 0.35s ease;
}

.tulip-product-card:hover .tulip-product-image-frame img {
    transform: scale(1.08);
}

.tulip-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.tulip-product-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.tulip-product-info h3 a {
    text-decoration: none;
    color: #111827;
}

.tulip-price {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #4c1d95;
}

.tulip-short-desc {
    margin: 0 0 16px;
    color: #6b7280;
    line-height: 1.6;
    flex-grow: 1;
    min-height: 50px;
}

.tulip-product-card .tulip-detail-btn {
    display: inline-block;
    width: auto;
    min-width: 0;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 16px;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;

    background: #5b21b6;
    color: #ffffff;
    border-radius: 8px;
}

.tulip-product-card .tulip-detail-btn:hover {
    background: #7e22ce;
    color: #ffffff;
}

@media (max-width: 767px) {
    .tulip-product-image-frame {
        aspect-ratio: 4 / 3;
    }
}
/* ===== CHECKOUT PAYMENT LABELS ===== */

/* Card başlığını daha anlaşılır yap */
.woocommerce-checkout .payment_method_woocommerce_payments > label {
    font-size: 0 !important;
    position: relative;
}

.woocommerce-checkout .payment_method_woocommerce_payments > label::before {
    content: "Pay with card";
    font-size: 20px;
    font-weight: 700;
    color: #3d246c;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}

/* Kart ikonları kaybolmasın */
.woocommerce-checkout .payment_method_woocommerce_payments > label img,
.woocommerce-checkout .payment_method_woocommerce_payments > label .wc-payment-method-icon,
.woocommerce-checkout .payment_method_woocommerce_payments > label .payment-method-icon {
    display: inline-block !important;
    vertical-align: middle;
}

/* Order without payment başlığını net göster */
.woocommerce-checkout .payment_method_cod > label {
    font-size: 20px !important;
    font-weight: 700;
    color: #3d246c;
    display: inline-block;
}

/* ===== PAYMENT BOX UI UPGRADE ===== */

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method {
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 12px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

/* hover */
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method:hover {
    background: #f9fafb;
    border-color: #5b21b6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* seçili olan */
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method input[type="radio"]:checked + label {
    background: #ede9fe;
    border-radius: 12px;
}

/* iç padding */
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method > label {
    padding: 16px 18px;
    display: block;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* label hover */
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method > label:hover {
    background: #f3f0ff;
}