/* OE Sepet
   Tema buton ve baslik stillerini devralmamasi icin her kural kendi on ekiyle ozgul. */

/* ---------------------------------------------------------------- tur sayfasi */

.oe-pkg-card .oe-pkg-addcart {
	display: none;
	width: 100%;
	margin: 10px 0 0;
	padding: 10px 16px;
	min-height: 44px;
	border: 1.5px solid #0057D9;
	border-radius: 999px;
	background: #FFFFFF;
	color: #0057D9;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.oe-pkg-card.is-selected .oe-pkg-addcart {
	display: flex;
}

.oe-pkg-card .oe-pkg-addcart:hover,
.oe-pkg-card .oe-pkg-addcart:focus-visible {
	background: #EEF4FF;
	color: #0046B0;
}

.oe-pkg-card .oe-pkg-addcart:disabled,
.oe-pkg-card .oe-pkg-select:disabled {
	opacity: .6;
	cursor: wait;
}

.oe-pkg-card .oe-pkg-cart-msg {
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #FFF1DC;
	color: #6B3F00;
	font-size: 13px;
	line-height: 1.45;
}

.oe-pkg-card .oe-pkg-cart-msg[hidden] {
	display: none;
}

.oe-cart-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: calc(100% - 32px);
	padding: 14px 18px;
	border-radius: 12px;
	background: #0B2545;
	color: #FFFFFF;
	font-size: 15px;
	box-shadow: 0 8px 30px rgba(11, 37, 69, .25);
	transform: translate(-50%, 140%);
	opacity: 0;
	transition: transform .25s ease, opacity .25s ease;
	pointer-events: none;
}

.oe-cart-toast.is-shown {
	transform: translate(-50%, 0);
	opacity: 1;
	pointer-events: auto;
}

.oe-cart-toast .oe-cart-toast-link {
	color: #FFFFFF;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}

/* ---------------------------------------------------------------- sepet sayfasi */

.oe-cart-root {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px 64px;
	color: #1F2937;
	box-sizing: border-box;
}

.oe-cart-root *,
.oe-cart-root *::before,
.oe-cart-root *::after {
	box-sizing: border-box;
}

.oe-cart-root .oe-cart-title {
	margin: 0 0 16px;
	font-size: 28px;
	line-height: 1.25;
	font-weight: 800;
	color: #0B2545;
	text-transform: none;
	letter-spacing: normal;
}

.oe-cart-root .oe-cart-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 32px;
	align-items: start;
}

.oe-cart-root .oe-cart-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.oe-cart-root .oe-cart-item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	border: 1px solid #E3E8EF;
	border-radius: 14px;
	background: #FFFFFF;
}

.oe-cart-root .oe-cart-item.is-invalid {
	border-color: #F2C4C4;
}

.oe-cart-root .oe-cart-item-row {
	display: flex;
	gap: 18px;
}

.oe-cart-root .oe-cart-thumb {
	flex: 0 0 120px;
	height: 90px;
	border-radius: 10px;
	background: #DCE6F2;
	overflow: hidden;
}

.oe-cart-root .oe-cart-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oe-cart-root .oe-cart-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.oe-cart-root .oe-cart-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #0B2545;
	text-decoration: none;
}

.oe-cart-root a.oe-cart-name:hover {
	text-decoration: underline;
}

.oe-cart-root .oe-cart-line {
	font-size: 14px;
	line-height: 1.45;
	color: #4B5563;
}

.oe-cart-root .oe-cart-cancel {
	color: #146C43;
}

.oe-cart-root .oe-cart-side {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.oe-cart-root .oe-cart-old {
	font-size: 13px;
	color: #6B7280;
}

.oe-cart-root .oe-cart-price {
	font-size: 18px;
	font-weight: 800;
	color: #0B2545;
}

.oe-cart-root .oe-cart-remove {
	margin-top: auto;
	padding: 8px 0;
	border: 0;
	background: none;
	color: #4B5563;
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
}

.oe-cart-root .oe-cart-remove:hover {
	color: #B42318;
	background: none;
}

.oe-cart-root .oe-cart-alert {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.oe-cart-root .oe-cart-alert.is-warn {
	background: #FFF1DC;
	color: #6B3F00;
}

.oe-cart-root .oe-cart-alert.is-error {
	background: #FDECEC;
	color: #8A1C1C;
}

.oe-cart-root .oe-cart-summary {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border: 1px solid #E3E8EF;
	border-radius: 14px;
	background: #FFFFFF;
}

.oe-cart-root .oe-cart-sum-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.oe-cart-root .oe-cart-sum-label {
	font-size: 17px;
	font-weight: 700;
	color: #0B2545;
}

.oe-cart-root .oe-cart-sum-total {
	font-size: 24px;
	font-weight: 800;
	color: #0B2545;
}

.oe-cart-root .oe-cart-taxes {
	font-size: 13px;
	color: #146C43;
}

.oe-cart-root .oe-cart-later {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border: 1px solid #C7D8FF;
	border-radius: 10px;
	background: #EEF4FF;
	font-size: 14px;
	line-height: 1.5;
	color: #0B2545;
}

.oe-cart-root .oe-cart-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	background: #0057D9;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	text-transform: none;
}

.oe-cart-root .oe-cart-btn:hover,
.oe-cart-root .oe-cart-btn:focus-visible {
	background: #0046B0;
	color: #FFFFFF;
}

.oe-cart-root .oe-cart-continue {
	padding: 8px 0;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #0057D9;
}

.oe-cart-root .oe-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 32px 0;
}

.oe-cart-root .oe-cart-empty p,
.oe-cart-root .oe-cart-loading,
.oe-cart-root .oe-cart-error {
	margin: 0;
	font-size: 16px;
	color: #4B5563;
}

@media (max-width: 900px) {
	.oe-cart-root .oe-cart-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.oe-cart-root .oe-cart-summary {
		position: static;
	}
}

@media (max-width: 560px) {
	.oe-cart-root .oe-cart-item-row {
		flex-wrap: wrap;
	}

	.oe-cart-root .oe-cart-thumb {
		flex-basis: 88px;
		height: 72px;
	}

	.oe-cart-root .oe-cart-info {
		flex-basis: calc(100% - 106px);
	}

	.oe-cart-root .oe-cart-side {
		flex-basis: 100%;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.oe-cart-root .oe-cart-remove {
		margin-top: 0;
	}
}
