/**
 * Estilos WooCommerce - Páginas Internas
 * Design consistente com a home page Perfilmil
 */

/* ========================================
   LAYOUT GERAL WOOCOMMERCE
======================================== */
.woocommerce-wrapper {
    background: #fff;
    padding: 40px 0 60px 0;
    min-height: 60vh;
}

/* Breadcrumb */
.breadcrumb-section {
    background: #f8f8f8;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}
.woocommerce-breadcrumb {
    font-size: 0.92em;
    color: #666;
}
.woocommerce-breadcrumb a {
    color: var(--logo-red);
    text-decoration: none;
    transition: color 0.2s;
}
.woocommerce-breadcrumb a:hover {
    color: #990000;
}
.woocommerce-breadcrumb .fas {
    font-size: 0.75em;
    margin: 0 8px;
    color: #999;
}

/* ========================================
   PÁGINA DE PRODUTO ÚNICO
======================================== */
.single-product .woocommerce-wrapper {
    padding: 50px 0 70px 0;
}

/* Topo do produto (layout hero) */
.perfilmil-single-product .product-hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}
.perfilmil-single-product .product-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.perfilmil-single-product .product-actions-right { display:flex; align-items:center; gap:10px; }
.perfilmil-single-product .live-badge { background: transparent; border: 0; width: 70px; height: 32px; padding: 0; display:inline-flex; align-items:center; }
.perfilmil-single-product .live-badge img { width: 70px; height: 32px; object-fit: contain; }
.perfilmil-single-product .wishlist-fallback,
.perfilmil-single-product .perfilmil-share-btn {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
}
.perfilmil-single-product .wishlist-fallback { width: 40px; height: 40px; justify-content: center; color: var(--logo-red); }
.perfilmil-single-product .perfilmil-share-btn:hover,
.perfilmil-single-product .wishlist-fallback:hover { border-color: var(--logo-red); box-shadow: 0 6px 18px rgba(0,0,0,.07); transform: translateY(-1px); }
.perfilmil-single-product .product-media { background:#fff; border-radius:12px; overflow:hidden; }
.perfilmil-single-product .product-buybox { background:#fff; border:1px solid #eaeaea; border-radius:12px; padding:22px; position:relative; }
.perfilmil-single-product .rating-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.perfilmil-single-product .rating-row .rating-count { color:#666; font-size:.95em; }

@media (max-width: 992px) {
  .perfilmil-single-product .product-hero { grid-template-columns: 1fr; }
}

/* Grid da página de produto */
div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Galeria de Imagens do Produto */
.woocommerce-product-gallery {
    position: relative;
}
.woocommerce-product-gallery__wrapper {
    margin: 0;
}
.woocommerce-product-gallery__image {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: border-color 0.3s;
}
.woocommerce-product-gallery__image:hover {
    border-color: var(--logo-red);
}
.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Thumbnails da galeria */
.flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}
.flex-control-thumbs li {
    flex: 1;
    max-width: 100px;
}
.flex-control-thumbs img {
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    height: auto;
}
.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active {
    border-color: var(--logo-red);
    transform: scale(1.05);
}

/* Sumário do Produto (lado direito) */
.summary.entry-summary {
    padding: 20px 0;
}

/* Título do Produto */
.product_title.entry-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Preço do Produto */
.woocommerce-Price-amount {
    font-weight: 700;
    color: var(--logo-red);
}
p.price {
    font-size: 2em;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
p.price del {
    opacity: 0.5;
    font-size: 0.7em;
    color: #666;
}
p.price ins {
    text-decoration: none;
    color: var(--logo-red);
}

/* Avaliações / Rating */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.star-rating {
    color: #ffc107;
    font-size: 1.1em;
}
.woocommerce-review-link {
    color: #666;
    font-size: 0.95em;
    text-decoration: none;
}
.woocommerce-review-link:hover {
    color: var(--logo-red);
}

/* Descrição curta */
.woocommerce-product-details__short-description {
    font-size: 1.05em;
    line-height: 1.7;
    color: #555;
    margin: 20px 0 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid var(--logo-red);
    border-radius: 8px;
}

/* Formulário de Adicionar ao Carrinho */
form.cart {
    margin: 30px 0;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

/* Quantidade */
.quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}
.quantity label {
    margin-right: 10px;
    font-weight: 600;
    color: #333;
}
.quantity input.qty {
    width: 70px;
    padding: 12px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    transition: border-color 0.3s;
}
.quantity input.qty:focus {
    border-color: var(--logo-red);
    outline: none;
}

/* Botão Adicionar ao Carrinho */
.single_add_to_cart_button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff !important;
    border: none;
    padding: 16px 40px;
    font-size: 1.15em;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}
.single_add_to_cart_button:active {
    transform: translateY(0);
}

/* Meta do Produto (SKU, Categoria, Tags) */
.product_meta {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
    font-size: 0.95em;
}
.product_meta > span {
    display: block;
    margin: 8px 0;
    color: #666;
}
.product_meta a {
    color: var(--logo-red);
    text-decoration: none;
    transition: color 0.2s;
}
.product_meta a:hover {
    color: #990000;
    text-decoration: underline;
}

/* Badges personalizados (Garantia, Frete Grátis) */
.product-badges {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.product-badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}
.product-badge-custom i {
    font-size: 1.1em;
}
.product-badge-custom.frete-gratis {
    background: #e3f2fd;
    color: #1565c0;
}

/* Rating na página de produto único */
.product-rating-single {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 20px 0;
    padding: 12px 18px;
    background: #fff9e6;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}
.product-rating-single .perfilmil-rating {
    display: flex;
    gap: 4px;
    color: #ffc107;
    font-size: 1.2em;
}
.rating-score-single {
    font-weight: 700;
    color: #333;
    font-size: 1.1em;
}

/* Tabs (Descrição, Informações Adicionais, Avaliações) */
.woocommerce-tabs {
    margin-top: 60px;
    border-top: 2px solid #e5e5e5;
    padding-top: 0;
}
.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e5e5e5;
}
.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}
.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 18px 30px;
    color: #666;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    background: #f8f8f8;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--logo-red);
    border-bottom-color: var(--logo-red);
    background: #fff;
}
.woocommerce-tabs .panel {
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
}
.woocommerce-tabs .panel h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
}

/* Tabela de informações adicionais */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}
.woocommerce-product-attributes tr {
    border-bottom: 1px solid #e5e5e5;
}
.woocommerce-product-attributes th {
    padding: 12px;
    text-align: left;
    background: #f8f8f8;
    font-weight: 600;
    width: 30%;
}
.woocommerce-product-attributes td {
    padding: 12px;
}

/* Produtos Relacionados e Upsells */
.related.products,
.upsells.products {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e5e5e5;
}
.related.products h2,
.upsells.products h2 {
    font-size: 2em;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}
.related.products h2:after,
.upsells.products h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--logo-red);
    margin: 15px auto 0;
    border-radius: 2px;
}
.related.products ul.products,
.upsells.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================
   PÁGINA DE ARQUIVO (SHOP/CATEGORIA)
======================================== */
.woocommerce-products-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e5e5e5;
}
.woocommerce-products-header__title {
    font-size: 2.5em;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px 0;
}
.term-description {
    font-size: 1.05em;
    color: #666;
    line-height: 1.7;
}

/* Barra de Ferramentas (ordering, resultados) */
.woocommerce-result-count {
    color: #666;
    font-size: 0.95em;
}

/* ========================================
   FILTRO DE ORDENAÇÃO - PADRONIZADO
======================================== */
.woocommerce-ordering {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 40px 8px 16px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    font-weight: 500;
    min-width: 200px;
}

.woocommerce-ordering select:hover {
    border-color: #3498db;
    background: #f8fbff;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.woocommerce-ordering::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    font-size: 11px;
    transition: transform 0.3s;
}

.woocommerce-ordering:hover::after {
    color: #3498db;
}

/* ========================================
   FILTRO DE PREÇO - SIDEBAR
======================================== */
.widget_price_filter .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.widget_price_filter .price_slider_wrapper {
    padding: 10px 0;
}

.widget_price_filter .price_slider {
    margin-bottom: 20px;
    height: 4px;
    background: #e9ecef;
    border-radius: 4px;
    position: relative;
}

.widget_price_filter .ui-slider-range {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    border-radius: 4px;
    height: 4px;
}

.widget_price_filter .ui-slider-handle {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #3498db;
    border-radius: 50%;
    cursor: pointer;
    top: -6px;
    outline: none;
    transition: all 0.3s;
}

.widget_price_filter .ui-slider-handle:hover,
.widget_price_filter .ui-slider-handle:focus {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.widget_price_filter .price_label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget_price_filter .price_label::before {
    content: '\f02b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #3498db;
}

.widget_price_filter .button {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.widget_price_filter .button::before {
    content: '\f0b0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.widget_price_filter .button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.widget_price_filter input[type="text"],
.widget_price_filter input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    color: #495057;
    transition: all 0.3s;
}

.widget_price_filter input[type="text"]:focus,
.widget_price_filter input[type="number"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.widget_price_filter form > .screen-reader-text {
    display: none;
}

/* Grid de Produtos na Loja */
ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}
ul.products li.product {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
ul.products li.product:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--logo-red);
}
ul.products li.product img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}
ul.products li.product:hover img {
    transform: scale(1.05);
}
ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1em;
    font-weight: 600;
    margin: 15px 15px 10px 15px;
    color: #333;
    min-height: 2.5em;
}
ul.products li.product .price {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--logo-red);
    margin: 10px 15px;
}
ul.products li.product .price del {
    opacity: 0.5;
    font-size: 0.8em;
    margin-right: 8px;
}
ul.products li.product .button {
    margin: auto 15px 15px 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff !important;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}
ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Paginação */
.woocommerce-pagination {
    margin-top: 50px;
    text-align: center;
}
.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-pagination ul li {
    margin: 0;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: block;
    padding: 12px 18px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: var(--logo-red);
    color: #fff;
    border-color: var(--logo-red);
}

/* ========================================
   CARRINHO
======================================== */
.woocommerce-cart .woocommerce-wrapper {
    padding: 50px 0 70px 0;
}
.woocommerce-cart-form {
    margin-bottom: 40px;
}
.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.woocommerce-cart-form__contents thead {
    background: #f8f8f8;
}
.woocommerce-cart-form__contents th {
    padding: 18px;
    text-align: left;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #e5e5e5;
}
.woocommerce-cart-form__contents td {
    padding: 20px 18px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}
.woocommerce-cart-form__contents .product-thumbnail img {
    width: 80px;
    height: auto;
    border-radius: 8px;
}
.woocommerce-cart-form__contents .product-name a {
    color: #333;
    font-weight: 600;
    font-size: 1.05em;
    text-decoration: none;
    transition: color 0.2s;
}
.woocommerce-cart-form__contents .product-name a:hover {
    color: var(--logo-red);
}
.woocommerce-cart-form__contents .product-price,
.woocommerce-cart-form__contents .product-subtotal {
    font-weight: 700;
    color: var(--logo-red);
    font-size: 1.1em;
}
.woocommerce-cart-form__contents .quantity input {
    width: 70px;
    padding: 10px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
}
.woocommerce-cart-form__contents .product-remove a {
    color: #dc3545;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.2s;
}
.woocommerce-cart-form__contents .product-remove a:hover {
    color: #c82333;
}

/* Botões do carrinho */
.woocommerce-cart-form__contents .actions {
    background: #f8f8f8;
    padding: 20px;
}
.woocommerce-cart-form__contents .actions button {
    background: var(--logo-gray);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.woocommerce-cart-form__contents .actions button:hover {
    background: #999;
}

/* Totais do Carrinho */
.cart-collaterals {
    margin-top: 40px;
}
.cart_totals {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    margin-left: auto;
}
.cart_totals h2 {
    font-size: 1.8em;
    margin-top: 0;
    color: #333;
}
.cart_totals table {
    width: 100%;
    margin-bottom: 25px;
}
.cart_totals th,
.cart_totals td {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}
.cart_totals th {
    text-align: left;
    font-weight: 600;
    color: #555;
}
.cart_totals td {
    text-align: right;
    font-weight: 600;
    color: var(--logo-red);
}
.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 1.4em;
    padding-top: 20px;
    border-bottom: none;
    color: #222;
}
.cart_totals .checkout-button {
    width: 100%;
    background: linear-gradient(135deg, var(--logo-red) 0%, #990000 100%);
    color: #fff !important;
    border: none;
    padding: 18px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}
.cart_totals .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

/* ========================================
   CHECKOUT
======================================== */
.woocommerce-checkout .woocommerce-wrapper {
    padding: 50px 0 70px 0;
}
.woocommerce-checkout-review-order {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
}
.woocommerce-checkout-review-order h3 {
    margin-top: 0;
    color: #333;
}
.woocommerce-checkout-payment {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-top: 25px;
}
.woocommerce-checkout-payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.woocommerce-checkout-payment ul.payment_methods li {
    margin-bottom: 15px;
}
.woocommerce-checkout-payment .place-order button {
    width: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff !important;
    border: none;
    padding: 18px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}
.woocommerce-checkout-payment .place-order button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* ========================================
   MENSAGENS
======================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 20px;
    margin-bottom: 20px;
    border-left: 4px solid;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    line-height: 1.5;
}
.woocommerce-message {
    background: #e8f5e9;
    border-color: #28a745;
    color: #1b5e20;
}
.woocommerce-info {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #0d47a1;
}
.woocommerce-error {
    background: #ffebee;
    border-color: #f44336;
    color: #b71c1c;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
}
.woocommerce-message::before {
    content: '\f058'; /* check-circle */
    color: #28a745;
}
.woocommerce-info::before {
    content: '\f05a'; /* info-circle */
    color: #2196f3;
}
.woocommerce-error::before {
    content: '\f06a'; /* exclamation-circle */
    color: #f44336;
}

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 992px) {
    div.product {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    ul.products,
    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product_title.entry-title {
        font-size: 1.7em;
    }
    p.price {
        font-size: 1.6em;
    }
    form.cart {
        padding: 20px;
    }
    .single_add_to_cart_button {
        width: 100%;
        margin-top: 15px;
    }
    ul.products,
    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: 1fr;
    }
    .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }
    .woocommerce-tabs ul.tabs li a {
        border-left: 3px solid transparent;
        border-bottom: none;
    }
    .woocommerce-tabs ul.tabs li.active a {
        border-left-color: var(--logo-red);
    }
}

@media (max-width: 576px) {
    .woocommerce-cart-form__contents .product-thumbnail {
        display: none;
    }
}

/* ========================================
   PÁGINAS GENÉRICAS (Institucionais)
======================================== */
.page-wrapper {
    background: #fff;
    padding: 50px 0 70px 0;
    min-height: 60vh;
}

.page-content {
    margin: 0 auto;
}

.page-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #222;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--logo-red);
    position: relative;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--logo-gray);
}

.page-featured-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-entry-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.page-entry-content h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin: 40px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid var(--logo-red);
}

.page-entry-content h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #444;
    margin: 30px 0 15px 0;
}

.page-entry-content p {
    margin: 15px 0;
}

.page-entry-content ul,
.page-entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-entry-content li {
    margin: 10px 0;
    line-height: 1.7;
}

.page-entry-content a {
    color: var(--logo-red);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.page-entry-content a:hover {
    border-bottom-color: var(--logo-red);
}

.page-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.page-entry-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f8f8f8;
    border-left: 5px solid var(--logo-red);
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

.page-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.page-entry-content table th,
.page-entry-content table td {
    padding: 12px;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.page-entry-content table th {
    background: #f8f8f8;
    font-weight: 700;
    color: #333;
}

.page-entry-content table tr:hover {
    background: #fafafa;
}

/* Comentários em páginas */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e5e5e5;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2em;
    }
    .page-entry-content {
        font-size: 1em;
    }
}
