@import url('../../css/variables.css');

.content{
    width: 100%;
}
.container-d{
    margin-left: 5px;
}
.categorias-definida span{
    font-size: 12px;
}

.filter {
    width: 20%;
    padding: 15px;
    border-radius: 8px;
    margin-right: 8px;
}
.categoria {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
}
.categoria > a{
    color: var(--secondary-color);
}
.categoria a {
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 5px 0;
}
.categoria a:hover {
    text-decoration: underline;
}
.subcategoria {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    margin-top: 5px;
}
.subcategoria a {
    font-size: 16px;
    color: #555;
    padding: 3px 0;
}
.products{
    width: 100%;
}
.products-container{
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    gap: 10px;
}
.card-d {
    flex: 0 0 calc((100% - 200px) / 3.5) !important;
    min-width: 200px;
}

.pagination {
    display: inline-block;
  }
  
  .pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
  }
  
  .pagination a.active {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 5px;
  }
  
  .pagination a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 5px;
  }
.pagination-container{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.shop-banner-container {
    position: relative;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.shop-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 300px;
}

.shop-banner-placeholder {
    background-color: #e0e0e0;
    width: 100%;
    height: 300px;
}

.shop-avatar-wrapper {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.shop-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border-radius: 50%;
}

.shop-nombre-comercial {
    position: absolute;
    bottom: 15px;
    left: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .filter{
        width: 100%;
    }
    .categoria{
        text-align: center;
    }
    .products-container{
        justify-content: center;
    }

}
@media (min-width: 769px) {  
    .content{
        display: flex;
        width: 100%;
        padding-top: 15px;
    }

}