/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 23/05/2016, 08:43:47 AM
    Author     : Acer
*/

body {
  font-family: Open Sans;
  overflow-x: hidden;
  /*background-color: #EAEDED;*/
  background-color: white;
}

header a{
	width: 50px;
	margin-left: 50%;
	display: inline-block;
	vertical-align: top;
}

header a img{
	width: 100%;
}

section{
	width: 80%
	min-height: 500px;
	border: 1px solid #DDD;
	padding: 2%;
	margin:0 auto;
	margin-left: 10%;
	margin-top: 50px;
}

.container{
    /*background-color: #EAEDED;*/
    background-color: white;
}

.pie{
    /*background-color: #EAEDED;*/
    background-color: white;
}

.pie a{
    color:black;
}

.thumbnailProducto{
    /*border: 1px solid #ddd;*/
    border: none;
    background-color: white;
	
}


.thumbnailProducto .img-producto {
  width: 100%;
  max-width: 220px;     /* puedes ajustar según el tamaño deseado */
  height: 220px;
  /*object-fit: cover;*/
  margin: 0 auto;
  display: block;
  border-radius: 6px;
  border: 1px solid #ccc;
}




.producto{
	width: 23%;
	height: 220px;
	background-color: #fafafa;
	border: 1px solid gray;
	display: inline-block;
	vertical-align: top;
	margin-left: 1%;
	margin-top: 1%;
}

.producto img{
	width: 60%;
	height: 60%;
	margin: auto;
}

.productod{
	width: 23%;
	height: 220px;
	background-color: #fafafa;
	border: 1px solid gray;
	display: inline-block;
	vertical-align: top;
	margin-left: 1%;
	margin-top: 1%;
}

.productod img{
	width: 60%;
	height: 60%;
	margin: auto;
}


.navbar-inverse {
	background: #232F3E;
	border-color : #232F3E;
}

.navbar-inverse .navbar-brand {
    color: white;
}

.navbar-inverse .navbar-nav > li > a {
    color: white;
}

.navbar-inverse .navbar-header a:hover{
    text-decoration: none;
    color: #999999;
    background: #232F3E;
}

.navbar-inverse .navbar-nav > li > a:hover{
    text-decoration: none;
    color: #999999;
    background: #232F3E;
}

.vigencia{
	background:#66ccff;
	color:white;
	padding:5px;
	border-radius:5px;
}

.disponible{
    color: green;
    font-style: bold;
}

.nodisponible{
    color: blue;
    font-style: bold;
}



/*  shop-homepage.css  */
.slide-image {
    width: 100%;
}

.carousel-holder {
    margin-bottom: 30px;
}

.carousel-control,
.item {
    border-radius: 4px;
}

.caption {
    height: 150px;
    overflow: hidden;
}

.caption h4 {
    white-space: nowrap;
}


.thumbnail img {
   
    width: 60%;
    height: 60%;
    margin: auto;
	
	
}


.ratings {
    /*padding-right: 10px;*/
    /*padding-left: 10px;*/
    color: #ffcc00;
}

.thumbnail {
    padding: 0;
}

.thumbnail .caption-full {
  padding: 9px;
  color: #333;
}






/* simple-sidebar.css */
#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-color: #232F3E;
}

#wrapper.toggled {
    padding-left: 300px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 300px;
    width: 0;
    height: 100%;
    margin-left: -300px;
    overflow-y: auto;
    background: #232F3E;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 300px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -300px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 70px;
    width: 300px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: white;
    /*color : rgb(255,237,0);*/
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #999999;
    background: #232F3E;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 300px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 300px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}


/*Drowndon submenuw*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* ESTILOS PARA CATEGORIAS.PHP */
.cuerpo_categoria{
    background-color: black;
    color:yellow;
}

.thumbnail_categoria{
    background-color: black;
    border-color : yellow;
}

.thumbnail_categoria .caption h3{
    color: yellow;
}


/* ================================================================
   FILTROS DE BUSQUEDA (index.php, 2026-09)
   ================================================================ */
.panel-filtros {
    margin-top: 10px;
    padding: 12px 15px 6px;
    background: #f7f8f9;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
}
.panel-filtros label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 3px;
}
.panel-filtros .form-group {
    margin-bottom: 10px;
}
.panel-filtros .filtro-ofertas {
    font-weight: 600;
    color: #c9302c;
    padding-top: 4px;
}
.filtros-toggle {
    margin-top: 10px;
}
/* en celular el panel se abre con el boton "Filtros"; en pantallas
   medianas y grandes siempre esta visible */
@media (min-width: 768px) {
    .panel-filtros.collapse {
        display: block !important;
        height: auto !important;
    }
}
.resultados-busqueda {
    color: #666;
    font-size: 13px;
    margin: 0 0 10px;
}

/* =====================================================================
   PORTADA (tarea 161, 2026-11-19): cabecera con <h1>, franja de confianza,
   rejilla de tarjetas (2 por fila en el telefono) y contacto al final.
   ===================================================================== */

/* con el menu lateral (padding-left 300px) el .container de ancho fijo de
   Bootstrap (1170/970/750) se salia por la derecha en escritorio */
#wrapper .container { width: auto; max-width: 1170px; }

/* menu lateral: los nombres largos se parten en dos renglones alineados */
.sidebar-nav li { text-indent: 0; line-height: 1.35; }
.sidebar-nav li a { padding: 10px 16px 10px 20px; }

.tienda-cabecera { margin: 6px 0 18px; }
.tienda-cabecera h1 { font-size: 26px; font-weight: 600; color: #232F3E; margin: 0 0 6px; }
.tienda-lema { color: #555; font-size: 15px; margin: 0 0 12px; max-width: 780px; }
.tienda-confianza { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tienda-confianza li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; }
.tienda-confianza .glyphicon { color: #f28c28; font-size: 18px; }

.tienda-rejilla { display: flex; flex-wrap: wrap; margin-left: -8px; margin-right: -8px; }
.tienda-rejilla:before, .tienda-rejilla:after { display: none; }
.tienda-col { display: flex; float: none; padding-left: 8px; padding-right: 8px; margin-bottom: 16px; }
.tienda-tarjeta { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #e5e5e5;
                  border-radius: 8px; overflow: hidden; transition: box-shadow .2s; }
.tienda-tarjeta:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.tienda-foto { display: block; padding: 10px; text-align: center; }
.tienda-foto img { display: inline-block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.tienda-cuerpo { display: flex; flex-direction: column; flex: 1; padding: 0 12px 12px; }
.tienda-nombre { font-size: 14px; line-height: 1.35; font-weight: 600; margin: 4px 0 6px; min-height: 2.7em;
                 display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tienda-nombre a { color: #232F3E; }
.tienda-meta { font-size: 12px; color: #777; margin: 0 0 6px; overflow-wrap: anywhere; }
.tienda-precio { margin: auto 0 2px; }
.tienda-importe { font-size: 20px; font-weight: 700; color: #111; white-space: nowrap; }
.tienda-antes { color: #999; font-size: 13px; white-space: nowrap; }
.tienda-oferta { display: inline-block; background: #d9534f; color: #fff; font-size: 11px; padding: 2px 6px;
                 border-radius: 3px; vertical-align: middle; }
.tienda-vigencia { font-size: 11px; color: #888; margin: 0 0 4px; }
.tienda-estrellas { color: #ffcc00; font-size: 12px; margin: 0 0 8px; }

.tienda-contacto { background: #f5f7fa; border-radius: 8px; padding: 18px 20px; margin: 10px 0 30px; }
.tienda-contacto h2 { font-size: 20px; margin: 0 0 8px; color: #232F3E; }
.tienda-contacto img { vertical-align: -4px; }
.tienda-nota { font-size: 12px; color: #888; margin: 8px 0 0; }

@media (max-width: 767px) {
    .tienda-cabecera h1 { font-size: 21px; }
    .tienda-lema { font-size: 14px; }
    .tienda-confianza { gap: 8px 10px; }
    .tienda-confianza li { flex: 1 1 45%; align-items: flex-start; font-size: 12px; }
    .tienda-rejilla { margin-left: -5px; margin-right: -5px; }
    .tienda-col { padding-left: 5px; padding-right: 5px; margin-bottom: 10px; }
    .tienda-foto { padding: 6px; }
    .tienda-cuerpo { padding: 0 8px 8px; }
    .tienda-nombre { font-size: 13px; }
    .tienda-importe { font-size: 16px; }
}
