/**
 * Mert Tomek — Sepet sayfası (açık tema, blok sepet)
 * Scope: body.woocommerce-cart
 */

body.woocommerce-cart .wp-block-woocommerce-cart {
	color: #14110f;
}

/* ---------- "Ödemeye git" butonu: her durumda okunur ---------- */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a.wc-block-components-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 15px 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(120deg, #ffd54d 0%, #fbbe01 55%, #eaa800 100%);
	color: #14110f !important;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 10px 26px rgba(251, 190, 1, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus,
body.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button:hover,
body.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button:focus,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a.wc-block-components-button:hover,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a.wc-block-components-button:focus {
	background: linear-gradient(120deg, #ffdd66 0%, #ffc71a 55%, #f0b000 100%);
	color: #14110f !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(251, 190, 1, 0.45);
	text-decoration: none !important;
}

body.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button:focus-visible {
	outline: 3px solid #14110f;
	outline-offset: 3px;
}

/* Buton içindeki metin öğesi de rengi zorlasın */
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text,
body.woocommerce-cart .wc-block-components-button .wc-block-components-button__text {
	color: inherit !important;
}

/* ---------- Ürün adı linki: pembe değil, mürekkep ---------- */
body.woocommerce-cart .wc-block-components-product-name {
	color: #14110f !important;
	font-weight: 700;
	text-decoration: none;
}

body.woocommerce-cart .wc-block-components-product-name:hover {
	color: #b8860b !important;
	text-decoration: underline;
}

/* ---------- Fiyatlar ---------- */
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-formatted-money-amount {
	font-variant-numeric: tabular-nums;
	color: #14110f;
}

body.woocommerce-cart .wc-block-components-sale-badge {
	background: rgba(251, 190, 1, 0.18);
	border: 1px solid #fbbe01;
	color: #7a5b00;
	border-radius: 999px;
	font-weight: 700;
}

/* ---------- Adet kutusu ve kaldır ---------- */
body.woocommerce-cart .wc-block-components-quantity-selector {
	border: 1.5px solid #e9e0d2;
	border-radius: 10px;
	overflow: hidden;
}

body.woocommerce-cart .wc-block-components-quantity-selector input {
	font-size: 15px;
	font-weight: 700;
	color: #14110f;
}

body.woocommerce-cart .wc-block-components-quantity-selector button {
	color: #68615c;
	min-width: 36px;
	cursor: pointer;
}

body.woocommerce-cart .wc-block-components-quantity-selector button:hover {
	color: #14110f;
	background: #f5f0e8;
}

body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart button.wc-block-cart-item__remove-link {
	color: #68615c;
	cursor: pointer;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover,
body.woocommerce-cart button.wc-block-cart-item__remove-link:hover {
	color: #c23b3b;
}

/* ---------- Toplamlar paneli ---------- */
body.woocommerce-cart .wc-block-cart__totals-title {
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #68615c;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 19px;
	font-weight: 800;
	color: #14110f;
}

/* Kupon linki */
body.woocommerce-cart .wc-block-components-totals-coupon-link {
	color: #b8860b;
	font-weight: 600;
	cursor: pointer;
}

body.woocommerce-cart .wc-block-components-totals-coupon-link:hover {
	color: #14110f;
}

/* Kupon uygula butonu */
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-button {
	background: #14110f;
	color: #fff !important;
	border-radius: 10px;
	font-weight: 700;
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-button:hover {
	background: #2b2520;
	color: #fff !important;
}

/* ---------- Genel linkler (tema pembe/mor hover'ını ez) ---------- */
body.woocommerce-cart .wp-block-woocommerce-cart a {
	color: #14110f;
}

body.woocommerce-cart .wp-block-woocommerce-cart a:hover {
	color: #b8860b;
}

/* ---------- Mobil ---------- */
@media (max-width: 768px) {
	body.woocommerce-cart .wc-block-cart__submit-button,
	body.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button {
		min-height: 56px;
		font-size: 16.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-cart .wc-block-cart__submit-button,
	body.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button {
		transition: none;
	}

	body.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button:hover {
		transform: none;
	}
}
