/* NovaChile Shell — header, drawer, footer, announcement, trustbar */

/* Announcement bar — marquee */
.nova-announcement {
	background: var(--nova-accent);
	color: #fff;
	overflow: hidden;
	padding: 8px 0;
	font-size: 13px;
	font-weight: 600;
}
.nova-announcement__track {
	display: flex;
	gap: 48px;
	white-space: nowrap;
	animation: nova-marquee 30s linear infinite;
	width: max-content;
}
.nova-announcement__item { display: inline-block; }
@keyframes nova-marquee {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Header */
.nova-shell-header {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	position: sticky; top: 0; z-index: 100;
}
.nova-shell-header__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 12px 16px;
	gap: 16px;
}
.nova-shell-header__left { justify-self: start; }
.nova-shell-header__brand { justify-self: center; text-decoration: none; }
.nova-shell-header__right { justify-self: end; display: flex; gap: 8px; }
.nova-icon-btn {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px; color: var(--nova-text); text-decoration: none;
	cursor: pointer; background: transparent; border: 0;
}
.nova-icon-btn:hover { background: var(--nova-bg-soft); }
.nova-hamburger { flex-direction: column; gap: 4px; }
.nova-hamburger span {
	display: block; width: 22px; height: 2px;
	background: var(--nova-text); border-radius: 2px;
}

/* Drawer */
.nova-drawer-toggle { display: none; }
.nova-drawer {
	position: fixed; top: 0; left: -340px; bottom: 0;
	width: 320px; max-width: 90vw;
	background: #fff; z-index: 200;
	transition: left .25s ease;
	display: flex; flex-direction: column;
	box-shadow: 4px 0 20px rgba(0,0,0,.1);
	overflow-y: auto;
}
.nova-drawer__backdrop {
	position: fixed; inset: 0; background: rgba(15,23,42,.5);
	opacity: 0; pointer-events: none; transition: opacity .25s;
	z-index: 150;
}
.nova-drawer-toggle:checked ~ .nova-drawer { left: 0; }
.nova-drawer-toggle:checked ~ .nova-drawer__backdrop { opacity: 1; pointer-events: auto; }
.nova-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px; border-bottom: 1px solid #e2e8f0;
}
.nova-drawer__close { background: none; border: 0; cursor: pointer; padding: 8px; }
.nova-drawer__menu {
	list-style: none; margin: 0; padding: 8px;
}
.nova-drawer__menu li a {
	display: block; padding: 14px 12px; text-decoration: none;
	color: var(--nova-text); font-weight: 700; border-radius: 10px;
	font-size: 16px;
}
.nova-drawer__menu li a:hover { background: var(--nova-bg-soft); }
.nova-drawer__group-title {
	padding: 16px 16px 8px;
	font-size: 12px; color: var(--nova-muted);
	text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}
.nova-drawer__menu--small li a { padding: 10px 12px; font-size: 14px; font-weight: 600; }
.nova-drawer__contact {
	margin-top: auto; padding: 20px 16px;
	border-top: 1px solid #e2e8f0;
}
.nova-drawer__wa {
	display: block; padding: 12px 16px; border-radius: 10px;
	background: #25D366; color: #fff; text-decoration: none;
	font-weight: 700; text-align: center;
}
.nova-drawer__contact small { display: block; margin-top: 8px; color: var(--nova-muted); }

/* Trust bar shortcode */
.nova-trustbar { padding: 16px 0; }
.nova-trustbar__grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
	max-width: 600px; margin: 0 auto;
}
.nova-trustbar__item {
	background: var(--nova-bg-soft); padding: 12px; border-radius: 12px;
	text-align: center; font-size: 13px;
}
.nova-trustbar__item strong { display: block; margin-top: 4px; color: var(--nova-primary); }
@media (min-width: 768px) {
	.nova-trustbar__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Footer */
.nova-shell-footer { background: var(--nova-accent); color: #cbd5e1; padding: 48px 16px 24px; }
.nova-shell-footer__inner {
	max-width: 1180px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) {
	.nova-shell-footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.nova-shell-footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 1px; }
.nova-shell-footer ul { list-style: none; margin: 0; padding: 0; }
.nova-shell-footer li { margin-bottom: 8px; }
.nova-shell-footer a { color: #cbd5e1; text-decoration: none; font-size: 14px; }
.nova-shell-footer a:hover { color: #fff; }
.nova-shell-footer__addr { font-size: 13px; margin-top: 12px; color: #94a3b8; }
.nova-shell-footer__trust {
	max-width: 1180px; margin: 32px auto 0;
	padding: 16px 0; border-top: 1px solid #334155;
}
.nova-trust-row {
	display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
	font-size: 13px;
}
.nova-trust-item { color: #cbd5e1; }
.nova-trust-item strong { color: #fff; }
.nova-shell-footer__legal-bar,
.nova-shell-footer__bottom {
	max-width: 1180px; margin: 0 auto; text-align: center; padding: 12px 0;
	border-top: 1px solid #334155;
	font-size: 12px; color: #94a3b8;
}
.nova-shell-footer__bottom strong { color: #fff; }
