/**
 * Aletbul — WooCommerce sayfaları
 * Tekil ürün, mağaza/kategori, sepet, ödeme, sipariş onayı ve hesabım.
 */

:root {
	--vitrin-card-bg: var(--wp--preset--color--base);
	--vitrin-card-border: 1px solid var(--wp--preset--color--accent-6);
	--vitrin-card-radius: var(--wp--custom--radius--lg);

	/* Satır ikonları (mask ile currentColor alır). */
	--vitrin-icon-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17.5' cy='17.5' r='1.8'/%3E%3C/svg%3E");
	--vitrin-icon-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
	--vitrin-icon-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E");
	--vitrin-icon-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10a6 6 0 0 1 0 12h-3'/%3E%3C/svg%3E");
	--vitrin-icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--vitrin-icon-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14-1.5 7 5-3 5 3-1.5-7'/%3E%3C/svg%3E");
	--vitrin-icon-support: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.5'/%3E%3C/svg%3E");
	--vitrin-icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
	--vitrin-icon-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
}

/* İkon yardımcı: öğenin ::before'una ikon basar. */
.vitrin-info-row::before,
.vitrin-assurance__item::before,
.vitrin-secure::before,
.vitrin-back-link a::before {
	content: "";
	display: inline-block;
	flex: none;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: var(--vitrin-icon) center / contain no-repeat;
	mask: var(--vitrin-icon) center / contain no-repeat;
}

/* ==========================================================================
   Tekil ürün
   ========================================================================== */

@media (min-width: 782px) {
	.vitrin-buybox {
		position: sticky;
		top: calc(var(--vitrin-header-offset, 150px) + 24px);
		transition: var(--vitrin-sticky-transition);
		align-self: flex-start;
	}
}

.vitrin-buybox__head {
	font-size: var(--wp--preset--font-size--small);
}

.vitrin-brand a {
	display: inline-block;
	padding: 0.25em 0.8em;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 700;
	text-decoration: none;
}

.vitrin-buybox__cat a {
	color: var(--wp--preset--color--accent-4);
	text-decoration: none;
}

.vitrin-buybox__meta .wc-block-components-product-rating {
	margin: 0;
}

/* Fiyat: siyah, iri; eski fiyat gri ve üstü çizili; tasarruf yeşil. */
.vitrin-price-card {
	padding-bottom: var(--wp--preset--spacing--30);
	border-bottom: var(--vitrin-card-border);
}

.vitrin-price-card .wp-block-woocommerce-product-price,
.vitrin-price-card .wc-block-components-product-price {
	color: var(--wp--preset--color--contrast);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.vitrin-price-card .wc-block-components-product-price del,
.vitrin-price-card .wp-block-woocommerce-product-price del {
	display: inline-block;
	margin-inline-end: 0.35em;
	color: var(--wp--preset--color--accent-4);
	font-size: 0.5em;
	font-weight: 500;
	vertical-align: middle;
}

.vitrin-price-card ins {
	color: inherit;
	text-decoration: none;
}

.vitrin-savings {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 0;
	padding: 0.3em 0.75em;
	border-radius: var(--wp--custom--radius--pill);
	background: color-mix(in srgb, var(--wp--preset--color--sale) 12%, transparent);
	color: var(--wp--preset--color--sale);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.vitrin-tax-note {
	margin: 0;
}

.wc-block-components-product-stock-indicator,
.vitrin-buybox .stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
}

.wc-block-components-product-stock-indicator::before,
.vitrin-buybox .stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
}

.wc-block-components-product-stock-indicator--in-stock,
.stock.in-stock {
	color: var(--wp--preset--color--success);
}

.wc-block-components-product-stock-indicator--low-stock,
.wc-block-components-product-stock-indicator--available-on-backorder,
.stock.available-on-backorder {
	color: #B45309;
}

.wc-block-components-product-stock-indicator--out-of-stock,
.stock.out-of-stock {
	color: var(--wp--preset--color--accent-4);
}

/* Bilgi kartı (kargo, teslimat, taksit, iade). */
.vitrin-buybox-info {
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
}

.vitrin-info-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	font-size: var(--wp--preset--font-size--small);
}

.vitrin-buybox-info .vitrin-info-row + .vitrin-info-row {
	border-top: var(--vitrin-card-border);
}

.vitrin-buybox-info .vitrin-info-row:empty {
	display: none;
}

.vitrin-info-row--dispatch {
	--vitrin-icon: var(--vitrin-icon-truck);
	font-weight: 600;
}

.vitrin-info-row--dispatch::before {
	color: var(--wp--preset--color--success);
}

.vitrin-info-row--delivery {
	--vitrin-icon: var(--vitrin-icon-calendar);
}

.vitrin-info-row--installment {
	--vitrin-icon: var(--vitrin-icon-card);
}

.vitrin-info-row--returns {
	--vitrin-icon: var(--vitrin-icon-return);
}

/* Mobil yapışkan satın alma çubuğu */
.vitrin-sticky-buy {
	display: none;
}

@media (max-width: 781px) {
	.vitrin-sticky-buy {
		position: fixed;
		inset: auto 0 0;
		z-index: 60;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--wp--preset--color--base);
		box-shadow: 0 -8px 24px rgba(23, 24, 28, 0.12);
		transform: translateY(110%);
		transition: transform 0.25s ease;
	}

	.vitrin-sticky-buy.is-visible {
		transform: none;
	}

	.vitrin-sticky-buy__info {
		display: flex;
		flex: 1;
		flex-direction: column;
		min-width: 0;
	}

	.vitrin-sticky-buy__title {
		overflow: hidden;
		font-size: 0.8125rem;
		color: var(--wp--preset--color--accent-4);
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.vitrin-sticky-buy__price {
		font-family: var(--wp--preset--font-family--outfit);
		font-weight: 700;
		font-size: 1.125rem;
	}

	.vitrin-sticky-buy__price del {
		font-size: 0.75em;
		font-weight: 400;
		color: var(--wp--preset--color--accent-4);
	}

	.vitrin-sticky-buy__price ins {
		text-decoration: none;
	}

	.vitrin-sticky-buy__button {
		flex: none;
	}

	body.has-sticky-buy .wp-site-blocks {
		padding-bottom: 76px;
	}
}

/* ==========================================================================
   Mağaza / kategori
   ========================================================================== */

.vitrin-side-card {
	margin-bottom: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--40);
	border: var(--vitrin-card-border);
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
}

.vitrin-side-card__title {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--30);
}

.vitrin-side-card--help {
	border-color: transparent;
	background: var(--wp--preset--color--accent-2);
}

.vitrin-cat-list ul {
	margin: 0;
	padding-inline-start: 0;
	list-style: none;
}

.vitrin-cat-list li {
	margin: 0;
}

.vitrin-cat-list li a {
	display: flex;
	justify-content: space-between;
	padding: 6px 10px;
	border-radius: var(--wp--custom--radius--sm);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
}

.vitrin-cat-list li a:hover {
	background: var(--wp--preset--color--accent-5);
}

.vitrin-cat-list .wc-block-product-categories-list-item-count {
	color: var(--wp--preset--color--accent-4);
	font-variant-numeric: tabular-nums;
}

.vitrin-cat-list .wc-block-product-categories-list-item-count::before,
.vitrin-cat-list .wc-block-product-categories-list-item-count::after {
	content: "";
}

.vitrin-cat-list ul ul {
	padding-inline-start: 10px;
}

/* Araç çubuğu: başlığın hemen altına yapışır; yapışınca gölge alır. */
.vitrin-shop__toolbar {
	position: sticky;
	top: calc(var(--vitrin-header-offset, 120px) + 10px);
	z-index: 20;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start !important;
	gap: 10px 12px;
	padding: 8px 8px 8px 16px;
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--pill);
	background: color-mix(in srgb, var(--vitrin-card-bg) 88%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	transition: var(--vitrin-sticky-transition), box-shadow 0.25s ease, border-color 0.25s ease;
}

.vitrin-shop__toolbar.is-stuck {
	border-color: transparent;
	box-shadow: 0 10px 28px rgba(23, 24, 28, 0.12);
}

.vitrin-shop__sentinel {
	height: 1px;
	margin-bottom: -1px;
}

.vitrin-shop__toolbar .wp-block-woocommerce-product-results-count {
	margin: 0 auto 0 0 !important;
}

.vitrin-shop__toolbar .woocommerce-result-count,
.vitrin-shop__toolbar .wc-block-product-results-count,
.vitrin-shop__toolbar .woocommerce-ordering {
	margin: 0;
}

.vitrin-shop__toolbar .wp-block-woocommerce-catalog-sorting {
	margin: 0 !important;
}

.vitrin-shop__toolbar .woocommerce-ordering select {
	min-height: 40px;
	padding: 0.45rem 2.25rem 0.45rem 1rem;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--accent-5);
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
}

/* Yoğunluk seçici */
.vitrin-density {
	display: inline-flex;
	padding: 3px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-5);
}

.vitrin-density__btn {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 34px;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--accent-4);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.vitrin-density__btn[aria-pressed="true"] {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 1px 3px rgba(23, 24, 28, 0.12);
}

.wc-block-product-template.is-relayout > li {
	animation: vitrin-fade-up 0.32s ease both;
}

/* Mobil çekmece düğmesi (yalnızca mobilde görünür). */
.vitrin-drawer-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
}

.vitrin-drawer-close,
.vitrin-drawer-backdrop {
	display: none;
}

/* Masaüstü: kenar çubuğu da yapışkan; uzun listeler kendi içinde kayar. */
@media (min-width: 782px) {
	.vitrin-shop__sidebar {
		position: sticky;
		top: calc(var(--vitrin-header-offset, 120px) + 10px);
		align-self: flex-start;
		max-height: calc(100vh - var(--vitrin-header-offset, 120px) - 20px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		transition: var(--vitrin-sticky-transition);
	}
}

@media (max-width: 781px) {
	.vitrin-shop__toolbar {
		padding: 8px;
		border-radius: var(--wp--custom--radius--md);
	}

	.vitrin-shop__toolbar .wp-block-woocommerce-product-results-count {
		order: 9;
		flex-basis: 100%;
		margin: 0 0 0 6px !important;
		font-size: 0.8125rem;
	}

	.vitrin-shop__toolbar .wp-block-woocommerce-catalog-sorting {
		flex: 1;
	}

	.vitrin-shop__toolbar .woocommerce-ordering,
	.vitrin-shop__toolbar .woocommerce-ordering select {
		width: 100%;
	}

	.vitrin-drawer-toggle {
		display: inline-flex;
	}

	/* JS yoksa kenar çubuğu ürünlerin altında kalır. */
	.vitrin-shop > .vitrin-shop__sidebar {
		order: 2;
	}

	/* Kenar çubuğu → alttan açılan çekmece */
	.vitrin-shop.has-drawer > .vitrin-shop__sidebar {
		position: fixed;
		inset: auto 0 0;
		z-index: 100;
		max-height: 82vh;
		margin: 0 !important;
		padding: 56px 16px calc(16px + env(safe-area-inset-bottom));
		overflow-y: auto;
		border-radius: 20px 20px 0 0;
		background: var(--wp--preset--color--base);
		box-shadow: 0 -12px 40px rgba(23, 24, 28, 0.2);
		transform: translateY(105%);
		visibility: hidden;
		transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.32s;
	}

	.vitrin-drawer-open .vitrin-shop.has-drawer > .vitrin-shop__sidebar {
		transform: none;
		visibility: visible;
		transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.vitrin-shop.has-drawer > .vitrin-shop__sidebar::before {
		content: "";
		position: absolute;
		top: 10px;
		left: 50%;
		width: 40px;
		height: 4px;
		border-radius: 4px;
		background: var(--wp--preset--color--accent-6);
		transform: translateX(-50%);
	}

	.vitrin-drawer-close {
		position: absolute;
		top: 12px;
		right: 12px;
		display: inline-grid;
		place-items: center;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 50%;
		background: var(--wp--preset--color--accent-5);
		color: var(--wp--preset--color--contrast);
		cursor: pointer;
	}

	.vitrin-drawer-backdrop {
		position: fixed;
		inset: 0;
		z-index: 99;
		display: block;
		background: rgba(23, 24, 28, 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
	}

	.vitrin-drawer-open .vitrin-drawer-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.vitrin-drawer-open {
		overflow: hidden;
	}
}

/* Sayfalama: yuvarlak kutular, etkin sayfa sarı; kartların altından belirgin boşlukla ayrılır. */
.vitrin-products .wp-block-query-pagination {
	gap: 6px;
	margin-top: var(--wp--preset--spacing--70) !important;
	margin-bottom: var(--wp--preset--spacing--40);
}

.vitrin-products .wp-block-query-pagination-numbers {
	display: flex;
	gap: 6px;
}

.vitrin-products .wp-block-query-pagination .page-numbers,
.vitrin-products .wp-block-query-pagination-previous,
.vitrin-products .wp-block-query-pagination-next {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--pill);
	text-decoration: none;
	font-weight: 600;
}

.vitrin-products .wp-block-query-pagination .page-numbers.current {
	border-color: var(--wp--preset--color--accent-1);
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
}

/* ==========================================================================
   "Alışverişe devam et" (sayfa başlığı eylemi; başlık: blocks/page-header)
   ========================================================================== */

.vitrin-back-link {
	margin: 0;
}

.vitrin-back-link a {
	--vitrin-icon: var(--vitrin-icon-arrow-left);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
}

.vitrin-back-link a::before {
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   Sepet ve ödeme blokları
   ========================================================================== */

/* Sol sütun ve sağ özet birer kart. */
.wp-block-woocommerce-cart .wc-block-cart__main,
.wp-block-woocommerce-cart .wc-block-cart__sidebar > .wp-block-woocommerce-cart-totals-block,
.wp-block-woocommerce-checkout .wc-block-checkout__main,
.wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50) !important;
	border: var(--vitrin-card-border);
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
}

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
	margin-top: 0;
}

@media (min-width: 782px) {
	.wp-block-woocommerce-cart .wc-block-cart__sidebar,
	.wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
		position: sticky;
		top: calc(var(--vitrin-header-offset, 150px) + 24px);
		transition: var(--vitrin-sticky-transition);
		align-self: flex-start;
	}

	.vitrin-checkout-page .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
		top: 24px;
	}
}

.wc-block-cart-items__header,
.wc-block-components-checkout-step__title,
.wc-block-components-totals-wrapper .wc-block-components-panel__button,
.wc-block-cart__totals-title {
	font-family: var(--wp--preset--font-family--outfit) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
}

.wc-block-cart-items__header {
	color: var(--wp--preset--color--accent-4);
	font-size: var(--wp--preset--font-size--small) !important;
	text-transform: none !important;
}

.wc-block-cart-item__image img {
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--accent-5);
}

.wc-block-components-product-name {
	font-weight: 600;
	text-decoration: none;
}

.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.wc-block-components-formatted-money-amount {
	font-variant-numeric: tabular-nums;
}

.wc-block-components-product-price del {
	color: var(--wp--preset--color--accent-4);
}

.wc-block-components-product-price ins {
	color: inherit;
	text-decoration: none;
}

/* Sepetteki "indirim" rozetleri yeşil. */
.wc-block-components-sale-badge,
.wc-block-components-product-badge.wc-block-components-sale-badge {
	border-color: var(--wp--preset--color--sale) !important;
	background: var(--wp--preset--color--sale) !important;
	color: #fff !important;
	border-radius: var(--wp--custom--radius--pill) !important;
	font-weight: 700;
}

.wc-block-components-quantity-selector {
	border-radius: var(--wp--custom--radius--pill) !important;
	overflow: hidden;
}

.wc-block-components-quantity-selector::after {
	border-color: var(--wp--preset--color--accent-6) !important;
	border-radius: var(--wp--custom--radius--pill) !important;
}

.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-family: var(--wp--preset--font-family--outfit);
	font-size: var(--wp--preset--font-size--large) !important;
	font-weight: 800 !important;
}

/* Ana eylem butonları: tam genişlik, marka sarısı, siyah yazı. */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained {
	min-height: 56px;
	border-radius: var(--wp--custom--radius--pill) !important;
	background: var(--wp--preset--color--accent-1) !important;
	color: #17181c !important;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: var(--wp--preset--font-size--medium) !important;
	font-weight: 700 !important;
	box-shadow: none !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover {
	background: var(--wp--preset--color--accent-7) !important;
}

/* Form alanları: daha yumuşak köşeler. */
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	border-radius: var(--wp--custom--radius--md) !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 20%, transparent) !important;
}

/* Ödeme yöntemi seçimi: kart görünümlü radyo satırları. */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option {
	border-radius: var(--wp--custom--radius--md);
}

.wc-block-components-radio-control--highlight-checked::after {
	border-radius: var(--wp--custom--radius--md) !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-1) !important;
	background: color-mix(in srgb, var(--wp--preset--color--accent-1) 8%, transparent);
}

.wc-block-components-radio-control__input:checked,
.wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--wp--preset--color--contrast) !important;
	background: var(--wp--preset--color--contrast) !important;
}

.wc-block-components-checkbox__mark {
	fill: var(--wp--preset--color--base) !important;
}

/* Kupon alanı */
.wc-block-components-totals-coupon__button {
	border-radius: var(--wp--custom--radius--pill) !important;
}

/* Boş sepet */
.wp-block-woocommerce-empty-cart-block {
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
	border: 2px dashed var(--wp--preset--color--accent-6);
	border-radius: var(--vitrin-card-radius);
	text-align: center;
}

/* Güvence şeridi */
.vitrin-assurance {
	gap: var(--wp--preset--spacing--30) !important;
}

.vitrin-assurance__item {
	position: relative;
	padding: 16px 16px 16px 56px;
	border-radius: var(--wp--custom--radius--md);
	background: var(--vitrin-card-bg);
	border: var(--vitrin-card-border);
}

.vitrin-assurance__item p {
	margin: 0;
}

.vitrin-assurance__item::before {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 24px;
	height: 24px;
	padding: 0;
	color: var(--wp--preset--color--contrast);
}

.vitrin-assurance__item--secure {
	--vitrin-icon: var(--vitrin-icon-lock);
}

.vitrin-assurance__item--returns {
	--vitrin-icon: var(--vitrin-icon-return);
}

.vitrin-assurance__item--original {
	--vitrin-icon: var(--vitrin-icon-badge);
}

.vitrin-assurance__item--support {
	--vitrin-icon: var(--vitrin-icon-support);
}

/* Ödeme başlığı */
.vitrin-secure {
	--vitrin-icon: var(--vitrin-icon-shield);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-weight: 600;
	white-space: nowrap;
}

.vitrin-checkout-header__steps {
	flex: 1;
	max-width: 520px;
}

@media (max-width: 781px) {
	.vitrin-checkout-header .alignwide.is-layout-flex {
		flex-wrap: wrap !important;
		row-gap: var(--wp--preset--spacing--20);
	}

	.vitrin-checkout-header .vitrin-secure {
		font-size: 0.8125rem;
	}

	.vitrin-checkout-header__steps {
		order: 3;
		flex-basis: 100%;
		max-width: none;
	}
}

.vitrin-payments--light span {
	border-color: var(--wp--preset--color--accent-6) !important;
	color: var(--wp--preset--color--accent-4);
}

/* ==========================================================================
   Sipariş onayı
   ========================================================================== */

.vitrin-thankyou {
	padding: var(--wp--preset--spacing--50);
	border-radius: var(--vitrin-card-radius);
	background: var(--wp--preset--color--accent-2);
	text-align: center;
}

.vitrin-thankyou::before {
	content: "✓";
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto var(--wp--preset--spacing--30);
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-size: 32px;
	font-weight: 800;
}

.vitrin-thankyou .wc-block-order-confirmation-status {
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 800;
}

.vitrin-thankyou .wc-block-order-confirmation-summary-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 32px;
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
}

.vitrin-next-steps__item {
	position: relative;
	padding: 16px 16px 16px 48px;
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
}

.vitrin-next-steps__item p {
	margin: 0;
}

.vitrin-next-steps__item::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 18px;
	width: 14px;
	height: 14px;
	border: 2px solid var(--wp--preset--color--accent-6);
	border-radius: 50%;
}

.vitrin-next-steps__item.is-done::before {
	border-color: var(--wp--preset--color--success);
	background: var(--wp--preset--color--success);
}

.vitrin-order-confirmation .wc-block-order-confirmation-totals table {
	width: 100%;
	border-collapse: collapse;
}

.vitrin-order-confirmation .wc-block-order-confirmation-totals th,
.vitrin-order-confirmation .wc-block-order-confirmation-totals td {
	padding: 12px 0;
	border-bottom: var(--vitrin-card-border);
}

.vitrin-addresses .wp-block-column {
	padding: var(--wp--preset--spacing--40);
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
}

/* ==========================================================================
   Hesabım (inc/account.php, woocommerce/myaccount/dashboard.php)
   Masaüstü: [profil · menü · yardım] | [içerik]   Mobil: profil · menü çipleri · içerik · yardım
   ========================================================================== */

/* WooCommerce'ün clearfix sözde öğeleri ızgarada boş hücre kaplamasın. */
.vitrin-account-page .woocommerce::before,
.vitrin-account-page .woocommerce::after {
	display: none !important;
}

.vitrin-account--member .vitrin-account-page .woocommerce {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	align-items: start;
}

.vitrin-account--member .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.vitrin-account-profile,
.woocommerce-account .woocommerce-MyAccount-navigation,
.vitrin-account-help {
	grid-column: 1;
}

.woocommerce-account .woocommerce-MyAccount-content {
	grid-column: 2;
	grid-row: 1 / span 3;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}

/* Profil kartı */
.vitrin-account-profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: var(--wp--preset--spacing--40);
	border-radius: var(--vitrin-card-radius);
	background: #17181c;
	color: #fff;
}

.vitrin-account-profile__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.25rem;
	font-weight: 800;
}

.vitrin-account-profile__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.35;
}

.vitrin-account-profile__text strong {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.0625rem;
}

.vitrin-account-profile__text span,
.vitrin-account-profile__text small {
	overflow: hidden;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8125rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vitrin-account-profile__text small {
	color: var(--wp--preset--color--accent-1);
	white-space: normal;
}

/* Menü */
.woocommerce-account .woocommerce-MyAccount-navigation {
	padding: 8px;
	border: var(--vitrin-card-border);
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: var(--wp--custom--radius--md);
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--vitrin-icon) center / contain no-repeat;
	mask: var(--vitrin-icon) center / contain no-repeat;
	opacity: 0.75;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--wp--preset--color--accent-5);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--wp--preset--color--accent-2);
	font-weight: 700;
	box-shadow: inset 3px 0 0 var(--wp--preset--color--accent-1);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
	opacity: 1;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px !important;
	padding-top: 6px;
	border-top: var(--vitrin-card-border);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--wp--preset--color--accent-4);
}

.woocommerce-MyAccount-navigation-link--dashboard a { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads a { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M5 21h14'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods a { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 17l-5-5 5-5M5 12h11'/%3E%3C/svg%3E"); }

/* Yardım kutusu */
.vitrin-account-help {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: var(--wp--preset--spacing--40);
	border-radius: var(--vitrin-card-radius);
	background: var(--wp--preset--color--accent-2);
	font-size: var(--wp--preset--font-size--small);
}

.vitrin-account-help strong {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1rem;
}

.vitrin-account-help .vitrin-wa {
	margin-top: 10px;
}

/* İçerik kartı */
.woocommerce-account .woocommerce-MyAccount-content {
	min-height: 100%;
	padding: var(--wp--preset--spacing--50);
	border: var(--vitrin-card-border);
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
}

.woocommerce-account .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3) {
	font-family: var(--wp--preset--font-family--outfit);
}

/* ---------- Genel bakış ---------- */
.vitrin-dash {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
}

.vitrin-dash__hello h2 {
	margin: 0 0 4px;
	font-size: var(--wp--preset--font-size--x-large);
}

.vitrin-dash__hello p {
	margin: 0;
	color: var(--wp--preset--color--accent-4);
}

.vitrin-dash__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.vitrin-dash__stats > div {
	padding: 16px 18px;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--accent-5);
}

.vitrin-dash__stats dt {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.8125rem;
}

.vitrin-dash__stats dd {
	margin: 4px 0 0;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.vitrin-dash__card {
	padding: var(--wp--preset--spacing--40);
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
}

.vitrin-dash__card h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
}

.vitrin-dash__card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.vitrin-dash__latest-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.vitrin-dash__thumbs {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vitrin-dash__thumbs li {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-inline-end: -10px;
	border: 2px solid var(--wp--preset--color--base);
	border-radius: 12px;
	background: var(--wp--preset--color--accent-5);
	overflow: hidden;
}

.vitrin-dash .vitrin-dash__thumbs img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 3px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.vitrin-dash__thumbs .is-more {
	font-size: 0.8125rem;
	font-weight: 700;
}

.vitrin-dash__latest-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-inline-start: 10px;
}

.vitrin-dash__latest-meta span {
	color: var(--wp--preset--color--accent-4);
	font-size: var(--wp--preset--font-size--small);
}

.vitrin-dash__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 18px;
}

.vitrin-dash__actions .wp-element-button,
.vitrin-dash__empty .wp-element-button {
	padding: 0.65em 1.3em;
	font-size: 0.9375rem;
	text-decoration: none;
}

.vitrin-dash__secondary {
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 600;
}

.vitrin-dash__empty {
	text-align: center;
	background: var(--wp--preset--color--accent-5);
	border-style: dashed;
}

.vitrin-dash__empty p {
	margin: 6px 0 16px;
	color: var(--wp--preset--color--accent-4);
}

.vitrin-dash__tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
}

.vitrin-dash__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px;
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
	color: var(--wp--preset--color--contrast);
	text-decoration: none !important;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.vitrin-dash__tile::before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 10px;
	border-radius: 12px;
	background:
		var(--vitrin-icon) center / 20px no-repeat,
		var(--wp--preset--color--accent-2);
}

.vitrin-dash__tile span {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.8125rem;
}

.vitrin-dash__tile:hover {
	border-color: var(--wp--preset--color--accent-1);
	box-shadow: 0 10px 24px rgba(23, 24, 28, 0.08);
	transform: translateY(-2px);
}

.vitrin-dash__tile--orders { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.vitrin-dash__tile--address { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.vitrin-dash__tile--account { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.vitrin-dash__tile--shop { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6.2'/%3E%3Ccircle cx='10' cy='20.5' r='1.2'/%3E%3Ccircle cx='17' cy='20.5' r='1.2'/%3E%3C/svg%3E"); }

/* Durum rozetleri */
.vitrin-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--accent-3);
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
}

.vitrin-status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.vitrin-status--processing,
.vitrin-status--on-hold {
	background: var(--wp--preset--color--accent-2);
	color: #8a5a00;
}

.vitrin-status--completed {
	background: color-mix(in srgb, var(--wp--preset--color--success) 12%, transparent);
	color: var(--wp--preset--color--success);
}

.vitrin-status--cancelled,
.vitrin-status--failed,
.vitrin-status--refunded {
	background: #fdecec;
	color: #b42318;
}

/* ---------- Siparişler tablosu ---------- */
.woocommerce-account .woocommerce-orders-table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.woocommerce-account .woocommerce-orders-table th {
	padding: 0 12px 10px;
	border: 0;
	border-bottom: var(--vitrin-card-border);
	color: var(--wp--preset--color--accent-4);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: start;
	text-transform: uppercase;
}

.woocommerce-account .woocommerce-orders-table td {
	padding: 14px 12px;
	border: 0;
	border-bottom: var(--vitrin-card-border);
	background: none;
	text-align: start;
	vertical-align: middle;
}

.woocommerce-account .woocommerce-orders-table tbody tr {
	transition: background-color 0.15s ease;
}

.woocommerce-account .woocommerce-orders-table tbody tr:hover {
	background: var(--wp--preset--color--accent-5);
}

.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	text-align: end !important;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-pagination .button {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	margin: 2px;
	padding: 0 14px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover {
	border-color: var(--wp--preset--color--accent-1);
	background: var(--wp--preset--color--accent-2);
}

.woocommerce-account .woocommerce-MyAccount-content :is(button[type="submit"], .button.alt, .woocommerce-Button) {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
}

/* Boş durum bildirimi (ör. "Henüz sipariş verilmedi") */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 18px 18px 50px;
	border: 1px dashed var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--accent-5);
}

/* ---------- Adresler ---------- */
.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--40);
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
	display: none;
}

.woocommerce-account .woocommerce-Address {
	float: none !important;
	width: auto !important;
	padding: var(--wp--preset--spacing--40);
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
}

.woocommerce-account .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.woocommerce-account .woocommerce-Address-title h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
}

.woocommerce-account .woocommerce-Address-title .edit {
	font-size: 0.875rem;
	font-weight: 600;
}

.woocommerce-account .woocommerce-Address address {
	color: var(--wp--preset--color--accent-4);
	font-style: normal;
	line-height: 1.6;
}

/* ---------- Formlar (adres, hesap bilgileri) ---------- */
.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--wp--preset--spacing--30);
}

.woocommerce-account .woocommerce-MyAccount-content .form-row {
	float: none !important;
	width: auto !important;
	margin: 0 0 16px;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content :is(.form-row-wide, fieldset, .woocommerce-EditAccountForm > p:not(.form-row-first, .form-row-last), .clear) {
	grid-column: 1 / -1;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
	margin: 8px 0 16px;
	padding: var(--wp--preset--spacing--40);
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
}

.woocommerce-account .woocommerce-MyAccount-content legend {
	padding: 0 6px;
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 700;
}

.woocommerce-account :is(.woocommerce-MyAccount-content, form.login, form.register) label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.875rem;
	font-weight: 600;
}

.woocommerce-account :is(.woocommerce-MyAccount-content, form.login, form.register) :is(.input-text, select, textarea) {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--base);
	font: inherit;
}

.woocommerce-account .woocommerce-MyAccount-content .select2-container .select2-selection--single {
	height: 48px;
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent);
	border-radius: var(--wp--custom--radius--md);
}

.woocommerce-account .woocommerce-MyAccount-content .select2-container .select2-selection__rendered {
	padding-inline: 1rem;
	line-height: 46px;
}

.woocommerce-account .woocommerce-MyAccount-content .select2-container .select2-selection__arrow {
	height: 46px;
}

.woocommerce-account .woocommerce-MyAccount-content em {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.8125rem;
}

/* ---------- Sipariş detayı ---------- */
.woocommerce-account .woocommerce-MyAccount-content > p:first-child mark {
	padding: 2px 8px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-2);
	color: inherit;
	font-weight: 700;
}

.woocommerce-account :is(.woocommerce-order-details, .woocommerce-customer-details) {
	margin-top: var(--wp--preset--spacing--40);
}

.woocommerce-account .woocommerce-table--order-details {
	width: 100%;
	border: var(--vitrin-card-border);
	border-radius: var(--wp--custom--radius--md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.woocommerce-account .woocommerce-table--order-details :is(th, td) {
	padding: 12px 16px;
	border: 0;
	border-bottom: var(--vitrin-card-border);
	text-align: start;
}

.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child :is(th, td) {
	border-bottom: 0;
	background: var(--wp--preset--color--accent-5);
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.0625rem;
}

.woocommerce-account .woocommerce-customer-details address {
	padding: var(--wp--preset--spacing--40);
	border: var(--vitrin-card-border) !important;
	border-radius: var(--wp--custom--radius--md);
	font-style: normal;
	line-height: 1.6;
}

/* ---------- Giriş / üye ol (woocommerce/myaccount/form-login.php) ---------- */
.vitrin-auth {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	max-width: 1040px;
	margin-inline: auto;
	overflow: hidden;
	border: var(--vitrin-card-border);
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
	box-shadow: 0 18px 50px rgba(23, 24, 28, 0.08);
}

.vitrin-auth [hidden] {
	display: none !important;
}

/* Sol panel */
.vitrin-auth__side {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--wp--preset--spacing--60);
	overflow: hidden;
	background: #17181c;
	color: #fff;
	isolation: isolate;
}

.vitrin-auth__side::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -90px;
	z-index: -1;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent-1) 38%, transparent), transparent 70%);
}

.vitrin-auth__eyebrow {
	align-self: flex-start;
	padding: 5px 12px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.vitrin-auth__headline {
	margin: 4px 0 0;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.vitrin-auth__lead {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.55;
}

.vitrin-auth__benefits {
	display: grid;
	gap: 14px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.vitrin-auth__benefit {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	column-gap: 14px;
	align-items: center;
	font-size: 0.875rem;
}

.vitrin-auth__benefit::before {
	content: "";
	grid-row: span 2;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background:
		var(--vitrin-icon) center / 20px no-repeat,
		var(--wp--preset--color--accent-1);
}

.vitrin-auth__benefit strong {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1rem;
}

.vitrin-auth__benefit span {
	color: rgba(255, 255, 255, 0.64);
}

.vitrin-auth__benefit--truck { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E"); }
.vitrin-auth__benefit--bolt { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.vitrin-auth__benefit--repeat { --vitrin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2l4 4-4 4'/%3E%3Cpath d='M3 11V9a3 3 0 0 1 3-3h15M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v2a3 3 0 0 1-3 3H3'/%3E%3C/svg%3E"); }

.vitrin-auth__help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.875rem;
}

.vitrin-auth__help .vitrin-wa {
	margin: 0;
}

/* Sağ kart */
.vitrin-auth__card {
	display: flex;
	flex-direction: column;
	padding: var(--wp--preset--spacing--60);
}

.vitrin-auth__card .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 16px;
}

.vitrin-auth__tabs {
	display: none;
	gap: 4px;
	margin-bottom: var(--wp--preset--spacing--40);
	padding: 4px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-5);
}

.vitrin-auth.is-enhanced .vitrin-auth__tabs {
	display: flex;
}

.vitrin-auth__tab {
	flex: 1;
	min-height: 44px;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--accent-4);
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vitrin-auth__tab[aria-selected="true"] {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 2px 10px rgba(23, 24, 28, 0.1);
}

.vitrin-auth__tab:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast);
	outline-offset: 2px;
}

/* JavaScript yokken iki form alt alta, başlıklarıyla. */
.vitrin-auth__panel + .vitrin-auth__panel {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.vitrin-auth.is-enhanced .vitrin-auth__panel + .vitrin-auth__panel {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.vitrin-auth__title {
	margin: 0 0 16px;
	font-size: var(--wp--preset--font-size--large);
}

.vitrin-auth.is-enhanced .vitrin-auth__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vitrin-auth .form-row {
	margin: 0 0 14px;
	padding: 0;
}

.vitrin-auth .input-text {
	box-sizing: border-box;
}

.vitrin-auth .input-text:focus {
	border-color: var(--wp--preset--color--contrast);
	outline: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent-1) 45%, transparent);
}

.vitrin-auth .password-input {
	display: block;
	position: relative;
}

.vitrin-auth .password-input .input-text {
	padding-inline-end: 52px;
}

/* WooCommerce'in "şifreyi göster" düğmesi: alanın içinde göz simgesi. */
.vitrin-auth .show-password-input {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	color: var(--wp--preset--color--accent-4);
	transform: translateY(-50%);
	cursor: pointer;
}

.vitrin-auth .show-password-input::before,
.vitrin-auth .show-password-input::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Şifre görünürken simgenin üstü çizili. */
.vitrin-auth .show-password-input::after {
	display: none;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	-webkit-mask: none;
	mask: none;
	transform: rotate(-45deg);
	box-shadow: 0 0 0 1.5px var(--wp--preset--color--base);
}

.vitrin-auth .show-password-input.display-password::after {
	display: block;
}

.vitrin-auth .show-password-input:hover {
	color: var(--wp--preset--color--contrast);
}

.vitrin-auth__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 2px 0 16px;
	font-size: 0.875rem;
}

.woocommerce-account .vitrin-auth .woocommerce-form-login__rememberme {
	margin: 0;
}

.vitrin-auth__forgot {
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
}

.vitrin-auth__note {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--accent-4);
	font-size: 0.875rem;
}

.vitrin-auth .woocommerce-privacy-policy-text {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.vitrin-auth .woocommerce-privacy-policy-text p {
	margin: 0 0 14px;
}

.vitrin-auth__switch {
	margin: 18px 0 0;
	color: var(--wp--preset--color--accent-4);
	font-size: 0.9375rem;
	text-align: center;
}

.vitrin-auth__switch a {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

.vitrin-auth__guest {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin-top: var(--wp--preset--spacing--40);
	border: 1.5px solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color 0.15s ease;
}

.vitrin-auth__guest::after {
	content: "→";
}

.vitrin-auth__guest:hover {
	border-color: var(--wp--preset--color--contrast);
}

/* Mobil: önce form, avantajlar altta. */
@media (max-width: 781px) {
	.vitrin-auth {
		grid-template-columns: minmax(0, 1fr);
	}

	.vitrin-auth__card {
		order: -1;
		padding: var(--wp--preset--spacing--40) 18px;
	}

	.vitrin-auth__side {
		gap: 10px;
		padding: var(--wp--preset--spacing--40) 18px;
	}

	.vitrin-auth__headline {
		font-size: 1.5rem;
	}
}

.woocommerce-account .u-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--wp--preset--spacing--40);
}

.woocommerce-account .u-columns::before,
.woocommerce-account .u-columns::after {
	display: none;
}

.woocommerce-account .u-columns > .u-column1,
.woocommerce-account .u-columns > .u-column2 {
	float: none;
	width: auto;
	padding: var(--wp--preset--spacing--50);
	border: var(--vitrin-card-border);
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
}

.woocommerce-account .u-columns h2 {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--large);
}

.woocommerce-account :is(form.login, form.register) {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.woocommerce-account .u-column1:only-child,
.vitrin-account--guest .woocommerce > form.login {
	max-width: 480px;
	margin-inline: auto !important;
}

.vitrin-account--guest .woocommerce > form.login {
	padding: var(--wp--preset--spacing--50) !important;
	border: var(--vitrin-card-border) !important;
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
}

.woocommerce-account :is(form.login, form.register) .button {
	width: 100%;
	min-height: 50px;
	margin-top: 4px;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.woocommerce-account form.login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-weight: 500;
}

.woocommerce-account form.login .lost_password {
	margin: 14px 0 0;
	text-align: center;
	font-size: 0.875rem;
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1023px) {
	.vitrin-account--member .vitrin-account-page .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.vitrin-account-profile,
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content,
	.vitrin-account-help {
		grid-column: 1;
		grid-row: auto;
	}

	/* Menü: yatay kaydırılan çipler */
	.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-inline: calc(var(--wp--style--root--padding-left, 16px) * -1);
		padding: 0 var(--wp--style--root--padding-left, 16px);
		border: 0;
		background: transparent;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar {
		display: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		gap: 8px;
		width: max-content;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a {
		min-height: 42px;
		gap: 8px;
		padding: 0 16px;
		border: var(--vitrin-card-border);
		border-radius: var(--wp--custom--radius--pill);
		background: var(--wp--preset--color--base);
		font-size: 0.875rem;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
		width: 16px;
		height: 16px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
		border-color: var(--wp--preset--color--accent-1);
		background: var(--wp--preset--color--accent-1);
		box-shadow: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0 !important;
		padding: 0;
		border: 0;
	}

	.vitrin-account-help {
		order: 10;
	}
}

@media (max-width: 781px) {
	.woocommerce-account .woocommerce-MyAccount-content {
		padding: var(--wp--preset--spacing--40);
	}

	.vitrin-dash__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.vitrin-dash__stats > div:last-child {
		grid-column: 1 / -1;
	}

	.vitrin-dash__stats > div {
		padding: 12px;
	}

	.vitrin-dash__stats dd {
		font-size: 1.25rem;
	}

	.vitrin-dash__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vitrin-dash__tile {
		padding: 14px;
	}

	.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm) {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Siparişler: satırlar karta dönüşür (WooCommerce data-title etiketleri) */
	.woocommerce-account .woocommerce-orders-table thead {
		display: none;
	}

	.woocommerce-account .woocommerce-orders-table,
	.woocommerce-account .woocommerce-orders-table tbody {
		display: block;
	}

	.woocommerce-account .woocommerce-orders-table tbody tr {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 6px 12px;
		margin-bottom: 12px;
		padding: 14px;
		border: var(--vitrin-card-border);
		border-radius: var(--wp--custom--radius--md);
	}

	.woocommerce-account .woocommerce-orders-table td {
		display: block;
		padding: 0;
		border: 0;
		text-align: start !important;
	}

	.woocommerce-account .woocommerce-orders-table td::before {
		display: none !important;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-number {
		grid-area: 1 / 1;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-status {
		grid-area: 1 / 2;
		justify-self: end;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-date {
		grid-area: 2 / 1;
		color: var(--wp--preset--color--accent-4);
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-total {
		grid-area: 2 / 2;
		justify-self: end;
		color: var(--wp--preset--color--accent-4);
		text-align: end !important;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-actions {
		grid-area: 3 / 1 / 4 / 3;
		padding-top: 6px !important;
	}
}

/* Koyu palet */
.is-dark-palette .vitrin-dash__thumbs li {
	background: #f4f5f7;
}

.is-dark-palette .vitrin-dash__thumbs img {
	mix-blend-mode: normal;
}

/* ==========================================================================
   Mini sepet çekmecesi
   ========================================================================== */

/* Arka plan: hafif bulanık karartma. */
.wc-block-components-drawer__screen-overlay:has(.wc-block-mini-cart__drawer) {
	background-color: rgba(17, 18, 21, 0.45);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.wc-block-mini-cart__drawer.wc-block-components-drawer {
	width: min(440px, 100vw);
	max-width: 100vw;
	background: var(--wp--preset--color--base);
	box-shadow: -24px 0 60px rgba(17, 18, 21, 0.18);
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Kapat: sarı dev daire yerine sade, kenardan taşmayan düğme. */
.wc-block-mini-cart__drawer .wc-block-components-drawer__close-wrapper {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close.wc-block-components-button.contained {
	position: static;
	display: grid;
	place-items: center;
	width: 40px;
	min-width: 0;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-radius: 50% !important;
	background: var(--wp--preset--color--accent-5) !important;
	color: var(--wp--preset--color--contrast) !important;
	opacity: 1;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close.wc-block-components-button.contained:hover {
	background: var(--wp--preset--color--accent-6) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close svg {
	flex: none;
	width: 22px;
	min-width: 22px;
	height: 22px;
	fill: currentColor;
}

/* Başlık: "Sepetim" + sayaç rozeti */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 20px 68px 16px 20px;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	mask-image: none;
	-webkit-mask-image: none;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-title-items-counter-block {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0;
}

/* Ücretsiz kargo çubuğu (assets/js/mini-cart.js) */
.vitrin-mc-fsb {
	margin: 0;
	padding: 12px 20px 14px;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	background: color-mix(in srgb, var(--wp--preset--color--accent-1) 12%, var(--wp--preset--color--base));
}

.vitrin-mc-fsb[hidden] {
	display: none;
}

.vitrin-mc-fsb__message {
	margin: 0 0 8px;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.vitrin-mc-fsb__track {
	height: 6px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	overflow: hidden;
}

.vitrin-mc-fsb__fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--wp--preset--color--accent-1);
	transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.vitrin-mc-fsb.is-complete {
	background: color-mix(in srgb, var(--wp--preset--color--success) 10%, var(--wp--preset--color--base));
}

.vitrin-mc-fsb.is-complete .vitrin-mc-fsb__message {
	color: var(--wp--preset--color--success);
	font-weight: 600;
}

.vitrin-mc-fsb.is-complete .vitrin-mc-fsb__fill {
	background: var(--wp--preset--color--success);
}

/* Ürün listesi */
.wc-block-mini-cart__drawer .wc-block-mini-cart__items {
	flex: 1 1 auto;
	padding: 4px 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__products-table {
	margin: 0;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-cart-items tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
	display: grid !important;
	grid-template-columns: 72px minmax(0, 1fr) auto !important;
	gap: 0 14px;
	align-items: start;
	padding: 16px 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row:last-child {
	border-bottom: 0;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row > td {
	padding: 0 !important;
	border: 0 !important;
}

/* WooCommerce ürün hücresini iki sütuna yayar; satırı üç sabit sütuna oturt. */
.wc-block-mini-cart__drawer .wc-block-cart-items__row > .wc-block-cart-item__image {
	grid-area: 1 / 1 / 2 / 2 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row > .wc-block-cart-item__product {
	grid-area: 1 / 2 / 2 / 3 !important;
	min-width: 0;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row > .wc-block-cart-item__total {
	grid-area: 1 / 3 / 2 / 4 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image,
.wc-block-mini-cart__drawer .wc-block-cart-item__image a {
	display: block;
	width: 72px;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image img {
	box-sizing: border-box;
	width: 72px;
	height: 72px;
	padding: 6px;
	border-radius: 12px;
	background: var(--wp--preset--color--accent-5);
	object-fit: contain;
	mix-blend-mode: multiply;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__product .wc-block-components-product-name:not([hidden]) {
	display: -webkit-box !important;
	margin: 0 0 4px;
	overflow: hidden;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__prices {
	margin: 0 0 10px;
	color: var(--wp--preset--color--accent-4);
	font-size: 0.8125rem;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__quantity {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
	width: auto;
	min-width: 0;
	height: 34px;
	margin: 0;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__input {
	width: 36px;
	min-width: 0;
	font-size: 0.875rem;
	font-weight: 700;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button {
	min-width: 32px;
	font-size: 1rem;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total {
	display: block;
	min-width: 0;
	text-align: end;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-components-product-price {
	font-weight: 700;
	white-space: nowrap;
}

/* Satır içi indirim: dev yeşil rozet yerine küçük yeşil metin. */
.wc-block-mini-cart__drawer .wc-block-components-product-badge.wc-block-components-sale-badge {
	display: inline-block;
	margin-top: 4px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--wp--preset--color--success) !important;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: none;
	white-space: nowrap;
}

/* Alt bölüm: ara toplam + düğmeler */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--wp--preset--color--accent-6);
	background: var(--wp--preset--color--base);
	box-shadow: 0 -10px 30px rgba(17, 18, 21, 0.06);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 14px;
	padding: 0;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__label {
	font-size: 0.9375rem;
	font-weight: 600;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.375rem;
	font-weight: 800;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description {
	flex-basis: 100%;
	margin-top: 2px;
	color: var(--wp--preset--color--accent-4);
	font-size: 0.75rem;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 10px;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0 16px;
	border-radius: 999px !important;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1rem;
	font-weight: 700;
}

/* "Sepetim" ikincil: çerçeveli; "Ödemeye git" birincil: sarı. */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button {
	border: 1.5px solid var(--wp--preset--color--accent-6) !important;
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart.wc-block-components-button:hover {
	border-color: var(--wp--preset--color--contrast) !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout.wc-block-components-button {
	border: 0 !important;
	background: var(--wp--preset--color--accent-1) !important;
	color: #17181c !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout.wc-block-components-button:hover {
	background: var(--wp--preset--color--accent-7) !important;
}

/* Boş sepet */
.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 48px 24px;
	text-align: center;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper::before {
	content: "";
	width: 88px;
	height: 88px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-5) center / 40px no-repeat
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6d74' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6.2'/%3E%3Ccircle cx='10' cy='20.5' r='1.2'/%3E%3Ccircle cx='17' cy='20.5' r='1.2'/%3E%3C/svg%3E");
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper p {
	margin: 0;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.25rem;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper p::after {
	content: "Aradığın aleti bulmak için mağazaya göz at.";
	display: block;
	margin-top: 6px;
	color: var(--wp--preset--color--accent-4);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.875rem;
	font-weight: 400;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button {
	min-height: 48px;
	margin-top: 8px;
	padding: 0 24px;
}

/* Telefonda tam genişlik. */
@media (max-width: 480px) {
	.wc-block-mini-cart__drawer.wc-block-components-drawer {
		width: 100vw;
	}

	.wc-block-mini-cart__drawer .wc-block-cart-items__row {
		grid-template-columns: 64px minmax(0, 1fr) auto !important;
		gap: 0 12px;
	}

	.wc-block-mini-cart__drawer .wc-block-cart-item__image,
	.wc-block-mini-cart__drawer .wc-block-cart-item__image a,
	.wc-block-mini-cart__drawer .wc-block-cart-item__image img {
		width: 64px;
	}

	.wc-block-mini-cart__drawer .wc-block-cart-item__image img {
		height: 64px;
	}

	/* Dar ekranda indirim zaten üstü çizili fiyatla görünüyor. */
	.wc-block-mini-cart__drawer .wc-block-components-product-badge.wc-block-components-sale-badge {
		display: none !important;
	}
}

/* ==========================================================================
   Sepet sayfası ve mini sepet ortak: ürün satırları
   ========================================================================== */

/* Ürün kısa açıklaması satırı kalabalıklaştırıyor; seçenekler (renk, beden) kalır. */
.wc-block-cart-items .wc-block-components-product-metadata__description {
	display: none;
}

.wc-block-cart-item__remove-link {
	color: var(--wp--preset--color--accent-4) !important;
	transition: color 0.15s ease;
}

.wc-block-cart-item__remove-link:hover {
	color: var(--wp--preset--color--sale, #d63638) !important;
}

.wp-block-woocommerce-cart .wc-block-cart-item__image img {
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* Dar sepet (telefon): WooCommerce ürün hücresini iki sütuna yayıp fiyatı kenardan
   taşırıyor. Satır: [görsel] [ürün] [tutar], hepsi kutunun içinde. */
.wc-block-cart.is-mobile .wc-block-cart-items,
.wc-block-cart.is-mobile .wc-block-cart-items tbody {
	display: block;
	width: 100%;
}

.wc-block-cart.is-mobile .wc-block-cart-items__row {
	grid-template-columns: 64px minmax(0, 1fr) auto !important;
	gap: 0 12px;
}

.wc-block-cart.is-mobile .wc-block-cart-items__row > td {
	padding: 0 !important;
}

.wc-block-cart.is-mobile .wc-block-cart-items__row > .wc-block-cart-item__image {
	grid-area: 1 / 1 / 2 / 2 !important;
	width: 64px;
}

.wc-block-cart.is-mobile .wc-block-cart-items__row > .wc-block-cart-item__product {
	grid-area: 1 / 2 / 2 / 3 !important;
	min-width: 0;
}

.wc-block-cart.is-mobile .wc-block-cart-items__row > .wc-block-cart-item__total {
	grid-area: 1 / 3 / 2 / 4 !important;
	text-align: end;
}

.wc-block-cart.is-mobile .wc-block-cart-item__total .wc-block-components-sale-badge {
	display: none !important;
}

/* Sepet sayfasındaki indirim rozeti: küçük yeşil metin (mini sepetle aynı dil). */
.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-sale-badge {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--wp--preset--color--success) !important;
	font-size: 0.75rem;
	font-weight: 600;
}

/* ==========================================================================
   Ödeme: sipariş özeti
   ========================================================================== */

/* Kenar çubuğu tek kart: iç özet bloğunun ikinci çerçevesi kalkar. */
@media (min-width: 782px) {
	.wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
		padding: 8px 4px !important;
	}
}

.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	border: 0 !important;
	border-radius: 0;
	background: transparent;
}

.wc-block-components-checkout-order-summary__title {
	padding-block: 12px;
	border-block: 0 !important;
}

.wc-block-components-checkout-order-summary__title-text {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.25rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em;
}

/* Ürün satırı: [görsel] [ad + birim fiyat] [tutar] */
.wc-block-components-order-summary .wc-block-components-order-summary-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
}

.wc-block-components-order-summary-item + .wc-block-components-order-summary-item {
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.wc-block-components-order-summary-item__image {
	flex: none;
	width: 56px !important;
	padding: 0 !important;
}

.wc-block-components-order-summary-item__image > img {
	box-sizing: border-box;
	width: 56px !important;
	height: 56px !important;
	max-width: none !important;
	padding: 4px;
	border-radius: 12px;
	background: var(--wp--preset--color--accent-5);
	object-fit: contain;
	mix-blend-mode: multiply;
}

.wc-block-components-order-summary-item__quantity {
	top: -6px !important;
	right: auto !important;
	left: -6px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	border: 2px solid var(--wp--preset--color--base) !important;
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
	box-shadow: none !important;
	font-size: 0.6875rem !important;
	font-weight: 700;
}

.wc-block-components-order-summary-item__description {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
	display: -webkit-box;
	margin: 0 0 2px !important;
	overflow: hidden;
	font-size: 0.875rem !important;
	font-weight: 600;
	line-height: 1.35 !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.wc-block-components-order-summary-item__description .wc-block-cart-item__prices {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.75rem;
}

.wc-block-components-order-summary-item__individual-prices del {
	margin-inline-end: 4px;
}

/* Kısa açıklama gizli; varyasyon seçenekleri (renk, beden) kalır. */
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
	display: none;
}

.wc-block-components-order-summary-item__total-price {
	flex: none;
	margin-inline-start: auto;
	padding: 0 !important;
	text-align: end;
}

.wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
}

/* Dar özet sütununda adı sıkıştırıyordu; indirim üstü çizili birim fiyatta görünüyor. */
.wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge {
	display: none !important;
}

/* Toplamlar */
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
	padding-inline: 16px;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary {
	padding-inline: 16px;
}

@media (max-width: 781px) {
	/* Telefonda özet formun içine taşınır; iç kenar boşlukları kartla çakışıyordu. */
	.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
	.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
		padding-inline: 0 !important;
	}
}

.wc-block-checkout__sidebar .wc-block-components-totals-item__label,
.wc-block-checkout__sidebar .wc-block-components-totals-item__value {
	font-size: 0.9375rem;
}

/* Ödeme: form bölümleri arasında daha az boşluk, bölüm başlıkları sade. */
.wc-block-checkout__main .wc-block-components-checkout-step {
	margin-bottom: var(--wp--preset--spacing--40) !important;
}

.wc-block-checkout__main .wc-block-components-checkout-step__heading {
	margin-bottom: 12px !important;
}

.wc-block-checkout__main .wc-block-components-checkout-step__title {
	font-size: 1.125rem !important;
}

.wc-block-checkout__main .wc-block-components-checkout-step__description {
	margin-bottom: 12px;
	color: var(--wp--preset--color--accent-4);
	font-size: 0.875rem;
}

/* Seçili teslimat / ödeme satırı: sarı kenar, hafif zemin (zaten var); açıklama metni gri. */
.wc-block-components-radio-control-accordion-content {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.875rem;
	line-height: 1.55;
}

/* Kaydedilmiş adres kartı */
.wc-block-components-address-card {
	border-radius: var(--wp--custom--radius--md) !important;
}

.wc-block-components-address-card__edit {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Güven rozetleri (ana sayfa ve ürün sayfası)
   ========================================================================== */

.vitrin-trust__item {
	position: relative;
	padding-inline-start: 60px;
	min-height: 44px;
}

.vitrin-trust__item p {
	margin: 0;
}

.vitrin-trust__item::before,
.vitrin-trust__item::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
}

.vitrin-trust__item::before {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
}

.vitrin-trust__item::after {
	top: 11px;
	left: 11px;
	width: 22px;
	height: 22px;
	background: #17181c;
	-webkit-mask: var(--vitrin-icon) center / contain no-repeat;
	mask: var(--vitrin-icon) center / contain no-repeat;
}

.vitrin-trust__item--truck { --vitrin-icon: var(--vitrin-icon-truck); }
.vitrin-trust__item--return { --vitrin-icon: var(--vitrin-icon-return); }
.vitrin-trust__item--lock { --vitrin-icon: var(--vitrin-icon-lock); }
.vitrin-trust__item--support { --vitrin-icon: var(--vitrin-icon-support); }

/* ==========================================================================
   Duyarlı düzen düzeltmeleri
   ========================================================================== */

/* Tablet (782–1079 px): ürün sayfası tek sütuna geçer, kutu yapışkan olmaz. */
@media (min-width: 782px) and (max-width: 1079px) {
	.vitrin-product.wp-block-columns {
		flex-wrap: wrap !important;
	}

	.vitrin-product > .wp-block-column {
		flex-basis: 100% !important;
	}

	.vitrin-buybox {
		position: static;
	}

	.vitrin-shop > .vitrin-shop__sidebar {
		flex-basis: 220px !important;
	}
}

/* Mobil: ürün sayfası ve sepet boşlukları. */
@media (max-width: 781px) {
	.vitrin-product.wp-block-columns {
		margin-top: var(--wp--preset--spacing--30) !important;
		gap: var(--wp--preset--spacing--40);
	}

	.wp-block-woocommerce-cart .wc-block-cart__main,
	.wp-block-woocommerce-cart .wc-block-cart__sidebar > .wp-block-woocommerce-cart-totals-block,
	.wp-block-woocommerce-checkout .wc-block-checkout__main,
	.wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
		padding: var(--wp--preset--spacing--30) !important;
		border-radius: var(--wp--custom--radius--md);
	}

	.vitrin-assurance {
		grid-template-columns: 1fr 1fr !important;
	}

	.vitrin-assurance__item {
		padding: 52px 12px 12px;
	}

	.vitrin-assurance__item::before {
		top: 14px;
		left: 12px;
	}
}

@media (max-width: 420px) {
	.vitrin-assurance {
		grid-template-columns: 1fr !important;
	}
}

/* ==========================================================================
   Sık sorulan sorular
   ========================================================================== */

.vitrin-faq .vitrin-faq__item {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.vitrin-faq .vitrin-faq__item summary {
	position: relative;
	padding: 18px 44px 18px 0;
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--medium);
	list-style: none;
	cursor: pointer;
}

.vitrin-faq .vitrin-faq__item summary::-webkit-details-marker {
	display: none;
}

.vitrin-faq .vitrin-faq__item summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 4px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-5);
	font-size: 18px;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.vitrin-faq .vitrin-faq__item[open] summary::after {
	content: "–";
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
}

.vitrin-faq .vitrin-faq__item p {
	margin: 0 0 18px;
	color: var(--wp--preset--color--accent-4);
}

/* ==========================================================================
   Ürün sayfası — modern satın alma alanı (assets/js/product.js)
   ========================================================================== */

.vitrin-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}

/* Başlık altı meta: puan · stok kodu · satış · paylaş */
.vitrin-buybox__meta {
	align-items: center;
	row-gap: 6px !important;
}

.vitrin-buybox__meta > * {
	margin: 0 !important;
}

.vitrin-sales-proof {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wp--preset--color--success);
	font-weight: 600;
}

.vitrin-sales-proof::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.vitrin-sales-proof:empty {
	display: none;
}

.vitrin-share {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto !important;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.vitrin-share:hover {
	border-color: var(--wp--preset--color--accent-1);
	background: var(--wp--preset--color--accent-2);
}

/* Canlı kargo sayacı: son 2 saatte vurgulanır. */
.vitrin-info-row--dispatch strong {
	color: var(--wp--preset--color--success);
}

.vitrin-info-row--dispatch.is-urgent {
	background: color-mix(in srgb, var(--wp--preset--color--accent-1) 16%, transparent);
}

/* Bölüm menüsü ile birlikte ayrıntı alanı */
.vitrin-product-details-wrap .vitrin-faq {
	margin-top: var(--wp--preset--spacing--60) !important;
}

/* Mobil: galeri ve satın alma alanı arası */
@media (max-width: 781px) {
	.vitrin-buybox .wp-block-post-title {
		font-size: 1.5rem !important;
	}

	.vitrin-share span {
		display: none;
	}

	.vitrin-share {
		padding: 8px;
	}
}

/* Kenar çubuğu kategori listesi: ad solda, sayı sağda (Woo sayıyı bağlantının dışına basar). */
.vitrin-cat-list .wc-block-product-categories-list-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
}

.vitrin-cat-list .wc-block-product-categories-list-item > a {
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 10px;
}

.vitrin-cat-list .wc-block-product-categories-list-item-count {
	flex: none;
	min-width: 28px;
	margin-inline-end: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--accent-4);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.6;
	text-align: center;
}

/* Ana kategori ikonu (inc/category-icons.php). */
.vitrin-cat-list .wc-block-product-categories-list-item > a:has(.vitrin-cat-list__icon) {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
	padding-block: 5px;
	padding-inline-start: 6px;
}

.vitrin-cat-list__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--wp--preset--color--accent-5);
	color: #17181c;
	overflow: hidden;
	transition: background-color 0.15s ease;
}

.vitrin-cat-list .vitrin-cat-list__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vitrin-cat-list .wc-block-product-categories-list-item > a:hover .vitrin-cat-list__icon,
.vitrin-cat-list .wc-block-product-categories-list-item.current-cat > a .vitrin-cat-list__icon,
.vitrin-cat-list .wc-block-product-categories-list-item > a[aria-current] .vitrin-cat-list__icon {
	background: var(--wp--preset--color--accent-1);
}

.vitrin-cat-list .wc-block-product-categories-list-item > ul {
	flex-basis: 100%;
}

.vitrin-cat-list .wc-block-product-categories-list-item.current-cat > a,
.vitrin-cat-list .wc-block-product-categories-list-item > a[aria-current] {
	background: var(--wp--preset--color--accent-2);
	font-weight: 600;
}

/* ==========================================================================
   404 ve arama sonuçları
   ========================================================================== */

.vitrin-404__code {
	margin: 0 auto;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(5rem, 18vw, 9rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.05em;
	color: var(--wp--preset--color--accent-1);
	-webkit-text-stroke: 3px #17181c;
}

.vitrin-404__search {
	max-width: 640px;
	width: 100%;
	margin-inline: auto;
}

.vitrin-404__search .vitrin-search-trigger__button {
	min-height: 56px;
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--vitrin-soft);
}

.vitrin-404__chips .vitrin-chips {
	justify-content: center;
	flex-wrap: wrap;
	overflow: visible;
}

.vitrin-404__chips {
	-webkit-mask-image: none !important;
	mask-image: none !important;
}

/* Koyu palet ("Gece"): beyaz zeminli ürün fotoğrafları kararmasın. */
.is-dark-palette :is(.vitrin-products, .vitrin-gallery, .vitrin-recent, .vitrin-search-panel, .wc-block-cart-items) img,
.is-dark-palette .vitrin-gallery__thumb img {
	mix-blend-mode: normal;
}

.is-dark-palette :is(.vitrin-products .wc-block-components-product-image, .vitrin-gallery__stage, .vitrin-gallery__thumb, .vitrin-recent__link img, .vitrin-search-panel__thumb, .vitrin-search-panel__cat-thumb) {
	background-color: #f4f5f7;
}

.is-dark-palette .vitrin-404__code {
	-webkit-text-stroke: 0;
}

/* Kenar çubuğu yardım kartı: "Uzmana sor" (WhatsApp) */
.vitrin-side-card--help .vitrin-wa {
	margin-top: var(--wp--preset--spacing--30);
}

/* ==========================================================================
   Ortak yıldızlar (inc/reviews.php → vitrin_stars)
   ========================================================================== */

.vitrin-stars {
	position: relative;
	display: inline-block;
	width: 5.2em;
	height: 1em;
	vertical-align: -0.1em;
}

.vitrin-stars::before,
.vitrin-stars::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 100%;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 16%, transparent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.5.8-4.8 4.5 1.2 6.5L12 17.3l-5.8 3.1 1.2-6.5L2.6 9.4l6.5-.8z'/%3E%3C/svg%3E") left center / 1.04em 1em repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.5.8-4.8 4.5 1.2 6.5L12 17.3l-5.8 3.1 1.2-6.5L2.6 9.4l6.5-.8z'/%3E%3C/svg%3E") left center / 1.04em 1em repeat-x;
}

.vitrin-stars::after {
	width: calc(var(--vitrin-rating, 0) / 5 * 100%);
	background: #f5a524;
}

/* ==========================================================================
   WooCommerce bildirimleri (klasik ve blok tabanlı banner)
   ========================================================================== */

:where(.woocommerce-notices-wrapper, .woocommerce) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 14px 18px 14px 50px;
	border: 0;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	list-style: none;
}

:where(.woocommerce-notices-wrapper, .woocommerce) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	content: "i";
	position: absolute;
	top: 14px;
	left: 16px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-4);
	color: #fff;
	font: 700 14px/22px var(--wp--preset--font-family--outfit);
	text-align: center;
}

:where(.woocommerce-notices-wrapper, .woocommerce) .woocommerce-message {
	background: color-mix(in srgb, var(--wp--preset--color--success) 10%, var(--wp--preset--color--base));
}

:where(.woocommerce-notices-wrapper, .woocommerce) .woocommerce-message::before {
	background: var(--wp--preset--color--success);
	content: "✓";
}

:where(.woocommerce-notices-wrapper, .woocommerce) .woocommerce-error {
	flex-direction: column;
	align-items: flex-start;
	background: #fdecec;
}

:where(.woocommerce-notices-wrapper, .woocommerce) .woocommerce-error::before {
	background: #b42318;
	content: "!";
}

:where(.woocommerce-notices-wrapper, .woocommerce) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
	order: 2;
	margin-inline-start: auto;
	padding: 0.45em 1.1em;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.wc-block-components-notice-banner {
	border-radius: var(--wp--custom--radius--md) !important;
	font-size: 0.9375rem;
}

/* ==========================================================================
   Diğer formlar: şifre sıfırlama, sipariş takibi, yazı yorumları
   ========================================================================== */

.woocommerce-account form.lost_reset_password,
.woocommerce form.track_order {
	max-width: 520px;
	margin: 0 auto !important;
	padding: var(--wp--preset--spacing--50) !important;
	border: var(--vitrin-card-border) !important;
	border-radius: var(--vitrin-card-radius);
	background: var(--vitrin-card-bg);
}

:is(form.lost_reset_password, form.track_order) > p:first-child {
	margin-top: 0;
	color: var(--wp--preset--color--accent-4);
}

:is(form.lost_reset_password, form.track_order) .form-row {
	float: none !important;
	width: auto !important;
	margin: 0 0 16px;
	padding: 0;
}

:is(form.lost_reset_password, form.track_order, .wp-block-post-comments-form) label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.875rem;
	font-weight: 600;
}

:is(form.lost_reset_password, form.track_order) .input-text,
.wp-block-post-comments-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--base);
	font: inherit;
}

:is(form.lost_reset_password, form.track_order) .button,
.wp-block-post-comments-form :is(.submit, .wp-block-button__link) {
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.wp-block-post-comments-form :is(.submit, .wp-block-button__link) {
	width: auto;
	padding: 0 28px;
}

.wp-block-post-comments-form {
	padding: var(--wp--preset--spacing--50);
	border-radius: var(--vitrin-card-radius);
	background: var(--wp--preset--color--accent-5);
}

/* Koyu palet: kategori ikonları açık çizgi, üzerine gelince sarı zeminde koyu. */
.is-dark-palette :is(.vitrin-catmenu__thumb.has-icon, .vitrin-search-panel__cat-thumb.has-icon, .vitrin-cat-list__icon, .vitrin-showcase__icon) {
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
}

.is-dark-palette :is(.vitrin-catmenu__parent:hover .vitrin-catmenu__thumb.has-icon, .vitrin-search-panel__cat:hover .vitrin-search-panel__cat-thumb.has-icon, .vitrin-cat-list .wc-block-product-categories-list-item > a:hover .vitrin-cat-list__icon, .vitrin-cat-list .current-cat > a .vitrin-cat-list__icon) {
	background: var(--wp--preset--color--accent-1);
	color: #17181c;
}
