/*
 * Ballivane Lite Cart
 * Tasarım değişkenleri yalnızca bu bölümden yönetilebilir.
 */

:root {
	--blc-navy: #033D50;
	--blc-gold: #F3BD49;
	--blc-gold-hover: #ddb03d;
	--blc-text: #142c3d;
	--blc-muted: #6f7c84;
	--blc-line: #e5e7e6;
	--blc-bg: #fbfaf7;
	--blc-white: #ffffff;
	--blc-danger: #d94a3b;
	--blc-radius: 12px;
	--blc-drawer-width: 520px;
	--blc-ease: cubic-bezier(.22, 1, .36, 1);
}

body.blc-cart-open {
	overflow: hidden;
}

.blc-root,
.blc-root * {
	box-sizing: border-box;
}

.blc-fab {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 9998;
	display: inline-grid;
	place-items: center;
	width: 62px;
	height: 62px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--blc-gold);
	color: var(--blc-navy);
	box-shadow: 0 14px 34px rgba(23, 54, 74, .22);
	cursor: pointer;
	transition:
		transform .25s var(--blc-ease),
		background-color .25s ease,
		box-shadow .25s ease;
}

.blc-fab:hover {
	transform: translateY(-3px);
	background: var(--blc-gold-hover);
	box-shadow: 0 18px 38px rgba(23, 54, 74, .28);
}

.blc-fab:focus-visible,
.blc-close:focus-visible,
.blc-qty__button:focus-visible,
.blc-checkout:focus-visible,
.blc-continue:focus-visible,
.blc-coupon button:focus-visible,
.blc-coupon input:focus-visible {
	outline: 3px solid rgba(23, 54, 74, .28);
	outline-offset: 3px;
}

.blc-fab__icon {
	display: block;
	width: 31px;
	height: 31px;
}

.blc-fab__icon svg,
.blc-checkout__icon svg,
.blc-empty__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.blc-fab__count {
	position: absolute;
	top: -5px;
	left: -4px;
	display: grid;
	place-items: center;
	min-width: 25px;
	height: 25px;
	padding: 0 6px;
	border: 2px solid var(--blc-white);
	border-radius: 999px;
	background: var(--blc-danger);
	color: var(--blc-white);
	font: 700 12px/1 "Manrope", sans-serif;
}

.blc-fab__count.is-empty {
	display: none;
}

.blc-root.is-bumping .blc-fab {
	animation: blc-bump .42s var(--blc-ease);
}

@keyframes blc-bump {
	0%, 100% { transform: scale(1); }
	45% { transform: scale(1.13); }
}

.blc-overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(12, 27, 37, .48);
	opacity: 0;
	transition: opacity .28s ease;
}

.blc-root.is-open .blc-overlay {
	opacity: 1;
}

.blc-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width: min(var(--blc-drawer-width), 100vw);
	height: 100dvh;
	background: var(--blc-bg);
	color: var(--blc-text);
	box-shadow: -18px 0 46px rgba(12, 27, 37, .18);
	transform: translateX(102%);
	visibility: hidden;
	transition:
		transform .36s var(--blc-ease),
		visibility .36s;
}

.blc-root.is-open .blc-drawer {
	transform: translateX(0);
	visibility: visible;
}

.blc-drawer__inner {
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr);
	height: 100%;
}

.blc-drawer__header {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 88px;
	padding: 22px 76px 22px 30px;
	border-bottom: 1px solid var(--blc-line);
	background: var(--blc-white);
}

.blc-drawer__title {
	margin: 0;
	font: 500 clamp(20px, 2vw, 25px)/1.25 "Manrope", sans-serif;
	letter-spacing: -.025em;
	color: var(--blc-text);
}

.blc-close {
	position: absolute;
	top: 50%;
	right: 28px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
}

.blc-close::before,
.blc-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	width: 25px;
	height: 1.5px;
	background: var(--blc-text);
	transition: transform .25s ease;
}

.blc-close::before {
	transform: rotate(45deg);
}

.blc-close::after {
	transform: rotate(-45deg);
}

.blc-close:hover::before {
	transform: rotate(135deg);
}

.blc-close:hover::after {
	transform: rotate(45deg);
}

.blc-status:empty {
	display: none;
}

.blc-status {
	margin: 14px 30px 0;
	padding: 11px 13px;
	border-radius: 8px;
	font: 500 13px/1.5 "Manrope", sans-serif;
}

.blc-status.is-success {
	background: #edf6e9;
	color: #456d33;
}

.blc-status.is-error {
	background: #fff0ee;
	color: #a23529;
}

.blc-content {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	min-height: 0;
	overflow: hidden;
}

.blc-items {
	min-height: 0;
	padding: 0px 16px 8px;
	overflow-y: auto;
	overscroll-behavior: contain;
    background-color: #F0FAFE !important;
}

.blc-item {
	position: relative;
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr) auto;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--blc-line);
}
/**
.blc-item__image {
	width: 88px;
	height: 98px;
	padding: 0px;
	border: 1px solid var(--blc-line);
	border-radius: 10px;
	background: var(--blc-white);
}
**/
.blc-item__image img {
	display: block;
	width: 90%;
	height: 90%;
	object-fit: contain;
	border-radius:2px;
}

.blc-item__body {
	min-width: 0;
	padding-right: 4px;
}

.blc-item__name {
	display: block;
	margin: 1px 0 9px;
	color: var(--blc-text);
	font: 650 14px/1.48 "Manrope", sans-serif;
	text-decoration: none;
	text-transform: none;
}

.blc-item__name:hover {
	color: #9a7624;
}

.blc-item__price,
.blc-item__mobile-price {
	color: var(--blc-text);
	font: 700 14px/1.4 "Manrope", sans-serif;
	white-space: nowrap;
}

.blc-item__mobile-price {
	display: none;
	margin-bottom: 10px;
}

.blc-item__price del,
.blc-item__mobile-price del {
	margin-right: 7px;
	color: var(--blc-danger);
	font-weight: 500;
	opacity: .8;
}

.blc-item__price ins,
.blc-item__mobile-price ins {
	color: var(--blc-text);
	text-decoration: none;
}

/* ===================================================
   Ballivane - Ürünü Sepetten Sil Butonu
=================================================== */

.blc-item__remove {
    position: absolute;
    top: 3px;
    left: -12px;
    z-index: 5;
    display: block;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px!important;
    min-height: 20px !important;
    max-height: 20px !important;
    padding: 0 !important;
    margin: 0;
    background: #e9bf55;
    border: 0;
    border-radius: 0;
    font-size: 0; /* HTML içinde kalan × karakterini gizler */
    line-height: 0;
    cursor: pointer;
    box-shadow: none;
    flex: 0 0 20px;
    transition:
        background-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

/* CSS ile oluşturulan çarpı */

.blc-root .blc-item__remove::before,
.blc-root .blc-item__remove::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background: #17364a;
    border-radius: 2px;
    transform-origin: center;
    pointer-events: none;
}

.blc-root .blc-item__remove::before {
    transform:
        translate(-50%, -50%) rotate(45deg);
}

.blc-root .blc-item__remove::after {
    transform:
        translate(-50%, -50%) rotate(-45deg);
}


/* Hover */

.blc-root .blc-item__remove:hover {
    background: #f0ca68;
    transform: scale(1.08);
}

/* Tıklama */

.blc-item__remove:active {
    transform: scale(.94);
}

/* Klavye odağı */

.blc-item__remove:focus-visible {
    outline: 2px solid rgba(23, 54, 74, .35);
    outline-offset: 2px;
}

/* ==================================================
   Ballivane Mini Cart - Miktar Kontrolü
================================================== */
.blc-root .blc-qty {
    display: inline-grid;
    grid-template-columns: 36px 48px 36px;
    align-items: center;
    height: 36px;
    background: #ffffff;
    border: 1px solid #e5bd58;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
}


.blc-root .blc-qty button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #e9bf55;
    color: #17364a;
    font-family: Manrope, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color .22s ease,
        color .22s ease,
        transform .15s ease;
}

.blc-root .blc-qty input {
    width: 48px;
    min-width: 48px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 0;
    border-left: 1px solid #d8dde2;
    border-right: 1px solid #d8dde2;
    border-radius: 0;
    background: #ffffff;
    color: #17364a;
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
    outline: none;
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

/*--  TarayıcıOkları gizle--*/
.blc-root .blc-qty input::-webkit-inner-spin-button,
.blc-root .blc-qty input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/*---hover--*/
.blc-root .blc-qty button:hover {
    background: #f0ca68;
}

/*---tıklama--*/
.blc-root .blc-qty button:active {
    transform: scale(.92);
}

/*---klavye odağı---*/
.blc-root .blc-qty button:focus-visible,
.blc-root .blc-qty input:focus-visible {
    position: relative;
    z-index: 2;

    outline: 2px solid rgba(23, 54, 74, .22);
    outline-offset: -2px;
}

/**-----mobil--*/
@media (max-width: 767px) {

    .blc-root .blc-qty {
        grid-template-columns: 38px 50px 38px;
        height: 40px;
        border-radius: 10px;
    }

    .blc-root .blc-qty button {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        font-size: 16px;
    }

    .blc-root .blc-qty input {
        width: 48px;
        min-width: 48px;
        height: 38px;
        font-size: 18px;
        line-height: 38px;
    }
}


/*----------------------------*/

.blc-footer {
	padding: 0 30px 24px;
	border-top: 1px solid var(--blc-line);
	background: var(--blc-white);
}

.blc-coupon {
	border-bottom: 1px solid var(--blc-line);
}

.blc-coupon summary {
	position: relative;
	padding: 17px 28px 17px 0;
	color: var(--blc-text);
	font: 600 14px/1.4 "Manrope", sans-serif;
	cursor: pointer;
	list-style: none;
}

.blc-coupon summary::-webkit-details-marker {
	display: none;
}

.blc-coupon summary::before,
.blc-coupon summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 4px;
	width: 12px;
	height: 1.5px;
	background: var(--blc-text);
	transition: transform .25s ease;
}

.blc-coupon summary::after {
	transform: rotate(90deg);
}

.blc-coupon[open] summary::after {
	transform: rotate(0);
}

.blc-coupon__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0 0 17px;
}

.blc-coupon__form input {
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #d9dde0;
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: var(--blc-white);
	color: var(--blc-text);
	font: 500 14px/1 "Manrope", sans-serif;
}

.blc-coupon__form button {
	height: 46px;
	padding: 0 19px;
	border: 1px solid var(--blc-gold);
	border-radius: 0 8px 8px 0;
	background: var(--blc-gold);
	color: var(--blc-navy);
	font: 700 13px/1 "Manrope", sans-serif;
	cursor: pointer;
}

.blc-summary {
	padding: 18px 0;
}

.blc-summary__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	color: var(--blc-text);
	font: 600 15px/1.4 "Manrope", sans-serif;
}

.blc-summary__row strong {
	font-size: 18px;
}

.blc-summary p {
	margin: 5px 0 0;
	color: var(--blc-muted);
	font: 400 12px/1.5 "Manrope", sans-serif;
}

.blc-checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 50px;
	padding: 13px 0px;
	background: var(--blc-gold);
	color: var(--blc-navy);
	font: 750 14px/1.2 "Manrope", sans-serif;
	letter-spacing: .025em;
	text-decoration: none;
	transition:
		transform .22s var(--blc-ease),
		background-color .22s ease,
		box-shadow .22s ease;
}

.blc-checkout:hover {
	transform: translateY(-2px);
	background: var(--blc-navy);
	color: var(--blc-navy);
	box-shadow: 0 10px 24px rgba(23, 54, 74, .15);
}

.blc-checkout__icon {
	width: 25px;
	height: 25px;
}

.blc-checkout__amount {
	font-size: 16px;
	white-space: nowrap;
}

/* ==================================================
   Ballivane – Ballarımıza Geri Dön
   Elementor genel buton stilini sıfırlar
================================================== */

.blc-root .blc-footer button.blc-continue {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #17364a !important;
    font-family: "Instrument Serif", serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/*----alt çizgi--*/
.blc-root .blc-footer button.blc-continue::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: #17364a;
    transform: scaleX(.75);
    transform-origin: center;
    transition:
        transform .25s ease,
        background-color .25s ease;
}

/*---hover--*/
.blc-root .blc-footer button.blc-continue:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #b78b20 !important;
    transform: translateY(-1px);
}

.blc-root .blc-footer button.blc-continue:hover::after {
    background: #b78b20;
    transform: scaleX(1);
}

.blc-root .blc-footer {
    display: flex;
    flex-direction: column;
}

/*-------------------*/
.blc-empty {
	display: grid;
	align-content: center;
	justify-items: center;
	min-height: 100%;
	padding: 50px 34px;
	text-align: center;
}

.blc-empty__icon {
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	color: var(--blc-gold-hover);
}

.blc-empty h3 {
	margin: 0 0 8px;
	font: 500 27px/1.25 "Instrument Serif", serif;
	color: var(--blc-text);
}

.blc-empty p {
	max-width: 330px;
	margin: 0;
	color: var(--blc-muted);
	font: 400 14px/1.6 "Manrope", sans-serif;
}

.blc-empty .blc-link-button {
	margin-top: 22px;
}

.blc-root.is-loading .blc-content {
	opacity: .58;
	pointer-events: none;
}

.blc-root.is-loading .blc-drawer::after {
	content: "";
	position: absolute;
	top: 96px;
	right: 28px;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(23, 54, 74, .18);
	border-top-color: var(--blc-navy);
	border-radius: 50%;
	animation: blc-spin .7s linear infinite;
}

@keyframes blc-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
	:root {
		--blc-drawer-width: 100vw;
	}

	.blc-fab {
		right: 18px;
		bottom: 18px;
		width: 56px;
		height: 56px;
	}

	.blc-drawer__header {
		min-height: 76px;
		padding: 18px 64px 18px 20px;
	}

	.blc-close {
		right: 18px;
	}

	.blc-status {
		margin-right: 20px;
		margin-left: 20px;
	}

	.blc-items {
		padding-right: 10px;
		padding-left: 10px;
	}

	.blc-item {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 14px;
	}

	.blc-item__image {
		width: 74px;
		height: 74px;
	}

	.blc-item__price {
		display: none;
	}

	.blc-item__mobile-price {
		display: block;
	}

	.blc-item__name {
		font-size: 13px;
	}

	.blc-qty {
		grid-template-columns: 35px 43px 35px;
		height: 37px;
	}

	.blc-qty__input {
		width: 43px;
	}

	.blc-footer {
		padding-right: 20px;
		padding-left: 20px;
	}

	.blc-checkout {
		grid-template-columns: auto 1fr;
	}

	.blc-checkout__amount {
		grid-column: 2;
		font-size: 14px;
	}
}
/* Sepete ürün eklendiğinde kısa süre görünen + işareti */

.blc-fab::after {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;

    display: grid;
    place-items: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;
    background: #17364a;
    color: #f3bd49;

    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55);

    pointer-events: none;

    transition:
        opacity 0.18s ease,
        transform 0.28s cubic-bezier(.22, 1, .36, 1);
}

.blc-fab.show-plus::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
/* Özel Corel SVG yüzen sepet butonu */

.blc-fab {
    width: 62px;
    height: 70px;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.blc-fab:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-3px) scale(1.04);
}

.blc-fab__icon {
    display: block;
    width: 100%;
    height: 100%;
}

.blc-fab__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.blc-fab__count {
    top: -3px;
    left: -5px;
    right: auto;

    min-width: 24px;
    height: 24px;

    background: #c94b3d;
    color: #ffffff;
    border: 2px solid #ffffff;
}
@media (max-width: 767px) {
    .blc-fab {
        width: 54px;
        height: 62px;
        right: 16px;
        bottom: 76px;
    }
}
/* Ballivane özel SVG sepet butonu — kesin sıfırlama */

button.blc-fab {
    width: 64px !important;
    height: 72px !important;
    padding: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    overflow: visible !important;
}

button.blc-fab:hover,
button.blc-fab:focus {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.blc-fab__icon {
    display: block !important;
    width: 64px !important;
    height: 72px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
}

.blc-fab__icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    fill: none;
    stroke: none;

    overflow: visible !important;
}

.blc-fab__icon svg path {
    stroke: none !important;
}

.blc-fab__count {
    top: 0 !important;
    left: -3px !important;
    right: auto !important;
    z-index: 3;
}

/*----mobil--*/
@media (max-width: 767px) {

    .blc-root .blc-fab {
        right: 16px !important;

        bottom: calc(
            18px + env(safe-area-inset-bottom)
        ) !important;
    }

    #scrollTopBtn {
        right: 18px !important;

        bottom: calc(
            96px + env(safe-area-inset-bottom)
        ) !important;
    }

/**--tablet--**/
@media (min-width: 768px) and (max-width: 1024px) {

    .blc-root .blc-fab {
        right: 24px !important;
        bottom: 24px !important;
    }

}
}

.blc-root .blc-fab .blc-fab__count {
    top: -4px !important;
    right: 38px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
}

@media (max-width: 767px) {
        .blc-root .blc-fab .blc-fab__count {
        top: -4px !important;
        right: 38px !important;
        transform: none !important;
    }
}

/* Ara toplam güncelleme efekti */

.blc-summary{
    transition:
        background-color .22s ease,
        box-shadow .22s ease;
}
/***/
.blc-summary.price-updated{
    background:#fff7df;
    box-shadow:
        0 0 0 3px rgba(233,191,85,.18);
    border-radius:10px;
}

/* ===========================================
   Ballivane Micro Feedback
=========================================== */

.blc-qty{
    transition:
        transform .18s cubic-bezier(.22,1,.36,1),
        box-shadow .18s ease;
}

.blc-qty.qty-updated{
    transform:scale(1.05);
    box-shadow:
        0 0 0 3px rgba(233,191,85,.22);
}

.blc-summary{

    transition:
        background-color .22s ease,
        box-shadow .22s ease,
        transform .22s ease;

}

.blc-summary.price-updated{
    background:#fff7de;
    transform:scale(1.015);
    box-shadow:
        0 0 0 3px rgba(233,191,85,.18);
}

.blc-summary strong{
    transition:
        transform .18s ease,
        color .18s ease;
}

.price-updated strong{
    transform:scale(1.08);
    color:#b78618;
}

/* Miktar kontrolü geri bildirimi */

.blc-root .blc-qty {
	transition:
		transform .18s cubic-bezier(.22, 1, .36, 1),
		box-shadow .18s ease;
}

.blc-root .blc-qty.qty-updated {
	transform: scale(1.035);
	box-shadow: 0 0 0 3px rgba(233, 191, 85, .18);
}

.blc-root .blc-qty input {
	transition: transform .18s ease;
}

.blc-root .blc-qty.qty-updated input {
	transform: scale(1.1);
}


/* Ara toplam geri bildirimi */

.blc-root .blc-summary {
	transition:
		background-color .22s ease,
		transform .22s ease,
		box-shadow .22s ease;
}

.blc-root .blc-summary.price-updated {
	background-color: #fff8e8;
	transform: scale(1.01);
	box-shadow: 0 0 0 3px rgba(233, 191, 85, .14);
}
