/* ============================================================
   Layout Global Crecienta — Tucumascotas (Fase 2 - v3)
   Prefijo .cg- · Tokens de variables.css
   ============================================================ */

.cg-body {
	font-family: var(--tc-font-primary);
	color: var(--tc-text-dark);
	background: #fff;
}
.cg-page { min-height: 100vh; display: flex; flex-direction: column; }
.cg-page > main { flex: 1; }

/* ---------- Topbar ---------- */
.cg-topbar { background: var(--tc-color-secondary); color: #fff; font-size: 0.8rem; }
.cg-topbar__inner {
	max-width: 1200px; margin: 0 auto; padding: 6px 20px;
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.cg-topbar__left {
	display: flex; align-items: center; gap: 16px;
}
.cg-topbar__right {
	display: flex; align-items: center; gap: 12px;
}
.cg-topbar__mail { color: #fff; font-weight: 600; text-decoration: none; }
.cg-topbar__mail:hover { text-decoration: underline; }
.cg-topbar__hours { opacity: 0.9; }
.cg-topbar__instagram {
	display: inline-flex; align-items: center; gap: 6px;
	color: #fff; font-weight: 700; text-decoration: none;
	background: rgba(255, 255, 255, 0.16); padding: 3px 11px; border-radius: 999px;
	font-size: 0.76rem; letter-spacing: 0.2px;
	transition: background 0.2s ease, transform 0.2s ease;
}
.cg-topbar__instagram:hover {
	background: var(--tc-color-primary); color: #fff; transform: translateY(-1px);
}
.cg-topbar__account {
	display: inline-flex; align-items: center; gap: 6px;
	color: #fff; font-weight: 600; text-decoration: none;
	background: rgba(255, 255, 255, 0.12); padding: 3px 11px; border-radius: 999px;
	font-size: 0.76rem; letter-spacing: 0.2px;
	transition: background 0.2s ease, transform 0.2s ease;
}
.cg-topbar__account:hover {
	background: rgba(255, 255, 255, 0.24); color: #fff; transform: translateY(-1px);
}


/* ---------- Barra principal ---------- */
.cg-header { position: sticky; top: 0; z-index: 990; background: #fff; }
.cg-bar { border-bottom: 1px solid #f0eef4; transition: box-shadow 0.25s ease; }
.cg-header.is-scrolled .cg-bar { box-shadow: 0 6px 20px rgba(43, 12, 74, 0.1); }
.cg-bar__inner {
	max-width: 1200px; margin: 0 auto; padding: 10px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cg-logo { flex-shrink: 0; }
.cg-logo img { max-height: 48px; width: auto; display: block; }
.cg-logo__text { font-size: 1.5rem; font-weight: 800; color: var(--tc-color-secondary); text-decoration: none; }

/* ---------- Acciones ---------- */
.cg-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
a.cg-icon-btn,
button.cg-icon-btn,
.cg-icon-btn {
	all: unset !important;
	box-sizing: border-box !important;
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	max-width: 44px !important;
	max-height: 44px !important;
	border: 1.5px solid #dcd1e6 !important;
	background: #fbf9fd !important;
	border-radius: 14px !important;
	color: var(--tc-color-secondary) !important;
	cursor: pointer !important;
	text-decoration: none !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}
.cg-icon-btn svg {
	width: 20px !important;
	height: 20px !important;
	display: block !important;
	stroke: currentColor !important;
	fill: none !important;
	flex-shrink: 0 !important;
	transition: stroke 0.2s ease !important;
}
.cg-icon-btn:hover {
	transform: translateY(-1px) !important;
}

/* Botón buscador con lupa (abre popup con búsqueda en vivo) */
a.cg-icon-btn--search,
button.cg-icon-btn--search,
.cg-icon-btn--search {
	background: #f7f2fb !important;
	border-color: #d8c5e8 !important;
	color: var(--tc-color-secondary) !important;
}
.cg-icon-btn--search svg {
	stroke: var(--tc-color-secondary) !important;
}
.cg-icon-btn--search:hover {
	background: var(--tc-color-secondary) !important;
	border-color: var(--tc-color-secondary) !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(43, 12, 74, 0.25) !important;
}
.cg-icon-btn--search:hover svg {
	stroke: #ffffff !important;
}

/* Carrito con indicador constante de cantidad */
a.cg-icon-btn.cg-cart,
.cg-icon-btn.cg-cart {
	background: #fff8f0 !important;
	border-color: #fedfc0 !important;
	color: var(--tc-color-primary) !important;
}
.cg-icon-btn.cg-cart svg {
	stroke: var(--tc-color-primary) !important;
}
.cg-icon-btn.cg-cart:hover {
	background: #ffeeda !important;
	border-color: #f78c1e !important;
	color: #e0740a !important;
	box-shadow: 0 4px 12px rgba(247, 140, 30, 0.25) !important;
}
.cg-icon-btn.cg-cart:hover svg {
	stroke: #e0740a !important;
}

.cg-cart__count {
	position: absolute; top: -3px; right: -4px;
	background: var(--tc-color-primary); color: #fff; font-size: 0.72rem; font-weight: 800;
	min-width: 19px; height: 19px; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
	box-shadow: 0 2px 6px rgba(247, 140, 30, 0.45);
	border: 2px solid #fff;
	line-height: 1;
}
/* Cuando está en 0: indica visiblemente 0 con tono neutro-morado */
.cg-cart__count[data-count="0"] {
	background: #8e789f;
	box-shadow: 0 2px 5px rgba(107, 44, 145, 0.25);
}

/* ---------- Menú desktop ---------- */
.cg-nav-drawer { display: contents; }
.cg-nav { display: block; }
.cg-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.cg-item { position: relative; }
.cg-link {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 9px 12px; border-radius: 10px;
	font-size: 0.93rem; font-weight: 600; color: var(--tc-text-dark);
	text-decoration: none; white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease;
}
.cg-link:hover, .cg-item--current > .cg-link { color: var(--tc-color-secondary); background: #f4e8f8; }
.cg-subarrow {
	display: none; /* desktop: hover */
	border: none; background: transparent; color: var(--tc-color-secondary);
	cursor: pointer; padding: 4px; margin-left: -8px; margin-right: 4px;
}
.cg-item--has-children:hover > .cg-subarrow svg { transform: rotate(180deg); }
.cg-subarrow svg { transition: transform 0.2s ease; }

.cg-submenu {
	position: absolute; top: 100%; left: 0; z-index: 991;
	min-width: 230px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border-radius: 14px;
	box-shadow: 0 18px 45px rgba(43, 12, 74, 0.18);
	border: 1px solid #f0eef4;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all 0.22s ease;
}
.cg-item--has-children:hover > .cg-submenu,
.cg-item--has-children:focus-within > .cg-submenu { opacity: 1; visibility: visible; transform: translateY(4px); }

.cg-submenu .cg-link { display: block; width: 100%; padding: 8px 12px; font-size: 0.9rem; font-weight: 500; border-radius: 9px; }
.cg-submenu .cg-item--has-children > .cg-link { font-weight: 700; color: var(--tc-color-secondary); }
.cg-submenu--nivel2 { position: absolute; left: calc(100% + 12px); top: -4px; }
.cg-submenu .cg-submenu { min-width: 200px; }
.cg-submenu .cg-submenu .cg-link { padding-left: 14px; }
.cg-submenu .cg-item--has-children > .cg-link { padding-right: 38px; }
.cg-submenu .cg-item--has-children > .cg-subarrow svg { transform: rotate(-90deg); }

/* ---------- Hamburger (oculto en desktop) ---------- */
.cg-hamburger {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 42px; height: 42px; border: 1px solid #e9dfef; border-radius: 12px;
	background: #faf7fc; cursor: pointer; padding: 8px;
}
.cg-hamburger:hover { background: #f2e7f7; border-color: #d8c5e6; }
.cg-hamburger span { display: block; height: 2.5px; border-radius: 2px; background: var(--tc-color-secondary); transition: all 0.25s ease; }

/* ---------- Buscador overlay con Live Search ---------- */
.cg-search {
	position: fixed; inset: 0; z-index: 999;
	background: rgba(43, 12, 74, 0.94); backdrop-filter: blur(8px);
	display: flex; align-items: flex-start; justify-content: center; padding: 10vh 20px 30px;
	overflow-y: auto;
}
.cg-search[hidden] { display: none; }
.cg-search__panel { width: 100%; max-width: 680px; animation: cg-fade-up 0.25s ease; position: relative; }
@keyframes cg-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
a.cg-search__close,
button.cg-search__close,
.cg-search__close {
	all: unset !important;
	box-sizing: border-box !important;
	float: right !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.18) !important;
	color: #fff !important;
	cursor: pointer !important;
	margin-bottom: 16px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background 0.2s ease, transform 0.2s ease !important;
}
.cg-search__close:hover { background: rgba(255, 255, 255, 0.32) !important; transform: scale(1.05) !important; }
.cg-search__close svg { width: 24px !important; height: 24px !important; stroke: #ffffff !important; display: block !important; }

.cg-search__form {
	display: flex !important;
	gap: 10px !important;
	width: 100% !important;
	clear: both !important;
	align-items: stretch !important;
}

/* Caja de input unificada (evita cualquier solapamiento físico entre lupa y texto) */
.cg-search__input-box {
	display: flex !important;
	align-items: center !important;
	flex: 1 !important;
	background: #ffffff !important;
	border: 2px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 16px !important;
	padding: 0 14px 0 18px !important;
	height: 56px !important;
	min-height: 56px !important;
	box-sizing: border-box !important;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28) !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.cg-search__input-box:focus-within {
	border-color: var(--tc-color-primary) !important;
	box-shadow: 0 0 0 4px rgba(247, 140, 30, 0.28) !important;
}
.cg-search__input-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #6a4882 !important;
	flex-shrink: 0 !important;
	margin-right: 12px !important;
}
.cg-search__input-icon svg {
	width: 22px !important;
	height: 22px !important;
	stroke: #6a4882 !important;
	display: block !important;
}

.cg-search__input {
	all: unset !important;
	box-sizing: border-box !important;
	flex: 1 !important;
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	font-size: 1.05rem !important;
	font-family: inherit !important;
	font-weight: 500 !important;
	color: var(--tc-text-dark) !important;
	line-height: normal !important;
}
.cg-search__input::placeholder {
	color: #8c789d !important;
	font-weight: 400 !important;
	opacity: 0.85 !important;
}

/* Cruz de limpiar búsqueda (círculo simétrico con icono SVG) */
a.cg-search__clear,
button.cg-search__clear,
.cg-search__clear {
	all: unset !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	min-height: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
	border-radius: 50% !important;
	background: #eedef5 !important;
	color: #63437a !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	padding: 0 !important;
	margin: 0 0 0 8px !important;
	border: none !important;
	line-height: 1 !important;
	transition: background 0.18s ease, transform 0.15s ease, color 0.18s ease !important;
}
.cg-search__clear:hover {
	background: #d8c0e8 !important;
	color: #2b0c4a !important;
	transform: scale(1.12) !important;
}
.cg-search__clear svg {
	width: 14px !important;
	height: 14px !important;
	stroke: currentColor !important;
	display: block !important;
}
.cg-search__clear[hidden] {
	display: none !important;
}

/* Botón BUSCAR del formulario */
button.cg-search__btn,
.cg-search__btn {
	all: unset !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: none !important;
	border-radius: 16px !important;
	padding: 0 24px !important;
	height: 56px !important;
	min-height: 56px !important;
	cursor: pointer !important;
	background: var(--tc-color-primary) !important;
	color: #fff !important;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.4px !important;
	text-transform: uppercase !important;
	flex-shrink: 0 !important;
	box-shadow: 0 4px 14px rgba(247, 140, 30, 0.4) !important;
	transition: background 0.2s ease, transform 0.15s ease !important;
}
.cg-search__btn:hover {
	background: #e0740a !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
}

/* Búsquedas frecuentes */
.cg-search__freq { margin-top: 20px; color: #e9dcf3; font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cg-search__freq span { font-weight: 600; opacity: 0.9; }
.cg-search__freq a {
	color: #fff; background: rgba(255,255,255,0.18); padding: 6px 14px; border-radius: 999px;
	font-weight: 600; font-size: 0.82rem; text-decoration: none; transition: background 0.2s ease, transform 0.15s ease;
}
.cg-search__freq a:hover { background: var(--tc-color-primary); transform: translateY(-1px); }
.cg-search__freq[hidden] { display: none; }

/* Contenedor de resultados en tiempo real */
.cg-search__results {
	margin-top: 18px; background: #fff; border-radius: 18px;
	box-shadow: 0 16px 45px rgba(18, 2, 33, 0.45);
	overflow: hidden; animation: cg-fade-up 0.2s ease;
}
.cg-search__results[hidden] { display: none; }

.cg-search__results-list {
	list-style: none; margin: 0; padding: 8px; max-height: 52vh; overflow-y: auto;
}
.cg-search__results-list::-webkit-scrollbar { width: 6px; }
.cg-search__results-list::-webkit-scrollbar-thumb { background: #d1c2dc; border-radius: 3px; }

.cg-search-item {
	display: flex; align-items: center; gap: 14px; padding: 10px 14px;
	border-radius: 12px; text-decoration: none; transition: background 0.18s ease;
}
.cg-search-item:hover { background: #f8f4fb; }
.cg-search-item__thumb {
	width: 54px; height: 54px; border-radius: 10px; object-fit: cover;
	background: #faf7fc; border: 1px solid #ebe5f0; flex-shrink: 0;
}
.cg-search-item__info { flex: 1; min-width: 0; }
.cg-search-item__title {
	font-size: 0.94rem; font-weight: 700; color: var(--tc-text-dark);
	margin: 0 0 4px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cg-search-item:hover .cg-search-item__title { color: var(--tc-color-secondary); }
.cg-search-item__meta { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.cg-search-item__price { font-weight: 800; color: var(--tc-color-primary); }
.cg-search-item__price del { font-weight: 400; color: #888; font-size: 0.82rem; margin-right: 4px; }
.cg-search-item__price ins { text-decoration: none; }
.cg-search-item__badge {
	font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
	padding: 2px 7px; border-radius: 6px;
}
.cg-search-item__badge--sale { background: #fee7ec; color: #d61f4d; }
.cg-search-item__badge--out { background: #f0f0f0; color: #777; }

.cg-search__footer {
	padding: 12px 18px; background: #faf7fc; border-top: 1px solid #f0eaf5;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cg-search__footer-count { font-size: 0.84rem; color: #6b557b; font-weight: 600; }
.cg-search__footer-link {
	font-size: 0.88rem; font-weight: 700; color: var(--tc-color-secondary);
	text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
	transition: color 0.18s, transform 0.18s;
}
.cg-search__footer-link:hover { color: var(--tc-color-primary); transform: translateX(3px); }

/* Estados vacío y cargando */
.cg-search__status {
	padding: 34px 20px; text-align: center; color: #5a456c;
}
.cg-search__status-icon {
	display: inline-flex; margin-bottom: 10px; opacity: 0.8;
}
.cg-search__status-text { font-size: 0.95rem; font-weight: 600; margin: 0; }
.cg-search__spinner {
	display: inline-block; width: 26px; height: 26px; border: 3px solid #e2d6ed;
	border-top-color: var(--tc-color-primary); border-radius: 50%;
	animation: cg-spin 0.7s linear infinite; margin-bottom: 8px;
}
@keyframes cg-spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.cg-footer { background: var(--tc-color-secondary); color: #efe6f5; margin-top: auto; }
.cg-footer__inner {
	max-width: 1200px; margin: 0 auto; padding: 52px 20px 34px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px;
}
.cg-footer__logo img { max-height: 46px; width: auto; filter: brightness(0) invert(1); }
.cg-footer__brand-name { font-size: 1.5rem; font-weight: 800; color: #fff; }
.cg-footer__tagline { margin: 14px 0 10px; font-size: 0.95rem; line-height: 1.55; }
.cg-footer__email a { color: #fff; font-weight: 600; text-decoration: none; }
.cg-footer__email a:hover { text-decoration: underline; }
.cg-footer__hours { font-size: 0.85rem; opacity: 0.85; margin-top: 6px; }
.cg-footer__col-title {
	color: #fff; font-size: 1rem; font-weight: 800; text-transform: uppercase;
	letter-spacing: 0.06em; margin: 0 0 16px; padding-bottom: 10px;
	border-bottom: 2px solid rgba(255,255,255,0.18);
}
.cg-footer__links { list-style: none; margin: 0; padding: 0; }
.cg-footer__links li { margin-bottom: 9px; }
.cg-footer__links a { color: #efe6f5; font-size: 0.92rem; text-decoration: none; transition: color 0.2s; }
.cg-footer__links a:hover { color: var(--tc-color-primary); }
.cg-footer__locations { list-style: none; margin: 0; padding: 0; }
.cg-footer__locations li { margin-bottom: 15px; font-size: 0.92rem; line-height: 1.5; }
.cg-footer__locations strong { color: #fff; }
.cg-footer__locations a { color: #efe6f5; text-decoration: none; }
.cg-footer__locations a:hover { text-decoration: underline; }
.cg-footer__social { display: flex; gap: 10px; margin-top: 16px; }
.cg-footer__social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 12px;
	background: rgba(255,255,255,0.12); color: #fff; transition: background 0.2s, transform 0.2s;
}
.cg-footer__social a:hover { background: var(--tc-color-primary); transform: translateY(-2px); }
.cg-footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); }
.cg-footer__bottom p { max-width: 1200px; margin: 0 auto; padding: 16px 20px; text-align: center; font-size: 0.8rem; opacity: 0.8; }
.cg-footer__bottom a { color: #fff; text-decoration: none; }

/* ============================================================
   RESPONSIVE — Drawer móvil (≤ 991px) y ajustes
   ============================================================ */
@media (max-width: 991px) {

	.cg-topbar__hours { display: none; }
	.cg-topbar__mail { display: none; }
	.cg-topbar__inner { justify-content: space-between; padding: 6px 14px; }

	.cg-nav-drawer {
		display: block; /* deja de ser display:contents */
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 998;
		width: min(86vw, 360px);
		background: #fff; padding: 0;
		transform: translateX(-105%); transition: transform 0.3s ease;
		box-shadow: 20px 0 60px rgba(43, 12, 74, 0.25);
		overflow-y: auto; overscroll-behavior: contain;
	}
	.cg-nav-drawer.is-open { transform: translateX(0); }
	body.cg-drawer-open { overflow: hidden; }

	.cg-drawer-overlay {
		position: fixed; inset: 0; z-index: 997;
		background: rgba(43, 12, 74, 0.5); opacity: 0; pointer-events: none;
		transition: opacity 0.3s ease;
	}
	.cg-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

	.cg-hamburger { display: flex; }
	.cg-nav-drawer .cg-nav { padding-top: 18px; }
	.cg-menu { display: block; }
	.cg-item { border-bottom: 1px solid #f4f1f8; }
	.cg-link {
		width: 100%; justify-content: flex-start; border-radius: 0;
		padding: 15px 62px 15px 18px; font-size: 1rem;
	}
	.cg-subarrow {
		display: inline-flex; position: absolute; right: 14px; top: 50%;
		transform: translateY(-50%); padding: 7px; border-radius: 10px; background: transparent;
	}
	.cg-subarrow svg { transform: rotate(0deg) !important; transition: transform 0.2s; }
	.cg-item.is-open > .cg-subarrow svg { transform: rotate(180deg) !important; }

	/* Submenús = accordions */
	.cg-submenu, .cg-submenu .cg-submenu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: none; min-width: 0;
		background: #faf7fc; border-radius: 0; padding: 0 0 0 18px;
		max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
	}
	.cg-item.is-open > .cg-submenu { max-height: 900px; }
	.cg-submenu .cg-item { border-bottom: none; }
	.cg-submenu .cg-item--has-children > .cg-link { font-weight: 700; color: var(--tc-color-secondary); }
	.cg-submenu--nivel2 { padding-left: 18px; }

	.cg-nav-drawer__foot { padding: 20px 18px 30px; display: flex; flex-direction: column; gap: 4px; }
	.cg-nav-drawer__link {
		display: block; padding: 11px 0; color: var(--tc-text-dark);
		font-weight: 600; text-decoration: none; font-size: 0.95rem;
	}
	.cg-nav-drawer__link--instagram {
		color: #b82d7c; font-weight: 700;
	}

	/* Cierre del drawer dentro de la barra */
	.cg-drawer-close {
		display: flex; align-items: center; justify-content: space-between;
		padding: 16px 18px; border-bottom: 2px solid #f0eef4; margin-bottom: 4px;
	}
	.cg-drawer-close__brand { font-weight: 800; color: var(--tc-color-secondary); font-size: 1.1rem; }
}

@media (min-width: 992px) {
	.cg-drawer-overlay, .cg-drawer-close, .cg-nav-drawer__foot { display: none; }
}

@media (max-width: 767px) {
	.cg-logo img { max-height: 38px; }
	.cg-bar__inner { padding: 8px 12px; gap: 8px; }
	.cg-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 16px 26px; }
	.cg-footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
	.cg-footer__inner { grid-template-columns: 1fr; }
	.cg-search { padding-top: 8vh; }
	.cg-icon-btn { width: 38px; height: 38px; }
}

/* Accesibilidad: foco visible */
.cg-link:focus-visible, .cg-icon-btn:focus-visible, .cg-subarrow:focus-visible,
.cg-hamburger:focus-visible, .cg-search__input:focus-visible, .cg-header-search__input:focus-visible {
	outline: 3px solid var(--tc-color-accent); outline-offset: 2px;
}

.cg-footer__bottom a:hover { text-decoration: underline; }
