/* ==========================================================================
   Aisivio layout — topbar, header, nav, mobile menu, footer, page hero
   ========================================================================== */

/* ---------- Top announcement bar ---------- */
.a-topbar { background: var(--a-deep); color: #fff; font-size: 12px; border-bottom: 1px solid rgba(56, 30, 95, .5); }
.a-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; padding-block: 7px; }
.a-topbar__notice { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-topbar__text { color: #e2e8f0; font-weight: 500; }
.a-topbar__actions { display: flex; align-items: center; gap: 18px; }
.a-topbar__link { color: #cbd5e1; font-weight: 600; }
.a-topbar__link:hover { color: var(--a-cyan); }

.a-currency { display: inline-flex; align-items: center; gap: 6px; color: var(--a-cyan); font-size: 12px; }
.a-currency__select { background: transparent; border: 0; color: #e2e8f0; font-weight: 600; font-size: 12px; cursor: pointer; font-family: inherit; }
.a-currency__select option { background: var(--a-dark); color: #fff; }

@media (max-width: 640px) {
	.a-topbar__inner { justify-content: center; }
	.a-topbar__notice { justify-content: center; text-align: center; }
}

/* ---------- Header ---------- */
.a-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--a-dark);
	border-bottom: 1px solid rgba(56, 30, 95, .6);
	box-shadow: 0 10px 30px rgba(20, 12, 36, .35);
}
.a-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--a-header-h); }

body.admin-bar .a-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .a-header { top: 46px; } }

/* Logo */
.a-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.a-logo:hover { color: inherit; }
.a-logo__mark {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--a-purple);
	border: 1px solid rgba(0, 168, 204, .4);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color .2s;
	flex-shrink: 0;
}
.a-logo:hover .a-logo__mark { border-color: var(--a-cyan); }
.a-logo__markSvg { width: 28px; height: 28px; }
.a-logo__text { display: flex; flex-direction: column; line-height: 1; }
.a-logo__name { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.a-logo__name span { color: var(--a-cyan); }
.a-logo__tag { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #94a3b8; font-weight: 600; margin-top: 5px; }
.a-logo__img { max-height: 52px; width: auto; }

/* ---------- Primary nav ---------- */
.a-nav { display: none; flex: 1; justify-content: center; }
@media (min-width: 1024px) { .a-nav { display: flex; } }

.a-nav__list { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.a-nav__list > li { position: relative; }
.a-nav__list a { color: #cbd5e1; font-size: 13.5px; font-weight: 600; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.a-nav__list a:hover { color: var(--a-cyan); }
.a-nav__list .current-menu-item > a,
.a-nav__list .current_page_item > a,
.a-nav__list .current-menu-ancestor > a { color: var(--a-cyan); }

.a-nav__list .menu-item-has-children > a::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 9px;
	margin-left: 2px;
}
.a-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--a-dark);
	border: 1px solid var(--a-purple);
	border-radius: 12px;
	padding: 8px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .2s var(--a-ease);
	z-index: 70;
	box-shadow: var(--a-shadow-lg);
}
.a-nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.a-nav__list .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; }
.a-nav__list .sub-menu a:hover { background: var(--a-purple); color: var(--a-cyan); }

/* ---------- Header actions ---------- */
.a-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.a-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid transparent;
	background: transparent;
	color: #cbd5e1;
	font-size: 15px;
	cursor: pointer;
	transition: all .2s var(--a-ease);
	padding: 0;
}
.a-iconbtn:hover { color: #fff; background: rgba(56, 30, 95, .5); }
.a-iconbtn--cyan { background: var(--a-cyan); color: #fff; box-shadow: 0 6px 16px rgba(0, 168, 204, .35); }
.a-iconbtn--cyan:hover { background: var(--a-cyanhover); color: #fff; }

.a-lang__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(56, 30, 95, .6);
	border: 1px solid var(--a-purple);
	color: #e2e8f0;
	border-radius: 10px;
	padding: 9px 11px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.a-lang__btn:hover { background: var(--a-purple); }
.a-lang__caret { font-size: 9px; color: #94a3b8; }

/* TranslatePress switcher, restyled to match the header */
.a-lang .trp-language-switcher { position: relative; }
.a-lang .trp-language-switcher > div { background: rgba(56, 30, 95, .6); border: 1px solid var(--a-purple); border-radius: 10px; padding: 7px 12px; }
.a-lang .trp-language-switcher a { color: #e2e8f0; font-size: 12px; font-weight: 700; }
.a-lang .trp-language-switcher a:hover { color: var(--a-cyan); }

.a-burger { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: transparent; border: 0; color: #cbd5e1; font-size: 18px; cursor: pointer; }
.a-burger:hover { color: #fff; }
@media (min-width: 1024px) { .a-burger { display: none; } }

@media (max-width: 560px) {
	.a-logo__tag { display: none; }
	.a-topbar__text { display: none; }
}

/* ---------- Mobile drawer menu ---------- */
.a-mobile {
	position: fixed;
	inset: 0;
	z-index: 90;
	visibility: hidden;
	opacity: 0;
	transition: opacity .25s var(--a-ease), visibility .25s;
}
.a-mobile.is-open { visibility: visible; opacity: 1; }
.a-mobile__overlay { position: absolute; inset: 0; background: rgba(20, 12, 36, .75); }
.a-mobile__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 330px;
	background: var(--a-dark);
	border-left: 1px solid var(--a-purple);
	display: flex;
	flex-direction: column;
	padding: 22px;
	transform: translateX(100%);
	transition: transform .3s var(--a-ease);
	box-shadow: var(--a-shadow-lg);
}
.a-mobile.is-open .a-mobile__panel { transform: none; }
.a-mobile__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--a-purple); }
.a-mobile__title { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.a-mobile__nav { margin-top: 16px; flex: 1; overflow: auto; }
.a-mobile__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.a-mobile__list a { display: block; padding: 11px 10px; border-radius: 10px; color: #e2e8f0; font-size: 15px; font-weight: 600; }
.a-mobile__list a:hover { color: var(--a-cyan); background: rgba(56, 30, 95, .4); }
.a-mobile__list .sub-menu { list-style: none; margin: 0; padding: 0 0 0 14px; }
.a-mobile__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--a-purple); display: flex; flex-direction: column; gap: 10px; }
.a-mobile__link { display: flex; align-items: center; gap: 10px; color: #cbd5e1; font-size: 13px; font-weight: 600; }
.a-mobile__link:hover { color: var(--a-cyan); }
.a-mobile__lang { margin-top: 4px; }
.a-mobile__lang .trp-language-switcher > div { background: rgba(56, 30, 95, .6); border: 1px solid var(--a-purple); border-radius: 10px; padding: 7px 12px; }
.a-mobile__lang .trp-language-switcher a { color: #e2e8f0; font-size: 12px; font-weight: 700; }
.a-mobile__copy { font-size: 11px; color: #64748b; margin: 8px 0 0; }

/* ---------- Footer ---------- */
.a-footer { background: var(--a-dark); color: #94a3b8; font-size: 12.5px; border-top: 1px solid var(--a-purple); padding: 56px 0 28px; }
.a-footer__top { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(56, 30, 95, .55); grid-template-columns: 1fr; }
@media (min-width: 768px) { .a-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .a-footer__top { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

.a-footer .a-logo { margin-bottom: 14px; }
.a-footer .a-logo__name { font-size: 19px; }
.a-footer__about { max-width: 340px; line-height: 1.75; }
.a-social { display: flex; gap: 16px; font-size: 15px; margin-top: 14px; }
.a-social a { color: #94a3b8; }
.a-social a:hover { color: var(--a-cyan); }

.a-footer__title { font-family: var(--a-font-serif); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.a-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.a-footer__list a { color: #94a3b8; }
.a-footer__list a:hover { color: var(--a-cyan); }

.a-footer__newsDesc { margin-bottom: 12px; line-height: 1.7; }
.a-footer .a-form--news { display: flex; flex-direction: column; gap: 8px; }
.a-footer .a-input { background: var(--a-deep); border-color: var(--a-purple); color: #fff; padding: 10px 12px; font-size: 12px; border-radius: 8px; }

.a-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; flex-wrap: wrap; }
.a-footer__copy { margin: 0; font-size: 11px; color: #64748b; }
.a-payicons { display: flex; gap: 14px; font-size: 20px; color: #64748b; }
.a-payicons i { transition: color .2s; }
.a-payicons i:hover { color: #fff; }

/* ---------- Page hero & breadcrumbs ---------- */
.a-page-hero { background: var(--a-dark); color: #fff; padding: 44px 0 40px; border-bottom: 1px solid rgba(56, 30, 95, .5); }
.a-page-hero__title { font-family: var(--a-font-serif); font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: #fff; margin: 10px 0 6px; }
.a-page-hero__desc { color: #94a3b8; font-size: 14px; max-width: 720px; margin: 0; }

.a-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--a-muted); }
.a-breadcrumb a { color: #475569; }
.a-breadcrumb a:hover { color: var(--a-cyan); }
.a-breadcrumb__sep { color: #cbd5e1; }
.a-breadcrumb__current { color: var(--a-deep); font-weight: 600; }

.a-page-hero .a-breadcrumb { color: #94a3b8; }
.a-page-hero .a-breadcrumb a { color: #cbd5e1; }
.a-page-hero .a-breadcrumb__sep { color: #475569; }
.a-page-hero .a-breadcrumb__current { color: var(--a-cyan); }

/* Light-context WooCommerce breadcrumb (top of shop / product pages) */
.a-woo-wrap .a-breadcrumb { margin-bottom: 22px; }

/* ---------- Back to top ---------- */
.a-totop {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 70;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--a-purple);
	background: var(--a-dark);
	color: var(--a-cyan);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all .25s var(--a-ease);
}
.a-totop.is-visible { opacity: 1; visibility: visible; }
.a-totop:hover { background: var(--a-purple); }
