.dobra-produto {
    background: #fff;
    padding: 60px 0;
    z-index: 1;
}

.dobra-produto .panel_header,
.dobra-produto .panel {
    background: none;
    border: none;
    box-shadow: none;
}

.dobra-produto .panel_header h2,
.dobra-produto .panel h2 {
    color: #333 !important;
    font-family: var(--fontTema);
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.dobra-produto .panel_header h2 span {
    font-family: var(--fontTema);
    color: var(--colorSecondary);
}

/*LIST*/
.single_list{
    float: right;
    width: 72%;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.single_list .box {
    width: 100%; /* O grid controla a largura */
    margin-bottom: 0;
}

/*SIDEBAR*/
.single_sidebar{
    float: left;
    width: 25%;
    margin-top: 0;
}

.single_sidebar section > h1{
    font-size: 1.2em;
    font-weight: 600;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single_sidebar section > h1 span{
    border-bottom: 2px solid var(--colorSecondary);
    padding-bottom: 15px;
}

.single_sidebar_widget{
    float: left;
    width: 100%;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.single_sidebar_widget.delivered article{
    float: left;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.single_sidebar_widget.delivered article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.single_sidebar_widget.delivered article img{
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.single_sidebar_widget.delivered article div{
    flex: 1;
    padding-left: 0;
    float: none;
    width: auto;
}

.single_sidebar_widget.delivered article h1{
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 5px 0;
}

.single_sidebar_widget.delivered article a{
    color: #333;
    text-decoration: none;
}

.single_sidebar_widget.delivered article a:hover{
    color: var(--colorMain);
}

.single_sidebar_widget.delivered article p{
    font-size: 0.8em;
    color: #777;
    margin: 0;
}

.single_sidebar_widget.delivered article .offer{
    font-size: 0.85em;
    color: #999;
    margin-top: 5px;
}

.single_sidebar_widget.delivered article .offer span{
    color: var(--colorSecondary);
    display: block;
    font-weight: 700;
    font-size: 1.1em;
}

/*SINGLE PRODUCT STYLE*/

.single_pdt{
    box-shadow: var(--shadow);
    text-align: center;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.single_pdt:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.single_pdt_cover{
    padding-top: 0;
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
    aspect-ratio: 1 / 1; /* Garante quadrado */
    display: flex;
    align-items: center;
    justify-content: center;
}

.single_pdt_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.single_pdt:hover .single_pdt_cover img {
    transform: scale(1.1);
}

.single_pdt_offer{
    font-size: 0.75em;
    font-weight: 700;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: #e74c3c; /* Vermelho oferta */
    border-radius: var(--radius-sm);
    width: auto;
    bottom: auto;
    left: auto;
    box-shadow: var(--shadow-sm);
}

.single_pdt_stock{
    font-size: 0.75em;
    font-weight: 700;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: #f39c12; /* Laranja alerta */
    border-radius: var(--radius-sm);
    width: auto;
    bottom: auto;
}

.single_pdt header{
    padding: 20px 20px 10px 20px;
    flex: 1;
}

.single_pdt header h1{
    font-size: 1.1em;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 8px;
}

.single_pdt header a{
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.single_pdt header a:hover{
    color: var(--colorMain);
}

.single_pdt header p{
    font-size: 0.85em;
    font-weight: 400;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single_pdt_price{
    font-size: 1.4em;
    font-weight: 700;
    color: var(--colorMain);
    padding: 0 20px 15px 20px;
}

.single_pdt_price span{
    display: block;
    font-size: 0.6em;
    color: #999;
    font-weight: 400;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.pdt_single_split{
    font-size: 0.55em;
    font-weight: 500;
    color: #888;
    margin-top: 5px;
}

.single_pdt_btn{
    padding: 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.single_pdt_btn .btn{
    font-size: 0.85em;
    text-transform: uppercase;
    padding: 10px 0;
    font-weight: 700;
    width: 100%;
    display: block;
    border-radius: var(--radius-sm);
}

.wc_cart_add_btn{
    background: var(--colorSecondary);
    color: #fff;
}

.wc_cart_add_btn:hover {
    background: var(--colorSecondaryHover);
}

/* MEDIA QUERIES */
@media (max-width: 900px){
    .single_list{
        width: 100%;
        float: none;
    }
    .single_sidebar{
        display: none;
    }
}

@media (max-width: 600px){
    .single_list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Cards menores no mobile */
        gap: 15px;
    }

    .single_pdt header {
        padding: 15px 10px 5px 10px;
    }

    .single_pdt header h1 {
        font-size: 1em;
    }

    .single_pdt_price {
        font-size: 1.2em;
        padding: 0 10px 10px 10px;
    }

    .single_pdt_btn {
        padding: 10px;
    }

    .single_pdt_btn .btn {
        font-size: 0.75em;
        padding: 8px 0;
    }
}