/* ===========================================================================
   Hasine Koç — Site Header (Mermerica-style)
   ---------------------------------------------------------------------------
   Most styling lives in widget settings on template #184. This stylesheet
   handles alignment, icon spacing, and the mobile layout (logo + actions
   inline, hamburger right).
   =========================================================================== */

/* ---------- Section row: vertical centering ---------- */
.hk-header-section > .elementor-container {
	align-items: center !important;
}

/* ---------- Logo ---------- */
.hk-header-section .hk-logo img,
.hk-header-section .elementor-widget-theme-site-logo img {
	max-height: 44px;
	width: auto;
	height: auto;
}
.hk-header-section .hk-site-title {
	font-size: 18px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 700;
}
.hk-header-section .hk-header-col--logo .elementor-widget-wrap {
	justify-content: flex-start;
}

/* ---------- Nav menu ---------- */
.hk-header-section .hk-nav .elementor-nav-menu {
	justify-content: center;
}
.hk-header-section .hk-nav .elementor-nav-menu--main .elementor-nav-menu a.elementor-item {
	padding: 8px 0;
}

/* ---------- Right actions row (search + account + cart) ---------- */
.hk-header-section .hk-header-col--actions .elementor-widget-wrap {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	flex-wrap: nowrap;
}
.hk-header-section .hk-header-col--actions .elementor-widget {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

/* Search icon button: minimal skin already gives us a toggle; tighten the
   open-state input so it floats over content and doesn't push siblings. */
.hk-header-section .hk-search-icon .elementor-search-form__toggle i {
	font-size: 18px;
	color: #171717;
}
.hk-header-section .hk-search-icon .elementor-search-form__container {
	min-width: 240px;
}

/* Account icon: simple link */
.hk-header-section .hk-account-icon a,
.hk-header-section .hk-account-icon .elementor-icon {
	color: #171717;
	font-size: 18px;
	display: inline-flex;
	align-items: center;
}
.hk-header-section .hk-account-icon .elementor-icon:hover {
	color: #525252;
}

/* Cart icon */
.hk-header-section .hk-cart-icon a {
	display: inline-flex;
	align-items: center;
	color: #171717;
}
.hk-header-section .hk-cart-icon .elementor-menu-cart__toggle .elementor-button-text {
	display: none;
}
.hk-header-section .hk-cart-icon .elementor-menu-cart__toggle__counter {
	background: #171717;
	color: #fff;
	font-size: 9px;
	font-weight: 600;
	min-width: 16px;
	height: 16px;
	border-radius: 9999px;
	padding: 0 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Sticky shadow when stuck */
.hk-header-section.elementor-sticky--effects {
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* ===========================================================================
   Tablet (768–1023px)
   =========================================================================== */
@media (max-width: 1023px) {
	/* Section padding: smaller horizontal */
	.hk-header-section {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
	/* Container becomes a single flex row, columns take their natural width. */
	.hk-header-section > .elementor-container {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 8px;
	}
	.hk-header-section .hk-header-col {
		width: auto !important;
		min-height: 0 !important;
		padding: 0 !important;
	}
	/* Logo: take the leftmost real estate, scale down. */
	.hk-header-section .hk-header-col--logo {
		flex: 1 1 auto;
		order: 1;
	}
	.hk-header-section .hk-header-col--logo img,
	.hk-header-section .hk-header-col--logo .elementor-widget-theme-site-logo img {
		max-height: 36px;
	}
	/* Right actions cluster: search + account + cart, tightened. */
	.hk-header-section .hk-header-col--actions {
		flex: 0 0 auto;
		order: 2;
	}
	.hk-header-section .hk-header-col--actions .elementor-widget-wrap {
		gap: 12px;
	}
	/* Nav (which collapses to hamburger on mobile) sits last on the row. */
	.hk-header-section .hk-header-col--nav {
		flex: 0 0 auto;
		order: 3;
	}
	.hk-header-section .hk-header-col--nav .elementor-widget-wrap {
		justify-content: flex-end;
	}

	/* Mobile dropdown drawer panel styling */
	.hk-header-section .hk-nav .elementor-menu-toggle {
		color: #171717;
		font-size: 22px;
		padding: 4px;
	}
	.hk-header-section .hk-nav .elementor-nav-menu--dropdown {
		background: #ffffff;
		border-top: 1px solid #e5e5e5;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		width: 100vw;
		margin-left: calc(50% - 50vw);
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
	}
	.hk-header-section .hk-nav .elementor-nav-menu--dropdown a {
		padding: 16px 24px !important;
		font-size: 13px !important;
		letter-spacing: 1.5px !important;
		text-transform: uppercase !important;
		border-bottom: 1px solid #f5f5f5 !important;
		color: #171717 !important;
	}
	.hk-header-section .hk-nav .elementor-nav-menu--dropdown a:hover {
		background: #fafafa !important;
	}

	/* Search dropdown on mobile: fill the screen width when opened. */
	.hk-header-section .hk-search-icon .elementor-search-form__container {
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		min-width: 0;
		width: 100vw;
		padding: 12px 16px;
		background: #fff;
		border-bottom: 1px solid #e5e5e5;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
	}
}

/* ===========================================================================
   Small mobile (≤480px)
   =========================================================================== */
@media (max-width: 480px) {
	.hk-header-section .hk-header-col--logo img,
	.hk-header-section .hk-header-col--logo .elementor-widget-theme-site-logo img {
		max-height: 32px;
	}
	.hk-header-section .hk-header-col--actions .elementor-widget-wrap {
		gap: 8px;
	}
	/* Hide account icon on tiny screens — keep search + cart only. */
	.hk-header-section .hk-account-icon {
		display: none !important;
	}
}

/* ===========================================================================
   Sticky behaviour: WP admin bar offset
   =========================================================================== */
.admin-bar .hk-header-section.elementor-sticky--active {
	top: 32px !important;
}
@media (max-width: 782px) {
	.admin-bar .hk-header-section.elementor-sticky--active {
		top: 46px !important;
	}
}

/* ===========================================================================
   Footer (HK Site Footer #222) — ince rötuşlar
   =========================================================================== */
/* Siyah logo'yu koyu zeminde beyaza çevir */
.hk-footer-logo img {
	filter: invert(1) brightness(2);
	opacity: 0.95;
}
/* icon-list linkleri: ince, yumuşak hover geçişi */
.elementor-location-footer .elementor-icon-list-item a {
	transition: color 0.2s ease, padding-left 0.2s ease;
	font-weight: 300;
}
.elementor-location-footer .elementor-icon-list-item a:hover {
	padding-left: 4px;
}
/* Sosyal ikonlar: ince çerçeveli kare, hover'da beyaz */
.hk-footer-social .elementor-social-icon {
	background-color: transparent !important;
	border: 1px solid #3a3a3a;
	border-radius: 0 !important;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.hk-footer-social .elementor-social-icon i,
.hk-footer-social .elementor-social-icon svg {
	color: #a3a3a3;
	fill: #a3a3a3;
	transition: color 0.2s ease, fill 0.2s ease;
}
.hk-footer-social .elementor-social-icon:hover {
	border-color: #ffffff;
}
.hk-footer-social .elementor-social-icon:hover i,
.hk-footer-social .elementor-social-icon:hover svg {
	color: #ffffff;
	fill: #ffffff;
}
/* Mobilde footer kolonları ortalı, daha ferah */
@media (max-width: 767px) {
	.elementor-location-footer .elementor-widget-heading,
	.elementor-location-footer .elementor-widget-text-editor,
	.elementor-location-footer .elementor-widget-icon-list {
		text-align: center;
	}
	.elementor-location-footer .elementor-icon-list-items {
		display: inline-block;
		text-align: center;
	}
	.hk-footer-logo {
		text-align: center;
	}
	.hk-footer-logo img {
		margin: 0 auto;
	}
}
