/**
 * Banyoma Master — genel ve header stilleri
 */

:root {
	/* Marka (Banyoma) */
	--banyoma-orange: #f15a24;
	--banyoma-orange-dark: #d94a18;
	/* Referans üst çubuk (yerevdekor tarzı arama çerçevesi) */
	--banyoma-search-orange: #f9a134;
	--banyoma-search-orange-dark: #e89420;
	--banyoma-blue: #2563eb;
	--banyoma-green: #16a34a;
	--banyoma-text: #4a4a4a;
	--banyoma-text-muted: #6b7280;
	--banyoma-header-action: #6b6b6b;
	--banyoma-border: #e5e7eb;
	--banyoma-icon: #9ca3af;
	--banyoma-badge: #e53935;
	--banyoma-mega-green: #16a34a;
	/* Üst çubuk / içerik: geniş ekranda biraz daha az yan boşluk */
	--banyoma-max: min(calc(100vw - 32px), 1400px);
	/* Menü altı şerit: yanlardan 120px boşluk (toplam 240px dar şerit) */
	--banyoma-page-gutter: 120px;
	--banyoma-max-banner: min(calc(100vw - 2 * var(--banyoma-page-gutter)), 1920px);
	/* Menü altı vitrin / Category Banner (Önemli Kategori) / Kurumsal şerit zemin — tek ton */
	--banyoma-showcase-strip-bg: #f3f4f6;
	/* Gri şerit üzerindeki beyaz kutular — daha belirgin çerçeve + gölge */
	--banyoma-showcase-box-border: 1px solid #cbd5e1;
	--banyoma-showcase-box-radius: 10px;
	--banyoma-showcase-box-shadow:
		0 2px 6px rgba(15, 23, 42, 0.07),
		0 8px 28px rgba(15, 23, 42, 0.1);
}

@media (max-width: 900px) {
	:root {
		--banyoma-page-gutter: 40px;
	}
}

@media (max-width: 520px) {
	:root {
		--banyoma-page-gutter: 16px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Montserrat", system-ui, -apple-system, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--banyoma-text);
	background: #fff;
}

.banyoma-container {
	max-width: var(--banyoma-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

/* Ana içerik: üst/alt boşluk (metin alanı çok sıkışık görünmesin) */
#main.banyoma-main {
	padding-top: 28px;
	padding-bottom: 40px;
}

/* ——— Özelleştir: Banner Üst Reklam ——— */

.banyoma-top-banner {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.banyoma-top-banner__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	flex-wrap: wrap;
	padding-top: 10px;
	padding-bottom: 10px;
}

.banyoma-top-banner__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
}

.banyoma-top-banner__icon svg {
	width: 32px;
	height: 32px;
	display: block;
}

.banyoma-top-banner__text {
	text-transform: uppercase;
}

.banyoma-top-banner__text strong {
	font-size: 1.15em;
	font-weight: 800;
}

/* ——— Özelleştir: Banner Alt Reklam (sayfa / viewport altı) ——— */

.banyoma-bottom-banner {
	line-height: 1.35;
	text-align: center;
}

.banyoma-bottom-banner__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px 18px;
	flex-wrap: wrap;
	min-height: 56px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.banyoma-bottom-banner__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
}

.banyoma-bottom-banner__icon svg,
.banyoma-bottom-banner__icon-img {
	width: 36px;
	height: 36px;
	display: block;
	object-fit: contain;
}

.banyoma-bottom-banner__text strong {
	font-size: 1.15em;
	font-weight: 800;
}

.banyoma-bottom-banner--sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

body.banyoma-bottom-banner-is-sticky {
	padding-bottom: 72px;
}

@media (max-width: 600px) {
	body.banyoma-bottom-banner-is-sticky {
		padding-bottom: 88px;
	}
}

/* Menü altı banner: assets/css/banner-slider.css */
/* Menü altı ürün vitrini: product-showcase.css, product-showcase-2.css, product-showcase-3.css */
/* Ayrıcalık şeridi: assets/css/privileges-bandeau.css */

/* Üst çubukta kenarlara daha yakın: logo sola, aksiyonlar sağa */
.banyoma-header .banyoma-container {
	padding-left: 10px;
	padding-right: 10px;
}

/* ——— Header ——— */

.banyoma-header {
	background: #fff;
	border-bottom: 1px solid var(--banyoma-border);
}

.banyoma-header__inner {
	padding-top: 14px;
	padding-bottom: 0;
}

/* Üst satır: logo | ortada geniş arama | sağda ikonlar (referans düzeni) */
.banyoma-header__top {
	display: grid;
	grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 16px;
	padding-bottom: 14px;
}

.banyoma-header__logo {
	flex: 0 0 auto;
	min-width: 0;
	justify-self: start;
	margin-left: -6px;
}

.banyoma-header__logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.banyoma-header__logo .custom-logo {
	display: block;
	max-height: 44px;
	width: auto;
	height: auto;
}

/* Yatay logo — çok yüksek header istemiyorsanız max-height ile sınırlayın */
.banyoma-header__logo .custom-logo-link {
	max-width: min(100%, 280px);
}

.banyoma-header__logo-link {
	text-decoration: none;
	display: inline-block;
}

.banyoma-header__logo-text {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.banyoma-header__logo-part--1 {
	color: var(--banyoma-blue);
}

.banyoma-header__logo-part--2 {
	color: var(--banyoma-orange);
}

.banyoma-header__logo-part--3 {
	color: var(--banyoma-green);
}

.banyoma-header__search {
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 4px;
}

/* WooCommerce ve varsayılan arama aynı görünüm */
.banyoma-header__search .banyoma-product-search,
.banyoma-header__search form.search-form.banyoma-product-search {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: min(100%, 880px);
	min-height: 52px;
	border: 2px solid var(--banyoma-search-orange);
	border-radius: 0;
	overflow: hidden;
	background: #fff;
}

.banyoma-product-search__input {
	flex: 1 1 auto;
	border: 0;
	padding: 14px 16px;
	font: inherit;
	font-size: 15px;
	color: var(--banyoma-text);
	min-width: 0;
	min-height: 48px;
}

.banyoma-product-search__input::placeholder {
	color: #b0b0b0;
}

.banyoma-product-search__input:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(249, 161, 52, 0.28);
}

.banyoma-product-search__submit {
	flex: 0 0 54px;
	min-height: 48px;
	border: 0;
	background: var(--banyoma-search-orange);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.banyoma-product-search__submit:hover,
.banyoma-product-search__submit:focus-visible {
	background: var(--banyoma-search-orange-dark);
}

.banyoma-product-search__submit:focus-visible {
	outline: 2px solid var(--banyoma-blue);
	outline-offset: 2px;
}

.banyoma-product-search__submit-icon {
	width: 24px;
	height: 24px;
	background: no-repeat center / contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
}

.banyoma-header__actions {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px 14px;
	justify-self: end;
	justify-content: flex-end;
	flex-shrink: 0;
	margin-right: -6px;
}

.banyoma-header__action {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--banyoma-header-action);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.15;
	white-space: nowrap;
}

.banyoma-header__action:hover,
.banyoma-header__action:focus-visible {
	color: #3d3d3d;
}

.banyoma-header__action--stacked {
	align-items: center;
}

.banyoma-header__action--account {
	max-width: none;
}

.banyoma-header__action-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1px;
}

.banyoma-header__action-text--single {
	display: block;
	padding-top: 2px;
}

.banyoma-header__action-line {
	display: block;
	line-height: 1.15;
}

.banyoma-header__action-line--sub {
	font-size: 10px;
	font-weight: 500;
	text-transform: lowercase;
	letter-spacing: 0.02em;
	color: var(--banyoma-header-action);
}

.banyoma-header__action--account:hover .banyoma-header__action-line--sub,
.banyoma-header__action--account:focus-visible .banyoma-header__action-line--sub {
	color: #3d3d3d;
}

.banyoma-header__action-wrap {
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
	align-self: center;
}

.banyoma-header__action-icon {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	background: no-repeat center / 26px 26px;
}

/* Dolu gri kalp (referans) */
.banyoma-header__action-icon--heart {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239ca3af' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

/* Numune: sepet yerine taşıma / kamyonet (referanstaki el arabası hissi) */
.banyoma-header__action-icon--dolly {
	background-size: 28px 28px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 18.75a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 01-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 00-3.213-9.193 2.18 2.18 0 00-1.941-1.196h-3.75a2.25 2.25 0 00-2.25 2.25V18m-4.5-4.5h15m-12-6h6m-6 3h6'/%3E%3C/svg%3E");
}

.banyoma-header__action-icon--cart {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}

.banyoma-header__action-icon--user {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E");
}

/* Rozet: ikonun sol üstü (referans) */
.banyoma-header__badge {
	position: absolute;
	top: -5px;
	left: -6px;
	right: auto;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--banyoma-badge);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-shadow: 0 0 0 1px #fff;
}

.banyoma-header__nav {
	position: relative;
	z-index: 100;
	border-top: 1px solid var(--banyoma-border);
	padding: 0;
	background: #fff;
	overflow: visible;
}

/* overflow:auto üst-alt menüyü keser; yatay taşma için menünün kendisine bakın */
.banyoma-header__nav-inner {
	overflow: visible;
}

.banyoma-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	min-height: 48px;
}

.banyoma-header__menu > li {
	position: relative;
	margin: 0;
	padding: 0 14px;
	flex: 0 0 auto;
}

.banyoma-header__menu > li:not(:first-child)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 14px;
	background: #d1d5db;
}

/* Sadece üst seviye satırı (mega içindeki linkler hariç) */
.banyoma-header__menu > li > a {
	display: block;
	padding: 12px 0 14px;
	text-decoration: none;
	color: var(--banyoma-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	border-top: 2px solid transparent;
	margin-top: -1px;
}

.banyoma-header__menu > li:hover > a,
.banyoma-header__menu > li:focus-within > a,
.banyoma-header__menu > li.current-menu-item > a,
.banyoma-header__menu > li.current-menu-ancestor > a {
	color: var(--banyoma-mega-green);
	border-top-color: var(--banyoma-mega-green);
}

/* ——— Mega menü paneli ——— */

.banyoma-mega {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 100vw;
	top: 100%;
	box-sizing: border-box;
	background: #fff;
	border-top: 1px solid var(--banyoma-border);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
	z-index: 200;
}

.banyoma-menu-item--mega:hover .banyoma-mega,
.banyoma-menu-item--mega:focus-within .banyoma-mega {
	display: block;
}

/*
 * WordPress varsayılan ul.sub-menu (walker yüklenmezse / eski önbellek):
 * Akışta dikey liste ve flex kırılmasını önlemek için mega benzeri grid + mutlak konum.
 */
.banyoma-header__menu > li > ul.sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 100vw;
	top: 100%;
	box-sizing: border-box;
	z-index: 200;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-top: 1px solid var(--banyoma-border);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0;
}

.banyoma-header__menu > li.menu-item-has-children:hover > ul.sub-menu,
.banyoma-header__menu > li.menu-item-has-children:focus-within > ul.sub-menu {
	display: grid;
}

.banyoma-header__menu > li > ul.sub-menu > li {
	margin: 0;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

.banyoma-header__menu > li > ul.sub-menu > li:nth-child(6n) {
	border-right: 0;
}

.banyoma-header__menu > li > ul.sub-menu > li > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 14px 10px 16px;
	min-height: 72px;
	text-decoration: none;
	color: var(--banyoma-text-muted);
	font-size: 12px;
	font-weight: 500;
	border-top: 0;
	margin-top: 0;
}

.banyoma-mega__inner {
	display: flex;
	justify-content: flex-end;
	padding-top: 10px;
	padding-bottom: 20px;
	padding-left: 16px;
	padding-right: 16px;
	width: 100%;
	box-sizing: border-box;
}

.banyoma-mega__grid {
	list-style: none;
	margin: 0;
	margin-inline-start: auto;
	padding: 0;
	display: grid;
	width: min(100%, 960px);
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-sizing: border-box;
}

.banyoma-mega__item {
	margin: 0;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

.banyoma-mega__item:nth-child(6n) {
	border-right: 0;
}

.banyoma-mega__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	padding: 14px 10px 16px;
	min-height: 100%;
	text-decoration: none;
	color: var(--banyoma-text-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.35;
	gap: 10px;
	transition: background 0.15s ease, color 0.15s ease;
}

.banyoma-mega__link:hover,
.banyoma-mega__link:focus-visible {
	background: #fafafa;
	color: var(--banyoma-text);
}

.banyoma-mega__thumb {
	display: block;
	width: 100%;
	max-width: 104px;
	aspect-ratio: 1;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 2px;
	background: #f3f4f6;
}

.banyoma-mega__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.banyoma-mega__thumb--placeholder {
	background: linear-gradient(145deg, #f3f4f6 0%, #e5e7eb 100%);
	min-height: 104px;
}

.banyoma-mega__label {
	display: block;
	max-width: 11em;
}

.banyoma-footer {
	margin-top: 0;
	padding: 24px 0;
	border-top: 1px solid var(--banyoma-border);
}

/* Üst bilgi şeridi (beyaz) ile alt footer çubuğu */
.banyoma-footer-info + .banyoma-footer {
	margin-top: 0;
	border-top: 1px solid #e5e7eb;
}

.banyoma-footer-links + .banyoma-footer {
	margin-top: 0;
	border-top: 1px solid #e5e7eb;
}

.banyoma-footer-info + .banyoma-footer-links {
	margin-top: 0;
}

.banyoma-footer__copy {
	margin: 0;
	font-size: 13px;
	color: var(--banyoma-text-muted);
	text-align: center;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	z-index: 100000;
	padding: 8px 16px;
	background: #000;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 1100px) {
	.banyoma-header__actions {
		flex-wrap: wrap;
		justify-content: flex-end;
		row-gap: 10px;
	}
}

@media (max-width: 992px) {
	/* Üst çubuk mobil düzeni: assets/css/header-mobile.css */

	.banyoma-mega {
		position: static;
		left: auto;
		transform: none;
		width: 100%;
		max-width: none;
		box-shadow: none;
	}

	.banyoma-mega__inner {
		justify-content: stretch;
		padding-left: 0;
		padding-right: 0;
	}

	.banyoma-mega__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		margin-inline-start: 0;
	}

	.banyoma-header__menu > li > ul.sub-menu {
		position: static;
		left: auto;
		transform: none;
		width: 100%;
		max-width: none;
		box-shadow: none;
	}

	.banyoma-header__menu > li.menu-item-has-children:hover > ul.sub-menu,
	.banyoma-header__menu > li.menu-item-has-children:focus-within > ul.sub-menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.banyoma-header__menu {
		flex-direction: column;
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.banyoma-header__menu > li {
		padding: 4px 0;
		width: 100%;
	}

	.banyoma-header__menu > li:not(:first-child)::before {
		display: none;
	}
}
