/**
 * Novato Quick Order Styles
 */

.novato-quick-order-wrapper {
	max-width: 100%;
	margin: 0 auto;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.novato-connection-filter-wrapper {
	margin-bottom: 25px;
	padding: 18px 20px;
	background: linear-gradient(to bottom, #ffffff, #f8f9fa);
	border-radius: 10px;
	border: 1px solid #e8e8e8;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.novato-connection-filter {
	display: flex;
	align-items: center;
	gap: 15px;
}

.novato-connection-filter label {
	font-weight: 600;
	color: #2c3e50;
	font-size: 14px;
	margin: 0;
}

.novato-filter-select {
	padding: 12px 18px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	color: #2c3e50;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 220px;
	font-weight: 500;
}

.novato-filter-select:hover {
	border-color: #0073aa;
	box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15);
	transform: translateY(-1px);
}

.novato-filter-select:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.novato-quick-order-content {
	width: 100%;
}

.novato-category-block {
	margin-bottom: 40px;
}

.novato-category-block-title {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 3px solid #0073aa;
	position: relative;
}

.novato-category-block-title::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 60px;
	height: 3px;
	background: #0073aa;
	border-radius: 2px;
}

/* Modern ve temiz tablo tasarımı */
.novato-products-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	margin-bottom: 30px;
	table-layout: fixed;
	font-size: 11px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.novato-products-table thead {
	background: linear-gradient(to bottom, #f8f9fa, #f1f3f5);
}

.novato-products-table th {
	padding: 12px 12px !important;
	text-align: left;
	font-weight: 700;
	color: #2c3e50;
	border-bottom: 2px solid #dee2e6;
	font-size: 11px !important;
	white-space: nowrap;
	height: auto !important;
	min-height: 45px !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.novato-products-table th.novato-col-image {
	width: 90px;
	min-width: 90px;
	text-align: center;
}

.novato-products-table th.novato-col-name {
	width: auto;
	text-align: left;
}

.novato-products-table th.novato-col-sku {
	width: auto;
	text-align: left;
}

.novato-products-table th.novato-col-price {
	width: 130px;
	min-width: 130px;
	text-align: right;
}

.novato-products-table th.novato-col-quantity {
	width: 190px;
	min-width: 190px;
	text-align: center;
}

/* Modern ve temiz hücreler */
.novato-products-table td {
	padding: 8px 12px !important;
	border-bottom: 1px solid #e8e8e8;
	vertical-align: middle !important;
	height: 70px !important;
	max-height: 70px !important;
	min-height: 70px !important;
	line-height: 1.4 !important;
	overflow: hidden !important;
	margin: 0 !important;
	transition: background-color 0.2s ease;
}

/* Tüm iç elementlerin margin/padding'ini sıfırla */
.novato-products-table td * {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
}

/* h3 ve p elementlerini özellikle düzelt */
.novato-products-table td h3,
.novato-products-table td p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

/* Excel gibi kompakt satırlar */
.novato-products-table tbody tr {
	height: 70px !important;
	max-height: 70px !important;
	min-height: 70px !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.novato-products-table tbody tr:hover {
	background: #f8f9fa;
	transition: background-color 0.2s ease;
}

.novato-products-table tbody tr:last-child td {
	border-bottom: none;
}

.novato-products-table .novato-col-image {
	width: 90px;
	min-width: 90px;
	text-align: center;
	vertical-align: middle;
	padding: 5px !important;
}

.novato-products-table .novato-col-name {
	text-align: left;
}

.novato-products-table .novato-col-sku {
	text-align: left;
}

.novato-products-table .novato-col-price {
	width: 130px;
	min-width: 130px;
	text-align: right;
}

.novato-products-table .novato-col-quantity {
	width: 190px;
	min-width: 190px;
	text-align: center;
}

/* Ürün görseli - Ortalanmış ve iyileştirilmiş */
.novato-product-image {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
}

.novato-product-image img {
	width: 60px !important;
	height: 60px !important;
	object-fit: contain;
	object-position: center;
	border-radius: 6px;
	display: block;
	margin: 0 auto;
	background: #f8f9fa;
	padding: 4px;
	transition: transform 0.2s ease;
}

.novato-product-image img:hover {
	transform: scale(1.05);
}

.novato-product-image .novato-no-image {
	display: block;
	width: 60px !important;
	height: 60px !important;
	background: #f0f0f0;
	border-radius: 4px;
	line-height: 60px !important;
	font-size: 10px !important;
	color: #999;
	margin: 0 auto;
}

/* Stok rozeti - İyileştirilmiş */
.novato-stock-badge {
	display: inline-block;
	margin-top: 4px;
	font-size: 9px;
	padding: 2px 6px;
	background: #dc3545;
	color: #fff;
	border-radius: 4px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Block elementleri inline yap - Excel gibi */
.novato-product-name {
	font-size: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4 !important;
	display: inline !important;
	font-weight: 600;
	color: #2c3e50;
}

.novato-product-name a {
	color: #2c3e50;
	text-decoration: none;
	display: inline !important;
	line-height: 1.3 !important;
	transition: color 0.2s ease;
}

.novato-product-name a:hover {
	color: #0073aa;
}

.novato-product-sku {
	font-size: 11px !important;
	color: #6c757d;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	display: block !important;
}

.novato-product-sku strong {
	color: #495057;
	font-weight: 600;
}

.novato-product-connection {
	font-size: 11px !important;
	color: #6c757d;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	display: block !important;
}

.novato-product-price {
	font-weight: 700;
	font-size: 14px !important;
	text-align: right;
	white-space: nowrap;
	color: #2c3e50;
}

.novato-price-regular {
	text-decoration: line-through;
	color: #999;
	margin-right: 8px;
	font-size: 13px;
}

.novato-price-sale {
	color: #dc3545;
}

.novato-product-quantity {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px !important;
	flex-wrap: nowrap;
	height: 36px !important;
	max-height: 36px !important;
}

.novato-product-quantity.novato-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.novato-qty-btn {
	width: 36px !important;
	height: 36px !important;
	border: 2px solid #0073aa;
	background: #0073aa;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px !important;
	font-weight: 600;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	line-height: 1;
	padding: 0;
	box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

.novato-qty-btn:hover:not(:disabled) {
	background: #005a87;
	border-color: #005a87;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 6px rgba(0, 115, 170, 0.3);
}

.novato-qty-btn:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 115, 170, 0.2);
}

.novato-qty-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	background: #e0e0e0;
	border-color: #d0d0d0;
	color: #999;
	box-shadow: none;
}

.novato-qty-input {
	width: 70px !important;
	height: 36px !important;
	border: 1px solid #ddd;
	border-radius: 6px;
	text-align: center;
	font-size: 14px !important;
	font-weight: 600;
	color: #2c3e50;
	padding: 0 8px !important;
	transition: all 0.2s;
}

.novato-qty-input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.novato-qty-input:disabled {
	background: #f5f5f5;
	cursor: not-allowed;
	color: #999;
}

.novato-out-of-stock-text {
	font-size: 10px !important;
	color: #dc3545;
	margin: 2px 0 0 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
	display: block !important;
	font-style: italic;
}

/* Legacy kodlar kaldırıldı - artık kullanılmıyor */

.novato-connection-filter {
	margin-bottom: 15px;
}

.novato-filter-select {
	width: 100%;
	padding: 10px 15px;
	padding-right: 40px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: all 0.2s ease;
	font-weight: 500;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.novato-filter-select option {
	padding: 8px 12px;
	white-space: normal;
	word-wrap: break-word;
}

.novato-filter-select:hover {
	border-color: #007bff;
	background: #f8f9ff;
}

.novato-filter-select:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
	background: #fff;
}

.novato-category-nav {
	overflow-y: auto;
	overflow-x: hidden;
	max-height: calc(100vh - 250px);
	padding-right: 5px;
	flex: 1;
}

.novato-category-nav::-webkit-scrollbar {
	width: 6px;
}

.novato-category-nav::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.novato-category-nav::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 3px;
}

.novato-category-nav::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.novato-category-nav h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 15px 0;
	color: #333;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 1;
	padding-bottom: 10px;
}

.novato-category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.novato-category-list li {
	margin-bottom: 6px;
}

.novato-category-link {
	display: block;
	padding: 8px 15px;
	color: #555;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.3s ease;
	font-size: 14px;
	line-height: 1.4;
}

.novato-category-link:hover {
	background: #e9ecef;
	color: #007bff;
}

.novato-category-link.active {
	background: #007bff;
	color: #fff;
	font-weight: 600;
}

.novato-category-count {
	font-size: 12px;
	opacity: 0.7;
	margin-left: 5px;
}

.novato-quick-order-content {
	flex: 1;
	padding-bottom: 250px; /* Sipariş özeti için alt boşluk */
}

.novato-category-section {
	margin-bottom: 50px;
	padding-bottom: 30px;
	border-bottom: 1px solid #e0e0e0;
}

.novato-category-section:last-child {
	border-bottom: none;
}

.novato-category-title {
	font-size: 22px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0 0 25px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #007bff;
	letter-spacing: -0.3px;
}

.novato-product-count {
	font-size: 16px;
	font-weight: 400;
	color: #666;
	margin-left: 10px;
}


/* Stock badge - sadece tablo dışı kullanım için (eski stil) */
.novato-stock-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	z-index: 10;
}

.novato-stock-badge.novato-out-of-stock {
	background: #dc3545;
	color: #fff;
}

.novato-product-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.novato-product-name {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin: 0 0 8px 0;
	line-height: 1.4;
}

.novato-product-sku {
	font-size: 12px;
	color: #666;
	margin: 0 0 12px 0;
	line-height: 1.5;
}

.novato-connection-attr {
	color: #007bff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.5px;
}

.novato-product-price {
	margin-bottom: 15px;
}

.novato-price {
	font-size: 20px;
	font-weight: 700;
	color: #28a745;
}

.novato-price-regular {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
	margin-right: 8px;
}

.novato-price-sale {
	font-size: 20px;
	font-weight: 700;
	color: #dc3545;
}

.novato-product-quantity {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
}

.novato-product-quantity.novato-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.novato-qty-btn {
	width: 38px;
	height: 38px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 18px;
	font-weight: 600;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
}

.novato-qty-btn:hover:not(:disabled) {
	background: #f8f9fa;
	border-color: #007bff;
	color: #007bff;
}

.novato-qty-btn:active:not(:disabled) {
	transform: scale(0.95);
}

.novato-qty-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f5f5f5;
}

.novato-qty-input {
	width: 60px;
	height: 38px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.novato-qty-input:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.novato-qty-input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f5f5f5;
}

.novato-out-of-stock-text {
	font-size: 12px;
	color: #dc3545;
	margin: 10px 0 0 0;
	font-style: italic;
}

/* Product Image Link */
.novato-product-image-link {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.novato-product-image-link:hover {
	opacity: 0.9;
}

.novato-product-image-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Product Name Link */
.novato-product-name a {
	color: #2c3e50;
	text-decoration: none;
	transition: color 0.2s ease;
}

.novato-product-name a:hover {
	color: #007bff;
}

/* Modal Styles */
.novato-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}

.novato-modal.novato-modal-active {
	display: block;
}

.novato-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}

.novato-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	z-index: 10001;
}

.novato-modal-header {
	padding: 25px 50px 20px 30px;
	border-bottom: 1px solid #e8e8e8;
	position: relative;
}

.novato-modal-title {
	font-size: 22px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0;
	padding-right: 40px;
}

.novato-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	border: none;
	background: #f5f5f5;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1001;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.novato-modal-close:hover {
	background: #e0e0e0;
	color: #333;
}

.novato-modal-body {
	padding: 25px 30px;
}

.novato-modal-image-wrapper {
	margin-bottom: 20px;
	text-align: center;
	display: none;
}

.novato-modal-product-image {
	max-width: 100%;
	height: auto;
	max-height: 400px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	object-fit: contain;
}

.novato-modal-description {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

.novato-no-products {
	font-size: 16px;
	color: #666;
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 20px 0;
}

.novato-quick-order-summary {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 2px solid #007bff;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 100; /* Sepet sidebar'ının altında olmalı (Woodmart cart sidebar z-index: 9999) */
	padding: 20px;
	padding-right: 120px; /* Chat bubble için sağdan boşluk */
	box-sizing: border-box;
	transition: padding-right 0.3s ease;
}

/* Sepet sidebar açıkken alt bar'ı daralt */
body.novato-cart-sidebar-opened .novato-quick-order-summary {
	padding-right: 450px; /* Sepet sidebar'ı için sağdan boşluk (sidebar genişliği ~400px) */
}

.novato-summary-sticky {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.novato-summary-header h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.novato-summary-content {
	display: flex;
	gap: 30px;
	align-items: center;
	flex: 1;
}

.novato-summary-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.novato-summary-item span:first-child {
	font-size: 14px;
	color: #666;
}

.novato-summary-item span:last-child {
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.novato-summary-total span:last-child {
	font-size: 24px;
	color: #007bff;
}

.novato-summary-actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.novato-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.novato-btn-clear {
	background: #6c757d;
	color: #fff;
}

.novato-btn-clear:hover {
	background: #5a6268;
}

.novato-btn-add-to-cart {
	background: #28a745;
	color: #fff;
}

.novato-btn-add-to-cart:hover {
	background: #218838;
}

.novato-btn-checkout {
	background: #007bff;
	color: #fff;
}

.novato-btn-checkout:hover {
	background: #0056b3;
}

.novato-btn-request-quote {
	background: #ffc107;
	color: #333;
}

.novato-btn-request-quote:hover {
	background: #e0a800;
}

.novato-btn-request-quote:disabled {
	background: #ccc;
	color: #666;
	cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
	/* Mobil için sipariş özeti - bottom bar'a yapışık ve sayfa ile birlikte kayar */
	.novato-quick-order-wrapper {
		display: flex;
		flex-direction: column;
		min-height: 100vh;
		padding: 10px;
		padding-bottom: 0;
	}
	
	.novato-quick-order-header {
		padding: 15px;
		margin-bottom: 20px;
	}
	
	.novato-quick-order-title {
		font-size: 20px;
	}
	
	.novato-quick-order-subtitle {
		font-size: 13px;
	}
	
	.novato-connection-filter {
		margin-bottom: 12px;
	}
	
	.novato-filter-select {
		padding: 10px 12px;
		padding-right: 35px;
		font-size: 14px;
		background-position: right 10px center;
	}
	
	.novato-quick-order-container {
		flex-direction: column;
		gap: 20px;
	}
	
	.novato-quick-order-sidebar {
		flex: 1;
		position: relative;
		top: 0;
		max-height: 300px;
		overflow-y: auto;
	}
	
	
	.novato-product-name {
		font-size: 14px;
	}
	
	.novato-product-price {
		margin-bottom: 10px;
	}
	
	.novato-price {
		font-size: 18px;
	}
	
	.novato-price-sale {
		font-size: 18px;
	}
	
	.novato-quick-order-content {
		flex: 1;
	}
	
	.novato-quick-order-summary {
		position: sticky !important; /* Desktop'taki fixed'i override et */
		bottom: 55px !important; /* Bottom bar'ın tam üzerinde (wd-toolbar height: 55px) */
		left: 0;
		right: 0;
		background: #fff;
		border-top: 2px solid #007bff;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
		z-index: 351; /* Bottom bar'ın (z-index: 350) hemen üstünde */
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-top: auto; /* İçeriğin en altına yapışır */
	}
	
	.novato-summary-sticky {
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important;
		justify-content: flex-start;
		gap: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		flex-wrap: nowrap !important;
		overflow: hidden;
		-webkit-overflow-scrolling: touch;
		padding: 0 !important;
		margin: 0 !important;
		box-sizing: border-box;
	}
	
	.novato-summary-sticky::-webkit-scrollbar {
		display: none;
	}
	
	.novato-summary-header {
		display: none; /* Başlığı gizle */
	}
	
	.novato-summary-content {
		display: flex !important; /* Mobilde toplamı göster */
		flex-direction: row;
		align-items: stretch;
		gap: 0 !important;
		flex-shrink: 0;
		width: auto;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	/* Mobilde sadece toplam göster */
	.novato-summary-item:not(.novato-summary-total) {
		display: none !important;
	}
	
	.novato-summary-item.novato-summary-total {
		display: flex !important;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		padding: 2px 6px;
		background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
		color: #fff !important;
		border-top-left-radius: 4px;
		border-bottom-left-radius: 4px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
		gap: 0;
		font-weight: 600;
		min-width: 0;
		width: auto;
		height: 32px !important;
		min-height: 32px !important;
		flex: 0 0 auto;
		margin: 0 !important;
		padding-right: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
		box-sizing: border-box;
	}
	
	.novato-summary-item.novato-summary-total span:first-child {
		color: #fff;
		font-size: 8px;
		font-weight: 500;
		opacity: 0.9;
		line-height: 1;
		white-space: nowrap;
	}
	
	.novato-summary-item.novato-summary-total span:last-child {
		color: #fff;
		font-size: 11px;
		font-weight: 700;
		white-space: nowrap;
		line-height: 1;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.novato-summary-actions {
		display: flex !important; /* Mobilde butonları göster */
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 0 !important;
		align-items: stretch;
		flex-shrink: 1;
		flex: 1 1 auto;
		justify-content: flex-end;
		overflow: hidden;
		-webkit-overflow-scrolling: touch;
		margin: 0 !important;
		margin-left: 0 !important;
		padding: 0 !important;
		min-width: 0;
	}
	
	.novato-summary-actions::-webkit-scrollbar {
		display: none;
	}
	
	.novato-summary-actions .novato-btn {
		padding: 6px 4px;
		font-size: 9px;
		border-radius: 0;
		white-space: nowrap;
		min-height: 32px;
		height: 32px;
		font-weight: 600;
		border: none;
		cursor: pointer;
		transition: all 0.2s;
		flex: 1 1 0 !important;
		min-width: 0;
		max-width: 100%;
		display: flex !important;
		flex-direction: row !important;
		align-items: center;
		justify-content: center;
		gap: 2px;
		margin: 0;
		box-sizing: border-box;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.novato-summary-actions .novato-btn:first-child {
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}
	
	.novato-summary-actions .novato-btn:last-child {
		border-top-right-radius: 4px;
		border-bottom-right-radius: 4px;
	}
	
	.novato-summary-actions .novato-btn-clear {
		display: flex !important; /* Mobilde temizle butonunu göster */
		background: #6c757d !important;
		color: #fff !important;
		padding: 6px 8px !important;
		padding-left: 0 !important;
		min-width: 0 !important;
		width: auto !important;
		height: 32px !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 !important;
		margin-left: 0 !important;
		flex: 1 1 0 !important;
	}
	
	.novato-summary-actions .novato-btn-clear .novato-icon-trash {
		width: 16px !important;
		height: 16px !important;
		display: block !important;
		flex-shrink: 0;
		stroke: #fff !important;
		fill: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	.novato-summary-actions .novato-btn-clear .novato-btn-text {
		display: none !important; /* Mobilde sadece ikon göster */
	}
	
	.novato-summary-actions .novato-btn-clear:hover {
		background: #5a6268 !important;
	}
	
	.novato-summary-actions .novato-btn-clear:active {
		background: #495057 !important;
	}
	
	.novato-summary-actions .novato-btn-add-to-cart {
		background: #28a745;
		color: #fff;
		padding: 6px 8px;
		font-size: 10px;
		min-width: 0;
		flex: 1 1 0 !important;
	}
	
	.novato-summary-actions .novato-btn-add-to-cart:hover {
		background: #218838;
	}
	
	.novato-summary-actions .novato-btn-request-quote {
		background: #007bff;
		color: #fff;
		padding: 6px 8px;
		font-size: 10px;
		min-width: 0;
		flex: 1 1 0 !important;
	}
	
	.novato-summary-actions .novato-btn-request-quote:hover {
		background: #0056b3;
	}
	
	.novato-summary-actions .novato-btn-checkout {
		display: none !important; /* Mobilde sepete git butonunu gizle */
		visibility: hidden !important;
		width: 0 !important;
		height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		opacity: 0 !important;
	}
	
	/* İçerik için alt padding ekle, sipariş özeti altında kalmasın */
	.novato-quick-order-content {
		padding-bottom: 0; /* Sticky kullanıldığı için padding gerekmez */
	}
	
	.novato-category-title {
		font-size: 20px;
	}
	
	.novato-category-section {
		margin-bottom: 30px;
		padding-bottom: 20px;
	}
	
	/* Modal mobil için */
	.novato-modal-content {
		width: 95%;
		max-height: 85vh;
	}
	
	.novato-modal-header {
		padding: 20px 45px 15px 25px;
	}
	
	.novato-modal-title {
		font-size: 18px;
		padding-right: 0;
	}
	
	.novato-modal-close {
		top: 15px;
		right: 15px;
		width: 32px;
		height: 32px;
		font-size: 20px;
	}
	
	.novato-modal-body {
		padding: 20px 25px;
	}
	
	.novato-modal-image-wrapper {
		margin-bottom: 15px;
	}
	
	.novato-modal-product-image {
		max-height: 300px;
	}
	
	.novato-modal-description {
		font-size: 14px;
	}
}

@media (max-width: 1200px) {
	/* Tablet ve üzeri için normal görünüm */
	.novato-quick-order-summary {
		position: relative;
		right: auto;
		top: auto;
		transform: none;
		width: 100%;
		margin-top: 30px;
	}
	
	.novato-quick-order-wrapper {
		padding-bottom: 0; /* Desktop'ta bottom padding gerekmez */
	}
}

/* ============================================
   MOBİL GÖRÜNÜM - CARD BASED TASARIM
   ============================================ */
@media (max-width: 768px) {
	/* Tablo yapısını tamamen gizle */
	.novato-products-table {
		display: block !important;
		border: none !important;
		box-shadow: none !important;
		background: transparent !important;
		width: 100% !important;
	}
	
	.novato-products-table thead {
		display: none !important;
	}
	
	.novato-products-table tbody {
		display: block !important;
		width: 100% !important;
	}
	
	/* Her satırı card olarak göster */
	.novato-products-table tbody tr,
	.novato-products-table tr {
		display: block !important;
		margin-bottom: 16px !important;
		background: #ffffff !important;
		border: 1px solid #e8e8e8 !important;
		border-radius: 12px !important;
		padding: 16px !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
		height: auto !important;
		min-height: auto !important;
		max-height: none !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.novato-products-table tr:hover {
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
	}
	
	/* Tüm hücreleri block yap ve düzenle - EN GÜÇLÜ KURALLAR */
	.novato-products-table td,
	.novato-products-table tbody td {
		display: block !important;
		border: none !important;
		padding: 12px 0 !important;
		text-align: left !important;
		height: auto !important;
		min-height: auto !important;
		max-height: none !important;
		line-height: 1.6 !important;
		overflow: visible !important;
		vertical-align: top !important;
		width: 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}
	
	/* Görsel bölümü - üstte, ortalanmış */
	.novato-products-table td.novato-col-image,
	.novato-col-image {
		width: 100% !important;
		text-align: center !important;
		display: block !important;
		padding: 16px 0 !important;
		margin-bottom: 12px !important;
		border-bottom: 1px solid #f0f0f0 !important;
		height: auto !important;
		min-height: 140px !important;
		max-height: none !important;
		overflow: visible !important;
	}
	
	.novato-product-image {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
		height: auto !important;
		min-height: 120px !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 10px !important;
		overflow: visible !important;
	}
	
	.novato-product-image img {
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 120px !important;
		object-fit: contain !important;
		object-position: center !important;
		margin: 0 auto !important;
		display: block !important;
	}
	
	.novato-product-image-link {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-height: 120px !important;
		max-height: none !important;
		overflow: visible !important;
		padding: 10px !important;
	}
	
	.novato-product-image-link img {
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 120px !important;
		object-fit: contain !important;
		object-position: center !important;
	}
	
	/* Ürün adı - büyük ve belirgin */
	.novato-products-table td.novato-col-name,
	.novato-col-name {
		margin-bottom: 8px !important;
		display: block !important;
		padding: 0 0 8px 0 !important;
	}
	
	.novato-col-name h3,
	.novato-product-name {
		display: block !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		line-height: 1.4 !important;
		margin: 0 0 8px 0 !important;
		padding: 0 !important;
		color: #2c3e50 !important;
	}
	
	.novato-product-name a,
	.novato-col-name a {
		display: block !important;
		color: #2c3e50 !important;
		text-decoration: none !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		line-height: 1.4 !important;
	}
	
	.novato-product-name a:hover,
	.novato-col-name a:hover {
		color: #0073aa !important;
	}
	
	/* Stok durumu */
	.novato-out-of-stock-text {
		display: block !important;
		margin: 6px 0 0 0 !important;
		padding: 4px 8px !important;
		font-size: 11px !important;
		color: #dc3545 !important;
		background: #fff5f5 !important;
		border-radius: 4px !important;
		line-height: 1.4 !important;
		width: fit-content !important;
	}
	
	/* Model/Bağlantı bilgisi */
	.novato-products-table td.novato-col-sku,
	.novato-col-sku {
		margin-bottom: 10px !important;
		display: block !important;
		padding: 0 0 10px 0 !important;
	}
	
	.novato-product-sku {
		display: block !important;
		font-size: 13px !important;
		line-height: 1.6 !important;
		margin: 0 !important;
		padding: 0 !important;
		color: #6c757d !important;
	}
	
	.novato-product-sku strong {
		font-weight: 600 !important;
		color: #495057 !important;
		display: inline !important;
		margin-right: 4px !important;
	}
	
	.novato-product-sku br {
		display: block !important;
		content: "" !important;
		margin: 4px 0 !important;
	}
	
	/* Fiyat - belirgin */
	.novato-products-table td.novato-col-price,
	.novato-col-price {
		margin-bottom: 12px !important;
		display: block !important;
		padding: 0 0 12px 0 !important;
	}
	
	.novato-product-price {
		text-align: left !important;
		font-size: 18px !important;
		font-weight: 700 !important;
		margin: 0 !important;
		padding: 0 !important;
		display: block !important;
		color: #2c3e50 !important;
		line-height: 1.4 !important;
	}
	
	.novato-product-price span {
		display: inline-block !important;
	}
	
	.novato-price-regular {
		font-size: 14px !important;
		margin-right: 8px !important;
		text-decoration: line-through !important;
		color: #999 !important;
	}
	
	.novato-price-sale {
		color: #dc3545 !important;
	}
	
	/* Miktar kontrolleri - alt kısımda */
	.novato-products-table td.novato-col-quantity,
	.novato-col-quantity {
		margin-top: 12px !important;
		padding-top: 12px !important;
		border-top: 1px solid #f0f0f0 !important;
		text-align: left !important;
		display: block !important;
	}
	
	.novato-product-quantity {
		justify-content: flex-start !important;
		height: auto !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		display: flex !important;
		gap: 10px !important;
		width: 100% !important;
	}
	
	.novato-qty-btn {
		width: 40px !important;
		height: 40px !important;
		font-size: 18px !important;
		flex-shrink: 0 !important;
		display: flex !important;
	}
	
	.novato-qty-input {
		width: 80px !important;
		height: 40px !important;
		font-size: 15px !important;
		display: block !important;
	}
	
	/* Tüm iç elementleri görünür yap */
	.novato-products-table td * {
		visibility: visible !important;
		opacity: 1 !important;
	}
	
	/* Label'ları kaldır */
	.novato-products-table td:before {
		display: none !important;
		content: none !important;
	}
}

/* Excel gibi kompakt satır yüksekliği - En güçlü kurallar */
.novato-quick-order-wrapper .novato-products-table tbody tr,
.novato-quote-request-wrapper .novato-products-table tbody tr {
	height: 70px !important;
	max-height: 70px !important;
	min-height: 70px !important;
}

.novato-quick-order-wrapper .novato-products-table tbody tr td,
.novato-quote-request-wrapper .novato-products-table tbody tr td {
	height: 70px !important;
	max-height: 70px !important;
	min-height: 70px !important;
	padding: 5px 8px !important;
	line-height: 1.3 !important;
	vertical-align: middle !important;
	overflow: hidden !important;
}

.novato-quick-order-wrapper .novato-product-quantity,
.novato-quote-request-wrapper .novato-product-quantity {
	height: 36px !important;
	max-height: 36px !important;
}

/* Excel gibi kompakt - Tüm block elementleri düzelt */
.novato-quick-order-wrapper .novato-products-table td h3,
.novato-quote-request-wrapper .novato-products-table td h3,
.novato-products-table td h3 {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	display: inline !important;
	font-size: 13px !important;
	font-weight: 600;
}

.novato-quick-order-wrapper .novato-products-table td p,
.novato-quote-request-wrapper .novato-products-table td p,
.novato-products-table td p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	display: block !important;
	font-size: 11px !important;
}

.novato-quick-order-wrapper .novato-products-table td div,
.novato-quote-request-wrapper .novato-products-table td div,
.novato-products-table td div {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.1 !important;
}

	/* Ürün görseli container - Desktop */
	.novato-quick-order-wrapper .novato-product-image,
	.novato-quote-request-wrapper .novato-product-image {
		height: 60px !important;
		max-height: 60px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
	
	/* Mobil görünümde görsel container'ı büyüt */
	@media (max-width: 768px) {
		.novato-quick-order-wrapper .novato-product-image,
		.novato-quote-request-wrapper .novato-product-image,
		.novato-product-image {
			height: auto !important;
			min-height: 120px !important;
			max-height: none !important;
			padding: 10px !important;
			overflow: visible !important;
		}
		
		.novato-quick-order-wrapper .novato-product-image img,
		.novato-quote-request-wrapper .novato-product-image img,
		.novato-product-image img {
			width: auto !important;
			max-width: 100% !important;
			height: auto !important;
			max-height: 120px !important;
			object-fit: contain !important;
			object-position: center !important;
		}
		
		.novato-product-image-link {
			height: auto !important;
			min-height: 120px !important;
			max-height: none !important;
			overflow: visible !important;
			padding: 10px !important;
		}
		
		.novato-product-image-link img {
			width: auto !important;
			max-width: 100% !important;
			height: auto !important;
			max-height: 120px !important;
			object-fit: contain !important;
			object-position: center !important;
		}
	}

/* ============================================
   MOBİL GÖRÜNÜM - EN GÜÇLÜ OVERRIDE KURALLARI
   Desktop kurallarını override etmek için dosyanın sonunda
   ============================================ */
@media (max-width: 768px) {
	/* Desktop height kısıtlamalarını kaldır */
	.novato-quick-order-wrapper .novato-products-table tbody tr,
	.novato-quote-request-wrapper .novato-products-table tbody tr,
	.novato-products-table tbody tr {
		height: auto !important;
		max-height: none !important;
		min-height: auto !important;
		display: block !important;
	}
	
	.novato-quick-order-wrapper .novato-products-table tbody tr td,
	.novato-quote-request-wrapper .novato-products-table tbody tr td,
	.novato-products-table tbody tr td {
		height: auto !important;
		max-height: none !important;
		min-height: auto !important;
		display: block !important;
		padding: 12px 0 !important;
	}
	
	/* Tüm hücrelerin görünür olduğundan emin ol */
	.novato-col-name,
	.novato-col-sku,
	.novato-col-price,
	.novato-col-quantity {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		width: 100% !important;
	}
	
	/* İç elementlerin görünür olduğundan emin ol */
	.novato-col-name *,
	.novato-col-sku *,
	.novato-col-price *,
	.novato-col-quantity * {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
	
	.novato-col-name a,
	.novato-col-sku p,
	.novato-col-price div,
	.novato-col-quantity div {
		display: block !important;
	}
	
	/* Ürün adı linkini görünür yap */
	.novato-col-name h3,
	.novato-col-name h3 a {
		display: block !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		color: #2c3e50 !important;
		line-height: 1.4 !important;
		margin: 0 0 8px 0 !important;
		padding: 0 !important;
		text-decoration: none !important;
	}
	
	/* SKU bilgisini görünür yap */
	.novato-col-sku p.novato-product-sku {
		display: block !important;
		font-size: 13px !important;
		color: #6c757d !important;
		line-height: 1.6 !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	/* Fiyatı görünür yap */
	.novato-col-price .novato-product-price {
		display: block !important;
		font-size: 18px !important;
		font-weight: 700 !important;
		color: #2c3e50 !important;
		text-align: left !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	/* Miktar kontrollerini görünür yap */
	.novato-col-quantity .novato-product-quantity {
		display: flex !important;
		justify-content: flex-start !important;
		align-items: center !important;
		gap: 10px !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}


