/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ==========================================================================
   Variaveis de Estilo - Ritmo e Poesia
   ========================================================================== */
:root {
    --rp-primary: #1A1A1A;
    --rp-primary-rgb: 26, 26, 26;
    --rp-primary-dark: #000000;
    
    --rp-secondary: #8B2635;
    --rp-secondary-rgb: 139, 38, 53;
    
    --rp-accent: #007849;
    --rp-accent-rgb: 0, 120, 73;
    --rp-accent-alt: #D94833;
    
    --rp-bg-dark: #F7F7F5;
    --rp-bg-card: #FFFFFF;
    
    --rp-text-light: #1A1A1A;
    --rp-text-muted: #6A6A6A;
    --rp-border-color: rgba(26, 26, 26, 0.12);
    --rp-glass-bg: rgba(255, 255, 255, 0.85);
    --rp-glass-border: rgba(26, 26, 26, 0.08);
    --rp-shadow: 0 12px 35px rgba(26, 26, 26, 0.06);
}

/* Estilos Globais Auxiliares para E-commerce Premium */
.rp-dark-section {
    background-color: var(--rp-bg-dark) !important;
    color: var(--rp-text-light) !important;
}

/* ==========================================================================
   Efeito Vinyl Roll-out (Interativo nos Cards)
   ========================================================================== */
.rp-vinyl-card {
    position: relative;
    overflow: visible !important;
    padding-bottom: 10px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.rp-vinyl-card:hover {
    transform: translateY(-5px);
}

.rp-vinyl-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: visible;
    margin-bottom: 15px;
    z-index: 2;
}

.rp-album-cover {
    position: relative;
    width: 90%;
    height: 90%;
    z-index: 3;
    border-radius: 4px;
    box-shadow: 5px 8px 25px rgba(0, 0, 0, 0.4);
    background-color: #000;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rp-vinyl-disk {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, #222 30%, #111 60%, #000 70%, #111 90%);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ranhuras do vinil */
.rp-vinyl-disk::before {
    content: '';
    position: absolute;
    width: 92%;
    height: 92%;
    border: 1px double rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.rp-vinyl-disk::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 1.5px solid rgba(0, 0, 0, 0.9);
    border-radius: 50%;
}

/* Selo central do vinil (Mini Capa) */
.rp-vinyl-label {
    width: 25%;
    height: 25%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    border: 2px solid #000;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.rp-vinyl-center-hole {
    width: 6px;
    height: 6px;
    background-color: var(--rp-bg-dark);
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.8);
}

/* Hover e Animações */
.rp-vinyl-container:hover .rp-album-cover {
    transform: translateX(-5%);
}

.rp-vinyl-container:hover .rp-vinyl-disk {
    right: -25%;
    transform: rotate(180deg);
}

/* Animação de rotação contínua ao tocar música */
.rp-vinyl-wrapper.spinning .rp-vinyl-disk {
    animation: rpSpinVinyl 6s linear infinite;
    right: -20%;
}

@keyframes rpSpinVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Player de Áudio Preview Minimalista
   ========================================================================== */
.rp-audio-player-wrapper {
    background: var(--rp-glass-bg);
    border: 1px solid var(--rp-glass-border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
    box-shadow: var(--rp-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rp-audio-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-pause-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--rp-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(230, 161, 92, 0.4);
}

.play-pause-btn:hover {
    background-color: var(--rp-primary-dark);
    transform: scale(1.05);
}

.play-pause-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.player-info-area {
    flex-grow: 1;
}

.current-track-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rp-primary);
    font-weight: 700;
    margin-bottom: 2px;
}

.current-track-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--rp-text-light);
}

.progress-container {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--rp-primary), var(--rp-accent));
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.time-display {
    font-size: 12px;
    color: var(--rp-text-muted);
    font-family: monospace;
    align-self: flex-end;
}

/* ==========================================================================
   Lista de Faixas do Vinil (Tracklist)
   ========================================================================== */
.rp-tracklist-container {
    margin-top: 25px;
}

.rp-tracklist-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--rp-border-color);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-tracklist-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rp-track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.rp-track-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

.rp-track-item.active {
    background-color: rgba(230, 161, 92, 0.08);
    border-color: rgba(230, 161, 92, 0.2);
}

.rp-track-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rp-track-number {
    font-size: 13px;
    color: var(--rp-text-muted);
    font-weight: 600;
    min-width: 20px;
}

.rp-track-name {
    font-size: 14px;
    font-weight: 500;
}

.rp-track-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rp-track-duration {
    font-size: 13px;
    color: var(--rp-text-muted);
}

.rp-track-play-btn {
    background: none;
    border: none;
    color: var(--rp-text-muted);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rp-track-play-btn:hover {
    color: var(--rp-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.rp-track-item.active .rp-track-play-btn {
    color: var(--rp-primary);
}

/* ==========================================================================
   Tabela Técnica do Produto (Detalhes)
   ========================================================================== */
.rp-product-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.rp-product-details-table tr {
    border-bottom: 1px solid var(--rp-border-color);
}

.rp-product-details-table td {
    padding: 12px 10px;
    font-size: 14px;
}

.rp-product-details-table td.label-column {
    font-weight: 600;
    color: var(--rp-text-muted);
    width: 35%;
}

.rp-product-details-table td.value-column {
    color: var(--rp-text-light);
}

/* ==========================================================================
   Gatilhos de Conversão (PIX e Frete Grátis)
   ========================================================================== */
.rp-pix-price-box {
    background: rgba(46, 213, 115, 0.06);
    border: 1px dashed rgba(46, 213, 115, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rp-pix-icon {
    font-size: 20px;
    color: #2ed573;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-pix-price-content {
    line-height: 1.4;
}

.rp-pix-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #2ed573;
}

.rp-pix-price-info {
    font-size: 12px;
    color: var(--rp-text-muted);
}

/* Barra de Frete Grátis */
.rp-free-shipping-container {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--rp-border-color);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 15px 0;
}

.rp-free-shipping-message {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--rp-text-light);
}

.rp-free-shipping-message strong {
    color: var(--rp-primary);
}

.rp-free-shipping-progress-bg {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.rp-free-shipping-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--rp-primary), #2ed573);
    width: 0%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.rp-free-shipping-progress-bar.pulse-effect {
    animation: rpPulseBar 0.6s ease;
}

@keyframes rpPulseBar {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ==========================================================================
   Checkout WooCommerce Simplificado
   ========================================================================== */
.woocommerce-checkout .form-row {
    margin-bottom: 15px;
}

.woocommerce-checkout input.input-text, 
.woocommerce-checkout select, 
.woocommerce-checkout textarea {
    border-radius: 6px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    background-color: rgba(255,255,255,0.02) !important;
    color: var(--rp-text-light) !important;
    transition: all 0.3s ease;
}

.woocommerce-checkout input.input-text:focus, 
.woocommerce-checkout select:focus, 
.woocommerce-checkout textarea:focus {
    border-color: var(--rp-primary) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 161, 92, 0.15) !important;
}

/* ==========================================================================
   Filtros da Loja e Barra Lateral (Alta Conversão & Design Premium)
   ========================================================================== */
.rp-shop-sidebar .widget {
    background: var(--rp-bg-card);
    border: 1px solid var(--rp-border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--rp-shadow);
}

.rp-shop-sidebar .widget-title,
.rp-shop-sidebar .widgettitle {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rp-primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Listas de Categorias e Atributos */
.rp-shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rp-shop-sidebar ul li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rp-shop-sidebar ul li:last-child {
    border-bottom: none;
}

.rp-shop-sidebar ul li a {
    color: var(--rp-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rp-shop-sidebar ul li a:hover {
    color: var(--rp-primary);
}

.rp-shop-sidebar ul li .count {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--rp-text-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

/* Filtro de Preço do WooCommerce (Slider) */
.widget_price_filter .price_slider {
    margin-bottom: 15px;
}

.widget_price_filter .ui-slider {
    position: relative;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
}

.widget_price_filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background: var(--rp-primary);
    height: 100%;
    border-radius: 3px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background: #ffffff;
    border: 3px solid var(--rp-primary);
    border-radius: 50%;
    outline: 0;
    top: -5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.1s ease;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover {
    transform: scale(1.2);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.widget_price_filter .price_slider_amount .price_label {
    color: var(--rp-text-muted);
}

.widget_price_filter .price_slider_amount .price_label span {
    color: var(--rp-text-light);
    font-weight: 600;
}

.widget_price_filter .price_slider_amount button.button {
    background-color: var(--rp-primary);
    color: #000;
    border: none;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget_price_filter .price_slider_amount button.button:hover {
    background-color: var(--rp-primary-dark);
}

/* Busca do WooCommerce */
.woocommerce-product-search {
    position: relative;
    display: flex;
}

.woocommerce-product-search input[type="search"] {
    width: 100%;
    padding: 10px 12px;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--rp-border-color);
    border-radius: 8px;
    color: var(--rp-text-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.woocommerce-product-search input[type="search"]:focus {
    border-color: var(--rp-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 161, 92, 0.15);
}

.woocommerce-product-search button[type="submit"] {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--rp-text-muted);
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.woocommerce-product-search button[type="submit"]:hover {
    color: var(--rp-primary);
}

/* ==========================================================================
   Customizações do Catálogo de Produtos (WooCommerce Loop & Sidebar)
   ========================================================================== */

/* Ajuste Geral do Corpo da Loja */
.post-type-archive-product,
.tax-product_cat,
.archive.post-type-archive {
    background-color: var(--rp-bg-dark) !important;
}

/* Grid de Produtos do WooCommerce */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* Força exatamente 4 colunas no Desktop */
    gap: 24px !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    list-style: none !important;
}

ul.products::before,
ul.products::after {
    display: none !important; /* Remove floats legados do WooCommerce */
}

/* Responsividade da Grade de Produtos */
@media (max-width: 1200px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 colunas em telas médias/tablets grandes */
        gap: 20px !important;
    }
}

@media (max-width: 900px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 colunas em tablets em modo retrato */
        gap: 16px !important;
    }
}

@media (max-width: 580px) {
    ul.products {
        grid-template-columns: 1fr !important; /* 1 coluna em celulares */
        gap: 20px !important;
    }
}

/* Card Individual de Produto */
ul.products li.product {
    background: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: var(--rp-shadow) !important;
    overflow: visible !important;
    height: 100% !important;
}

ul.products li.product:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(139, 38, 53, 0.2) !important; /* Bordô suave no hover */
    box-shadow: 0 20px 45px rgba(26, 26, 26, 0.08) !important;
}

/* Link Geral do Card */
ul.products li.product > a {
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Customizações dos Modelos 3D (Vinil e Livro) no Loop */

/* Container geral do Vinil / Livro no loop */
ul.products li.product .loop-wrapper {
    width: 100% !important;
    margin-bottom: 20px !important;
    z-index: 2 !important;
}

/* Bolacha de Vinil deslizando ao pairar sobre o card */
ul.products li.product .rp-vinyl-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: visible !important;
}

ul.products li.product .rp-album-cover {
    position: relative !important;
    width: 90% !important;
    height: 90% !important;
    z-index: 3 !important;
    border-radius: 6px !important;
    box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15) !important;
}

ul.products li.product .rp-vinyl-disk {
    position: absolute !important;
    top: 5% !important;
    right: 5% !important;
    width: 80% !important;
    height: 80% !important;
    background: radial-gradient(circle, #222 30%, #111 60%, #000 70%, #111 90%) !important;
    border-radius: 50% !important;
    z-index: 1 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.15) !important, right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ranhuras e selo interno do vinil */
ul.products li.product .rp-vinyl-disk::before {
    content: '' !important;
    position: absolute !important;
    width: 92% !important;
    height: 92% !important;
    border: 1px double rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
}

ul.products li.product .rp-vinyl-disk::after {
    content: '' !important;
    position: absolute !important;
    width: 70% !important;
    height: 70% !important;
    border: 1px solid rgba(0, 0, 0, 0.8) !important;
    border-radius: 50% !important;
}

ul.products li.product .rp-vinyl-label {
    width: 25% !important;
    height: 25% !important;
    border-radius: 50% !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 2 !important;
    border: 1px solid #000 !important;
}

ul.products li.product .rp-vinyl-center-hole {
    width: 4px !important;
    height: 4px !important;
    background-color: var(--rp-bg-card) !important;
    border-radius: 50% !important;
    position: absolute !important;
    z-index: 3 !important;
}

/* Disparar o deslizamento do vinil ao passar o mouse em QUALQUER parte do card de produto */
ul.products li.product:hover .rp-album-cover {
    transform: translateX(-3%) !important;
}

ul.products li.product:hover .rp-vinyl-disk {
    right: -8% !important;
    transform: rotate(60deg) !important;
}

/* Estilo do Livro 3D no Loop */
ul.products li.product .rp-book-wrapper {
    perspective: 1000px !important;
    padding: 10px 0 !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

ul.products li.product .rp-book-3d {
    position: relative !important;
    width: 140px !important;
    height: 200px !important;
    transform-style: preserve-3d !important;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 8px 12px 25px rgba(0, 0, 0, 0.18) !important;
    border-radius: 3px 6px 6px 3px !important;
}

ul.products li.product .rp-book-cover {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 2px 5px 5px 2px !important;
    z-index: 2 !important;
}

ul.products li.product .rp-book-spine {
    position: absolute !important;
    width: 16px !important;
    height: 100% !important;
    background: linear-gradient(to right, #111, #222 30%, #050505 60%, #111) !important;
    left: -8px !important;
    transform: rotateY(-90deg) !important;
    transform-origin: right !important;
    z-index: 1 !important;
    border-radius: 2px 0 0 2px !important;
}

/* Disparar a inclinação 3D do livro ao passar o mouse em QUALQUER parte do card */
ul.products li.product:hover .rp-book-3d {
    transform: rotateY(-22deg) !important;
}

/* Selo de Desconto / Oferta (onsale) */
ul.products li.product .onsale {
    background-color: var(--rp-secondary) !important; /* Bordô */
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 10 !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(139, 38, 53, 0.25) !important;
}

/* Título do Produto no Loop */
ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    min-height: 42px !important; /* Alinhamento dos títulos em até 2 linhas */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.3s ease !important;
}

ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--rp-secondary) !important; /* Bordô no hover */
}

/* Preço do Produto */
ul.products li.product .price {
    font-size: 14px !important;
    color: var(--rp-text-muted) !important;
    margin: 0 0 16px 0 !important;
    display: block !important;
    font-weight: 600 !important;
}

ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--rp-accent) !important; /* Verde Esmeralda para preço ativo */
    font-size: 17px !important;
    font-weight: 800 !important;
}

ul.products li.product .price del {
    color: var(--rp-text-muted) !important;
    font-size: 13px !important;
    margin-right: 6px !important;
}

/* Preço PIX Dinâmico (Se houver markup do shortcode) */
ul.products li.product .rp-pix-price-loop {
    font-size: 12px;
    color: var(--rp-accent);
    background-color: rgba(0, 120, 73, 0.05);
    border: 1px dashed rgba(0, 120, 73, 0.15);
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: block;
    font-weight: 700;
}

/* Botão de Ação (Comprar / Ver Detalhes) no Loop */
ul.products li.product .button {
    background-color: var(--rp-accent) !important; /* Verde Esmeralda para Conversão */
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important; /* Força o botão para a base do card */
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 220px !important;
    display: block !important;
    border: none !important;
    line-height: 1 !important;
    width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 120, 73, 0.15) !important;
}

ul.products li.product .button:hover {
    background-color: #005c38 !important; /* Verde escurecido */
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 120, 73, 0.25) !important;
}

/* Estilo do Botão quando o produto está indisponível ou esgotado */
ul.products li.product .button.out-of-stock {
    background-color: var(--rp-text-muted) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Controles Superiores: Ordenação e Contagem de Resultados */
.woocommerce-ordering,
.woocommerce-result-count {
    margin-bottom: 25px !important;
}

.woocommerce-result-count {
    color: var(--rp-text-muted) !important;
    font-size: 13.5px !important;
    line-height: 38px !important; /* Centralização com o select */
}

.woocommerce-ordering select {
    background-color: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-glass-border) !important;
    color: var(--rp-primary) !important;
    border-radius: 8px !important;
    padding: 8px 30px 8px 15px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    height: 38px !important;
    outline: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
}

.woocommerce-ordering select:focus {
    border-color: var(--rp-secondary) !important;
}

/* Paginação do Catálogo */
.woocommerce-pagination {
    margin-top: 40px !important;
    text-align: center !important;
}

.woocommerce-pagination ul {
    border: none !important;
    display: inline-flex !important;
    gap: 8px !important;
    padding: 0 !important;
}

.woocommerce-pagination ul li {
    border: none !important;
    float: none !important;
    display: inline-block !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span.current {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--rp-glass-border) !important;
    background-color: var(--rp-bg-card) !important;
    color: var(--rp-primary) !important;
}

.woocommerce-pagination ul li a:hover {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
    border-color: var(--rp-secondary) !important;
    transform: translateY(-2px) !important;
}

.woocommerce-pagination ul li span.current {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
    border-color: var(--rp-secondary) !important;
}

/* Sidebar e Widgets de Filtro WooCommerce */
.rp-shop-sidebar .widget {
    background: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: var(--rp-shadow) !important;
}

.rp-shop-sidebar .widget-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 0 20px 0 !important;
    border-left: 3px solid var(--rp-secondary) !important;
    padding-left: 10px !important;
    line-height: 1 !important;
}

/* Filtro de Lista (Categorias, Atributos) */
.rp-shop-sidebar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rp-shop-sidebar ul li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    font-size: 13.5px !important;
    color: var(--rp-text-light) !important;
}

.rp-shop-sidebar ul li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.rp-shop-sidebar ul li a {
    color: var(--rp-text-light) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-weight: 500 !important;
}

.rp-shop-sidebar ul li a:hover {
    color: var(--rp-secondary) !important;
}

/* Badge de contagem de itens nos filtros (.count) */
.rp-shop-sidebar ul li .count {
    background: rgba(139, 38, 53, 0.06) !important;
    color: var(--rp-secondary) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
}

/* Filtro de Preço (WooCommerce Slider) */
.widget_price_filter .ui-slider {
    background: var(--rp-bg-dark) !important;
    height: 6px !important;
    border-radius: 3px !important;
    border: none !important;
    margin: 15px 0 25px 0 !important;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: var(--rp-secondary) !important;
    border-radius: 3px !important;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    width: 16px !important;
    height: 16px !important;
    background: var(--rp-bg-card) !important;
    border: 3px solid var(--rp-secondary) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    top: -5px !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover {
    transform: scale(1.1) !important;
    background: var(--rp-secondary) !important;
}

.widget_price_filter .price_slider_amount {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.widget_price_filter .price_slider_amount .price_label {
    font-size: 13px !important;
    color: var(--rp-text-muted) !important;
    font-weight: 600 !important;
}

.widget_price_filter .price_slider_amount .button {
    background-color: var(--rp-primary) !important;
    color: var(--rp-bg-card) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    border: none !important;
    transition: background-color 0.2s ease !important;
}

.widget_price_filter .price_slider_amount .button:hover {
    background-color: var(--rp-secondary) !important;
}

/* Botão Limpar Filtros */
.rp-clear-filters-wrapper {
    margin-bottom: 20px !important;
}

.rp-clear-filters-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    color: var(--rp-secondary) !important;
    border: 1px solid var(--rp-secondary) !important;
    padding: 10px 18px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.rp-clear-filters-btn:hover {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(139, 38, 53, 0.15) !important;
}

/* Layout de Filtros e Grid Lateral (Desktop) */
.rp-shop-layout-wrapper {
    display: grid !important;
    grid-template-columns: 270px 1fr !important;
    gap: 32px !important;
    margin: 40px 0 !important;
    align-items: start !important;
}

.rp-shop-sidebar {
    position: sticky !important;
    top: 120px !important; /* Ajuste para o cabeçalho flutuante do Elementor */
    width: 270px !important;
    z-index: 10 !important;
}

.rp-shop-main-content {
    width: 100% !important;
    min-width: 0 !important;
}

/* Ocultar elementos de gatilho e fechar em desktop por padrão */
.rp-filter-trigger-btn,
.rp-filter-close-btn {
    display: none;
}

/* ==========================================================================
   Estilização Responsiva dos Filtros (Drawer Off-Canvas)
   ========================================================================== */
@media (max-width: 991px) {
    .rp-shop-layout-wrapper {
        display: block !important;
        margin: 20px 0 !important;
    }

    .rp-shop-main-content {
        width: 100% !important;
    }

    /* Gatilho de Filtros Mobile */
    .rp-filter-trigger-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background-color: var(--rp-primary);
        color: #000 !important;
        border: none;
        padding: 14px 20px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        margin-bottom: 25px;
        width: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(230, 161, 92, 0.25);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .rp-filter-trigger-btn:hover,
    .rp-filter-trigger-btn:focus {
        background-color: var(--rp-primary-dark);
        transform: translateY(-2px);
    }

    /* Botão de Fechar Filtros dentro do Drawer */
    .rp-filter-close-btn {
        display: block !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--rp-text-light) !important;
        padding: 12px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .rp-filter-close-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--rp-primary) !important;
        border-color: rgba(230, 161, 92, 0.3);
    }

    /* Transforma a barra lateral de filtros em um Drawer lateral deslizante */
    .rp-shop-sidebar {
        position: fixed !important;
        top: 0;
        left: -320px; /* Escondido fora da tela à esquerda */
        width: 300px;
        height: 100vh;
        background-color: var(--rp-bg-dark) !important;
        z-index: 99999 !important;
        overflow-y: auto;
        transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 25px 20px;
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.6);
        border-right: 1px solid var(--rp-border-color);
    }

    .rp-shop-sidebar.rp-drawer-open {
        left: 0; /* Desliza para dentro da tela */
    }

    /* Overlay escuro e desfocado com glassmorphism */
    .rp-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 99998 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .rp-filter-overlay.rp-active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ==========================================================================
   CARRINHO LATERAL AUTOMÁTICO (SIDE CART DRAWER)
   ========================================================================== */

/* Estilos de Botão de Fechar e Ações */
.rp-side-cart-header button:hover {
    color: var(--rp-primary) !important;
}

/* Scrollbar do Corpo do Carrinho */
.rp-side-cart-body::-webkit-scrollbar {
    width: 6px;
}
.rp-side-cart-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.rp-side-cart-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}
.rp-side-cart-body::-webkit-scrollbar-thumb:hover {
    background: var(--rp-primary);
}

/* Item do Carrinho */
.rp-side-cart-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-side-cart-item {
    transition: background 0.3s ease;
    border-radius: 8px;
    padding: 10px;
    margin: 0 -10px;
}

.rp-side-cart-item:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* Controles de Quantidade (Estilo Pílula FunnelKit) */
.rp-qty-control {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 20px !important;
    padding: 3px 8px !important;
    gap: 8px;
}

.rp-qty-control button {
    background: none;
    border: none;
    color: var(--rp-text-muted) !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    padding: 0;
}

.rp-qty-control button:hover {
    color: var(--rp-primary) !important;
    background: none !important;
}

.rp-cart-remove-item-btn:hover {
    color: var(--rp-accent) !important;
}

/* Acordeões de Cupom e Frete (Estilo FunnelKit) */
.rp-cart-accordion-trigger:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

.rp-cart-accordion-item.rp-active .rp-accordion-icon {
    transform: rotate(-135deg) !important;
    margin-top: 4px;
}

.rp-cart-accordion-item.rp-active {
    border-color: rgba(230, 161, 92, 0.2) !important;
}

/* Estilo do Rádio de Frete Ativo (Selecionado) */
.rp-shipping-rate-label:has(input:checked) {
    border-color: var(--rp-primary) !important;
    background-color: rgba(230, 161, 92, 0.05) !important;
}

.rp-shipping-radio-btn {
    accent-color: var(--rp-primary);
    cursor: pointer;
}

/* Input Fields do Footer */
.rp-side-cart-footer input[type="text"] {
    transition: all 0.3s ease;
}

.rp-side-cart-footer input[type="text"]:focus {
    border-color: var(--rp-primary) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 0 0 2px rgba(230, 161, 92, 0.15);
}

.rp-side-cart-footer button:hover {
    background-color: var(--rp-primary) !important;
    color: #ffffff !important;
    border-color: var(--rp-primary) !important;
}

/* Previne que o acordeão de frete e cupom fique escuro e ilegível no hover/active */
body .rp-side-cart-footer button.rp-cart-accordion-trigger:hover,
.rp-cart-accordion-trigger:hover {
    background-color: transparent !important;
    background: transparent !important;
    color: var(--rp-primary) !important;
}

/* Botões de OK e Aplicar com hover premium em Bordô */
body .rp-side-cart-footer button#rp-shipping-calc-btn:hover,
body .rp-side-cart-footer button#rp-coupon-apply-btn:hover {
    background-color: var(--rp-secondary) !important; /* Burgundy */
    color: #ffffff !important;
    border-color: var(--rp-secondary) !important;
}

/* Botões do Rodapé */
.rp-side-cart-checkout-btn:hover {
    background-color: var(--rp-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 161, 92, 0.35) !important;
}

.rp-side-cart-checkout-btn:hover .rp-checkout-btn-arrow {
    transform: translateX(4px);
}

.rp-side-cart-footer button.rp-side-cart-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--rp-primary) !important;
    border-color: rgba(230, 161, 92, 0.3) !important;
}

/* Tags de Cupom Removíveis */
.rp-remove-coupon-btn:hover {
    color: var(--rp-accent) !important;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP (ESTILO JOIN.CHAT)
   ========================================================================== */
.rp-whatsapp-btn-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rp-wa-bubble {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: rpWaPulse 2s infinite;
}

.rp-wa-bubble:hover {
    transform: scale(1.08);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.rp-wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #e04f6e; /* Nosso tom rosa/vermelho */
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--rp-bg-dark);
}

/* Tooltip do WhatsApp */
.rp-wa-tooltip {
    width: 280px;
    background: var(--rp-bg-card);
    border: 1px solid var(--rp-border-color);
    border-radius: 12px;
    box-shadow: var(--rp-shadow);
    overflow: hidden;
    position: relative;
    transform-origin: bottom right;
    animation: rpWaScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Close button on tooltip */
.rp-wa-tooltip-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: var(--rp-text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 2px;
    line-height: 1;
    z-index: 10;
}

.rp-wa-tooltip-close:hover {
    color: var(--rp-accent);
}

.rp-wa-tooltip-header {
    background: rgba(37, 211, 102, 0.08);
    border-bottom: 1px solid rgba(37, 211, 102, 0.15);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-wa-status-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    display: inline-block;
    animation: rpWaStatusBlink 1.5s infinite;
}

.rp-wa-tooltip-header strong {
    color: var(--rp-text-light);
    font-size: 13px;
    font-weight: 700;
}

.rp-wa-status-text {
    font-size: 11px;
    color: var(--rp-text-muted);
    margin-left: auto;
    margin-right: 15px;
}

.rp-wa-tooltip-body {
    padding: 15px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--rp-text-light);
    background-color: rgba(0,0,0,0.1);
}

/* Arrow pointing down */
.rp-wa-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background-color: var(--rp-bg-card);
    border-right: 1px solid var(--rp-border-color);
    border-bottom: 1px solid var(--rp-border-color);
    transform: rotate(45deg);
}

/* Animations */
@keyframes rpWaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes rpWaScaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) translate(10px, 10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
}

@keyframes rpWaStatusBlink {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.rp-animate-scale-in {
    animation: rpWaScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

/* ==========================================================================
   ESTILOS DO CHECKOUT PREMIUM ESTILO SHOPIFY (ALTA CONVERSÃO)
   ========================================================================== */

/* Ocultar elementos padrão do tema no Checkout */
body.woocommerce-checkout:not(.woocommerce-order-received) header.site-header,
body.woocommerce-checkout:not(.woocommerce-order-received) footer.site-footer,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-header,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-footer,
body.woocommerce-checkout:not(.woocommerce-order-received) .elementor-location-header,
body.woocommerce-checkout:not(.woocommerce-order-received) .elementor-location-footer,
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-header {
    display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) {
    background-color: var(--rp-bg-dark) !important;
    color: var(--rp-text-light) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Custom Header e Footer */
.rp-checkout-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--rp-border-color) !important;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.rp-checkout-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rp-checkout-logo a {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}
.rp-checkout-logo .logo-ritmo {
    color: var(--rp-primary) !important;
}
.rp-checkout-logo .logo-ampersand {
    color: var(--rp-secondary) !important; /* Burgundy */
    margin: 0 3px;
}
.rp-checkout-logo .logo-poesia {
    color: var(--rp-primary) !important;
}
.rp-checkout-security {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--rp-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rp-checkout-footer {
    background-color: #ffffff !important;
    border-top: 1px solid var(--rp-border-color) !important;
    padding: 40px 0;
    margin-top: 60px;
}
.rp-checkout-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.rp-checkout-footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.rp-checkout-footer-links a {
    color: var(--rp-text-muted);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}
.rp-checkout-footer-links a:hover {
    color: var(--rp-secondary) !important;
}
.rp-checkout-footer-copy {
    font-size: 11px;
    color: var(--rp-text-muted);
    text-align: center;
}

/* Layout Grid */
.checkout-main-grid {
    width: 100%;
}

@media (min-width: 992px) {
    .checkout-main-grid {
        display: grid;
        grid-template-columns: 57% 43%;
        gap: 50px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        align-items: start;
    }
    .checkout-left-wrapper {
        padding-right: 10px;
    }
    .checkout-right-wrapper {
        background-color: var(--rp-bg-card);
        border: 1px solid var(--rp-border-color);
        border-radius: 12px;
        padding: 30px;
        box-shadow: var(--rp-shadow);
        position: sticky;
        top: 35px;
    }
}

/* Seções e Titulos do Checkout */
.rp-checkout-section {
    background-color: var(--rp-bg-card);
    border: 1px solid var(--rp-border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--rp-shadow);
}
.rp-checkout-section-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--rp-border-color) !important;
    padding-bottom: 12px;
}
.rp-step-num {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Customização dos campos nativos */
#customer_details {
    background-color: var(--rp-bg-card);
    border: 1px solid var(--rp-border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--rp-shadow);
    margin-bottom: 25px;
}
#customer_details .col-1, 
#customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#customer_details .col-2 {
    margin-top: 25px !important;
    border-top: 1px dashed var(--rp-border-color);
    padding-top: 25px !important;
}
.woocommerce-billing-fields h3, 
.woocommerce-shipping-fields h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--rp-border-color) !important;
    padding-bottom: 12px;
}

/* Labels Flutuantes */
.rp-floating-label-row {
    position: relative !important;
    margin-bottom: 18px !important;
}
.rp-floating-label-row label {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    pointer-events: none !important;
    color: var(--rp-text-muted) !important;
    z-index: 5 !important;
    font-size: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}
.rp-floating-label-row:has(textarea) label {
    top: 18px !important;
    transform: none !important;
}
.rp-floating-label-row.rp-focused label,
.rp-floating-label-row.rp-has-value label {
    top: 14px !important;
    transform: translateY(-50%) !important;
    font-size: 9.5px !important;
    color: var(--rp-secondary) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1 !important;
}
.woocommerce-checkout .woocommerce-invalid .rp-floating-label-row:not(.rp-focused):not(.rp-has-value) label {
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 13.5px !important;
    color: var(--rp-accent-alt) !important; /* Cor de erro de forma elegante */
}
.rp-floating-label-row input.input-text,
.rp-floating-label-row select,
.rp-floating-label-row textarea {
    padding: 20px 14px 4px 14px !important;
    height: 52px !important;
    font-size: 13.5px !important;
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    color: var(--rp-primary) !important;
    width: 100% !important;
    transition: all 0.3s ease;
}
.rp-floating-label-row textarea {
    height: 90px !important;
}
.rp-floating-label-row.rp-focused input.input-text,
.rp-floating-label-row.rp-focused select,
.rp-floating-label-row.rp-focused textarea {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 0 0 2px rgba(139, 38, 53, 0.12) !important;
    background-color: #ffffff !important;
}
.rp-floating-label-row .required {
    color: var(--rp-accent-alt) !important;
    text-decoration: none !important;
}

/* Select2 drop downs adaptions */
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-account .select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--rp-primary) !important;
    padding-left: 14px !important;
    font-size: 13.5px !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
}

/* Lista de Produtos (Shopify design) */
.rp-checkout-prod-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
}
.rp-checkout-prod-thumb {
    position: relative;
    width: 58px;
    height: 58px;
    background-color: #ffffff;
    border: 1px solid var(--rp-border-color);
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rp-checkout-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}
.rp-checkout-prod-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--rp-secondary) !important; /* Burgundy */
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
}
.rp-checkout-prod-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rp-primary) !important;
    line-height: 1.3;
}

/* WooCommerce Review Table adjustments */
.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}
.woocommerce-checkout-review-order-table th, 
.woocommerce-checkout-review-order-table td {
    border: none !important;
    padding: 14px 0 !important;
    font-size: 13.5px !important;
    color: var(--rp-primary) !important;
    background: none !important;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06) !important;
}
.woocommerce-checkout-review-order-table thead {
    display: none !important;
}
.woocommerce-checkout-review-order-table tr.cart_item {
    border-bottom: 1px solid rgba(26, 26, 26, 0.06) !important;
}
.woocommerce-checkout-review-order-table tr.cart_item td.product-name {
    width: 70% !important;
}
.woocommerce-checkout-review-order-table tr.cart_item td.product-total {
    text-align: right !important;
    color: var(--rp-primary) !important;
    font-weight: 700 !important;
}
.woocommerce-checkout-review-order-table tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tr.tax-total td,
.woocommerce-checkout-review-order-table tr.order-total td {
    text-align: right !important;
    color: var(--rp-primary) !important;
    font-weight: 600 !important;
}
.woocommerce-checkout-review-order-table tr.order-total {
    border-top: 1px solid rgba(26, 26, 26, 0.08) !important;
}
.woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 15px !important;
    color: var(--rp-primary) !important;
    font-weight: 700 !important;
}
.woocommerce-checkout-review-order-table tr.order-total td span.woocommerce-Price-amount {
    font-size: 19px !important;
    color: var(--rp-secondary) !important; /* Destaque no total com Bordô */
    font-weight: 800 !important;
}

/* Coupon Inline styling */
.rp-checkout-coupon-box {
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    padding-bottom: 18px;
    margin-bottom: 12px;
}
.rp-checkout-coupon-input-group {
    display: flex;
    gap: 10px;
}
.rp-checkout-coupon-input-group input {
    flex-grow: 1;
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: var(--rp-primary) !important;
    font-size: 13px !important;
    outline: none;
    transition: all 0.3s ease;
    height: 44px !important;
}
.rp-checkout-coupon-input-group input:focus {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 0 0 2px rgba(139, 38, 53, 0.12) !important;
}
.rp-checkout-coupon-input-group button {
    background-color: transparent !important;
    border: 1px solid var(--rp-secondary) !important;
    color: var(--rp-secondary) !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    height: 44px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rp-checkout-coupon-input-group button:hover {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
}
.rp-checkout-coupon-message {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
}

.rp-checkout-applied-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.rp-checkout-coupon-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(46, 213, 115, 0.08);
    border: 1px solid rgba(46, 213, 115, 0.2);
    color: #2ed573;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rp-checkout-remove-coupon-btn {
    color: #2ed573;
    text-decoration: none !important;
    margin-left: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 11px;
}
.rp-checkout-remove-coupon-btn:hover {
    color: var(--rp-accent) !important;
}

/* Selos de Segurança em checkout */
.rp-checkout-trust-badges {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 22px !important;
    border-top: 1px dashed var(--rp-border-color) !important;
    padding-top: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.rp-trust-badge-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: var(--rp-text-muted) !important;
    font-weight: 600 !important;
    white-space: nowrap !important; /* Evita quebra de linha nas palavras */
}

.rp-badge-icon {
    color: var(--rp-accent) !important; /* Verde Conversão */
    flex-shrink: 0 !important;
}

/* ==========================================================================
   ADAPTAÇÕES GERAIS PARA A PALETA DE CORES CLARA (OFF-WHITE) DO PROJETO
   ========================================================================== */

/* Cores de fundo e isolamento visual no Painel Minha Conta */
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
    background-color: var(--rp-bg-card) !important; /* Pure White card surface */
    border: 1px solid var(--rp-border-color) !important;
    box-shadow: var(--rp-shadow) !important;
}

.woocommerce-MyAccount-navigation ul li a {
    color: var(--rp-text-muted) !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: rgba(26, 26, 26, 0.03) !important;
    color: var(--rp-primary) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: rgba(139, 38, 53, 0.08) !important; /* Burgundy tint */
    color: var(--rp-secondary) !important;
    border-left-color: var(--rp-secondary) !important;
}

/* Welcome Banner adaptions */
.rp-myaccount-banner {
    background: linear-gradient(135deg, rgba(139, 38, 53, 0.08) 0%, rgba(247, 247, 245, 0.3) 100%) !important;
    border: 1px solid rgba(139, 38, 53, 0.2) !important;
}

.rp-myaccount-user-meta h2 {
    color: var(--rp-primary) !important;
}

.rp-myaccount-user-meta p {
    color: var(--rp-text-muted) !important;
}

.rp-myaccount-user-avatar {
    background: var(--rp-secondary) !important; /* Bordeaux */
    box-shadow: 0 4px 15px rgba(139, 38, 53, 0.2) !important;
}

.rp-avatar-initials {
    color: #ffffff !important;
}

/* Metric cards in dashboard */
.rp-stat-card {
    background-color: var(--rp-bg-dark) !important; /* Off-white surface background */
    border: 1px solid var(--rp-border-color) !important;
}

.rp-stat-card:hover {
    border-color: rgba(139, 38, 53, 0.35) !important;
    background-color: #ffffff !important;
}

.rp-stat-val {
    color: var(--rp-primary) !important;
}

.rp-shortcut-btn {
    background-color: var(--rp-bg-dark) !important;
    border: 1px solid var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

.rp-shortcut-btn:hover {
    background-color: var(--rp-secondary) !important; /* Bordeaux */
    color: #ffffff !important;
    border-color: var(--rp-secondary) !important;
}

.woocommerce-Address {
    background-color: var(--rp-bg-dark) !important;
    border: 1px solid var(--rp-border-color) !important;
}

/* Orders and tables */
table.woocommerce-orders-table th {
    color: var(--rp-text-muted) !important;
    border-bottom-color: var(--rp-border-color) !important;
}

table.woocommerce-orders-table td {
    border-bottom-color: var(--rp-border-color) !important;
}

table.woocommerce-orders-table .button {
    background-color: var(--rp-bg-dark) !important;
    color: var(--rp-primary) !important;
    border: 1px solid var(--rp-border-color) !important;
}

/* Input Fields inside Login/Register */
#customer_login .woocommerce-Input {
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

#customer_login .woocommerce-Input:focus {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 0 0 2px rgba(139, 38, 53, 0.15) !important;
    background-color: #ffffff !important;
}

/* Checkout page overrides */
body.woocommerce-checkout:not(.woocommerce-order-received) {
    background-color: var(--rp-bg-dark) !important; /* Off-white */
}

.rp-checkout-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--rp-border-color) !important;
}

.rp-checkout-logo .logo-ritmo {
    color: var(--rp-primary) !important;
}

.rp-checkout-footer {
    background-color: #ffffff !important;
    border-top: 1px solid var(--rp-border-color) !important;
}

.rp-checkout-section-title {
    color: var(--rp-primary) !important;
    border-bottom-color: var(--rp-border-color) !important;
}

.rp-step-num {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
}

.woocommerce-checkout-review-order-table th, 
.woocommerce-checkout-review-order-table td {
    color: var(--rp-primary) !important;
    border-bottom-color: var(--rp-border-color) !important;
}

.woocommerce-checkout-review-order-table thead th {
    color: var(--rp-text-muted) !important;
}

.rp-checkout-prod-name {
    color: var(--rp-primary) !important;
}

.rp-checkout-coupon-input-group input {
    background-color: #ffffff !important;
    border-color: var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

.checkout-left-shipping-wrapper ul#shipping_method li label {
    color: var(--rp-primary) !important;
}

.checkout-left-shipping-wrapper ul#shipping_method li:has(input:checked) {
    background-color: rgba(139, 38, 53, 0.05) !important;
    border-color: var(--rp-secondary) !important;
}

.wc_payment_method {
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

.wc_payment_method.rp-active-payment {
    border-color: var(--rp-secondary) !important;
    background-color: rgba(139, 38, 53, 0.03) !important;
}

.wc_payment_method label {
    color: var(--rp-primary) !important;
}

.payment_box {
    background-color: var(--rp-bg-dark) !important;
    border-top: 1px solid var(--rp-border-color) !important;
    color: var(--rp-text-muted) !important;
}

/* ==========================================================================
   Botoes de Acao e Conversao - Verde Esmeralda (#007849)
   ========================================================================== */
.single_add_to_cart_button,
.woocommerce-checkout button.button,
body.woocommerce-checkout #payment #place_order,
.rp-side-cart-checkout-btn,
.woocommerce-Button,
button.woocommerce-Button,
button#rp-coupon-apply-btn,
button#rp-shipping-calc-btn,
.woocommerce-EditAccountForm button.button,
table.woocommerce-orders-table .button:hover,
table.woocommerce-table--order-downloads td.download-file a.button {
    background-color: var(--rp-accent) !important; /* Verde Esmeralda */
    color: #ffffff !important;
    border-color: var(--rp-accent) !important;
    box-shadow: 0 4px 15px rgba(0, 120, 73, 0.25) !important;
    transition: all 0.3s ease !important;
}

.single_add_to_cart_button:hover,
.woocommerce-checkout button.button:hover,
body.woocommerce-checkout #payment #place_order:hover,
.rp-side-cart-checkout-btn:hover,
.woocommerce-Button:hover,
button.woocommerce-Button:hover,
button#rp-coupon-apply-btn:hover,
button#rp-shipping-calc-btn:hover,
.woocommerce-EditAccountForm button.button:hover,
table.woocommerce-table--order-downloads td.download-file a.button:hover {
    background-color: var(--rp-primary) !important; /* Dark Grey #1A1A1A */
    color: #ffffff !important;
    border-color: var(--rp-primary) !important;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.25) !important;
}

/* Required field urgency color (Laranja Tijolo) */
.required,
.woocommerce-invalid label .required {
    color: var(--rp-accent-alt) !important; /* Laranja Tijolo #D94833 */
}

/* ==========================================================================
   Carrinho Lateral para Tema Claro
   ========================================================================== */
.rp-side-cart-drawer {
    background-color: var(--rp-bg-dark) !important;
    color: var(--rp-primary) !important;
    border-left: 1px solid var(--rp-border-color) !important;
}

.rp-side-cart-header h3 {
    color: var(--rp-primary) !important;
}

.rp-side-cart-item h4 a {
    color: var(--rp-primary) !important;
}

.rp-qty-control {
    background-color: #ffffff !important;
    border-color: var(--rp-border-color) !important;
}

.rp-qty-val {
    color: var(--rp-primary) !important;
}

.rp-qty-control button {
    color: var(--rp-primary) !important;
}

.rp-cart-accordion-item {
    background-color: #ffffff !important;
    border-color: var(--rp-border-color) !important;
}

.rp-cart-accordion-trigger {
    color: var(--rp-primary) !important;
}

.rp-cart-accordion-content {
    background-color: var(--rp-bg-dark) !important;
    border-top-color: var(--rp-border-color) !important;
}

.rp-side-cart-shipping-form input,
.rp-side-cart-coupon-form input {
    background-color: #ffffff !important;
    border-color: var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

.rp-shipping-rate-label {
    background-color: #ffffff !important;
    border-color: var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

.rp-shipping-rate-label span {
    color: var(--rp-primary) !important;
}

.rp-side-cart-totals {
    color: var(--rp-text-muted) !important;
    border-bottom-color: var(--rp-border-color) !important;
}

.rp-totals-row span {
    color: var(--rp-primary) !important;
}

.rp-total-final-row span,
.rp-total-price {
    color: var(--rp-secondary) !important; /* Burgundy #8B2635 */
}

.rp-side-cart-continue-btn {
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

.rp-side-cart-continue-btn:hover {
    background-color: var(--rp-bg-dark) !important;
}

.rp-side-cart-footer {
    background-color: var(--rp-bg-card) !important;
    border-top-color: var(--rp-border-color) !important;
}

/* ==========================================================================
   Barra de Confiança adaptada para Tema Claro
   ========================================================================== */
.rp-footer-trust-bar.rp-injected {
    background-color: var(--rp-bg-dark) !important; /* #F7F7F5 */
    border-top: 1px solid var(--rp-border-color) !important;
    border-bottom: 1px solid var(--rp-border-color) !important;
    color: var(--rp-primary) !important;
}

.rp-seal-text strong {
    color: var(--rp-primary) !important;
}

.rp-seal-text span {
    color: var(--rp-text-muted) !important;
}

.rp-legal-text {
    color: var(--rp-text-muted) !important;
}

.rp-legal-text strong {
    color: var(--rp-primary) !important;
}

.rp-flag-item.boleto {
    color: var(--rp-primary) !important;
}

.rp-flag-item.boleto:hover {
    background-color: rgba(139, 38, 53, 0.08) !important;
    border-color: var(--rp-secondary) !important;
    color: var(--rp-secondary) !important;
}

.rp-checkout-remove-coupon-btn:hover {
    color: var(--rp-accent) !important;
}

/* Checkout Shipping container in left column */
.checkout-left-shipping-wrapper ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkout-left-shipping-wrapper ul#shipping_method li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    background-color: rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.checkout-left-shipping-wrapper ul#shipping_method li label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: var(--rp-text-light) !important;
    font-size: 13px !important;
    cursor: pointer !important;
    flex-grow: 1 !important;
    font-weight: 600 !important;
    margin: 0 !important;
}
.checkout-left-shipping-wrapper ul#shipping_method li input[type="radio"] {
    margin: 0 !important;
    accent-color: var(--rp-primary) !important;
    cursor: pointer !important;
}
.checkout-left-shipping-wrapper ul#shipping_method li:has(input:checked) {
    border-color: var(--rp-primary) !important;
    background-color: rgba(230, 161, 92, 0.04) !important;
}

/* Payment styles on the left column */
#payment {
    background: none !important;
    padding: 0 !important;
    border: none !important;
}
#payment ul.payment_methods {
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#payment ul.payment_methods li.wc_payment_method {
    border-bottom: 1px solid var(--rp-border-color) !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    border-left: 3px solid transparent !important;
}
#payment ul.payment_methods li.wc_payment_method:last-child {
    border-bottom: none !important;
}
#payment ul.payment_methods li.wc_payment_method label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 20px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    color: var(--rp-primary) !important;
    cursor: pointer !important;
    margin: 0 !important;
}
#payment ul.payment_methods li.wc_payment_method label img {
    max-height: 20px !important;
    width: auto !important;
    margin-left: auto !important;
}
#payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    margin: 0 !important;
    accent-color: var(--rp-secondary) !important;
    cursor: pointer !important;
}
#payment div.payment_box {
    background-color: var(--rp-bg-dark) !important;
    border-top: 1px solid var(--rp-border-color) !important;
    padding: 20px !important;
    margin: 0 !important;
    color: var(--rp-text-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}
#payment div.payment_box::before {
    display: none !important;
}
#payment ul.payment_methods li.wc_payment_method.rp-active-payment {
    border-left: 3px solid var(--rp-secondary) !important;
    background-color: rgba(139, 38, 53, 0.03) !important;
}

#payment div.form-row.place-order {
    padding: 0 !important;
    margin-top: 25px !important;
    border: none !important;
    background: none !important;
}
body.woocommerce-checkout #payment #place_order {
    width: 100% !important;
    background-color: var(--rp-accent) !important; /* Verde Esmeralda Alta Conversao */
    color: #ffffff !important;
    padding: 16px 24px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 120, 73, 0.25) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
body.woocommerce-checkout #payment #place_order:hover {
    background-color: var(--rp-primary) !important; /* Carvao no hover */
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.25) !important;
    transform: translateY(-2px) !important;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 18px !important;
    font-size: 12px !important;
    color: var(--rp-text-muted) !important;
    line-height: 1.4 !important;
}
.woocommerce-terms-and-conditions-wrapper input {
    accent-color: var(--rp-primary) !important;
}

/* Mobile Summary Bar and Mobile styling */
#rp-mobile-summary-toggle {
    display: none;
}

@media (max-width: 991px) {
    #rp-mobile-summary-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--rp-bg-card);
        border: 1px solid var(--rp-border-color);
        border-radius: 8px;
        padding: 15px 20px;
        margin-bottom: 25px;
        cursor: pointer;
        user-select: none;
        transition: all 0.3s ease;
    }
    
    #rp-mobile-summary-toggle:hover {
        background-color: rgba(255, 255, 255, 0.02);
    }
    
    .rp-mobile-summary-text-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--rp-primary);
        font-size: 13px;
        font-weight: 600;
    }
    
    .rp-toggle-arrow {
        border: solid var(--rp-primary);
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 3.5px;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-left: 4px;
        margin-top: -2px;
    }
    
    .rp-toggle-arrow.rp-open {
        transform: rotate(-135deg);
        margin-top: 4px;
    }
    
    .rp-mobile-summary-total {
        color: #fff;
        font-weight: 700;
        font-size: 15px;
    }
    
    .checkout-right-wrapper {
        display: none; /* Controlado via JS */
        margin-bottom: 25px;
        background-color: var(--rp-bg-card);
        border: 1px solid var(--rp-border-color);
        border-radius: 12px;
        padding: 20px;
        box-shadow: var(--rp-shadow);
    }
    
    .checkout-left-wrapper {
        width: 100%;
    }
    
    .rp-checkout-header {
        padding: 15px 0;
    }
    .rp-checkout-logo a {
        font-size: 18px;
    }
}

/* Coupon/WooCommerce global notification card styling */
.woocommerce-error, 
.woocommerce-message,
.woocommerce-info {
    position: relative !important;
    background-color: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    padding: 18px 24px 18px 60px !important; /* Aumentado padding-left para 60px para acomodar o ícone */
    margin-bottom: 25px !important;
    list-style: none !important;
    color: var(--rp-primary) !important; /* Fix contrast - no more white text on white bg! */
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.03) !important;
}

/* Alinhamento e posicionamento vertical perfeito do ícone de aviso lateral do WooCommerce */
.woocommerce-error::before, 
.woocommerce-message::before,
.woocommerce-info::before {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-error {
    border-left: 4px solid var(--rp-accent-alt) !important; /* Laranja Tijolo for errors! */
    background-color: rgba(217, 72, 51, 0.05) !important; /* Gentle light red/orange tint */
}

.woocommerce-message {
    border-left: 4px solid var(--rp-accent) !important; /* Verde Esmeralda for success! */
    background-color: rgba(0, 120, 73, 0.04) !important; /* Gentle light green tint */
}

.woocommerce-info {
    border-left: 4px solid var(--rp-secondary) !important; /* Bordô for info/warnings! */
    background-color: rgba(139, 38, 53, 0.04) !important; /* Gentle light burgundy tint */
}

.woocommerce-error li, 
.woocommerce-message li,
.woocommerce-info li {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: var(--rp-primary) !important;
}

.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
    color: var(--rp-secondary) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.woocommerce-error a:hover,
.woocommerce-message a:hover,
.woocommerce-info a:hover {
    color: var(--rp-primary) !important;
}

/* Correção para botões dentro de mensagens de alerta (como "Ver produtos" no aviso de sem pedidos) */
.woocommerce-error a.button,
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.woocommerce-Button,
.woocommerce-message a.woocommerce-Button,
.woocommerce-info a.woocommerce-Button {
    color: #ffffff !important;
    text-decoration: none !important;
}

.woocommerce-error a.button:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.woocommerce-Button:hover,
.woocommerce-message a.woocommerce-Button:hover,
.woocommerce-info a.woocommerce-Button:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   ESTILIZAÇÃO DO PAINEL MINHA CONTA PREMIUM (UX MÁXIMA - CLARA E CORRIGIDA)
   ========================================================================== */

/* Envelopamento e Grid Estrutural */
.rp-myaccount-grid {
    width: 100%;
}

@media (min-width: 768px) {
    .rp-myaccount-grid {
        display: flex;
        gap: 35px;
        align-items: start;
    }
    .woocommerce-MyAccount-navigation {
        width: 255px;
        flex-shrink: 0;
        background-color: var(--rp-bg-card) !important;
        border: 1px solid var(--rp-glass-border) !important;
        border-radius: 12px;
        padding: 22px 10px;
        box-shadow: var(--rp-shadow) !important;
    }
    .woocommerce-MyAccount-content {
        flex-grow: 1;
        background-color: var(--rp-bg-card) !important;
        border: 1px solid var(--rp-glass-border) !important;
        border-radius: 12px;
        padding: 35px;
        box-shadow: var(--rp-shadow) !important;
        min-height: 480px;
    }
}

@media (max-width: 767px) {
    .rp-myaccount-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .woocommerce-MyAccount-navigation {
        width: 100%;
        background-color: var(--rp-bg-card) !important;
        border: 1px solid var(--rp-glass-border) !important;
        border-radius: 12px;
        padding: 20px 15px;
    }
    .woocommerce-MyAccount-content {
        width: 100%;
        background-color: var(--rp-bg-card) !important;
        border: 1px solid var(--rp-glass-border) !important;
        border-radius: 12px;
        padding: 25px 20px;
    }
}

/* Esconder parágrafos de introdução originais no Dashboard Customizado */
.woocommerce-MyAccount-content:has(.rp-myaccount-dashboard-wrapper) > p {
    display: none !important;
}

/* Sidebar Menu de Navegação */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.woocommerce-MyAccount-navigation ul li {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}
.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--rp-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: var(--rp-bg-dark);
    color: var(--rp-secondary);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: rgba(139, 38, 53, 0.05);
    color: var(--rp-secondary);
    border-left-color: var(--rp-secondary);
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: var(--rp-accent-alt) !important; /* Laranja Tijolo */
}

/* Custom Welcome Banner */
.rp-myaccount-banner {
    background: linear-gradient(135deg, rgba(139, 38, 53, 0.03) 0%, rgba(26, 26, 26, 0.02) 100%);
    border: 1px solid var(--rp-glass-border);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.rp-myaccount-user-avatar {
    width: 60px;
    height: 60px;
    background: var(--rp-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 38, 53, 0.2);
    flex-shrink: 0;
}
.rp-avatar-initials {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
}
.rp-myaccount-user-meta h2 {
    font-size: 21px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    margin: 0 0 5px 0 !important;
}
.rp-myaccount-user-meta p {
    font-size: 13.5px;
    color: var(--rp-text-muted);
    margin: 0;
}

/* Estatísticas Rápidas */
.rp-myaccount-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}
.rp-stat-card {
    background-color: var(--rp-bg-card);
    border: 1px solid var(--rp-glass-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.25s ease;
    box-shadow: var(--rp-shadow);
}
.rp-stat-card:hover {
    border-color: rgba(139, 38, 53, 0.25);
    transform: translateY(-2px);
    background-color: var(--rp-bg-dark);
}
.rp-stat-icon {
    width: 42px;
    height: 42px;
    background-color: var(--rp-bg-dark);
    border: 1px solid var(--rp-glass-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rp-secondary);
    flex-shrink: 0;
}
.rp-stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rp-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rp-text-muted);
}
.rp-stat-val {
    font-size: 15.5px;
    color: var(--rp-primary);
    font-weight: 700;
}

/* Status Badges */
.rp-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rp-status-badge.status-completed {
    background-color: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.25);
    color: #2ed573;
}
.rp-status-badge.status-processing, 
.rp-status-badge.status-on-hold {
    background-color: rgba(230, 161, 92, 0.1);
    border: 1px solid rgba(230, 161, 92, 0.25);
    color: #c5833c;
}
.rp-status-badge.status-pending {
    background-color: rgba(224, 79, 110, 0.1);
    border: 1px solid rgba(224, 79, 110, 0.25);
    color: var(--rp-accent-alt);
}
.rp-status-badge.status-failed, 
.rp-status-badge.status-cancelled {
    background-color: var(--rp-bg-dark);
    border: 1px solid var(--rp-glass-border);
    color: var(--rp-text-muted);
}
.rp-status-badge.status-none {
    background-color: var(--rp-bg-dark);
    border: 1px dashed var(--rp-glass-border);
    color: var(--rp-text-muted);
}

/* Atalhos */
.rp-myaccount-shortcuts h3 {
    font-size: 13.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--rp-primary) !important;
    margin-bottom: 18px !important;
    font-weight: 700 !important;
}
.rp-shortcuts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.rp-shortcut-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--rp-bg-card);
    border: 1px solid var(--rp-glass-border);
    border-radius: 8px;
    padding: 12px 18px;
    color: var(--rp-primary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: var(--rp-shadow);
}
.rp-shortcut-btn:hover {
    background-color: var(--rp-secondary);
    color: #ffffff;
    border-color: var(--rp-secondary);
    transform: translateY(-2px);
}
.rp-shortcut-btn svg {
    transition: transform 0.25s ease;
}
.rp-shortcut-btn:hover svg {
    transform: translateX(3px);
}

/* Pedidos (Tabela WC) */
table.my_account_orders,
table.woocommerce-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 15px 0 !important;
    background: none !important;
    border: none !important;
}
table.woocommerce-orders-table th {
    background-color: var(--rp-bg-dark) !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    color: var(--rp-text-muted) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 11.5px !important;
    padding: 14px 10px !important;
    text-align: left !important;
}
table.woocommerce-orders-table td {
    padding: 16px 10px !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    font-size: 13.5px !important;
    color: var(--rp-primary) !important;
}
table.woocommerce-orders-table tr:hover td {
    background-color: var(--rp-bg-dark) !important;
}
table.woocommerce-orders-table .button {
    background-color: var(--rp-bg-dark) !important;
    color: var(--rp-primary) !important;
    border: 1px solid var(--rp-glass-border) !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    margin-right: 5px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
table.woocommerce-orders-table .button:hover {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
    border-color: var(--rp-secondary) !important;
}

/* Endereços */
.woocommerce-Addresses {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-top: 25px !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce-Addresses .woocommerce-Address {
    flex: 1 1 320px !important; /* Garante largura mínima adequada de 320px, expandindo para preencher o espaço */
    width: auto !important;
    max-width: 100% !important;
    background-color: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: var(--rp-shadow) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    float: none !important;
    box-sizing: border-box !important;
}

.woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    padding-bottom: 15px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
}

.woocommerce-Address-title h3,
.woocommerce-Address h3,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h1,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h3,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h4,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h5,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address h6,
.woocommerce-Address h1,
.woocommerce-Address h2,
.woocommerce-Address h3,
.woocommerce-Address h4,
.woocommerce-Address h5,
.woocommerce-Address h6 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    line-height: 1.3 !important;
    flex-grow: 1 !important;
}

.woocommerce-Address h1 *,
.woocommerce-Address h2 *,
.woocommerce-Address h3 *,
.woocommerce-Address h4 *,
.woocommerce-Address h5 *,
.woocommerce-Address h6 * {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    text-transform: inherit !important;
    font-weight: inherit !important;
}

.woocommerce-Address-title .edit,
.woocommerce-Address .edit {
    font-size: 10.5px !important;
    color: var(--rp-secondary) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 1px solid var(--rp-glass-border) !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
    white-space: normal !important; /* Permite que o texto longo quebre de linha se necessário */
    text-align: center !important;
    background-color: var(--rp-bg-dark) !important;
    max-width: 100% !important;
}

.woocommerce-Address-title .edit:hover,
.woocommerce-Address .edit:hover {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
    border-color: var(--rp-secondary) !important;
}

@media (max-width: 1199px) {
    .woocommerce-Address-title {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .woocommerce-Address-title h3,
    .woocommerce-Address h3 {
        width: 100% !important;
    }
    .woocommerce-Address-title .edit,
    .woocommerce-Address .edit {
        width: 100% !important;
        text-align: center !important;
    }
}

.woocommerce-Address address {
    font-style: normal !important;
    font-size: 13.5px !important;
    color: var(--rp-text-muted) !important;
    line-height: 1.6 !important;
}


/* Downloads */
.woocommerce-Downloads-table,
table.woocommerce-table--order-downloads {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
}
table.woocommerce-table--order-downloads th {
    background-color: var(--rp-bg-dark) !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    color: var(--rp-text-muted) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 11.5px !important;
    padding: 14px 10px !important;
    text-align: left !important;
}
table.woocommerce-table--order-downloads td {
    padding: 15px 10px !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    font-size: 13.5px !important;
    color: var(--rp-primary) !important;
}
table.woocommerce-table--order-downloads td.download-file a.button {
    background-color: var(--rp-accent) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(0, 120, 73, 0.15) !important;
}
table.woocommerce-table--order-downloads td.download-file a.button:hover {
    background-color: #005c38 !important;
    transform: translateY(-2px) !important;
}

/* Detalhes da Conta (Campos / Password change) */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-top: 30px !important;
    background-color: var(--rp-bg-dark) !important;
}
.woocommerce-EditAccountForm legend {
    background-color: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 6px !important;
    padding: 4px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--rp-secondary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 18px !important;
}
.woocommerce-EditAccountForm label {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.woocommerce-EditAccountForm input.input-text {
    background-color: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    color: var(--rp-primary) !important;
    font-size: 13.5px !important;
    width: 100% !important;
    height: 42px !important;
    transition: all 0.3s ease !important;
}
.woocommerce-EditAccountForm input.input-text:focus {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.1) !important;
    outline: none !important;
}
.woocommerce-EditAccountForm button.button {
    background-color: var(--rp-accent) !important;
    color: #ffffff !important;
    padding: 14px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 120, 73, 0.15) !important;
}
.woocommerce-EditAccountForm button.button:hover {
    background-color: #005c38 !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   BARRA DE CONFIANÇA E CONVERSÃO (TRUST BAR - RODAPÉ)
   ========================================================================== */
.rp-footer-trust-bar {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--rp-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.rp-footer-trust-bar.rp-injected {
    background-color: var(--rp-bg-dark);
    border-top: 1px solid var(--rp-border-color);
    border-bottom: 1px solid var(--rp-border-color);
    padding: 45px 0;
}
.rp-trust-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: var(--rp-trust-grid-columns, repeat(auto-fit, minmax(280px, 1fr)));
    gap: 35px;
}

.rp-trust-bar-container.rp-cols-3 {
    --rp-trust-grid-columns: 1.1fr 1.2fr 1.1fr;
}
.rp-trust-bar-container.rp-cols-2 {
    --rp-trust-grid-columns: 1fr 1fr;
}
.rp-trust-bar-container.rp-cols-1 {
    --rp-trust-grid-columns: 1fr;
}

.rp-trust-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--rp-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    border-left: 3px solid var(--rp-secondary);
    padding-left: 10px;
    line-height: 1;
}

/* Selos de segurança */
.rp-seal-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rp-seal-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rp-seal-item svg {
    flex-shrink: 0;
}
.rp-seal-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rp-seal-text strong {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
}
.rp-seal-text span {
    font-size: 11px;
    color: #b8bcc6;
}

/* Bandeiras de Pagamento */
.rp-payment-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.rp-flag-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 70px;
    height: 40px;
    cursor: default;
    user-select: none;
}
.rp-flag-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}
.rp-flag-item.pix {
    color: #00bfa5;
    font-weight: 900;
    gap: 5px;
}
.rp-flag-item.pix svg {
    fill: #00bfa5;
}
.rp-flag-item.pix:hover {
    background-color: rgba(0, 191, 165, 0.1);
    border-color: rgba(0, 191, 165, 0.3);
}
.rp-flag-item.boleto {
    gap: 5px;
    color: #fff;
}
.rp-flag-item.boleto:hover {
    background-color: rgba(230, 161, 92, 0.1);
    border-color: rgba(230, 161, 92, 0.3);
    color: var(--rp-primary);
}
.rp-flag-item.card-flag.visa {
    color: #1a1f71;
    background-color: #fff;
    border-color: #fff;
}
.rp-flag-item.card-flag.visa:hover {
    box-shadow: 0 4px 10px rgba(26, 31, 113, 0.2);
}
.rp-flag-item.card-flag.mastercard {
    color: #eb001b;
    background-color: #fff;
    border-color: #fff;
}
.rp-flag-item.card-flag.mastercard:hover {
    box-shadow: 0 4px 10px rgba(235, 0, 27, 0.2);
}
.rp-flag-item.card-flag.elo {
    color: #00a4e4;
    background-color: #fff;
    border-color: #fff;
}
.rp-flag-item.card-flag.elo:hover {
    box-shadow: 0 4px 10px rgba(0, 164, 228, 0.2);
}
.rp-flag-item.card-flag.amex {
    color: #016fd0;
    background-color: #fff;
    border-color: #fff;
}
.rp-flag-item.card-flag.amex:hover {
    box-shadow: 0 4px 10px rgba(1, 111, 208, 0.2);
}

/* Informações Legais */
.rp-legal-text {
    font-size: 12.5px;
    color: var(--rp-text-muted);
    line-height: 1.6;
    margin: 0;
}
.rp-legal-text strong {
    color: var(--rp-primary);
    font-weight: 700;
}

@media (max-width: 767px) {
    .rp-footer-trust-bar {
        padding: 35px 0;
    }
    .rp-trust-bar-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .rp-trust-col h4 {
        margin-bottom: 12px !important;
    }
}

/* ==========================================================================
   WooCommerce Login e Cadastro - Rodapé e Área do Cliente
   ========================================================================== */
body.woocommerce-account .woocommerce #customer_login,
.woocommerce-account #customer_login,
#customer_login {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 60px auto !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

/* O flex container real */
body.woocommerce-account .woocommerce #customer_login.col2-set, 
body.woocommerce-account .woocommerce #customer_login .col2-set, 
.woocommerce-account #customer_login .col2-set, 
.woocommerce-account .col2-set, 
#customer_login.col2-set {
    display: flex !important;
    flex-direction: row;
    gap: 40px !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap;
}

/* Seletor de fallback caso o registro esteja desativado (apenas login visível) */
body.woocommerce-account .woocommerce #customer_login:not(.col2-set),
body.woocommerce-account #customer_login:not(.col2-set),
.woocommerce-account #customer_login:not(.col2-set) {
    display: block !important;
    max-width: 580px !important;
    margin: 60px auto !important;
}

/* Estilo premium claro para as duas colunas - Limitado estritamente ao login/cadastro */
body.woocommerce-account .woocommerce #customer_login .col-1,
body.woocommerce-account .woocommerce #customer_login .col-2,
body.woocommerce-account .woocommerce #customer_login .u-column1,
body.woocommerce-account .woocommerce #customer_login .u-column2,
.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2,
#customer_login .col-1,
#customer_login .col-2 {
    background-color: var(--rp-bg-card) !important; /* Pure White Card */
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 12px !important;
    padding: 40px !important; /* Padding generoso premium */
    box-shadow: var(--rp-shadow) !important;
    display: flex !important;
    flex-direction: column !important;
    
    /* Configuração Flex perfeita para 48% de largura no desktop */
    flex: 1 1 48% !important;
    max-width: 48% !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
}

/* Adaptação responsiva para telas menores (Tablets e Mobiles) */
@media (max-width: 820px) {
    body.woocommerce-account .woocommerce #customer_login.col2-set, 
    body.woocommerce-account .woocommerce #customer_login .col2-set, 
    .woocommerce-account #customer_login .col2-set, 
    .woocommerce-account .col2-set, 
    #customer_login.col2-set {
        flex-direction: column !important; /* Empilha as colunas em telas menores */
        flex-wrap: wrap !important;
        gap: 30px !important;
    }
    body.woocommerce-account .woocommerce #customer_login .col-1,
    body.woocommerce-account .woocommerce #customer_login .col-2,
    .woocommerce-account #customer_login .col-1,
    .woocommerce-account #customer_login .col-2,
    #customer_login .col-1,
    #customer_login .col-2 {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        padding: 30px !important;
    }
}








#customer_login h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    margin: 0 0 25px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid rgba(139, 38, 53, 0.08) !important; /* Burgundy tinted line */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-form-login,
.woocommerce-form-register {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

#customer_login .form-row {
    margin-bottom: 18px !important;
    position: relative !important;
}

#customer_login .show-password-input {
    color: var(--rp-text-muted) !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s !important;
    cursor: pointer !important;
}

#customer_login .show-password-input:hover {
    color: var(--rp-primary) !important;
    opacity: 1 !important;
}

/* Submits (Buttons) - High Converting Emerald Green */
#customer_login button.woocommerce-Button,
#customer_login button.woocommerce-button,
#customer_login button.button,
#customer_login button.woocommerce-form-login__submit,
#customer_login button.woocommerce-form-register__submit {
    width: 100% !important;
    height: 48px !important;
    background-color: var(--rp-accent) !important; /* Emerald Green */
    color: #ffffff !important; /* Pure white text */
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 12px rgba(0, 120, 73, 0.15) !important;
}

#customer_login button.woocommerce-Button:hover,
#customer_login button.woocommerce-button:hover,
#customer_login button.button:hover,
#customer_login button.woocommerce-form-login__submit:hover,
#customer_login button.woocommerce-form-register__submit:hover {
    background-color: #005c38 !important; /* Deeper Green */
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 120, 73, 0.25) !important;
}

.woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: var(--rp-text-muted) !important;
    margin-bottom: 20px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    margin: 0 !important;
    accent-color: var(--rp-secondary) !important; /* Burgundy accent */
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
}

.woocommerce-LostPassword {
    margin-top: 18px !important;
    text-align: center !important;
}

.woocommerce-LostPassword a {
    color: var(--rp-secondary) !important; /* Burgundy */
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-LostPassword a:hover {
    color: var(--rp-primary) !important;
    text-decoration: underline !important;
}

#customer_login label {
    display: block !important;
    font-size: 13px !important;
    color: var(--rp-primary) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    position: static !important;
    transform: none !important;
    text-align: left !important;
}

#customer_login label .required {
    color: var(--rp-accent-alt) !important; /* Laranja Tijolo */
    text-decoration: none !important;
}

.woocommerce-privacy-policy-text {
    font-size: 12px !important;
    color: var(--rp-text-muted) !important;
    line-height: 1.6 !important;
    margin: 15px 0 !important;
    text-align: left !important;
}

.woocommerce-privacy-policy-text a {
    color: var(--rp-secondary) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-privacy-policy-text a:hover {
    color: var(--rp-primary) !important;
    text-decoration: underline !important;
}



/* ==========================================================================
   Página do Produto Único (WooCommerce Single Product Overrides)
   ========================================================================== */

/* Seção de Produtos Relacionados & Upsells */
.related.products,
.upsells.products {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid var(--rp-glass-border) !important;
    background-color: var(--rp-bg-dark) !important;
}

.related.products > h2,
.upsells.products > h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 0 30px 0 !important;
    border-left: 4px solid var(--rp-secondary) !important;
    padding-left: 15px !important;
    line-height: 1.1 !important;
    font-family: inherit !important;
}

/* Abas de Informações do Produto (WooCommerce Tabs) */
.woocommerce-tabs {
    margin: 60px 0 !important;
    background: transparent !important;
}

/* Cabeçalho das Abas */
.woocommerce-tabs ul.tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 0 -1px 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    background: transparent !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 15px 10px !important;
    margin: 0 !important;
    position: relative !important;
}

.woocommerce-tabs ul.tabs li::after,
.woocommerce-tabs ul.tabs li::before {
    display: none !important; /* Remove decorações padrão */
}

.woocommerce-tabs ul.tabs li a {
    color: var(--rp-text-muted) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    padding: 0 !important;
    transition: color 0.3s ease !important;
}

.woocommerce-tabs ul.tabs li:hover a {
    color: var(--rp-secondary) !important;
}

/* Aba Ativa */
.woocommerce-tabs ul.tabs li.active {
    border-bottom: 3px solid var(--rp-secondary) !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--rp-secondary) !important;
}

/* Painéis de Conteúdo das Abas */
.woocommerce-tabs .woocommerce-Tabs-panel {
    background: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 0 0 12px 12px !important;
    padding: 40px !important;
    box-shadow: var(--rp-shadow) !important;
    margin: 0 0 30px 0 !important;
    color: var(--rp-primary) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* Ocultar o título duplicado dentro do painel da aba */
.woocommerce-tabs .woocommerce-Tabs-panel > h2 {
    display: none !important;
}

/* Estilo do conteúdo das Abas (Parágrafos e Tabelas) */
.woocommerce-tabs .woocommerce-Tabs-panel p {
    margin-bottom: 20px !important;
    color: var(--rp-primary) !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel p:last-child {
    margin-bottom: 0 !important;
}

/* Tabelas de informação adicional padrão do WC */
.woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes {
    border-collapse: collapse !important;
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes tr {
    border-bottom: 1px solid var(--rp-glass-border) !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes tr:last-child {
    border-bottom: none !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes th {
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    padding: 12px 15px !important;
    width: 200px !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes td {
    color: var(--rp-text-muted) !important;
    padding: 12px 15px !important;
    background: transparent !important;
    border: none !important;
    font-style: normal !important;
}

/* ==========================================================================
   Seção de Avaliações (WooCommerce Reviews)
   ========================================================================== */
#reviews #comments {
    margin-bottom: 30px !important;
}

#reviews h2.woocommerce-Reviews-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 25px !important;
    font-family: inherit !important;
}

/* Lista de Comentários / Reviews */
.commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.commentlist li.review {
    padding: 25px 0 !important;
    border-bottom: 1px solid var(--rp-glass-border) !important;
    margin-bottom: 0 !important;
    position: relative !important;
}

.commentlist li.review:last-child {
    border-bottom: none !important;
}

/* Avatar do Autor */
.commentlist li.review img.avatar {
    float: left !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 1px solid var(--rp-glass-border) !important;
    margin-right: 20px !important;
    padding: 2px !important;
    background: var(--rp-bg-card) !important;
}

/* Texto do Comentário */
.commentlist li.review .comment-text {
    margin-left: 70px !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Rating por Estrelas nas Avaliações */
.commentlist li.review .star-rating {
    float: right !important;
    color: #e6a15c !important; /* Ouro */
    font-size: 13px !important;
    margin-top: 2px !important;
}

.comment-text p.meta {
    font-size: 13px !important;
    color: var(--rp-text-muted) !important;
    margin-bottom: 10px !important;
}

.comment-text p.meta strong {
    color: var(--rp-primary) !important;
    font-weight: 700 !important;
}

.comment-text .description {
    font-size: 14.5px !important;
    color: var(--rp-primary) !important;
    line-height: 1.7 !important;
}

/* Formulário de Enviar Avaliação */
#review_form_wrapper {
    background: var(--rp-bg-dark) !important;
    border: 1px solid var(--rp-glass-border) !important;
    border-radius: 8px !important;
    padding: 30px !important;
    margin-top: 30px !important;
}

#review_form #reply-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 15px !important;
    font-family: inherit !important;
}

#review_form .comment-form-rating {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--rp-primary) !important;
}

/* Seletor Interativo de Estrelas */
#review_form .stars a {
    color: #e6a15c !important;
    font-size: 16px !important;
}

/* Campos de Input do Formulário de Review */
#review_form .comment-form-comment label,
#review_form .comment-form-author label,
#review_form .comment-form-email label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 8px !important;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
    width: 100% !important;
    background-color: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-glass-border) !important;
    color: var(--rp-primary) !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

#review_form input[type="text"]:focus,
#review_form input[type="email"]:focus,
#review_form textarea:focus {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.1) !important;
}

/* Botão de Enviar Review */
#review_form #submit {
    background-color: var(--rp-accent) !important; /* Verde Esmeralda */
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 14px 28px !important;
    border-radius: 30px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 120, 73, 0.15) !important;
    margin-top: 10px !important;
    display: inline-block !important;
}

#review_form #submit:hover {
    background-color: #005c38 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 120, 73, 0.25) !important;
}

/* Estilo do Rótulo de Estrelas no Formulário */
.star-rating::before {
    color: rgba(230, 161, 92, 0.2) !important;
}


/* ==========================================================================
   FORMULÁRIOS E INPUTS INTERNOS DO PAINEL MINHA CONTA (PREMIUM LIGHT)
   ========================================================================== */

/* Custom Inputs and Selects within My Account Area */
.woocommerce-MyAccount-content input.input-text,
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    color: var(--rp-primary) !important;
    font-size: 13.5px !important;
    width: 100% !important;
    height: 42px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.woocommerce-MyAccount-content textarea {
    height: 120px !important;
    resize: vertical !important;
}

.woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus {
    border-color: var(--rp-secondary) !important; /* Burgundy focus border */
    box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.1) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

/* Label Styling */
.woocommerce-MyAccount-content label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-MyAccount-content label .required {
    color: var(--rp-accent-alt) !important; /* Laranja Tijolo for required indicator */
}

/* Edit Address Title and Columns spacing */
.woocommerce-address-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 15px 20px !important;
}

.woocommerce-address-fields__field-wrapper .form-row {
    width: 100% !important;
    float: none !important;
    margin-bottom: 0 !important;
}

/* Full width elements for address wrapper */
.woocommerce-address-fields__field-wrapper .form-row-first,
.woocommerce-address-fields__field-wrapper .form-row-last,
.woocommerce-address-fields__field-wrapper #billing_address_1_field,
.woocommerce-address-fields__field-wrapper #billing_address_2_field,
.woocommerce-address-fields__field-wrapper #shipping_address_1_field,
.woocommerce-address-fields__field-wrapper #shipping_address_2_field {
    grid-column: 1 / -1 !important;
}

/* Form action buttons inside My Account Dashboard (Save Address, Save Profile) */
.woocommerce-MyAccount-content button.button {
    background-color: var(--rp-accent) !important; /* Emerald Green */
    color: #ffffff !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 120, 73, 0.15) !important;
    display: inline-block !important;
    height: auto !important;
    margin-top: 15px !important;
}

.woocommerce-MyAccount-content button.button:hover {
    background-color: #005c38 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 120, 73, 0.25) !important;
}

/* Style Select2 Dropdowns inside WooCommerce Account */
.woocommerce-MyAccount-content .select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 6px !important;
    height: 42px !important;
    padding: 6px 8px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--rp-primary) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
}

.woocommerce-MyAccount-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

.woocommerce-MyAccount-content .select2-container--open .select2-selection--single {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.1) !important;
}


/* ==========================================================================
   BOTÃO VOLTAR AO TOPO (BACK TO TOP)
   ========================================================================== */
.rp-back-to-top-btn {
    position: fixed !important;
    bottom: 95px !important;
    right: 33px !important;
    width: 44px !important;
    height: 44px !important;
    background-color: #ffffff !important;
    color: var(--rp-primary) !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    z-index: 9998 !important;
    
    /* Estado inicial oculto com efeito de transição suave */
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Hover luxuoso mudando para a identidade Bordô do projeto */
.rp-back-to-top-btn:hover {
    background-color: var(--rp-secondary) !important; /* Burgundy */
    color: #ffffff !important;
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 6px 18px rgba(139, 38, 53, 0.25) !important;
    transform: translateY(-3px) !important;
}

.rp-back-to-top-btn.rp-show {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* ==========================================================================
   FILTROS DO WOOCOMMERCE — Estilização Global Premium
   ========================================================================== */

/* Títulos dos Widgets de Filtro */
.widget_product_categories h2, .widget_product_categories h3, .widget_product_categories h4, .widget_product_categories .widgettitle, .widget_product_categories .widget-title,
.widget_price_filter h2, .widget_price_filter h3, .widget_price_filter h4, .widget_price_filter .widgettitle, .widget_price_filter .widget-title,
.woocommerce-widget-layered-nav h2, .woocommerce-widget-layered-nav h3, .woocommerce-widget-layered-nav h4, .woocommerce-widget-layered-nav .widgettitle, .woocommerce-widget-layered-nav .widget-title,
.widget_rating_filter h2, .widget_rating_filter h3, .widget_rating_filter h4, .widget_rating_filter .widgettitle, .widget_rating_filter .widget-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--rp-primary) !important;
    margin: 0 0 16px 0 !important;
    padding: 0 0 8px 0 !important;
    border-bottom: 2px solid var(--rp-secondary) !important;
    display: inline-block !important;
    position: relative;
}

/* Listas de Categorias e Atributos */
.widget_product_categories ul, 
.woocommerce-widget-layered-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget_product_categories ul li, 
.woocommerce-widget-layered-nav ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.widget_product_categories ul li a, 
.woocommerce-widget-layered-nav ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--rp-text-muted) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
    border-radius: 4px;
}

.widget_product_categories ul li a:hover, 
.woocommerce-widget-layered-nav ul li a:hover {
    color: var(--rp-secondary) !important;
    background-color: rgba(139, 38, 53, 0.04) !important;
    border-left-color: var(--rp-secondary) !important;
    padding-left: 16px !important;
}

.widget_product_categories ul li.current-cat > a, 
.woocommerce-widget-layered-nav ul li.chosen a {
    color: var(--rp-secondary) !important;
    font-weight: 700 !important;
    border-left-color: var(--rp-secondary) !important;
    background-color: rgba(139, 38, 53, 0.06) !important;
}

/* Contador de Itens */
.widget_product_categories .count, 
.woocommerce-widget-layered-nav .count {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    background-color: rgba(26, 26, 26, 0.08) !important;
    color: var(--rp-text-muted) !important;
    border-radius: 20px !important;
    padding: 2px 8px !important;
    min-width: 22px !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

.widget_product_categories ul li a:hover .count, 
.woocommerce-widget-layered-nav ul li a:hover .count {
    background-color: rgba(139, 38, 53, 0.12) !important;
    color: var(--rp-secondary) !important;
}

/* Sub-categorias Recuadas em Árvore Hierárquica */
.widget_product_categories ul.children {
    padding-left: 0 !important;
    margin-left: 18px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    border-left: 1.5px dashed var(--rp-border-color) !important;
}

.widget_product_categories ul.children li a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--rp-text-muted) !important;
    padding: 8px 12px 8px 16px !important;
    border-left: none !important;
}

.widget_product_categories ul.children li a:hover {
    color: var(--rp-secondary) !important;
    background-color: transparent !important;
    border-left-color: transparent !important;
    padding-left: 20px !important;
}

/* Indicador de sub-categoria ativa */
.widget_product_categories ul.children li.current-cat > a {
    border-left: none !important;
    color: var(--rp-secondary) !important;
    font-weight: 700 !important;
    background-color: transparent !important;
}

/* Slider de Preço do WooCommerce */
.widget_price_filter .price_slider_wrapper {
    padding: 10px 0 !important;
}

.widget_price_filter .price_slider {
    margin-bottom: 18px !important;
    height: 4px !important;
    background: var(--rp-border-color) !important;
    border-radius: 4px !important;
    border: none !important;
}

.widget_price_filter .price_slider .ui-slider-range {
    background: var(--rp-secondary) !important;
    border-radius: 4px !important;
}

.widget_price_filter .price_slider .ui-slider-handle {
    width: 16px !important;
    height: 16px !important;
    background: #ffffff !important;
    border: 2.5px solid var(--rp-secondary) !important;
    border-radius: 50% !important;
    top: -6px !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(139, 38, 53, 0.2) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.widget_price_filter .price_slider .ui-slider-handle:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 4px 10px rgba(139, 38, 53, 0.35) !important;
}

.widget_price_filter .price_slider_amount {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: wrap;
}

.widget_price_filter .price_slider_amount .price_label {
    font-size: 13px !important;
    color: var(--rp-primary) !important;
    font-weight: 600 !important;
}

.widget_price_filter .price_slider_amount button.button {
    background-color: var(--rp-secondary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

.widget_price_filter .price_slider_amount button.button:hover {
    background-color: #6e1d28 !important;
    transform: translateY(-1px) !important;
}

/* Filtro por Avaliação Estrela */
.widget_rating_filter ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget_rating_filter ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 12px !important;
    font-size: 13.5px !important;
    color: var(--rp-text-muted) !important;
    text-decoration: none !important;
}

/* Barra de Filtros Ativos (Pílulas de tags) */
.woocommerce-widget-layered-nav-filters {
    margin-bottom: 20px !important;
}

.woocommerce-widget-layered-nav-filters ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.woocommerce-widget-layered-nav-filters ul li {
    display: inline-block !important;
}

.woocommerce-widget-layered-nav-filters ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background-color: rgba(0, 120, 73, 0.08) !important;
    color: var(--rp-accent) !important;
    border: 1px solid rgba(0, 120, 73, 0.15) !important;
    border-radius: 20px !important;
    padding: 4px 10px 4px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.woocommerce-widget-layered-nav-filters ul li a:hover {
    background-color: rgba(217, 72, 51, 0.08) !important;
    color: var(--rp-accent-alt) !important;
    border-color: rgba(217, 72, 51, 0.2) !important;
}

/* ==========================================================================
   LIVE SEARCH DROPDOWN — Flutuante e Não-Intrusivo (Resets Robustos)
   ========================================================================== */

/* Dropdown de sugestões flutuantes */
.rp-live-search-dropdown {
    position: absolute !important;
    background: #ffffff !important;
    border: 1.5px solid var(--rp-border-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 48px rgba(26, 26, 26, 0.16) !important;
    z-index: 99999999 !important;
    overflow: hidden !important;
    display: none;
    max-height: 400px !important;
    overflow-y: auto !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.rp-live-search-dropdown.rp-open {
    display: block !important;
    animation: rp-dropdown-in 0.22s cubic-bezier(0.23, 1, 0.32, 1) forwards !important;
}

@keyframes rp-dropdown-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rp-live-search-section-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--rp-text-muted) !important;
    padding: 10px 16px 4px !important;
    background: #fcfcfb !important;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.rp-live-search-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease !important;
    border-bottom: 1px solid rgba(26, 26, 26, 0.04) !important;
    background: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
}

.rp-live-search-item:hover {
    background-color: rgba(139, 38, 53, 0.04) !important;
    color: var(--rp-secondary) !important;
}

.rp-live-search-item:last-child {
    border-bottom: none !important;
}

.rp-live-search-thumb {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    background: var(--rp-border-color) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    border: none !important;
}

.rp-live-search-thumb-placeholder {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 6px !important;
    background: var(--rp-border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: var(--rp-text-muted) !important;
    margin: 0 !important;
}

.rp-live-search-info {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rp-live-search-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--rp-primary) !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.rp-live-search-meta {
    font-size: 11.5px !important;
    color: var(--rp-text-muted) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.rp-live-search-price, 
.rp-live-search-price .amount, 
.rp-live-search-price bdi {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--rp-secondary) !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rp-live-search-all-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 11px 16px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--rp-secondary) !important;
    text-decoration: none !important;
    background: rgba(139, 38, 53, 0.03) !important;
    transition: background-color 0.2s ease !important;
    border-top: 1.5px solid var(--rp-border-color) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    float: none !important;
}

.rp-live-search-all-link:hover {
    background: rgba(139, 38, 53, 0.07) !important;
}

.rp-live-search-empty {
    padding: 20px 16px !important;
    text-align: center !important;
    font-size: 13px !important;
    color: var(--rp-text-muted) !important;
    background: #ffffff !important;
}

/* ==========================================================================
   PÁGINA DE RESULTADOS DE PESQUISA — Premium & Moderno
   ========================================================================== */

.rp-search-premium-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}

/* Área de Busca no Topo */
.rp-search-header-area {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(247, 247, 245, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 16px;
}

.rp-search-page-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--rp-primary);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.rp-search-page-subtitle {
    font-size: 15px;
    color: var(--rp-text-muted);
    margin: 0 0 24px;
}

/* Invólucro do Input */
.rp-search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.rp-search-page-form {
    width: 100%;
}

.rp-search-page-input {
    width: 100% !important;
    background: #ffffff !important;
    border: 2px solid var(--rp-border-color) !important;
    border-radius: 50px !important;
    padding: 13px 64px 13px 22px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--rp-primary) !important;
    box-shadow: 0 4px 16px rgba(26, 26, 26, 0.04) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    outline: none !important;
}

.rp-search-page-input:focus {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 6px 20px rgba(139, 38, 53, 0.08) !important;
}

.rp-search-page-submit-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--rp-secondary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.rp-search-page-submit-btn:hover {
    background-color: #6e1d28;
    transform: translateY(-50%) scale(1.05);
}

/* Abas de Resultados */
.rp-search-filter-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--rp-border-color);
}

.rp-search-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rp-text-muted);
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
}

.rp-search-tab-btn:hover {
    color: var(--rp-secondary);
}

.rp-search-tab-btn.rp-tab-active {
    color: var(--rp-secondary);
    border-bottom-color: var(--rp-secondary);
    font-weight: 700;
}

.rp-search-tab-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(26, 26, 26, 0.07);
    color: var(--rp-text-muted);
    border-radius: 20px;
    padding: 1px 7px;
}

.rp-search-tab-btn.rp-tab-active .rp-search-tab-count {
    background: rgba(139, 38, 53, 0.1);
    color: var(--rp-secondary);
}

/* Grids e Seções de Resultados */
.rp-search-section-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rp-text-muted);
    margin: 0 0 18px 0;
}

.rp-search-results-grid {
    display: grid;
    gap: 24px;
}

.rp-search-results-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.rp-search-results-posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.rp-search-divider {
    border: none;
    border-top: 1px solid var(--rp-border-color);
    margin: 40px 0;
}

/* Card de Produto nos Resultados */
.rp-search-product-card {
    background: #ffffff;
    border: 1px solid var(--rp-border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-search-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08);
}

.rp-search-product-thumb-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #fafafa;
}

.rp-search-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.rp-search-product-card:hover .rp-search-product-thumb {
    transform: scale(1.03);
}

.rp-search-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rp-search-product-cat {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rp-text-muted);
    margin-bottom: 6px;
}

.rp-search-product-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--rp-primary);
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.rp-search-product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--rp-secondary);
    margin-top: auto;
}

/* Card de Post/Conteúdo nos Resultados */
.rp-search-post-card {
    background: #ffffff;
    border: 1px solid var(--rp-border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    height: 100%;
    min-height: 120px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-search-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08);
}

.rp-search-post-thumb {
    width: 110px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    background: #fafafa;
}

.rp-search-post-thumb-placeholder {
    width: 110px;
    background: linear-gradient(135deg, #f7f7f5 0%, #eeeeeb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rp-text-muted);
    flex-shrink: 0;
}

.rp-search-post-info {
    padding: 16px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.rp-search-post-date {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rp-text-muted);
}

.rp-search-post-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--rp-primary);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rp-search-post-excerpt {
    font-size: 12.5px;
    color: var(--rp-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Zero Resultados */
.rp-search-no-results {
    text-align: center;
    padding: 60px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.rp-search-no-results-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.rp-search-no-results h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--rp-primary);
    margin: 0 0 8px;
}

.rp-search-no-results p {
    font-size: 14px;
    color: var(--rp-text-muted);
    line-height: 1.5;
    margin: 0 0 28px;
}

.rp-search-tips {
    text-align: left;
    background: #f7f7f5;
    border-radius: 10px;
    padding: 18px 22px;
    border: 1px solid rgba(26, 26, 26, 0.05);
}

.rp-search-tips strong {
    font-size: 13px;
    color: var(--rp-primary);
    display: block;
    margin-bottom: 10px;
}

.rp-search-tips ul {
    list-style: disc;
    margin: 0;
    padding-left: 18px;
}

.rp-search-tips ul li {
    font-size: 12.5px;
    color: var(--rp-text-muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

.rp-search-tips ul li:last-child {
    margin-bottom: 0;
}

/* Classes de Transição / Abas */
.rp-search-section {
    display: block;
}

.rp-search-section.rp-hidden {
    display: none;
}

/* Responsividade da Página de Pesquisa */
@media (max-width: 768px) {
    .rp-search-header-area {
        padding: 30px 16px;
        margin-bottom: 24px;
    }

    .rp-search-page-title {
        font-size: 26px;
    }

    .rp-search-results-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .rp-search-results-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .rp-search-filter-tabs {
        gap: 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .rp-search-tab-btn {
        padding: 10px 12px 12px;
        font-size: 13px;
    }

    .rp-search-product-info {
        padding: 12px;
    }

    .rp-search-product-title {
        font-size: 13px;
    }

    .rp-search-product-price {
        font-size: 14.5px;
    }

    .rp-search-post-card {
        flex-direction: column;
        height: auto;
    }

    .rp-search-post-thumb,
    .rp-search-post-thumb-placeholder {
        width: 100%;
        height: 140px;
        aspect-ratio: 16/9;
    }

    .rp-search-post-info {
        padding: 14px;
    }
}

/* ==========================================================================
   ELEMENTOR PRO CHECKOUT WIDGET OVERRIDES — LIGHT THEME & PREMIUM UX
   ========================================================================== */

/* Transformar todas as seções do checkout em cartões premium brancos */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-shipping-methods,
.woocommerce-checkout #payment,
.woocommerce-checkout .elementor-checkout-review-order,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #order_review {
    background-color: var(--rp-bg-card) !important; /* White card surface */
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    box-shadow: var(--rp-shadow) !important;
    box-sizing: border-box !important;
}

/* Padronizar e otimizar todos os cabeçalhos das seções */
.woocommerce-checkout h3,
.woocommerce-checkout h4,
.woocommerce-checkout .rp-checkout-section-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid var(--rp-border-color) !important;
    padding-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Garantir que todos os inputs de texto e textareas sejam elegantes */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea {
    height: 52px !important;
    border-radius: 8px !important;
    border: 1px solid var(--rp-border-color) !important;
    padding: 20px 14px 4px 14px !important;
    font-size: 13.5px !important;
    background-color: #ffffff !important;
    color: var(--rp-primary) !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .form-row textarea {
    height: 90px !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--rp-secondary) !important;
    box-shadow: 0 0 0 2px rgba(139, 38, 53, 0.12) !important;
    background-color: #ffffff !important;
}

/* Corrigir sobreposição de labels flutuantes nos campos de Select2 (País e Estado) */
.woocommerce-checkout .form-row:has(select) label,
.woocommerce-checkout .form-row:has(.select2-container) label,
.woocommerce-checkout .form-row:has(.select2) label {
    top: 12px !important;
    transform: translateY(-50%) !important;
    font-size: 9.5px !important;
    color: var(--rp-secondary) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
}

/* Otimizar o design do Select2 para acomodar o label flutuante de forma alinhada */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    padding-top: 16px !important;
    height: 52px !important;
    background-color: #ffffff !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--rp-primary) !important;
    padding-left: 14px !important;
    font-size: 13.5px !important;
    line-height: normal !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
}

/* Otimizar as opções de entrega e pagamentos nativas */
.woocommerce-checkout ul#shipping_method {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce-checkout ul#shipping_method li {
    padding: 12px 15px !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout ul#shipping_method li:has(input:checked) {
    border-color: var(--rp-secondary) !important;
    background-color: rgba(139, 38, 53, 0.03) !important;
}

.woocommerce-checkout ul#shipping_method li input[type="radio"] {
    margin: 0 !important;
    accent-color: var(--rp-secondary) !important;
}

/* Blindagem Absoluta do Botão de Finalização (Verde Esmeralda) */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order,
body.woocommerce-checkout button.button#place_order {
    background-color: var(--rp-accent) !important; /* Verde Esmeralda Alta Conversão */
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 16px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 120, 73, 0.25) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout button#place_order:hover,
body.woocommerce-checkout button.button#place_order:hover {
    background-color: var(--rp-primary) !important; /* Carvão no hover */
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   CHECKOUT UX FIXES & PREMIUM POLISH
   ========================================================================== */

/* 1. Ocultar alertas e formulários de cupom originais redundantes no topo */
.woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon:not(.rp-checkout-coupon-box) {
    display: none !important;
}

/* 2. Blindar e forçar exibição do tfoot da tabela de revisão de pedido */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot,
.woocommerce-checkout #order_review tfoot {
    display: table-footer-group !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr,
.woocommerce-checkout #order_review tfoot tr {
    display: table-row !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr td,
.woocommerce-checkout #order_review tfoot tr th,
.woocommerce-checkout #order_review tfoot tr td {
    display: table-cell !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--rp-primary) !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--rp-border-color) !important;
}

/* Estilo para a linha de Subtotal */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal th {
    font-weight: 500 !important;
    color: var(--rp-text-muted) !important;
    text-align: left !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart-subtotal td {
    font-weight: 600 !important;
    color: var(--rp-primary) !important;
    text-align: right !important;
}

/* Estilo para a linha do Total Geral */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--rp-primary) !important;
    text-align: left !important;
    border-bottom: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--rp-secondary) !important; /* Destaque no total com Bordô */
    text-align: right !important;
    border-bottom: none !important;
}

/* 3. Corrigir margem interna do card do Order Review e remover bordas externas redundantes da tabela */
.woocommerce-checkout #order_review {
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* O card de revisão real deve ser apenas o wrapper da direita */
.checkout-right-wrapper {
    background-color: var(--rp-bg-card) !important;
    border: 1px solid var(--rp-border-color) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: var(--rp-shadow) !important;
    box-sizing: border-box !important;
}

/* Ocultar a linha de frete original vazia na tabela de totais lateral */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.shipping {
    display: none !important;
}



