/*
 * Dousis Sound - προσθήκες header & μενού (prefix hg927-)
 */

/* ---------- Τηλέφωνο & YouTube στο header ---------- */
.hg927-hd-top {
	display: flex;
	align-items: center;
	gap: 12px;
}
.hg927-hd-phone,
.hg927-hd-yt {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.hg927-hd-phone {
	color: inherit;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
}
.hg927-hd-phone:hover,
.hg927-hd-yt:hover {
	opacity: 0.85;
}
.hg927-hd-phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--theme-deafult, #e4002b);
	color: #ffffff;
}
.hg927-hd-phone-icon svg {
	width: 14px;
	height: 14px;
}
.hg927-hd-yt {
	padding: 4px 10px 4px 6px;
	border-radius: 999px;
	background: #ffffff;
	color: #222222;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.hg927-hd-yt svg {
	width: 24px;
	height: 17px;
	flex: 0 0 24px;
}

/* Desktop: τηλέφωνο + YouTube δεξιά του λογότυπου (μένουν ορατά και στο sticky) */
.hg927-hd-actions {
	display: none;
}
@media (min-width: 1200px) {
	.hg927-hd-actions {
		display: flex;
		align-items: center;
		gap: 14px;
	}
	.middle-header .menu-right.pull-right {
		display: flex;
		align-items: center;
	}
	/* Στο desktop το τηλέφωνο είναι πλέον στη μεσαία ζώνη */
	.top-header .hg927-hd-top {
		display: none;
	}
}
.hg927-hd-call {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #222222;
	text-decoration: none;
	cursor: pointer;
}
.hg927-hd-call:hover {
	color: var(--theme-deafult, #e4002b);
}
.hg927-hd-call-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--theme-deafult, #e4002b);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hg927-hd-call-icon svg {
	width: 20px;
	height: 20px;
}
.hg927-hd-call-text,
.hg927-hd-ytbtn-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	text-align: left;
}
.hg927-hd-call-label,
.hg927-hd-ytbtn-small {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.75;
}
.hg927-hd-call-number {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.hg927-hd-ytbtn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 16px 7px 10px;
	border-radius: 12px;
	background: linear-gradient(180deg, #1f1f1f 0%, #0d0d0d 100%);
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hg927-hd-ytbtn:hover {
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(255,0,0,0.25);
}
.hg927-hd-ytbtn svg {
	width: 34px;
	height: 24px;
	flex: 0 0 34px;
}
.hg927-hd-ytbtn-big {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.01em;
}
.hg927-hd-call:focus-visible,
.hg927-hd-ytbtn:focus-visible,
.hg927-hd-phone:focus-visible,
.hg927-hd-yt:focus-visible {
	outline: 2px solid var(--theme-deafult, #e4002b);
	outline-offset: 3px;
}

/* Κινητό / tablet */
@media (max-width: 1199px) {
	.top-header .header-contact ul li {
		display: block;
	}
	/* Στο κινητό το YouTube γίνεται κόκκινο για να ξεχωρίζει */
	.hg927-hd-yt {
		background: #ff0000;
		color: #ffffff;
		box-shadow: 0 2px 8px rgba(255,0,0,0.35);
	}
	.hg927-hd-yt:hover {
		color: #ffffff;
	}
	.hg927-hd-yt svg rect {
		fill: #ffffff;
	}
	.hg927-hd-yt svg path {
		fill: #ff0000;
	}
	/* Στο sticky header το κείμενο του λογότυπου έπεφτε πάνω στο τηλέφωνο */
	.sticky_header .hg927-hd-on .brand-logo span {
		display: none !important;
	}
	/* Χώρος για το burger που είναι fixed δεξιά στο sticky */
	.sticky_header .hg927-hd-on .top-header .hg927-hd-top {
		padding-right: 44px;
	}
}
@media (max-width: 479px) {
	.hg927-hd-phone {
		font-size: 15px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.hg927-hd-phone,
	.hg927-hd-yt,
	.hg927-hd-ytbtn {
		transition: none;
	}
}

/* ---------- Μενού: μάρκες με λογότυπα (ELECTRIC TAILGATES) ---------- */
#main-menu .hg927-mb {
	padding: 16px !important;
}
#main-menu .hg927-mb > li {
	display: block;
	width: 100%;
}
.hg927-mb-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}
#main-menu .hg927-mb .hg927-mb-brand {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 86px;
	margin: 0 !important;
	padding: 10px 6px !important;
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #ffffff;
	color: #222222 !important;
	text-align: center;
	text-transform: none !important;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
#main-menu .hg927-mb .hg927-mb-brand::before,
#main-menu .hg927-mb .hg927-mb-brand::after {
	display: none !important;
}
#main-menu .hg927-mb .hg927-mb-brand:hover,
#main-menu .hg927-mb .hg927-mb-brand:focus-visible {
	border-color: var(--theme-deafult, #e4002b);
	box-shadow: 0 6px 14px rgba(0,0,0,0.08);
	transform: translateY(-1px);
	outline: none;
}
.hg927-mb-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px;
}
.hg927-mb-logo img {
	display: block;
	max-width: 70%;
	max-height: 40px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.hg927-mb-initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f3f4f6;
	font-size: 13px;
	font-weight: 700;
}
.hg927-mb-name {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}
#main-menu .hg927-mb .hg927-mb-all {
	display: block !important;
	margin: 12px 0 0 0 !important;
	padding: 8px 0 0 0 !important;
	border-top: 1px solid #ececec;
	color: var(--theme-deafult, #e4002b) !important;
	font-size: 13px;
	font-weight: 700;
	text-align: right;
	text-transform: none !important;
	cursor: pointer;
}
#main-menu .hg927-mb .hg927-mb-all::before,
#main-menu .hg927-mb .hg927-mb-all::after {
	display: none !important;
}
@media (min-width: 1200px) {
	#main-menu .hg927-mb {
		width: 720px !important;
		min-width: 720px !important;
		max-width: 92vw !important;
	}
}
@media (max-width: 1199px) {
	#main-menu .hg927-mb {
		padding: 10px !important;
	}
	.hg927-mb-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
	}
	#main-menu .hg927-mb .hg927-mb-brand {
		min-height: 74px;
		padding: 8px 4px !important;
	}
	.hg927-mb-logo {
		height: 32px;
	}
	.hg927-mb-logo img {
		max-height: 32px;
	}
	.hg927-mb-initials {
		width: 32px;
		height: 32px;
		font-size: 12px;
	}
	.hg927-mb-name {
		font-size: 11px;
	}
}
@media (prefers-reduced-motion: reduce) {
	#main-menu .hg927-mb .hg927-mb-brand {
		transition: none;
	}
}
