
/* CRIAR PALETAS ESPECIFICAS */
body {
    background: var(--foxb2c-neutro);
    background: #f8f9fa;
}

/* Product Grid */
section.produtos-especialidades{
    background: none;
}

section.produtos-especialidades h1{
    font-size: 1.75rem;
    color: var(--botao-secondary);
    display: flex;
    flex-direction: column;
}

section.produtos-especialidades h1>small{
    font-size: 1rem;
}

/* Filtros */
.filter-toolbar {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.layout-controls {
    display: flex;
    gap: 10px;
}

.filter-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0;
    white-space: nowrap;
}

.filter-select, .filter-input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.3s ease;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-btn.active {
    background: var(--foxb2c-secondary);
    border-color: var(--foxb2c-secondary);
    color: white;
}


/* Grid de Produtos */
.product-grid {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-grid hr{
    width: 100%;
    display: block;
    color: var(--foxb2c-border);
    border: 1px solid var(--foxb2c-border);
}

.product-card {
    border: 1px solid var(--foxb2c-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    /*transform: translateY(-5px);*/
}

.product-card:hover .product-image img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #ffffff;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    transition: all 0.4s;
    padding: 1rem;
}

.product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 0.90rem;
    font-weight: 600;
    color: var(--foxb2c-secondary);
    margin-bottom: 0.5rem;
    min-height: 3.3rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*.product-title {display: -webkit-box;}*/

.product-price {
    margin-top: auto;
    min-height: 75px;
    display: flex;
    align-items: flex-end;
}

.price-current {
    color: var(--preco-grid);
    display: flex;
    flex-direction: column;
}

/*TODO - Parametrizar bold*/
.price-current > strong{
    font-size: 1.5rem;
    font-weight: 700;
    font-weight: 500;
    letter-spacing: -1px;
}

/*TODO - Parametrizar cor*/
.price-current > small{
    font-size: 0.8rem;
    line-height: 0.9rem;
    font-weight: 400;
    color: #333333;
}

.price-current .price-restricted{
    margin: 0;
    margin-left: -6px;
}

.price-installments {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.btn-buy {
    width: 100%;
    background: var(--botao-primary);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

/*TODO - Parametrizar radius*/
.btn-buy{
    border-radius: 25px;
    padding: 0.5rem;
}

.product-card:hover .btn-buy,
.btn-buy:hover {
    background: var(--botao-secondary);
    color: white;
}

/* Tags: frete-gratis */
.product-card.frete-gratis {
    position: relative;
    overflow: hidden;
}

.product-card.frete-gratis::before {
    content: "FRETE GRÁTIS";
    position: absolute;
    top: 25px;
    right: -39px;
    background: var(--foxb2c-success);
    color: white;
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

/* Tags: laboratorio */
.product-card.laboratorio {
    position: relative;
    overflow: hidden;
}

.product-card.laboratorio::before {
    content: "DESCONTO" "\A" "LABORATÓRIO";
    white-space: pre-wrap;
    text-align: center;
    position: absolute;
    top: 16px;
    right: -46px;
    background: var(--foxb2c-info);
    color: white;
    padding: 5px 40px;
    font-size: 0.7rem;
    line-height: 0.7rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

/* Alert Notice */
.info-alert {
    background: var(--foxb2c-bgcolor);
    border-left: 4px solid var(--foxb2c-primary);
    padding: 1rem;
    margin: 2rem 0 2rem 0;
    border-radius: 5px;
}

.info-alert i{
    color: var(--foxb2c-secondary);
}


/* Sidebar Navigation */
aside.especialidades{
    background-color: var(--foxb2c-neutro);
    border-radius: 8px;
    padding: 2rem;
    padding-top: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 23%;
    margin-right: 2%;
    border-top: 5px solid var(--foxb2c-secondary);
}

aside.especialidades strong,
aside.especialidades h2{
    font-size: 1.5rem;
    color: var(--botao-secondary);
}

aside.especialidades strong{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--foxb2c-border-secondary);
}

aside.especialidades .nav-item{
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    border-radius: 10px;
}

aside.especialidades .nav-item:hover{
    background: var(--aside-secondary);
}

aside.especialidades .nav-item:hover .nav-link{
    color: var(--aside-terciary);
}

aside.especialidades .nav-link{
    font-size: 0.9rem;
    border-bottom: 1px solid var(--aside-border);
    text-transform: capitalize;
    color: var(--aside-primary);
}

/* Responsive */
@media (max-width: 1366px) {
    .col-lg-9 {
        flex: 0 0 auto;
        width: 73%;
    }
}

@media (max-width: 991px) {
    
    aside.especialidades {
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        width: 94%;
        margin: 3%;
        border: 0;
    }

    aside.especialidades strong {
        margin: 0;
        padding: 0;
        border: 0;
    }
    
    .sidebar-nav {
        margin-bottom: 2rem;
        position: static;
    }

    aside.especialidades strong,
    aside.especialidades h2{
        color: var(--foxb2c-neutro);
    }
    
    .mobile-toggle {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--foxb2c-primary);
        color: white;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .sidebar-nav .nav {
        display: none;
    }
    
    .sidebar-nav.active .nav {
        display: flex;
    }
    
    .row-cols-1>* {
        flex: 0 0 auto;
        width: 50%;
    }

    section.produtos-especialidades{
        width: 94% !important;
        margin-left: 3%;
    }

    .filter-group{
        display: none;
    }

    .product-grid{
        padding: 0;
        padding-bottom: 20px;
    }

    .price-current > small{
        font-size: 0.7rem;
    }

    .price-current > strong{
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .site-logo img {
        max-width: 150px;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
}