@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');

h1, h2, h3, h4, h5, h6, label, body, p {
    font-family: 'Open Sans', sans-serif;
}


.page-content h1, .page-content h2 {
    font-family: 'Open Sans', sans-serif;
} 
/* LOGO */

.logo-market {
    height:200px!important;
}

/* BOTONERA */

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    background-color: #E5A4A8;
}

.navbar .nav li.dropdown.open>.dropdown-toggle, .navbar .nav li.dropdown.active>.dropdown-toggle, .navbar .nav li.dropdown.open.active>.dropdown-toggle {
    color: #F5C07A;
}

.navbar .nav li.dropdown.open>.dropdown-toggle .caret, .navbar .nav li.dropdown.active>.dropdown-toggle .caret, .navbar .nav li.dropdown.open.active>.dropdown-toggle .caret {
    border-top-color: #E5A4A8;
    border-bottom-color: #E5A4A8;
}


.navbar .nav>li>a {
    color: #3a3a3a;
    padding: 10px 10px 10px 10px;
    font-weight: bold;
}

.navbar .nav>li>a:focus, .navbar .nav>li>a:hover {
    background-color: #F5C07A;
    color: #333333;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 10px 10px 10px 10px;
}

.navbar .nav>.active>a, .navbar .nav>.active>a:hover, .navbar .nav>.active>a:focus {
    color: #333333;
    background-color: #9BC9A4;
    font-weight: bold;
    border-radius: 20px;
    transition: all 0.3s ease;
    padding: 10px 10px 10px 10px;
}


/* NAV BAR */

.navbar .nav {
    display: flex;
    justify-content: center; /* centra horizontal */
    align-items: center;
    margin: 0px 0 10px 0;
    background-color: rgba(255,255,255,0) !important;
    float: none; /* importante quitar */
    position: relative;
    z-index: 1;
}

.navbar {
    border-bottom: 0px solid rgba(176,183,195,0.84);
}
 

/* FOOTER */

.modal-footer {
    border-top: 0px solid #fff;
}

/* FORMULARIO */

.form-actions {
    padding: 19px 0px 20px;
    margin-top: 2px;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #d68500;
    border-color: #d68500;
    border-radius: 20px;
}

.btn-primary:hover {
    color: #fff;
    background-color: #2c2f33;
}

.navbar .navbar-inner {
    background-color: transparent !important;
}

.navbar.navbar-static-top.affix-bottom.affix.affix-at-top {
    background-color: #fff !important;
}


@media (max-width: 979px){
    .logo-market {
        height: 50px!important;
    }
}


.modal-footer .btn-link {
    color: #3a3a3a;
}

a {
    color: #d68500;
    text-decoration: none;
}


.listado-productos img {
    padding: 0px 0 0px 0;
    width: 100%;
    height: 410px;
    object-fit: cover;
    background-color: #fff;
}
.listado-productos .thumbnail h5 a {
    color: #3a3a3a;
}

.wdg-producto .caption .precio {
    line-height: 100%;
    font-size: 32px;
    text-align: left;
    line-height: 10%;
    margin-top: 24px;
    float: left;
}

.listado-productos .thumbnail h5 {
    font-size: 20px;
    min-height: 48px;
    font-weight: 700;
    line-height: 24px;
    margin: 0px 0px;
    padding: 60px 0px 0px;
    border-top: 1px solid rgba(128,128,128,0.29);
}

.listado-productos .btn-primary {
    color: #000;
    background-color: #F5C07A;
    border: 1px solid #F5C07A;
    padding: 10px 15px;
    font-size: 14px;
    margin: 0px 0px 0 0;
    border-radius: 0;
    width: 100%;
}

.listado-productos .btn-primary:hover,
.listado-productos .btn-primary:focus {
    color: #000;
    background-color: #E5A4A8;
    border-color: #E5A4A8;
}

.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail .vista-previa>img.thumb {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    background-color: #fff;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover, a:focus {
    color: #3a3a3a;
    text-decoration: underline;
}

.pagination ul>.active>a, .pagination ul>.active>span {
    color: #e4121d;
}
.muted {
    color: #3a3a3a;
}

.btn {
    font-weight: 300;
    color: #5F6B58;
    background-color: #F5C07A;
    border: 1px solid #F5C07A;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-family: 'Roboto', serif;
}

.btn:hover,
.btn:focus {
    color: #000;
    background-color: #E5A4A8;
    border-color: #E5A4A8;
    text-decoration: none;
}


.listado-productos .thumbnail h5 {
    padding: 10px 0 0 0;
    border-top: 0px solid rgba(128,128,128,0.29);
}

.listado-productos .thumbnail h5 {
    font-size: 20px;
    min-height: 48px;
    font-weight: 700;
    line-height: 24px;
    margin: 0px 0px;
    padding: 20px 0px 0px;
    border-top: 1px solid rgba(128,128,128,0.29);
}
.listado-productos .thumbnail {
    padding: 0;
    border: 0px solid #ddd;
    border-radius: 0;
    display: block;
    line-height: 20px;
    margin-bottom: 30px;
}
.listado-productos .thumbnail h5 {
    font-size: 20px;
    min-height: 48px;
    font-weight: 700;
    line-height: 24px;
    margin: 0px 0px;
    padding: 20px 0px 0px;
    border-top: 0px solid rgba(128,128,128,0.29);
}
.wdg-producto .caption .resumen p, .wdg-producto .caption .resumen h5 {
    min-height: 0;
    display: grid;
}
.wdg-producto .caption .precio {
    line-height: 100%;
    font-size: 32px;
    text-align: left;
    line-height: 10%;
    margin-top: 14px;
    float: unset;
}
.wdg-producto .caption .resumen p, .wdg-producto .caption .resumen h5 {
    min-height: 0;
    display: grid;
    text-align: center;
}

.wdg-producto .caption .precio .precio-final {
    display: block;
    text-align: center;
}
.listado-productos .thumbnail h5 {
    font-size: 20px;
    min-height: 48px;
    font-weight: 700;
    line-height: 24px;
    margin: 0px 0px;
    padding: 4px 0px 0px;
    border-top: 0px solid rgba(128,128,128,0.29);
}

.btn-link:hover, .btn-link:focus {
    color: #000;
    text-decoration: underline;
    background-color: transparent;
}
.SHOP {
    position: fixed !important;
    float: right;
    z-index: 99999 !important;
    right: 5%;
    bottom: 5%;
}

.listado-productos .btn,
.wdg-producto .btn {
    border-radius: 0 !important;
}

.listado-productos .btn:first-child,
.wdg-producto .btn:first-child {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.listado-productos .btn:last-child,
.wdg-producto .btn:last-child {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.puntos-venta-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.pv-hero {
    text-align: center;
    background: #f7efe3;
    border-radius: 24px;
    padding: 40px 25px;
    margin-bottom: 40px;
}

.pv-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #5F6B58;
}

.pv-hero h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #D4833C;
}

.pv-hero p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 820px;
    margin: 0 auto 12px;
}

.pv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pv-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pv-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 24px 24px 0 0;
}

.pv-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pv-card-content h2 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #3a3a3a;
}

.pv-card-content h4 {
    font-size: 15px;
    margin-bottom: 14px;
    color: #D4833C;
    font-weight: 700;
    line-height: 1.4;
}

.pv-card-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 8px;
}

.pv-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 12px;
    border-radius: 50%;
    overflow: hidden;
}

.pv-wa-btn img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .pv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pv-hero h1 {
        font-size: 36px;
    }

    .pv-hero h3 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .puntos-venta-page {
        padding: 30px 15px 50px;
    }

    .pv-hero {
        padding: 30px 20px;
        border-radius: 18px;
        margin-bottom: 30px;
    }

    .pv-hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .pv-hero h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .pv-hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .pv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pv-card {
        border-radius: 18px;
    }

    .pv-card img {
        border-radius: 18px 18px 0 0;
    }

    .pv-card-content {
        padding: 18px;
    }

    .pv-card-content h2 {
        font-size: 20px;
    }

    .pv-card-content h4 {
        font-size: 14px;
    }

    .pv-card-content p {
        font-size: 14px;
    }
}

.consejos-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.consejos-hero {
    text-align: center;
    margin-bottom: 40px;
}

.consejos-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #5F6B58;
    margin: 0;
    line-height: 1.2;
}

.consejos-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.consejo-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 22px;
}

.consejo-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.consejo-text h2 {
    font-size: 28px;
    line-height: 1.3;
    color: #5F6B58;
    margin: 0 0 16px;
    font-weight: 700;
}

.consejo-text p {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin: 0 0 10px;
}

.consejo-text strong {
    color: #3a3a3a;
}

@media (max-width: 900px) {
    .consejo-row {
        grid-template-columns: 1fr;
    }

    .consejos-hero h1 {
        font-size: 34px;
    }

    .consejo-text h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .consejos-page {
        padding: 28px 14px 45px;
    }

    .consejos-hero {
        margin-bottom: 28px;
    }

    .consejos-hero h1 {
        font-size: 28px;
    }

    .consejo-row {
        padding: 16px;
        border-radius: 18px;
        gap: 18px;
    }

    .consejo-img img {
        border-radius: 14px;
    }

    .consejo-text h2 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .consejo-text p {
        font-size: 15px;
        line-height: 1.65;
    }
}

/* PAGINACIÓN DE PRODUCTOS */
.pagination {
    text-align: center;
    margin: 30px 0 20px;
}

.pagination ul {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-shadow: none !important;
}

.pagination ul li {
    display: inline-block !important;
    float: none !important;
    margin: 0 4px !important;
    vertical-align: middle !important;
    min-width: 38px !important;
}

.pagination ul li a,
.pagination ul li span {
    display: inline-block !important;
    min-width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 12px !important;
    background-color: #F5C07A !important;
    color: #3a3a3a !important;
    border: 1px solid #F5C07A !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.pagination ul li a:hover,
.pagination ul li span:hover {
    background-color: #E5A4A8 !important;
    border-color: #E5A4A8 !important;
    color: #000 !important;
}

.pagination ul > .active > a,
.pagination ul > .active > span {
    background-color: #5F6B58 !important;
    border-color: #5F6B58 !important;
    color: #fff !important;
}

.pagination ul > .disabled > a,
.pagination ul > .disabled > span {
    background-color: #f2f2f2 !important;
    border-color: #ddd !important;
    color: #999 !important;
    cursor: not-allowed !important;
}

/* Texto "Total: X Páginas" */
.pagination ul li:last-child {
    min-width: auto !important;
}

.pagination ul li:last-child span,
.pagination ul li:last-child a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #5F6B58 !important;
    font-weight: 700 !important;
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    padding: 0 0 0 12px !important;
    border-radius: 0 !important;
    cursor: default !important;
}
/* ========================================
   PAGINA DE PRODUCTO - LAYOUT LIMPIO FINAL
   ======================================== */

/* 1) layout en 3 columnas */
.categorias-y-productos .detalle .row-fluid {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 30px !important;
}

.categorias-y-productos .detalle .row-fluid > .span2 {
    width: 30% !important;
    margin-left: 0 !important;
    float: none !important;
}

.categorias-y-productos .detalle .row-fluid > .span5 {
    width: 40% !important;
    margin-left: 0 !important;
    float: none !important;
}

.categorias-y-productos .detalle .row-fluid > .span4 {
    width: 30% !important;
    margin-left: 0 !important;
    float: none !important;
}

/* 2) contenedor general de imagen */
.categorias-y-productos .detalle .galeria-detalle-producto,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom {
    width: 100% !important;
    text-align: center !important;
}

/* 3) sacar look de thumbnail */
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* 4) caja visible de la imagen:
      más alta para que no quede rectangular horizontal */
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail .vista-previa,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail .vista-previa {
    width: 100% !important;
    height: 560px !important;
    min-height: 560px !important;
    max-height: none !important;
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
}

/* 5) imagen real:
      sin deformacion, sin recorte raro, ocupando altura */
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail .vista-previa > img.thumb,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail .vista-previa > img.thumb,
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail > img,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail > img {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    display: block !important;
    width: auto !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* 6) desactivar zoom / lupa / hover */
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail .thumbnail-hover,
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail .zoom,
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail .lupa,
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail [class*="zoom"],
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail [class*="hover"],
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail .thumbnail-hover,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail .zoom,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail .lupa,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail [class*="zoom"],
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail [class*="hover"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 7) cursor normal */
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail,
.categorias-y-productos .detalle .galeria-detalle-producto .thumbnail img,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail,
.categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail img {
    cursor: default !important;
}

/* 8) precio y acciones arriba, prolijo */
.wdg-producto .caption .precio {
    margin-top: 24px !important;
    text-align: center !important;
    float: none !important;
    line-height: 1.1 !important;
}

.wdg-producto .caption .precio .precio-final {
    display: block !important;
    text-align: center !important;
}

.wdg-producto .caption .acciones,
.wdg-producto .caption .form-actions {
    margin-top: 15px !important;
}

/* 9) mobile */
@media (max-width: 767px) {
    .categorias-y-productos .detalle .row-fluid {
        display: block !important;
    }

    .categorias-y-productos .detalle .row-fluid > .span2,
    .categorias-y-productos .detalle .row-fluid > .span5,
    .categorias-y-productos .detalle .row-fluid > .span4 {
        width: 100% !important;
        display: block !important;
        margin-left: 0 !important;
    }

    .categorias-y-productos .detalle .galeria-detalle-producto .thumbnail .vista-previa,
    .categorias-y-productos .detalle .galeria-detalle-producto.galeria-zoom .thumbnail .vista-previa {
        height: 380px !important;
        min-height: 380px !important;
    }

    .wdg-producto .caption .precio,
    .wdg-producto .caption .precio .precio-final {
        text-align: center !important;
    }
}

/* ========================================
   MOBILE - LOGO Y MENU
   ======================================== */
@media (max-width: 767px) {

    /* Logo más grande */
    .logo-market {
        height: 150px !important;
        max-height: none !important;
        display: block !important;
        margin: 0 auto 10px !important;
    }

    /* Contenedor del header */
    .navbar .navbar-inner {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* Menú mobile */
    .navbar .nav {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 10px 0 0 0 !important;
        padding: 0 8px !important;
    }

    .navbar .nav > li {
        float: none !important;
        display: inline-block !important;
    }

    .navbar .nav > li > a {
        display: inline-block !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        border-radius: 16px !important;
    }

    .navbar .nav > .active > a,
    .navbar .nav > .active > a:hover,
    .navbar .nav > .active > a:focus {
        border-radius: 16px !important;
    }
}