:root {
  --mawün-a: repeating-linear-gradient( 15deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 10px );
  --mawün-b: repeating-linear-gradient( -15deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 10px );
  --kalfumal: #000000;
  --liq: #effdee;
  --color_principal: #231828;
  --color_menu: #140028;
  --fondo_claro: ;
  --color_encabezado: #472d20;
  --color_texto: #2a1c35;
  --fondo_oscuro: #2a1c35;
  --encabezado_oscuro: #fcd462;
  --texto_oscuro: #fff;
  --h1: 3.3rem;    
  --h2: 2.25rem;  /* 36px */
  --h3: 1.625rem; /* 26px */
  --h4: 1rem;  /* 20px */
  --h5: 1.125rem; /* 18px */
  --body: 0.97rem;   /* 16px */
  --small: 0.875rem; /* 14px */
}

/* ===== LOGO CONTENEDOR ===== */
#am-wuñelfe {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
}

/* ===== LINK DEL LOGO ===== */
#am-wuñelfe .logo-link {
	display: flex;                 /* ← no inline */
	align-items: center;
	justify-content: flex-start;
	gap: 0;                        /* ← clave */
	text-decoration: none;
	line-height: 1;
}

/* ===== ICONO ===== */
#am-wuñelfe .logo-icon {
	display: flex;
	align-items: center;
}

#am-wuñelfe .logo-icon img {
	height: 39px;
	width: auto;
	display: block;
	margin: 0;                     /* ← aseguramos */
}

/* ===== TEXTO ===== */
#am-wuñelfe .logo-text {
	display: flex;
	align-items: center;
	margin-left: 5px;             /* ← micro ajuste visual */
	position: relative;
	top: 1px;
}

#am-wuñelfe .logo-text img {
	height: 35px;
	width: auto;
	display: block;
	margin: 0;
}
#am-kawell {
	position: absolute;
	background: var(--kalfumal);
	height: 60px;
	width: 100%;
	z-index: 99;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
	animation: spFadeIn 0.5s
}
#am-kawell #iñche-kawell-c i {
	padding: 0px 4px;
}

#am-kawell .am-megamenu-parent {
	margin: 0 10px;
}
#am-kawell #am-wuñelfe .logo {
  height: 52px;
  background-image: url("https://www.gustavomarin.cl/images/logogustavito.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center; 
}
#am-kawell.kawellfe {
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100%;
	animation: spFadeInDown 0.5s;
background: var(--kalfumal)
}
.am-megamenu-parent {
  list-style: none;
  padding: 0;
  margin: 0 -15px;
  z-index: 99;
  display: block;
  float: right;
  position: relative
}



.am-megamenu-parent>li {
  display: inline-block;
  position: relative;
  padding: 0
}


.am-megamenu-parent>li>a,
.am-megamenu-parent>li>span {
  display: inline-block;
  padding: 0 15px;
  line-height: 60px;
  font-size: 14px;
  margin: 0;
  color: var(--texto_oscuro);
  font-weight: 600;
}

.am-megamenu-parent>li:last-child>a {
  padding: 0px 0px 0px 15px
}

.am-megamenu-parent>li.active>a {
  font-weight: 500
}

.am-megamenu-parent>li .am-menu-badge {
  height: 20px;
  line-height: 20px;
  padding: 0 5px;
  font-size: 10px;
  letter-spacing: 1px;
  display: inline-block;
  text-transform: uppercase;
  background: #d60000;
  color: #fff;
  border-radius: 3px
}

.am-megamenu-parent .am-module {
  padding: 10px
}

.am-megamenu-parent .am-mega-group {
  list-style: none;
  padding: 0;
  margin: 0
}






/* =====================================
   DROPDOWN – CALIDAD ALTA (REITEL)
   ===================================== */

.am-dropdown {
  position: absolute;
  top: 100%;
  right: 0;

  min-width: 220px;
  margin: 0;
  padding: 6px 0;

  background-color: #000;
  border-left: 1px solid #080411;
  border-bottom: 1px solid #080411;

  box-shadow:
    0 12px 28px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);

  z-index: 10;
  display: none;

  animation: spFadeInDown 0.22s ease-out;
}

/* Contenedor interno */
.am-dropdown-inner {
  padding: 0;
}

/* Lista */
.am-dropdown-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ítem */
.am-dropdown-items li {
  width: 100%;
  position: relative;
}

/* Separador sutil */
.am-dropdown-items li + li {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Enlace */
.am-dropdown-items a {
  display: flex;
  align-items: center;

  padding: 13px 18px 13px 20px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;

  letter-spacing: 0.2px;

  transition:
    background-color 0.18s ease,
    padding-left 0.18s ease;
}

/* Hover */
.am-dropdown-items a:hover {
  background-color: rgba(255,255,255,0.06);
  padding-left: 26px;
}

/* Indicador lateral (detalle premium) */
.am-dropdown-items a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background-color 0.18s ease;
}

.am-dropdown-items a:hover::before {
  background: #E10600;
}
/* =================================================
   DROPDOWN ARRIENDOS – REITEL (FOCUS)
   Aplica SOLO a:
   .am-dropdown.am-dropdown-main.am-menu-right.cffff
   ================================================= */

.am-dropdown.am-dropdown-main.am-menu-right.cffff {
  position: absolute;
  top: 100%;
  right: 0;

  min-width: 230px;
  margin: 0;
  padding: 8px 0;

  background: #000000;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 14px 32px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.04);

  z-index: 1000;
  display: none;

  animation: spFadeInDown 0.25s ease-out;
}

/* Mostrar al hover del padre */
.am-megamenu-parent .am-has-child:hover > 
.am-dropdown.am-dropdown-main.am-menu-right.cffff {
  display: block;
}

/* ======================
   ESTRUCTURA INTERNA
   ====================== */

.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-inner {
  padding: 0;
}

.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ======================
   ITEMS
   ====================== */

.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-items li {
  position: relative;
  width: 100%;
}

/* Separador fino */
.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-items li + li {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ======================
   LINKS
   ====================== */

.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-items a {
  display: flex;
  align-items: center;

  padding: 12px 18px 12px 20px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;

  letter-spacing: 0.2px;

  transition:
    background-color 0.18s ease,
    padding-left 0.18s ease;
}

/* Hover limpio */
.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-items a:hover {
  background: rgba(255,255,255,0.06);
  padding-left: 26px;
}

/* Indicador lateral rojo */
.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-items a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background-color 0.18s ease;
}

.am-dropdown.am-dropdown-main.am-menu-right.cffff
.am-dropdown-items a:hover::before {
  background: #E10600;
}

#am-kawell #iñche-kawell-c i {
  padding: 0px 4px;
}
#iñche-kawell-c a i, #iñche-kawell-c i {
  color: var(--texto_oscuro);
}