/* ==========================================================
   PsikoKutu Sepet (Cart) Sayfasi
   NOT: Bu site WooCommerce'in BLOK tabanli sepetini kullaniyor
   ([woocommerce/cart] blogu), klasik [woocommerce_cart] shortcode
   sablonu degil. Class isimleri buna gore (wc-block-*).
   ========================================================== */

.wp-block-woocommerce-cart {
    max-width: 1000px;
    margin: 0 auto !important;
}

/* ---------- Urun adi - belirgin buyutuldu ---------- */
.wc-block-components-product-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 18px !important;
    font-weight: 500;
    color: #2B2440;
    line-height: 1.3;
}
a.wc-block-components-product-name:hover {
    color: #93436B;
}
.wc-block-components-product-metadata {
    font-size: 13.5px;
    color: #6c6270;
}

/* ---------- Urun satirlari - kart gorunumu ---------- */
.wc-block-cart-items {
    background: #fff;
    border: 1px solid rgba(43,36,64,0.08) !important;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 4px 20px;
}
.wc-block-cart-items__header th {
    color: #6c6270 !important;
    font-weight: 600 !important;
}
.wc-block-cart-items__row {
    padding: 20px 0 !important;
}
.wc-block-cart__main .wc-block-cart-items td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.wc-block-cart-item__image img {
    border-radius: 10px;
}

.wc-block-cart-item__prices,
.wc-block-cart-item__total {
    font-size: 15px;
    color: #2B2440;
}

/* Miktar secici (+/-) */
.wc-block-components-quantity-selector {
    border-color: rgba(43,36,64,0.22) !important;
    border-radius: 8px !important;
}
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
    color: #2B2440;
    font-size: 14px !important;
}
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    color: #6c6270;
}
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
    color: #93436B;
    opacity: 1;
}

/* Kaldir (cop kutusu) linki */
.wc-block-cart-item__remove-link {
    color: #a89aa0 !important;
}
.wc-block-cart-item__remove-link:hover {
    color: #93436B !important;
}

/* ---------- Sepet toplami (sag kolon) - kart gorunumu ---------- */
.wc-block-components-sidebar {
    background: #fff;
    border: 1px solid rgba(43,36,64,0.08);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 22px 22px 24px;
}
.wc-block-cart__totals-title {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: #2B2440 !important;
    letter-spacing: 0 !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    color: #2B2440;
    font-size: 14.5px;
}

/* Kupon acilir paneli */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
    color: #93436B;
    font-weight: 600;
    font-size: 14px;
}
.wc-block-components-totals-coupon__input input,
.wc-block-components-totals-coupon__form input {
    border-radius: 8px !important;
    border-color: rgba(43,36,64,0.2) !important;
}
.wc-block-components-totals-coupon__button {
    background: #fff !important;
    color: #93436B !important;
    border: 1.5px solid #93436B !important;
    border-radius: 8px !important;
    font-weight: 600;
}
.wc-block-components-totals-coupon__button:hover {
    background: rgba(147,67,107,0.06) !important;
}

/* Genel toplam satiri */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #2B2440;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #93436B;
}

/* Odemeye git butonu */
.wc-block-cart__submit-button {
    background: #93436B !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 15px !important;
    min-height: 0 !important;
}
.wc-block-cart__submit-button:hover {
    background: #7a3659 !important;
}

/* ---------- Bos sepet ---------- */
.wp-block-woocommerce-empty-cart-block {
    background: #fff;
    border: 1px solid rgba(43,36,64,0.08);
    border-radius: 14px;
    padding: 40px 24px;
    text-align: center;
}
.wc-block-cart__empty-cart__title {
    font-family: 'Fraunces', Georgia, serif;
    color: #2B2440;
}
.wp-block-woocommerce-empty-cart-block .wp-block-button__link {
    background: #93436B !important;
    color: #fff !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
    .wc-block-cart-items {
        padding: 4px 14px;
    }
    .wc-block-components-product-name {
        font-size: 16.5px !important;
    }
    .wc-block-components-sidebar {
        padding: 18px 16px 20px;
    }
}
