/* Ashop v1.1: cabecera más visible y carrito corregido. */

/* CABECERA */
.ashop-header-main {
    height: 78px;
}

.ashop-header .brand {
    width: 150px;
    height: 72px;
}

.ashop-header .brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Menú izquierdo un poco más visible */
.ashop-header .menu-toggle {
    width: 44px;
    height: 44px;
}

.ashop-header .menu-toggle span {
    width: 22px;
}

/* Buscador */
.ashop-tools {
    gap: 18px;
}

.header-search {
    padding: 9px 4px;
    gap: 10px;
}

.header-search span {
    font-size: 29px;
}

.header-search input {
    width: 250px;
    font-size: 14px;
}

/* CARRITO: reemplaza visualmente el cuadro por una bolsa elegante */
.header-bag {
    width: 44px;
    height: 44px;
    background: #fff;
}

.header-bag > span {
    position: relative;
    display: block;
    width: 19px;
    height: 17px;
    border: 1.8px solid var(--pink-deep);
    border-radius: 2px 2px 4px 4px;
    font-size: 0 !important;
    line-height: 0;
    color: transparent !important;
    transform: none !important;
}

.header-bag > span::before {
    content: "";
    position: absolute;
    left: 4px;
    top: -7px;
    width: 8px;
    height: 7px;
    border: 1.8px solid var(--pink-deep);
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
}

.header-bag b {
    right: -5px;
    top: -5px;
    min-width: 19px;
    width: auto;
    height: 19px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
}

/* Barra de categorías */
.category-nav-inner {
    height: 46px;
}

.category-nav a {
    height: 30px;
    padding: 0 12px;
    font-size: 9px;
}

/* Mantener portada compacta */
.video-hero {
    height: clamp(360px, 34vw, 440px);
}

.video-hero-content h1 {
    font-size: clamp(46px, 5.4vw, 76px);
}

@media (max-width: 1080px) {
    .video-hero {
        height: 430px;
    }
}

@media (max-width: 850px) {
    .ashop-header-main {
        height: 68px;
    }

    .ashop-header .brand {
        width: 128px;
        height: 62px;
    }

    .category-nav {
        top: 68px;
    }

    .header-bag {
        width: 40px;
        height: 40px;
    }

    .video-hero {
        height: 420px;
    }
}

@media (max-width: 560px) {
    .ashop-header-main {
        height: 64px;
        grid-template-columns: 45px 1fr 70px;
    }

    .ashop-header .brand {
        width: 116px;
        height: 58px;
    }

    .category-nav {
        top: 64px;
    }

    .header-search {
        display: none;
    }

    .header-bag {
        width: 39px;
        height: 39px;
    }

    .video-hero {
        height: 390px;
    }

    .video-hero-content h1 {
        font-size: 44px;
    }
}
