/* Ürün kartındaki sepete dönüş bağlantısı ikincil eylemdir. */
.woocommerce ul.products li.product > a.added_to_cart.wc-forward {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin-top: 10px;
	padding: 10px 14px;
	border: 1px solid var(--cozumoto-navy);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--cozumoto-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
}

.woocommerce ul.products li.product > a.added_to_cart.wc-forward:hover {
	background: var(--cozumoto-gray-bg);
	color: var(--cozumoto-navy);
}

.woocommerce ul.products li.product > a.added_to_cart.wc-forward:focus-visible {
	outline: 2px solid var(--cozumoto-orange-dark);
	outline-offset: 2px;
}

/* Storefront'un yüzde genişlikli mini sepeti daralan üst sepet öğesine bağlıydı. */
.cozumoto-header-aksiyon { position: relative; }
.cozumoto-header-aksiyon .site-header-cart { position: static; }

.cozumoto-header-aksiyon .site-header-cart .widget_shopping_cart {
	box-sizing: border-box;
	top: calc(100% - 5px);
	right: 0;
	width: min(360px, calc(100vw - 24px));
	max-height: min(70vh, 520px);
	padding: 16px;
	overflow-y: auto;
	border: 1px solid var(--cozumoto-border);
	border-radius: var(--radius-md);
	background: #fff;
	box-shadow: var(--shadow-lg);
}

.cozumoto-header-aksiyon .site-header-cart:hover .widget_shopping_cart,
.cozumoto-header-aksiyon .site-header-cart.focus .widget_shopping_cart,
.cozumoto-header-aksiyon .site-header-cart:focus-within .widget_shopping_cart {
	left: auto;
	right: 0;
}

.cozumoto-header-aksiyon .site-header-cart.is-closed .widget_shopping_cart {
	display: none !important;
}
