:root {
	--ofisimo-ink: #14213d;
	--ofisimo-muted: #68758a;
	--ofisimo-primary: #2563eb;
	--ofisimo-primary-dark: #1747b0;
	--ofisimo-surface: #ffffff;
	--ofisimo-bg: #f6f8fc;
	--ofisimo-border: #e6eaf1;
	--ofisimo-radius: 14px;
}

html { scroll-behavior: smooth; }
body {
	color: var(--ofisimo-ink);
	background: var(--ofisimo-bg);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }

/* Header */
.elementor-location-header {
	position: relative;
	z-index: 20;
	background: rgba(255,255,255,.96);
	box-shadow: 0 1px 0 rgba(20,33,61,.08), 0 8px 24px rgba(20,33,61,.04);
}
.elementor-location-header .elementor-button {
	border-radius: 8px;
	font-weight: 700;
}
.elementor-location-header .elementor-nav-menu a,
.elementor-location-header .e-n-menu-item-title {
	font-weight: 600;
	letter-spacing: -.01em;
}

/* Homepage cards and sections */
body.home .elementor-section {
	--e-global-color-primary: var(--ofisimo-primary);
}
body.home .elementor-widget-slides .swiper-slide,
body.home .elementor-widget-image-box,
body.home .elementor-widget-icon-box {
	border-radius: var(--ofisimo-radius);
	overflow: hidden;
}
body.home .elementor-widget-image-box,
body.home .elementor-widget-icon-box {
	background: var(--ofisimo-surface);
	border: 1px solid var(--ofisimo-border);
	box-shadow: 0 8px 25px rgba(20,33,61,.06);
	transition: transform .2s ease, box-shadow .2s ease;
}
body.home .elementor-widget-image-box:hover,
body.home .elementor-widget-icon-box:hover {
	box-shadow: 0 14px 32px rgba(20,33,61,.11);
	transform: translateY(-3px);
}
body.home .elementor-widget-button .elementor-button,
.single-product .single_add_to_cart_button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
	border: 0;
	border-radius: 9px;
	background: var(--ofisimo-primary);
	box-shadow: 0 8px 18px rgba(37,99,235,.2);
	font-weight: 700;
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
body.home .elementor-widget-button .elementor-button:hover,
.single-product .single_add_to_cart_button:hover,
.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
	background: var(--ofisimo-primary-dark);
	box-shadow: 0 10px 24px rgba(37,99,235,.28);
	transform: translateY(-1px);
}

/* Product detail */
.single-product { background: var(--ofisimo-bg); }
.single-product .elementor-location-single > .elementor-section,
.single-product .elementor-924 > .elementor-section {
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
}
/* Ürün görseli, içeriği ve satın alma akışını tek kartta birleştirir. */
.single-product .elementor-924 .elementor-element-79b6a2a {
	box-sizing: border-box;
	padding: 22px;
	border: 1px solid var(--ofisimo-border);
	border-radius: var(--ofisimo-radius);
	background: var(--ofisimo-surface);
	box-shadow: 0 10px 30px rgba(20,33,61,.07);
}
.single-product .elementor-924 .elementor-element-50633ce,
.single-product .elementor-924 .elementor-element-b9700da,
.single-product .elementor-924 .elementor-element-097ab59,
.single-product .elementor-924 .elementor-element-5fcc2b7,
.single-product .elementor-924 .elementor-element-22a33f3 {
	background: transparent !important;
	box-shadow: none !important;
}
.single-product .elementor-924 .elementor-element-5fcc2b7,
.single-product .elementor-924 .elementor-element-22a33f3 { padding: 0 !important; }
.single-product .elementor-924 .elementor-element-50633ce {
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
}
.single-product .elementor-924 .elementor-element-c5a37c3 > .elementor-widget-wrap {
	margin-top: 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
/* Ürün detayının tamamı tek kolon ve doğal sayfa akışıyla ilerler. */
.single-product .elementor-924 .elementor-element-79b6a2a > .elementor-container,
.single-product .elementor-924 .elementor-element-97a0b73 > .elementor-container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.single-product .elementor-924 .elementor-element-dd242c9,
.single-product .elementor-924 .elementor-element-c5a37c3,
.single-product .elementor-924 .elementor-element-5fcc2b7,
.single-product .elementor-924 .elementor-element-22a33f3 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}
.single-product .elementor-924 .elementor-element-0008589,
.single-product .elementor-924 .woocommerce-product-gallery { width: 100%; }
@media (min-width: 768px) {
	.single-product .elementor-924 .elementor-element-97a0b73 > .elementor-container {
		flex-direction: row !important;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 24px;
	}
	.single-product .elementor-924 .elementor-element-dd242c9 {
		width: 32% !important;
		max-width: 32% !important;
		flex: 0 0 32% !important;
	}
	.single-product .elementor-924 .elementor-element-c5a37c3 {
		width: auto !important;
		max-width: none !important;
		flex: 1 1 auto !important;
		margin-top: 0 !important;
	}
	.single-product .elementor-924 .woocommerce-product-gallery { width: 100% !important; max-width: 320px; }
}
.single-product .elementor-924 .elementor-widget-share-buttons { display: none !important; }
.single-product .elementor-924 .elementor-element-97a0b73 > .elementor-container { min-height: 0 !important; }
.single-product .elementor-924 .elementor-element-dd242c9,
.single-product .elementor-924 .elementor-element-dd242c9 > .elementor-widget-wrap { background: transparent !important; }
.single-product .elementor-924 .elementor-element-dd242c9 > .elementor-element-populated { margin: 0 !important; }
.single-product .elementor-924 .elementor-element-8b5fb1a {
	max-height: none !important;
	height: auto !important;
	overflow: visible !important;
}
.single-product .elementor-924 .elementor-element-49e2791 {
	display: block !important;
	max-height: none !important;
	overflow: visible !important;
}
@media (min-width: 768px) {
	/* Ürün vitrini ve satın alma alanını tam genişlikte alt alta gösterir. */
	.single-product .elementor-924 .elementor-element-5fcc2b7,
	.single-product .elementor-924 .elementor-element-22a33f3 {
		width: 100% !important;
		flex-basis: 100% !important;
	}
	.single-product .elementor-924 .elementor-element-22a33f3 { margin-top: 18px; }
	.single-product .elementor-924 .elementor-element-c5a37c3 { width: 57% !important; }
	.single-product .elementor-924 .elementor-element-dd242c9 { width: 43% !important; }
	/* Görseli üstte, başlık ve açıklamayı hemen altında tutar. */
	.single-product .elementor-924 .elementor-element-dd242c9,
	.single-product .elementor-924 .elementor-element-c5a37c3 {
		width: 100% !important;
		flex-basis: 100% !important;
	}
	.single-product .elementor-924 .elementor-element-c5a37c3 { margin-top: 24px; }
}
.single-product .woocommerce-breadcrumb {
	padding: 8px 0 16px;
	color: var(--ofisimo-muted);
	font-size: 12px;
}
.single-product .woocommerce-breadcrumb a { color: var(--ofisimo-primary); font-weight: 600; }
.single-product .elementor-widget-woocommerce-product-title h1 {
	margin-bottom: 14px;
	color: var(--ofisimo-ink);
	font-size: clamp(26px, 3vw, 42px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.1;
}
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image--placeholder {
	border-radius: var(--ofisimo-radius);
	overflow: hidden;
}
.single-product .woocommerce-product-gallery {
	background: #fff;
	box-shadow: 0 10px 30px rgba(20,33,61,.07);
}
.single-product .woocommerce-product-gallery {
	width: min(100%, 620px) !important;
	margin-right: auto;
	margin-left: auto;
}
.single-product .woocommerce-product-gallery img { display: block; width: 100%; }
.single-product .elementor-widget-woocommerce-product-add-to-cart {
	margin-top: 18px;
	padding: 20px;
	border: 1px solid var(--ofisimo-border);
	border-radius: var(--ofisimo-radius);
	background: var(--ofisimo-surface);
	box-shadow: 0 10px 30px rgba(20,33,61,.06);
}
.single-product .elementor-924 .elementor-element-22a33f3 .elementor-widget-woocommerce-product-add-to-cart {
	padding: 0;
	border: 0;
	box-shadow: none;
}
.single-product .single_add_to_cart_button { min-height: 48px; padding: 12px 22px; }
.ofisimo-demo-panel { margin-top: 10px; text-align: center; }
.ofisimo-demo-panel-button { display: block; width: 100%; box-sizing: border-box; padding: 12px 18px; border-radius: 9px; background: #172b4d; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.ofisimo-demo-panel-button:hover { background: #0e1d36; }
.ofisimo-demo-login { display: flex; justify-content: center; gap: 14px; margin-top: 8px; color: var(--ofisimo-muted); font-size: 11px; line-height: 1.5; }
.ofisimo-demo-login strong { color: var(--ofisimo-ink); }
.single-product .quantity .qty {
	min-height: 48px;
	border: 1px solid var(--ofisimo-border);
	border-radius: 8px;
}
.single-product .woocommerce-tabs {
	margin-top: 30px;
	padding: 24px;
	border: 1px solid var(--ofisimo-border);
	border-radius: var(--ofisimo-radius);
	background: #fff;
}
.single-product .woocommerce-tabs ul.tabs { margin-bottom: 20px; }
.single-product .woocommerce-tabs ul.tabs li a { font-weight: 700; }
.single-product .elementor-share-buttons-wrapper { opacity: .75; }

/* Existing service block: keep it compact inside the purchase card */
.single-product .ofisimo-service-options {
	margin: 14px 0 16px;
	padding: 16px;
	border-color: var(--ofisimo-border);
	border-radius: 10px;
	box-shadow: none;
}
.single-product .ofisimo-service-heading strong { font-size: 15px; }
.single-product .ofisimo-service-option { min-height: 42px; padding: 8px 10px; }

/* Cart and checkout */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce { max-width: 1180px; margin: 0 auto; }
.woocommerce-cart table.cart,
.woocommerce-checkout form.checkout,
.woocommerce-checkout .woocommerce-checkout-review-order {
	border: 1px solid var(--ofisimo-border);
	border-radius: var(--ofisimo-radius);
	background: #fff;
	box-shadow: 0 8px 25px rgba(20,33,61,.05);
}
.woocommerce-cart table.cart { border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce-cart table.cart th { color: var(--ofisimo-muted); font-size: 12px; text-transform: uppercase; }
.woocommerce-cart .cart_totals,
.woocommerce-checkout #customer_details { padding: 20px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 44px;
	border: 1px solid var(--ofisimo-border);
	border-radius: 8px;
}

@media (max-width: 767px) {
	.elementor-location-header { box-shadow: 0 1px 0 rgba(20,33,61,.08); }
	.single-product .elementor-924 .elementor-element-79b6a2a { padding: 14px; }
	.single-product .elementor-924 > .elementor-section { padding-right: 14px; padding-left: 14px; }
	.single-product .elementor-924 .elementor-element-50633ce { padding: 0 !important; }
	.single-product .elementor-924 .elementor-element-c5a37c3 > .elementor-widget-wrap { margin-top: 16px; padding: 0; }
	.single-product .elementor-widget-woocommerce-product-add-to-cart { padding: 13px; }
	.single-product .elementor-924 .elementor-element-22a33f3 .elementor-widget-woocommerce-product-add-to-cart { padding: 0; }
	.single-product .woocommerce-product-gallery { width: 100% !important; }
	.single-product .quantity, .single-product .single_add_to_cart_button { width: 100%; }
	.single-product .quantity { margin-bottom: 8px !important; }
	.single-product .woocommerce-tabs { padding: 16px; }
	.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { padding-right: 14px; padding-left: 14px; }
}

@media (min-width: 768px) {
	/* Son override: masaüstünde görsel solda, içerik sağda kalır. */
	.single-product .elementor-924 .elementor-element-97a0b73 > .elementor-container {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		gap: 24px;
	}
	.single-product .elementor-924 .elementor-element-dd242c9 {
		width: 32% !important;
		max-width: 32% !important;
		flex: 0 0 32% !important;
	}
	.single-product .elementor-924 .elementor-element-c5a37c3 {
		width: auto !important;
		max-width: none !important;
		flex: 1 1 auto !important;
		margin-top: 0 !important;
	}
	.single-product .elementor-924 .woocommerce-product-gallery {
		width: 100% !important;
		max-width: 320px;
	}
}
