

/*

====================================================================

 TIENDA MULTIGIRO — ESTILOS V6 — ALTO CONTRASTE Y FONDO CLARO


 Diseño comercial, genérico y adaptable a móvil, tableta y escritorio.


 Este archivo sustituye a assets/css/estilos.css.


 ÍNDICE

 01. Variables de diseño

 02. Base y accesibilidad

 03. Barra informativa y encabezado

 04. Portada de bienvenida

 05. Títulos y pestañas de catálogo

 06. Buscador y filtros

 07. Tarjetas de productos y servicios

 08. Estado sin resultados

 09. Conócenos, redes sociales y Google Maps

 10. Carrito

 11. Navegación inferior móvil

 12. Responsive

 13. Imágenes responsive

 14. Ajustes V6

====================================================================

*/


/* 01. VARIABLES DE DISEÑO */


:root {

    --color-principal: #17212b;

    --color-principal-oscuro: #0e151c;

    --color-fondo: #f8f7f4;

    --color-texto: #17212b;

    --borde: #e4e1db;

    --color-acento: #f1eee8;

    --color-secundario: #475569;

    --color-blanco: #ffffff;

    --color-superficie: #ffffff;

    --sombra-suave: 0 5px 20px rgba(25, 47, 63, .055);

    --sombra-hover: 0 12px 32px rgba(25, 47, 63, .12);

    --radio-grande: 18px;

    --radio-medio: 12px;

    --transicion: 180ms ease;

}


/* 02. BASE Y ACCESIBILIDAD */


*, *::before, *::after {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 100px;

}


body {

    margin: 0;

    padding-bottom: 86px;

    background: var(--color-blanco);

    color: var(--color-texto);

    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    font-size: 16px;

    line-height: 1.55;

    -webkit-font-smoothing: antialiased;

}


a {

    color: inherit;

    text-decoration: none;

}


button, input {

    font: inherit;

}


button {

    touch-action: manipulation;

}


.container {

    max-width: 1180px;

}


:where(a, button, input):focus-visible {

    outline: 3px solid #83b6d0;

    outline-offset: 3px;

}


@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *, *::before, *::after {

        animation-duration: .01ms !important;

        transition-duration: .01ms !important;

    }

}


/* 03. BARRA INFORMATIVA Y ENCABEZADO */


.notice {

    padding: 7px 12px;

    background: #f8f7f4;

    color: #263341;

    font-size: .9rem;

    font-weight: 500;

    letter-spacing: .1px;

}


.site-header {

    z-index: 1010;

    background: rgba(255, 255, 255, .97);

    border-bottom: 1px solid var(--borde);

    box-shadow: 0 3px 12px rgba(20, 35, 45, .035);

}


.brand {

    min-width: 0;

    color: var(--color-texto);

}


.brand:hover {

    color: var(--color-texto);

}


.brand strong {

    display: block;

    font-size: 1.17rem;

    font-weight: 800;

    line-height: 1.18;

    letter-spacing: -.5px;

}


.brand small {

    display: block;

    max-width: 225px;

    margin-top: 4px;

    overflow: hidden;

    color: var(--color-secundario);

    font-size: .82rem;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.brand-mark, .brand-logo {

    width: 46px;

    height: 46px;

    flex-shrink: 0;

    border-radius: 13px;

}


.brand-mark {

    display: grid;

    place-items: center;

    background: var(--color-acento);

    color: var(--color-principal);

    font-size: 1.35rem;

}


.brand-logo {

    object-fit: contain;

}


.cart-trigger {

    display: grid;

    width: 46px;

    height: 46px;

    place-items: center;

    border: 1px solid var(--borde);

    border-radius: 13px;

    background: white;

    color: var(--color-texto);

    font-size: 1.22rem;

    transition: background var(--transicion), border-color var(--transicion);

}


.cart-trigger:hover {

    border-color: #bfd0d9;

    background: var(--color-fondo);

}


.cart-badge {

    position: absolute;

    top: -6px;

    right: -6px;

    display: grid;

    min-width: 21px;

    height: 21px;

    padding: 0 4px;

    place-items: center;

    border-radius: 30px;

    background: var(--color-principal);

    color: white;

    font-size: .67rem;

    font-weight: 750;

}


/* 04. PORTADA DE BIENVENIDA */


.hero {

    position: relative;

    overflow: hidden;

    min-height: 225px;

    border: 1px solid var(--borde);

    background: #ffffff;

}


/* Se eliminó el círculo decorativo de la portada (.hero::after). */


.eyebrow {

    color: var(--color-principal);

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: 1.25px;

}


.display-title {

    font-size: clamp(1.85rem, 4.5vw, 3.15rem);

    font-weight: 850;

    line-height: 1.13;

    letter-spacing: -1.2px;

}


.hero-lema {

    font-size: clamp(1rem, 2vw, 1.18rem);

    font-weight: 650;

}


.hero-desc {

    max-width: 570px;

    color: #334155;

    font-size: .94rem;

    line-height: 1.7;

}


.hero-icon {

    color: #d8d3cb;

    font-size: 8rem;

}


/* Botón principal reutilizable en portada, tarjetas y carrito. */


.btn-primary-custom {

    border: 1px solid var(--color-principal);

    border-radius: 11px;

    background: var(--color-principal);

    color: white;

    font-weight: 700;

    transition: background var(--transicion), box-shadow var(--transicion), transform var(--transicion);

}


.btn-primary-custom:hover,

.btn-primary-custom:focus-visible {

    border-color: var(--color-principal-oscuro);

    background: var(--color-principal-oscuro);

    color: white;

    box-shadow: 0 5px 13px rgba(36, 76, 96, .18);

}


.btn-primary-custom:active {

    transform: scale(.985);

}


.btn-primary-custom:disabled {

    border-color: #c5cdd4;

    background: #c5cdd4;

    box-shadow: none;

    cursor: not-allowed;

}


/* 05. TÍTULOS Y PESTAÑAS DEL CATÁLOGO */


.section-title {

    font-size: clamp(1.35rem, 2.5vw, 1.7rem);

    font-weight: 800;

    letter-spacing: -.65px;

}


.type-tabs {

    display: flex;

    gap: 10px;

}


.type-tab {

    display: inline-flex;

    min-height: 46px;

    align-items: center;

    justify-content: center;

    gap: 4px;

    padding: 10px 18px;

    border: 1px solid var(--borde);

    border-radius: 12px;

    background: white;

    color: #334155;

    font-size: .9rem;

    font-weight: 700;

    transition: background var(--transicion), color var(--transicion), border-color var(--transicion);

}


.type-tab:hover:not(.active) {

    border-color: #bfd0d9;

    background: var(--color-fondo);

}


.type-tab.active {

    border-color: var(--color-principal);

    background: var(--color-principal);

    color: white;

}


/* 06. BUSCADOR Y FILTROS */


.search-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 16px;

    border: 1px solid var(--borde);

    border-radius: 13px;

    background: var(--color-superficie);

    transition: border-color var(--transicion), box-shadow var(--transicion);

}


.search-wrap:focus-within {

    border-color: #8fb4c8;

    box-shadow: 0 0 0 3px rgba(72, 140, 174, .12);

}


.search-wrap i {

    color: #475569;

    font-size: 1.12rem;

}


.search-wrap input {

    width: 100%;

    min-width: 0;

    padding: 15px 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--color-texto);

    font-size: .95rem;

}


.search-wrap input::placeholder {

    color: #526171;

}


/* Deslizamiento horizontal de categorías. */


.filter-scroll {

    display: flex;

    gap: 9px;

    overflow-x: auto;

    padding: 3px 0 10px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

}


.filter-scroll::-webkit-scrollbar {

    display: none;

}


.filter-btn {

    min-height: 41px;

    flex-shrink: 0;

    padding: 9px 16px;

    border: 1px solid var(--borde);

    border-radius: 999px;

    background: white;

    color: #334155;

    font-size: .85rem;

    font-weight: 550;

    transition: background var(--transicion), border-color var(--transicion), color var(--transicion);

}


.filter-btn:hover:not(.active) {

    border-color: #b9cbd5;

    background: var(--color-fondo);

}


.filter-btn.active {

    border-color: var(--color-principal);

    background: var(--color-principal);

    color: white;

    font-weight: 650;

}


.subcategories .filter-btn {

    min-height: 35px;

    padding: 7px 13px;

    background: var(--color-fondo);

    font-size: .8rem;

}


.subcategories .filter-btn.active {

    border-color: #b8ceda;

    background: var(--color-acento);

    color: var(--color-principal-oscuro);

}


/* 07. TARJETAS: estilos trasladados a componentes/tarjeta_productos.php */

/* 08. CATÁLOGO SIN RESULTADOS */


.empty-state {

    padding: 55px 20px;

    border: 1px dashed var(--borde);

    border-radius: var(--radio-grande);

    background: var(--color-superficie);

    color: var(--color-secundario);

    text-align: center;

}


/* 09. CONÓCENOS, REDES SOCIALES Y MAPA */


.about-box {

    padding: 14px;

    border: 1px solid #e8edf1;

    border-radius: 20px;

    background: #ffffff;

}


.about-photo {

    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    height: auto;

    border-radius: 15px;

    object-fit: contain;

    object-position: center;

    background: #f8f7f4;

}


.about-text {

    color: #334155;

    font-size: .94rem;

    line-height: 1.8;

}


.contact-lines {

    display: grid;

    gap: 11px;

    color: #334155;

    font-size: .89rem;

}


.contact-lines i {

    margin-right: 9px;

    color: var(--color-principal);

}


.contact-lines a:hover {

    color: var(--color-principal);

    text-decoration: underline;

}


.social-links a {

    display: inline-grid;

    width: 38px;

    height: 38px;

    place-items: center;

    border: 1px solid #dce5eb;

    border-radius: 10px;

    background: white;

    color: var(--color-principal);

    font-size: 1.13rem;

    transition: background var(--transicion);

}


.social-links a:hover {

    background: var(--color-acento);

}


.map-section {

    padding: 14px 2px 2px;

}


.map-section > .d-flex > i {

    color: var(--color-principal);

}


.map-frame {

    overflow: hidden;

    border: 1px solid var(--borde);

    border-radius: 16px;

    background: var(--color-fondo);

    box-shadow: var(--sombra-suave);

}


.map-frame iframe {

    display: block;

    width: 100%;

    height: 270px;

    border: 0;

}


/* 10. CARRITO */


/* El modal de productos tiene su propio CSS en

   config/moda_productos.php. */


.footer {

    border-top: 1px solid var(--borde);

    background: #ffffff;

}


.offcanvas-header {

    color: var(--color-texto);

}


.cart-line {

    padding: 15px 0;

    border-bottom: 1px solid var(--borde);

}


.qty-btn {

    min-width: 38px;

    min-height: 38px;

    border: 1px solid var(--borde);

    border-radius: 10px;

    background: white;

    color: var(--color-texto);

    font-size: 1.1rem;

}


.qty-btn:hover {

    background: var(--color-fondo);

}


/* 11. NAVEGACIÓN INFERIOR MÓVIL */


.mobile-nav {

    position: fixed;

    z-index: 1020;

    right: 0;

    bottom: 0;

    left: 0;

    display: flex;

    justify-content: space-around;

    padding: 9px 5px max(10px, env(safe-area-inset-bottom));

    border-top: 1px solid var(--borde);

    background: rgba(255, 255, 255, .98);

    box-shadow: 0 -5px 22px rgba(25, 47, 63, .055);

}


.mobile-nav a,

.mobile-nav button {

    display: flex;

    min-width: 65px;

    min-height: 48px;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    padding: 2px 5px;

    border: 0;

    border-radius: 9px;

    background: transparent;

    color: #334155;

    font-size: .7rem;

    font-weight: 550;

}


.mobile-nav a:hover,

.mobile-nav button:hover {

    background: var(--color-fondo);

    color: var(--color-principal);

}


.mobile-nav i {

    font-size: 1.3rem;

}


/* 12. RESPONSIVE */


@media (max-width: 390px) {

    .brand small { max-width: 190px; }


    .type-tab { padding: 10px 13px; }

}


@media (min-width: 768px) {

    body { padding-bottom: 0; }

    .hero { min-height: 280px; }

    .about-box { padding: 30px; }


    .map-frame iframe { height: 350px; }

    .brand strong { font-size: 1.32rem; }

    .brand small { max-width: 320px; font-size: .9rem; }

}


@media (min-width: 1200px) {

    .hero { min-height: 300px; }


}


/* 13. IMÁGENES RESPONSIVE DE LA PORTADA Y CONÓCENOS */


.hero img {

    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    object-fit: contain;

    object-position: center;

}


@media (max-width: 767.98px) {

    .hero img {

        max-height: 320px;

        margin-inline: auto;

    }


    .about-photo {

        aspect-ratio: 1 / 1;

    }

}


@media (min-width: 768px) {

    .about-photo {

        aspect-ratio: 1 / 1;

    }

}


/* 14. AJUSTES V6: LEGIBILIDAD, HEADER Y FOOTER */


body { background: #fff; color: #17212b; }

.text-muted { color: #475569 !important; }

.notice { background: #f8f7f4; color: #263341; border-bottom: 1px solid #ebe7e0; }

.site-header { background: #fff; border-color: #e4e1db; box-shadow: 0 3px 16px rgba(23,33,43,.045); }

.brand strong { color: #17212b; }

.brand small { color: #475569; }

.site-header .btn-light { background: #f8f7f4; border: 1px solid #e4e1db; color: #17212b; font-weight: 650; }

.site-header .btn-light:hover { background: #efede8; }

.cart-trigger { background: #fff; color: #17212b; }

.cart-badge { background: #17212b; }


/* Portada */


.hero { background: #fff; border-color: #e4e1db; box-shadow: 0 8px 28px rgba(23,33,43,.045); }

.eyebrow { color: #263341; }

.display-title, .section-title { color: #17212b; }

.hero-desc { color: #334155; }

.btn-primary-custom, .type-tab.active, .filter-btn.active { background: #17212b; border-color: #17212b; color: #fff; }

.btn-primary-custom:hover, .btn-primary-custom:focus-visible { background: #0e151c; border-color: #0e151c; }


/* Catálogo */


.type-tab, .filter-btn { color: #263341; background: #fff; }

.search-wrap { background: #fff; border-color: #d8d5cf; }

.search-wrap input { color: #17212b; }

.search-wrap input::placeholder { color: #526171; opacity: 1; }


/* Conócenos */


.about-box { background: #fff; border: 1px solid #e4e1db; box-shadow: 0 8px 28px rgba(23,33,43,.045); }

.about-photo { background: #f8f7f4; }

.about-text, .contact-lines { color: #263341; font-size: 1rem; }

.contact-lines i { color: #334155; }

.contact-lines a { overflow-wrap: anywhere; }

.social-links { display: flex; flex-wrap: wrap; gap: 10px; }

.social-links a { width: 44px; height: 44px; background: #fff; border: 1px solid #e4e1db; color: #17212b; font-size: 1.35rem; }

.social-links a:hover { background: #f8f7f4; transform: translateY(-2px); }


/* Colores de marca en redes sociales */


.social-links a:has(.bi-facebook),

.social-links .bi-facebook {

    color: #1877f2;

}


.social-links a:has(.bi-instagram),

.social-links .bi-instagram {

    color: #c13584;

}


.social-links a:has(.bi-tiktok),

.social-links .bi-tiktok {

    color: #111111;

}


.social-links a:has(.bi-youtube),

.social-links .bi-youtube {

    color: #ff0033;

}


.social-links a:has(.bi-whatsapp),

.social-links .bi-whatsapp {

    color: #128c4a;

}


.social-links a:has(.bi-instagram) {

    background-image: linear-gradient(

        135deg,

        rgba(245,133,41,.06),

        rgba(193,53,132,.06),

        rgba(88,81,219,.06)

    );

}


/* Mapa y pie de página */


.map-section { background: #fff; color: #17212b; }

.map-frame { background: #fff; border-color: #e4e1db; }

.footer { background: #fff; color: #263341; border-top: 1px solid #e4e1db; }

.footer a, .footer button { color: #263341; }

.footer a:hover, .footer button:not(:disabled):hover { color: #111827; }

.footer .border-top { border-color: #e4e1db !important; }

.footer .small { font-size: .9rem; }


/* Menú móvil */


.mobile-nav { background: #fff; border-color: #e4e1db; box-shadow: 0 -5px 20px rgba(23,33,43,.09); }

.mobile-nav a, .mobile-nav button { color: #263341; font-size: .78rem; }

.mobile-nav i { color: #17212b; }


@media (max-width: 767.98px) {

    body { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }

    .notice { font-size: .85rem; }

    .brand strong { font-size: 1.12rem; }

    .brand small { font-size: .8rem; }

    .hero { background: #fff; }


    .mobile-nav { min-height: 72px; }

    .mobile-nav a, .mobile-nav button { min-height: 56px; }

    .about-box { padding: 18px; }

    .contact-lines { font-size: .94rem; }

}


@media (max-width: 390px) {


}


