body.ttl-hide-add-to-cart .add_to_cart_button,
body.ttl-hide-add-to-cart .single_add_to_cart_button,
body.ttl-hide-add-to-cart .woocommerce form.cart,
body.ttl-hide-add-to-cart .wp-block-woocommerce-product-button,
body.ttl-hide-add-to-cart .wp-block-woocommerce-add-to-cart-form {
	display: none !important;
}

.ttl-quote-icon {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9998;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 4px;
	background: var( --ast-global-color-2, #2b2f38 );
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ttl-quote-icon svg {
	flex-shrink: 0;
}

.ttl-quote-count {
	position: absolute;
	top: -6px;
	right: -6px;
	background: #d63638;
	color: #fff;
	font-size: 11px;
	line-height: 1;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	font-weight: 600;
}

.ttl-add-to-quote-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 14px;
	background: #fff;
	color: #1e1e1e;
	border: 1px solid #1e1e1e;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	transition: background 0.15s ease, color 0.15s ease;
}

.ttl-add-to-quote-btn:hover {
	background: #1e1e1e;
	color: #fff;
}

.ttl-add-to-quote-btn.ttl-added {
	background: #2c7a2c;
	color: #fff;
	border-color: #2c7a2c;
}

/* Astra tema kart yapisina (astra-shop-summary-wrap) uygun gorunum */
.astra-shop-summary-wrap .ttl-add-to-quote-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 10px;
	padding: 8px 14px;
	background: transparent;
	color: var( --ast-global-color-2, #2b2f38 );
	border: 1.5px solid var( --ast-global-color-2, #2b2f38 );
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.8em;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease;
}

.astra-shop-summary-wrap .ttl-add-to-quote-btn:hover {
	background: var( --ast-global-color-2, #2b2f38 );
	color: #fff;
}

.astra-shop-summary-wrap .ttl-add-to-quote-btn.ttl-added {
	background: #2c7a2c;
	border-color: #2c7a2c;
	color: #fff;
}

.ttl-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 9999;
}

.ttl-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.ttl-panel {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 380px;
	max-width: 92vw;
	background: #fff;
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.25s ease;
	z-index: 10000;
	display: flex;
	flex-direction: column;
}

.ttl-panel.is-open {
	transform: translateX(0);
}

.ttl-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
}

.ttl-panel-header h2 {
	margin: 0;
	font-size: 18px;
}

.ttl-panel-close {
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #444;
}

.ttl-panel-items {
	flex: 1;
	overflow-y: auto;
	padding: 12px 20px;
}

.ttl-empty-message {
	color: #666;
	text-align: center;
	margin-top: 40px;
}

.ttl-panel-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
}

.ttl-item-img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.ttl-item-body {
	flex: 1;
	min-width: 0;
}

.ttl-item-name {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.ttl-item-price {
	font-size: 13px;
	color: #555;
	margin-bottom: 6px;
}

.ttl-item-qty {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ttl-qty-btn {
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #ccc;
	background: #fff;
	color: #1e1e1e;
	border-radius: 4px;
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
}

.ttl-qty-input {
	width: 44px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 4px 2px;
}

.ttl-item-remove {
	background: none;
	border: none;
	font-size: 20px;
	color: #999;
	cursor: pointer;
	line-height: 1;
}

.ttl-item-remove:hover {
	color: #d63638;
}

.ttl-panel-footer {
	padding: 16px 20px;
	border-top: 1px solid #eee;
}

.ttl-btn {
	display: block;
	width: 100%;
	padding: 12px;
	border-radius: 4px;
	border: none;
	font-size: 15px;
	cursor: pointer;
	text-align: center;
}

.ttl-btn-primary {
	background: #1e1e1e;
	color: #fff;
}

.ttl-btn-primary:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.ttl-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.ttl-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.ttl-modal-inner {
	background: #fff;
	border-radius: 6px;
	padding: 28px;
	width: 420px;
	max-width: 92vw;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
}

.ttl-modal-inner h2 {
	margin-top: 0;
}

.ttl-modal-inner label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 13px;
}

.ttl-modal-inner input[type="text"],
.ttl-modal-inner input[type="tel"],
.ttl-modal-inner textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.ttl-form-error {
	color: #d63638;
	font-size: 13px;
}

#ttl-form-modal .ttl-panel-close,
#ttl-quote-panel .ttl-panel-close {
	position: absolute;
	top: 10px;
	right: 14px;
}

@media (max-width: 480px) {
	.ttl-panel {
		width: 100%;
	}
}