﻿/*
Theme Name: Higi House Modern
Theme URI: https://www.higihouse.com.br
Author: Higi House
Author URI: https://www.higihouse.com.br
Description: Tema moderno e responsivo para a loja Higi House, totalmente compatível com WooCommerce e Elementor. Design limpo com as cores da marca verde e rosa.
Version: 3.23.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: higihouse-modern
Tags: woocommerce, e-commerce, custom-logo, custom-menu, featured-images, full-width-template, theme-options

Higi House Modern - Sua casa mais limpa, com estilo.
*/

/* ============================================
   CSS CUSTOM PROPERTIES (VARIÁVEIS)
   ============================================ */
:root {
    /* Cores da marca */
    --hh-green-dark: #4a7c2e;
    --hh-green: #6B8E23;
    --hh-green-light: #8fb43e;
    --hh-green-lightest: #e8f5d8;

    --hh-pink: #B5508A;
    --hh-pink-dark: #9a3d73;
    --hh-pink-light: #d076aa;
    --hh-pink-lightest: #fce4f1;

    --hh-purple: #7B4F8A;
    --hh-purple-light: #af8abf;

    /* Neutros */
    --hh-white: #ffffff;
    --hh-off-white: #f8f9fa;
    --hh-gray-100: #f1f3f5;
    --hh-gray-200: #e9ecef;
    --hh-gray-300: #dee2e6;
    --hh-gray-400: #ced4da;
    --hh-gray-500: #adb5bd;
    --hh-gray-600: #6c757d;
    --hh-gray-700: #495057;
    --hh-gray-800: #343a40;
    --hh-gray-900: #212529;

    /* Tipografia */
    --hh-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hh-font-heading: 'Poppins', 'Inter', sans-serif;

    /* Espaçamento */
    --hh-spacing-xs: 0.25rem;
    --hh-spacing-sm: 0.5rem;
    --hh-spacing-md: 1rem;
    --hh-spacing-lg: 1.5rem;
    --hh-spacing-xl: 2rem;
    --hh-spacing-2xl: 3rem;
    --hh-spacing-3xl: 4rem;

    /* Bordas */
    --hh-radius-sm: 6px;
    --hh-radius-md: 10px;
    --hh-radius-lg: 16px;
    --hh-radius-xl: 24px;
    --hh-radius-full: 9999px;

    /* Sombras */
    --hh-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --hh-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --hh-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --hh-shadow-xl: 0 12px 40px rgba(0,0,0,0.15);

    /* Transições */
    --hh-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hh-transition-fast: all 0.15s ease;

    /* Layout */
    --hh-container-width: 1280px;
    --hh-header-height: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--hh-font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--hh-gray-800);
    background-color: var(--hh-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--hh-transition-fast);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hh-font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--hh-gray-900);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--hh-spacing-md);
}

/* ============================================
   CONTAINER
   ============================================ */
.hh-container {
    width: 100%;
    max-width: var(--hh-container-width);
    margin: 0 auto;
    padding: 0 var(--hh-spacing-lg);
}

/* ============================================
   BOTÕES
   ============================================ */
.hh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--hh-font-primary);
    font-size: 0.938rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--hh-radius-full);
    cursor: pointer;
    transition: var(--hh-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hh-btn-primary {
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: var(--hh-white);
    border-color: var(--hh-green);
}

.hh-btn-primary:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.35);
}

.hh-btn-secondary {
    background: linear-gradient(135deg, var(--hh-pink), var(--hh-pink-dark));
    color: var(--hh-white);
    border-color: var(--hh-pink);
}

.hh-btn-secondary:hover {
    background: linear-gradient(135deg, var(--hh-pink-light), var(--hh-pink));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 80, 138, 0.35);
}

.hh-btn-outline {
    background: transparent;
    color: var(--hh-green);
    border-color: var(--hh-green);
}

.hh-btn-outline:hover {
    background: var(--hh-green);
    color: var(--hh-white);
    transform: translateY(-2px);
}

.hh-btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.813rem;
}

.hh-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.hh-topbar {
    background: linear-gradient(135deg, var(--hh-gray-900), var(--hh-gray-800));
    color: var(--hh-white);
    padding: 0.5rem 0;
    font-size: 0.813rem;
}

.hh-topbar .hh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hh-topbar__info {
    display: flex;
    gap: var(--hh-spacing-xl);
}

.hh-topbar__info span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.9;
}

.hh-topbar__social {
    display: flex;
    gap: var(--hh-spacing-md);
    align-items: center;
}

.hh-topbar__social a {
    color: var(--hh-white);
    opacity: 0.8;
    font-size: 1.1rem;
}

.hh-topbar__social a:hover {
    opacity: 1;
    color: var(--hh-green-light);
}

/* ============================================
   HEADER / NAVEGAÇÃO
   ============================================ */
.hh-header {
    background: var(--hh-white);
    box-shadow: var(--hh-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--hh-transition);
}

.hh-header.scrolled {
    box-shadow: var(--hh-shadow-md);
}

.hh-header .hh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--hh-header-height);
}

.hh-logo img {
    max-height: 60px;
    width: auto;
}

.hh-nav {
    display: flex;
    align-items: center;
}

.hh-nav__menu {
    display: flex;
    gap: 0.25rem;
}

.hh-nav__menu li a {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--hh-gray-700);
    border-radius: var(--hh-radius-sm);
    position: relative;
}

.hh-nav__menu li a:hover,
.hh-nav__menu li.current-menu-item a,
.hh-nav__menu li.current_page_item a {
    color: var(--hh-green);
    background-color: var(--hh-green-lightest);
}

.hh-nav__menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--hh-green);
    border-radius: 2px;
    transition: var(--hh-transition);
}

.hh-nav__menu li a:hover::after,
.hh-nav__menu li.current-menu-item a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Sub-menu dropdown */
.hh-nav__menu li {
    position: relative;
}

.hh-nav__menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--hh-white);
    border-radius: var(--hh-radius-md);
    box-shadow: var(--hh-shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--hh-transition);
    z-index: 100;
}

.hh-nav__menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hh-nav__menu li .sub-menu li a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--hh-radius-sm);
}

/* IA Higi Button (header) */
.hh-ia-btn,
.hh-header__ia-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hh-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}
.hh-ia-btn:hover,
.hh-header__ia-btn:hover {
    background: var(--hh-primary-dark, #556b1a);
    color: #fff;
    transform: translateY(-1px);
}

/* Assinatura Mensal no menu */
.hh-nav__assinatura {
    color: var(--hh-purple) !important;
    font-weight: 700 !important;
}
.hh-nav__assinatura:hover {
    color: var(--hh-purple-light) !important;
}

/* Header Actions */
.hh-header__actions {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-md);
}

.hh-header__search {
    position: relative;
}

.hh-header__search input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 2px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-full);
    font-size: 0.875rem;
    width: 220px;
    transition: var(--hh-transition);
    outline: none;
    font-family: var(--hh-font-primary);
}

.hh-header__search input:focus {
    border-color: var(--hh-green);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.15);
    width: 280px;
}

.hh-header__search button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--hh-gray-500);
    cursor: pointer;
    font-size: 1rem;
}

.hh-header__cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--hh-green-lightest);
    border-radius: var(--hh-radius-full);
    color: var(--hh-green-dark);
    font-weight: 600;
    font-size: 0.875rem;
}

.hh-header__cart:hover {
    background: var(--hh-green);
    color: var(--hh-white);
}

.hh-header__cart-count {
    background: var(--hh-pink);
    color: var(--hh-white);
    font-size: 0.688rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: -4px;
}

/* Botão IA Higi no header */
.hh-header__ia-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: var(--hh-white) !important;
    border-radius: var(--hh-radius-full);
    font-size: 0.813rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--hh-transition);
    white-space: nowrap;
    flex-shrink: 0;
    order: -1;
}
.hh-header__ia-btn:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green));
    box-shadow: 0 4px 15px rgba(107,142,35,0.35);
    transform: translateY(-1px);
}
.hh-header__ia-btn svg {
    flex-shrink: 0;
}

.hh-header__account a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--hh-gray-600);
    font-size: 0.875rem;
    font-weight: 500;
}

.hh-header__account a:hover {
    color: var(--hh-green);
}

/* Mobile Toggle */
.hh-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.hh-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hh-gray-800);
    border-radius: 2px;
    transition: var(--hh-transition);
}

/* ============================================
   HERO / BANNER
   ============================================ */
.hh-hero {
    background: linear-gradient(135deg, var(--hh-green-lightest) 0%, var(--hh-pink-lightest) 100%);
    padding: var(--hh-spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hh-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107,142,35,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hh-hero .hh-container {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-2xl);
}

.hh-hero__content {
    flex: 1;
}

.hh-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: var(--hh-white);
    border-radius: var(--hh-radius-full);
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--hh-green);
    margin-bottom: var(--hh-spacing-lg);
    box-shadow: var(--hh-shadow-sm);
}

.hh-hero__title {
    margin-bottom: var(--hh-spacing-md);
    line-height: 1.2;
}

.hh-hero__title span {
    color: var(--hh-green);
}

.hh-hero__text {
    font-size: 1.125rem;
    color: var(--hh-gray-600);
    margin-bottom: var(--hh-spacing-xl);
    max-width: 520px;
}

.hh-hero__actions {
    display: flex;
    gap: var(--hh-spacing-md);
    flex-wrap: wrap;
}

.hh-hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hh-hero__image img {
    max-width: 500px;
    border-radius: var(--hh-radius-lg);
}

/* ============================================
   HERO CARROSSEL
   ============================================ */
.hh-hero-carousel {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hh-hero-slides {
    position: relative;
    width: 100%;
}

.hh-hero-slide {
    display: none;
    padding: var(--hh-spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hh-hero-slide.active {
    display: block;
}

.hh-hero-slide--1 {
    background: linear-gradient(135deg, var(--hh-green-lightest) 0%, var(--hh-pink-lightest) 100%);
    background-size: cover;
    background-position: center;
}

.hh-hero-slide--1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(100, 50, 120, 0.68);
    z-index: 0;
}
.hh-hero-slide--1 .hh-container { position: relative; z-index: 1; }

/* Textos brancos no slide 1 */
.hh-hero-slide--1 .hh-hero__title,
.hh-hero-slide--1 .hh-hero__text {
    color: #fff !important;
}
.hh-hero-slide--1 .hh-hero__badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.hh-hero-slide--2 {
    background: var(--hh-purple);
    background-size: cover;
    background-position: center;
}
.hh-hero-slide--2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(100, 50, 120, 0.62);
    z-index: 0;
}
.hh-hero-slide--2 .hh-container { position: relative; z-index: 1; }

.hh-hero-slide--3 {
    background: linear-gradient(135deg, var(--hh-green-dark) 0%, var(--hh-green) 100%);
    background-size: cover;
    background-position: center;
}
.hh-hero-slide--3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(55,90,20,0.65) 0%, rgba(74,169,78,0.55) 100%);
    z-index: 0;
}
.hh-hero-slide--3 .hh-container { position: relative; z-index: 1; }

.hh-hero-slide .hh-container {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-2xl);
}

/* Setas de navegação */
.hh-hero-prev,
.hh-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    backdrop-filter: blur(4px);
}
.hh-hero-prev { left: 1rem; }
.hh-hero-next { right: 1rem; }
.hh-hero-prev:hover,
.hh-hero-next:hover {
    background: rgba(255,255,255,0.4);
}

/* Dots */
.hh-hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.hh-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
    padding: 0;
}

.hh-hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hh-hero-slide--1 .hh-hero__text,
    .hh-hero-slide--2 .hh-hero__text,
    .hh-hero-slide--3 .hh-hero__text {
        font-size: 1rem;
    }
    .hh-hero-prev { left: .4rem; width: 36px; height: 36px; }
    .hh-hero-next { right: .4rem; width: 36px; height: 36px; }
}

/* ============================================
   BARRA DE BENEFÍCIOS
   ============================================ */
.hh-benefits {
    background: var(--hh-white);
    padding: var(--hh-spacing-xl) 0;
    border-bottom: 1px solid var(--hh-gray-200);
}

.hh-benefits .hh-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hh-spacing-xl);
}

.hh-benefit {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-md);
    padding: var(--hh-spacing-md);
}

.hh-benefit__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.hh-benefit__icon--green {
    background: var(--hh-green-lightest);
    color: var(--hh-green);
}

.hh-benefit__icon--pink {
    background: var(--hh-pink-lightest);
    color: var(--hh-pink);
}

.hh-benefit__icon--purple {
    background: rgba(123, 79, 138, 0.1);
    color: var(--hh-purple);
}

.hh-benefit__text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hh-gray-800);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hh-benefit__text span {
    font-size: 0.813rem;
    color: var(--hh-gray-500);
}

/* ============================================
   CATEGORIAS
   ============================================ */
.hh-categories {
    padding: var(--hh-spacing-3xl) 0;
}

.hh-section-header {
    text-align: center;
    margin-bottom: var(--hh-spacing-2xl);
}

.hh-section-header__subtitle {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--hh-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--hh-spacing-sm);
}

.hh-section-header h2 {
    margin-bottom: var(--hh-spacing-sm);
}

.hh-section-header p {
    color: var(--hh-gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================================
 * Carrossel Universal (Categorias + Ofertas)
 * ========================================================= */
.hh-carousel {
    position: relative;
    display: flex;
    align-items: center;
}
.hh-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
    flex: 1;
    align-items: stretch;
}
.hh-carousel__track::-webkit-scrollbar { display: none; }

/* Slides de categoria */
.hh-carousel__track .hh-category-card {
    scroll-snap-align: start;
    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;
}

/* Slides de produto */
.hh-carousel__track .hh-product-slide {
    scroll-snap-align: start;
    flex: 0 0 220px;
    width: 220px;
    min-width: 220px;
    background: var(--hh-white);
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--hh-transition);
    text-decoration: none;
    color: inherit;
}
.hh-carousel__track .hh-product-slide:hover {
    box-shadow: var(--hh-shadow-md);
    transform: translateY(-3px);
    border-color: var(--hh-green);
}
.hh-product-slide__img {
    position: relative;
    background: var(--hh-gray-100);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.hh-product-slide__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}
.hh-product-slide__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--hh-pink);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}
.hh-product-slide__body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hh-product-slide__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hh-gray-800);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hh-product-slide__price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.hh-product-slide__price .old { font-size: 0.75rem; color: var(--hh-gray-400); text-decoration: line-through; }
.hh-product-slide__price .current { font-size: 1rem; font-weight: 700; color: var(--hh-green-dark); }
.hh-product-slide__btn {
    display: block;
    background: var(--hh-green);
    color: #fff;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.hh-product-slide__btn:hover { background: var(--hh-green-dark); color: #fff; }

/* Setas */
.hh-carousel__btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--hh-gray-200);
    background: var(--hh-white);
    color: var(--hh-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--hh-transition);
    z-index: 2;
    box-shadow: var(--hh-shadow-sm);
}
.hh-carousel__btn:hover {
    border-color: var(--hh-green);
    color: var(--hh-green);
    background: var(--hh-green-lightest);
}
.hh-carousel__btn--prev { margin-right: 8px; }
.hh-carousel__btn--next { margin-left: 8px; }
.hh-carousel__btn:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 600px) {
    .hh-carousel__track .hh-category-card { flex: 0 0 120px; width: 120px; min-width: 120px; }
    .hh-carousel__track .hh-product-slide { flex: 0 0 180px; width: 180px; min-width: 180px; }
    .hh-carousel__btn { width: 32px; height: 32px; }
}




.hh-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--hh-spacing-lg);
}


.hh-category-card {
    text-align: center;
    padding: var(--hh-spacing-xl) var(--hh-spacing-md);
    background: var(--hh-white);
    border: 2px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-lg);
    transition: var(--hh-transition);
    cursor: pointer;
}

.hh-category-card--active {
    border-color: var(--hh-purple);
    background: rgba(123, 79, 138, 0.06);
    transform: translateY(-4px);
    box-shadow: var(--hh-shadow-md);
}

.hh-category-card--active .hh-category-card__icon {
    background: var(--hh-purple);
    color: var(--hh-white);
}

.hh-category-card--active .hh-category-card__icon svg {
    stroke: #fff;
}

.hh-category-card--active .hh-category-card__name {
    color: var(--hh-purple);
}

/* Categorias na página da loja — sem título, padding menor */
.hh-shop-categories {
    padding: var(--hh-spacing-lg) 0 0;
    background: var(--hh-gray-50);
}

.hh-category-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(123, 79, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--hh-spacing-md);
    font-size: 1.75rem;
    transition: var(--hh-transition);
}

.hh-category-card:hover .hh-category-card__icon {
    /* sem efeito hover */
}

.hh-category-card:hover .hh-category-card__icon svg {
    /* sem efeito hover */
}

.hh-category-card__icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.hh-category-card__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hh-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hh-category-card:hover .hh-category-card__name {
    /* sem efeito hover */
}

/* ============================================
   PÁGINA DA LOJA - Layout com filtros e busca
   ============================================ */

/* Breadcrumb */
.hh-shop__breadcrumb {
    padding: var(--hh-spacing-lg) 0;
}
.hh-shop__breadcrumb .woocommerce-breadcrumb {
    font-size: 0.813rem;
    color: var(--hh-gray-500);
}
.hh-shop__breadcrumb .woocommerce-breadcrumb a {
    color: var(--hh-green);
    text-decoration: none;
}
.hh-shop__breadcrumb .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* Barra de busca da loja */
.hh-shop-search {
    margin-bottom: var(--hh-spacing-xl);
}
.hh-shop-search__form {
    display: flex;
    align-items: center;
    background: var(--hh-white);
    border: 2px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-full);
    overflow: hidden;
    transition: var(--hh-transition);
    position: relative;
}
.hh-shop-search__form:focus-within {
    border-color: var(--hh-green);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.15);
}
.hh-shop-search__icon {
    position: absolute;
    left: 20px;
    color: var(--hh-gray-400);
    flex-shrink: 0;
    pointer-events: none;
}
.hh-shop-search__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 16px 14px 52px;
    font-size: 0.938rem;
    font-family: var(--hh-font-primary);
    color: var(--hh-gray-800);
    background: transparent;
    width: 100%;
}
.hh-shop-search__input::placeholder {
    color: var(--hh-gray-400);
}
.hh-shop-search__btn {
    flex-shrink: 0;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: var(--hh-white);
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--hh-transition);
    font-family: var(--hh-font-primary);
}
.hh-shop-search__btn:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green));
}

/* Toolbar */
.hh-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hh-spacing-md);
    margin-bottom: var(--hh-spacing-xl);
    padding: var(--hh-spacing-md) var(--hh-spacing-lg);
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    box-shadow: var(--hh-shadow-sm);
    flex-wrap: wrap;
}
.hh-shop-toolbar__left,
.hh-shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-md);
}
.hh-shop-toolbar .woocommerce-result-count {
    margin: 0;
    font-size: 0.813rem;
    color: var(--hh-gray-500);
}
.hh-shop-toolbar .woocommerce-ordering select {
    border: 2px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    padding: 8px 12px;
    font-size: 0.813rem;
    font-family: var(--hh-font-primary);
    color: var(--hh-gray-700);
    background: var(--hh-white);
    outline: none;
    cursor: pointer;
}
.hh-shop-toolbar .woocommerce-ordering select:focus {
    border-color: var(--hh-green);
}

/* Filter toggle button (always visible) */
.hh-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--hh-green-lightest);
    color: var(--hh-green-dark);
    border: 2px solid var(--hh-green);
    border-radius: var(--hh-radius-full);
    font-size: 0.813rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hh-transition);
    font-family: var(--hh-font-primary);
}
.hh-filter-toggle:hover {
    background: var(--hh-green);
    color: var(--hh-white);
}

/* View toggle */
.hh-shop-view {
    display: flex;
    gap: 4px;
}
.hh-shop-view__btn {
    padding: 8px;
    background: transparent;
    border: 2px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    cursor: pointer;
    color: var(--hh-gray-400);
    transition: var(--hh-transition);
    display: flex;
    align-items: center;
}
.hh-shop-view__btn.active,
.hh-shop-view__btn:hover {
    border-color: var(--hh-green);
    color: var(--hh-green);
    background: var(--hh-green-lightest);
}

/* Shop Layout - Sidebar + Products */
.hh-shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--hh-spacing-xl);
    align-items: start;
}

/* Sidebar */
.hh-shop-sidebar {
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    box-shadow: var(--hh-shadow-sm);
    padding: var(--hh-spacing-lg);
    position: sticky;
    top: 100px;
}
.hh-shop-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--hh-spacing-lg);
    padding-bottom: var(--hh-spacing-md);
    border-bottom: 2px solid var(--hh-gray-100);
}
.hh-shop-sidebar__header h3 {
    font-family: var(--hh-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--hh-gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.hh-shop-sidebar__close {
    display: none;
    background: none;
    border: none;
    color: var(--hh-gray-500);
    cursor: pointer;
    padding: 4px;
}
.hh-shop-sidebar__overlay {
    display: none;
}

/* Hierarchical Category List (sidebar) */
.hh-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hh-cat-list__item {
    margin-bottom: 2px;
}
.hh-cat-list__item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    border-radius: var(--hh-radius-md);
    font-size: 0.813rem;
    color: var(--hh-gray-600);
    text-decoration: none;
    transition: var(--hh-transition);
}
.hh-cat-list__item > a:hover {
    background: var(--hh-gray-100);
    color: var(--hh-gray-800);
}
.hh-cat-list__item.current > a {
    background: var(--hh-green-lightest);
    color: var(--hh-green-dark);
    font-weight: 700;
}
.hh-cat-list__count {
    font-size: 0.7rem;
    background: var(--hh-gray-100);
    color: var(--hh-gray-500);
    padding: 2px 7px;
    border-radius: var(--hh-radius-full);
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.hh-cat-list__item.current .hh-cat-list__count {
    background: var(--hh-green);
    color: #fff;
}
/* Subcategories */
.hh-cat-list--sub {
    display: block;
    padding-left: 14px;
    margin-top: 2px;
    border-left: 2px solid var(--hh-gray-100);
    margin-left: 12px;
}
.hh-cat-list--sub.open { display: block; }
.hh-cat-list__item.has-children.current > .hh-cat-list--sub,
.hh-cat-list__item.has-children > a:focus + .hh-cat-list--sub { display: block; }
.hh-cat-list--sub .hh-cat-list__item > a {
    font-size: 0.8rem;
    padding: 5px 10px;
}
.hh-cat-list--level3 .hh-cat-list__item > a {
    font-size: 0.76rem;
    padding: 4px 10px;
    color: var(--hh-gray-500);
}

/* Filter Groups */
.hh-filter-group {
    margin-bottom: var(--hh-spacing-md);
    border-bottom: 1px solid var(--hh-gray-100);
    padding-bottom: var(--hh-spacing-md);
}
.hh-filter-group:last-of-type {
    border-bottom: none;
}
.hh-filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: var(--hh-spacing-sm) 0;
    font-family: var(--hh-font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hh-gray-800);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hh-filter-group__toggle svg {
    transition: transform 0.2s ease;
}
.hh-filter-group__toggle[aria-expanded="false"] svg {
    transform: rotate(-90deg);
}
.hh-filter-group__toggle[aria-expanded="false"] + .hh-filter-group__content {
    display: none;
}
.hh-filter-group__content {
    padding-top: var(--hh-spacing-sm);
}

/* Filter List */
.hh-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hh-filter-list li {
    margin-bottom: 2px;
}
.hh-filter-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--hh-radius-md);
    font-size: 0.813rem;
    color: var(--hh-gray-600);
    text-decoration: none;
    transition: var(--hh-transition);
}
.hh-filter-list li a:hover {
    background: var(--hh-gray-100);
    color: var(--hh-gray-800);
}
.hh-filter-list li a.active {
    background: var(--hh-green-lightest);
    color: var(--hh-green-dark);
    font-weight: 600;
}
.hh-filter-count {
    font-size: 0.688rem;
    background: var(--hh-gray-100);
    color: var(--hh-gray-500);
    padding: 2px 8px;
    border-radius: var(--hh-radius-full);
}
.hh-filter-list li a.active .hh-filter-count {
    background: var(--hh-green);
    color: var(--hh-white);
}

/* Checkbox filter */
.hh-filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--hh-radius-md);
    cursor: pointer;
    font-size: 0.813rem;
    color: var(--hh-gray-600);
    transition: var(--hh-transition);
}
.hh-filter-check:hover {
    background: var(--hh-gray-100);
}
.hh-filter-check input[type="checkbox"] {
    accent-color: var(--hh-green);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Price filter */
.hh-price-filter {
    margin-bottom: var(--hh-spacing-md);
}
.hh-price-filter__inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hh-price-filter__field {
    display: flex;
    align-items: center;
    border: 2px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    padding: 0 8px;
    flex: 1;
}
.hh-price-filter__field span {
    font-size: 0.75rem;
    color: var(--hh-gray-500);
    font-weight: 600;
}
.hh-price-filter__field input {
    border: none;
    outline: none;
    padding: 8px 4px;
    width: 100%;
    font-size: 0.813rem;
    font-family: var(--hh-font-primary);
}
.hh-price-filter__sep {
    color: var(--hh-gray-300);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.hh-price-filter__btn {
    display: block;
    width: 100%;
    margin-top: var(--hh-spacing-sm);
    padding: 8px;
    background: var(--hh-green-lightest);
    color: var(--hh-green-dark);
    border: 2px solid var(--hh-green);
    border-radius: var(--hh-radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--hh-font-primary);
    transition: var(--hh-transition);
}
.hh-price-filter__btn:hover {
    background: var(--hh-green);
    color: var(--hh-white);
}

.hh-price-ranges {
    margin-top: var(--hh-spacing-sm);
}

/* Clear filters */
.hh-filter-clear {
    margin-top: var(--hh-spacing-md);
    padding-top: var(--hh-spacing-md);
    border-top: 2px solid var(--hh-gray-100);
}
.hh-filter-clear a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: var(--hh-pink-lightest);
    color: var(--hh-pink-dark);
    border-radius: var(--hh-radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--hh-transition);
}
.hh-filter-clear a:hover {
    background: var(--hh-pink);
    color: var(--hh-white);
}

/* Empty shop state */
.hh-shop-empty {
    text-align: center;
    padding: var(--hh-spacing-3xl) var(--hh-spacing-xl);
}
.hh-shop-empty h2 {
    font-family: var(--hh-font-heading);
    margin: var(--hh-spacing-lg) 0 var(--hh-spacing-sm);
    color: var(--hh-gray-700);
}
.hh-shop-empty p {
    color: var(--hh-gray-500);
    margin-bottom: var(--hh-spacing-xl);
}

/* List view for products */
.hh-shop-products.view-list ul.products {
    grid-template-columns: 1fr !important;
}
.hh-shop-products.view-list ul.products li.product {
    flex-direction: row !important;
}
.hh-shop-products.view-list ul.products li.product a img {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

/* ============================================
   PRODUTOS (WooCommerce Override)
   ============================================ */
.hh-products {
    padding: var(--hh-spacing-3xl) 0;
    background: var(--hh-off-white);
}

/* Grid de produtos WooCommerce */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hh-spacing-xl);
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product,
ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    overflow: hidden;
    box-shadow: var(--hh-shadow-sm);
    transition: var(--hh-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--hh-shadow-lg);
    transform: translateY(-6px);
}

/* Imagem do produto */
.woocommerce ul.products li.product a img,
ul.products li.product a img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: var(--hh-spacing-lg);
    background: var(--hh-gray-100);
    margin: 0 !important;
    transition: var(--hh-transition);
}

/* Ocultar itens de subcategoria que aparecem como "buracos" no grid */
.woocommerce ul.products li.product-category,
ul.products li.product-category {
    display: none !important;
}

/* Remover pseudo-elementos ::before/::after do WooCommerce layout CSS
   que são clearfix para float mas viram itens de grid e criam "buracos"
   no início e no fim da listagem */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
ul.products::before,
ul.products::after {
    content: none !important;
    display: none !important;
}

/* Placeholder WooCommerce - melhorar aparência */
.woocommerce ul.products li.product a img.wc-placeholder,
.woocommerce ul.products li.product a img[src*="woocommerce-placeholder"],
.woocommerce ul.products li.product a img[src*="placeholder"] {
    opacity: 0.15;
    padding: 50px;
    object-fit: contain;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

/* Badge de promoção */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    position: absolute;
    top: var(--hh-spacing-md);
    left: var(--hh-spacing-md);
    background: linear-gradient(135deg, var(--hh-pink), var(--hh-pink-dark));
    color: var(--hh-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.875rem;
    border-radius: var(--hh-radius-full);
    z-index: 2;
    min-width: auto;
    min-height: auto;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Conteúdo do produto */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
    font-family: var(--hh-font-primary) !important;
    font-size: 0.938rem !important;
    font-weight: 600 !important;
    color: var(--hh-gray-800) !important;
    padding: var(--hh-spacing-md) var(--hh-spacing-lg) var(--hh-spacing-xs) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    min-height: 2.8em;
}

/* Preço */
.woocommerce ul.products li.product .price,
ul.products li.product .price {
    padding: 0 var(--hh-spacing-lg) !important;
    margin: 0 0 var(--hh-spacing-md) 0 !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--hh-green-dark) !important;
}

.woocommerce ul.products li.product .price del {
    color: var(--hh-gray-400) !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--hh-pink) !important;
    font-weight: 700 !important;
}

/* Botão Adicionar ao Carrinho */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: auto var(--hh-spacing-lg) var(--hh-spacing-lg) !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark)) !important;
    color: var(--hh-white) !important;
    border: none !important;
    border-radius: var(--hh-radius-full) !important;
    font-size: 0.813rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: var(--hh-transition) !important;
    cursor: pointer;
    width: calc(100% - var(--hh-spacing-lg) * 2);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green)) !important;
    box-shadow: 0 4px 15px rgba(107, 142, 35, 0.3) !important;
    transform: translateY(-1px);
}

.woocommerce ul.products li.product a.added_to_cart {
    display: block;
    text-align: center;
    padding: 0.4rem;
    font-size: 0.75rem;
    color: var(--hh-green);
    font-weight: 600;
}

/* ============================================
   PRODUTO INDIVIDUAL (Single Product)
   ============================================ */

/* Fallback: layout WC padrão (quando template customizado não carrega) */
.woocommerce div.product {
    padding: var(--hh-spacing-2xl) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Override: nosso template customizado cuida do layout */
.hh-single-product div.product,
.hh-single-product .woocommerce div.product,
body.hh-product-page div.product {
    display: block !important;
    padding: var(--hh-spacing-xl) 0 0;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .up-sells,
.woocommerce div.product .upsells,
.woocommerce div.product .woocommerce-breadcrumb {
    grid-column: 1 / -1;
}

/* Ocultar upsells e produtos relacionados na página de produto */
.woocommerce .up-sells,
.woocommerce .upsells,
.woocommerce section.up-sells,
.woocommerce .related.products,
.woocommerce section.related,
.hh-related-products {
    padding: var(--hh-spacing-3xl) 0;
    background: var(--hh-gray-50);
    border-top: 1px solid var(--hh-gray-200);
}

.hh-related-products__header {
    text-align: center;
    margin-bottom: var(--hh-spacing-2xl);
}

.hh-related-products__header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.hh-related-products__sub {
    color: var(--hh-gray-500);
    font-size: 1rem;
}

.hh-related-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.hh-related-card {
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    border: 1px solid var(--hh-gray-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: var(--hh-transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.hh-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--hh-green-light);
}

.hh-related-card__img {
    position: relative;
    background: var(--hh-gray-100);
}

.hh-related-card__img img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 12px;
}

.hh-related-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--hh-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--hh-radius-full);
}

.hh-related-card__info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.hh-related-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hh-gray-800);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hh-related-card__price {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.hh-related-card__old {
    font-size: 0.8rem;
    color: var(--hh-gray-400);
    text-decoration: line-through;
}

.hh-related-card__current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hh-green-dark);
}

.hh-related-card__current .woocommerce-Price-amount {
    font-weight: 700;
    color: var(--hh-green-dark);
}

.hh-related-card__btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

@media (max-width: 1024px) {
    .hh-related-products__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hh-related-products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hh-related-products__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .hh-related-card__img img { height: 130px; }
}

/* Grids de upsells/relacionados (funciona com ambos templates) */
.woocommerce .up-sells ul.products,
.woocommerce .upsells ul.products,
.woocommerce .related.products ul.products,
.woocommerce section.up-sells ul.products,
.woocommerce section.related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none;
    padding: 0;
    margin: 0;
    float: none !important;
    width: 100% !important;
}
.woocommerce .up-sells ul.products li.product,
.woocommerce .upsells ul.products li.product,
.woocommerce .related.products ul.products li.product,
.woocommerce section.up-sells ul.products li.product,
.woocommerce section.related ul.products li.product {
    width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--hh-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid var(--hh-gray-200);
    transition: var(--hh-transition);
}
.woocommerce .up-sells ul.products li.product:hover,
.woocommerce .related.products ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.woocommerce .up-sells ul.products li.product a img,
.woocommerce .related.products ul.products li.product a img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: var(--hh-gray-100);
    padding: 12px;
}
.woocommerce .up-sells ul.products li.product .woocommerce-loop-product__title,
.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--hh-gray-800);
    padding: 14px 16px 6px;
    line-height: 1.3;
}
.woocommerce .up-sells ul.products li.product .price,
.woocommerce .related.products ul.products li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--hh-green-dark);
    padding: 0 16px 8px;
    display: block;
}
.woocommerce .up-sells ul.products li.product .price del,
.woocommerce .related.products ul.products li.product .price del {
    font-size: 12px;
    color: var(--hh-gray-500);
    font-weight: 400;
}
.woocommerce .up-sells ul.products li.product .price ins,
.woocommerce .related.products ul.products li.product .price ins {
    text-decoration: none;
    color: var(--hh-pink);
}
.woocommerce .up-sells ul.products li.product .button,
.woocommerce .up-sells ul.products li.product .added_to_cart,
.woocommerce .related.products ul.products li.product .button,
.woocommerce .related.products ul.products li.product .added_to_cart {
    display: block;
    width: calc(100% - 32px);
    margin: 4px 16px 16px;
    padding: 9px;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: #fff !important;
    border: none;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.woocommerce .up-sells ul.products li.product .button:hover,
.woocommerce .related.products ul.products li.product .button:hover {
    box-shadow: 0 4px 12px rgba(107,142,35,0.3);
}

/* Sale badge nos cards */
.woocommerce .up-sells ul.products li.product .onsale,
.woocommerce .related.products ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--hh-pink), var(--hh-pink-dark));
    color: #fff;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    min-width: auto;
    min-height: auto;
    line-height: 1.5;
}

/* Títulos das seções */
.woocommerce .up-sells > h2,
.woocommerce .related.products > h2,
.woocommerce section.up-sells > h2,
.woocommerce section.related > h2 {
    font-family: var(--hh-font-heading);
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--hh-gray-900);
}

/* Responsivo upsells/relacionados */
@media (max-width: 768px) {
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .woocommerce .up-sells ul.products,
    .woocommerce .related.products ul.products,
    .woocommerce section.up-sells ul.products,
    .woocommerce section.related ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.woocommerce div.product div.images {
    background: var(--hh-gray-100);
    border-radius: var(--hh-radius-lg);
    padding: var(--hh-spacing-xl);
    overflow: hidden;
    width: 100%;
}

.woocommerce div.product div.images,
.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    float: none !important;
    width: 100% !important;
}

.woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 80px;
    height: 80px;
    border-radius: var(--hh-radius-sm);
    overflow: hidden;
    border: 2px solid var(--hh-gray-200);
    cursor: pointer;
    transition: var(--hh-transition);
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woocommerce div.product div.images .flex-control-thumbs li:hover,
.woocommerce div.product div.images .flex-control-thumbs li .flex-active {
    border-color: var(--hh-green);
}

.woocommerce div.product div.images img {
    border-radius: var(--hh-radius-md);
}

.woocommerce div.product .product_title {
    font-family: var(--hh-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hh-gray-900);
    margin-bottom: var(--hh-spacing-md);
}

.woocommerce div.product p.price {
    font-size: 1.5rem;
    color: var(--hh-green-dark);
    font-weight: 700;
    margin-bottom: var(--hh-spacing-xl);
}

.woocommerce div.product p.price del {
    color: var(--hh-gray-400);
    font-size: 1.125rem;
}

.woocommerce div.product p.price ins {
    text-decoration: none;
    color: var(--hh-pink);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--hh-gray-600);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--hh-spacing-xl);
}

/* Botão comprar no produto individual */
.woocommerce div.product form.cart .button,
.woocommerce .single_add_to_cart_button {
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark)) !important;
    color: var(--hh-white) !important;
    border: none !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 1rem 2.5rem !important;
    font-size: 0.938rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: var(--hh-transition) !important;
    cursor: pointer;
}

.woocommerce div.product form.cart .button:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green)) !important;
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.35) !important;
    transform: translateY(-2px);
}

/* Quantidade */
.woocommerce div.product form.cart .quantity input[type="number"] {
    border: 2px solid var(--hh-gray-300);
    border-radius: var(--hh-radius-sm);
    padding: 0.75rem;
    font-size: 1rem;
    width: 80px;
    text-align: center;
}

/* Abas do produto */
.woocommerce div.product .woocommerce-tabs {
    margin-top: var(--hh-spacing-2xl);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 var(--hh-spacing-xl) 0;
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid var(--hh-gray-200);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--hh-gray-500);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--hh-transition);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--hh-green);
    border-bottom-color: var(--hh-green);
}

/* ============================================
   CARRINHO (Cart Page) - Estilização completa
   ============================================ */

/* Layout geral do carrinho */
.woocommerce-cart .woocommerce {
    max-width: 100%;
}

.woocommerce-cart .hh-container {
    max-width: var(--hh-container-width);
}

/* Tabela do carrinho */
.woocommerce table.shop_table {
    border: none !important;
    border-radius: var(--hh-radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--hh-shadow-sm);
    border-collapse: collapse !important;
    width: 100%;
    background: var(--hh-white);
}

.woocommerce table.shop_table thead {
    background: var(--hh-gray-100);
}

.woocommerce table.shop_table th {
    padding: 1rem 1.5rem !important;
    font-weight: 700;
    color: var(--hh-gray-700);
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none !important;
    font-family: var(--hh-font-primary);
}

.woocommerce table.shop_table td {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid var(--hh-gray-100) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle;
    font-family: var(--hh-font-primary);
}

.woocommerce table.shop_table td.actions {
    padding: 1.5rem !important;
    background: var(--hh-gray-100);
    border-bottom: none !important;
}

/* Imagem do produto no carrinho */
.woocommerce table.shop_table img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--hh-radius-md);
    background: var(--hh-gray-100);
    border: 1px solid var(--hh-gray-200);
}

/* Nome do produto no carrinho */
.woocommerce table.shop_table td.product-name a {
    color: var(--hh-gray-800);
    font-weight: 600;
    font-size: 0.938rem;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--hh-green);
}

/* Preço e subtotal */
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    font-weight: 700;
    color: var(--hh-gray-800);
    font-size: 0.938rem;
}

/* Quantidade no carrinho */
.woocommerce table.shop_table .quantity input[type="number"] {
    width: 60px;
    padding: 8px 6px;
    border: 2px solid var(--hh-gray-300);
    border-radius: var(--hh-radius-sm);
    text-align: center;
    font-size: 0.938rem;
    font-weight: 600;
    font-family: var(--hh-font-primary);
    transition: var(--hh-transition);
}

.woocommerce table.shop_table .quantity input[type="number"]:focus {
    border-color: var(--hh-green);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.15);
    outline: none;
}

/* Botão remover item */
.woocommerce a.remove {
    color: var(--hh-gray-400) !important;
    font-size: 1.5rem !important;
    font-weight: 400;
    width: 28px;
    height: 28px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--hh-transition);
}

.woocommerce a.remove:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* Campo cupom no carrinho */
.woocommerce .cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woocommerce .cart .coupon input[type="text"] {
    border: 2px solid var(--hh-gray-300) !important;
    border-radius: var(--hh-radius-sm) !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.875rem;
    min-width: 180px;
    font-family: var(--hh-font-primary);
    transition: var(--hh-transition);
}

.woocommerce .cart .coupon input[type="text"]:focus {
    border-color: var(--hh-green) !important;
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.15);
    outline: none;
}

.woocommerce .cart .coupon button {
    background: var(--hh-gray-800) !important;
    color: var(--hh-white) !important;
    border: none !important;
    border-radius: var(--hh-radius-sm) !important;
    padding: 0.65rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.813rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--hh-transition);
}

.woocommerce .cart .coupon button:hover {
    background: var(--hh-gray-700) !important;
}

/* Botão Atualizar Carrinho */
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
    background: var(--hh-gray-200) !important;
    color: var(--hh-gray-700) !important;
    border: 2px solid var(--hh-gray-300) !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 0.65rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 0.813rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--hh-transition) !important;
}

.woocommerce button[name="update_cart"]:hover,
.woocommerce input[name="update_cart"]:hover {
    background: var(--hh-gray-300) !important;
    border-color: var(--hh-gray-400) !important;
}

/* Totais do carrinho */
.woocommerce .cart_totals {
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    padding: var(--hh-spacing-xl);
    box-shadow: var(--hh-shadow-sm);
    border: 1px solid var(--hh-gray-200);
}

.woocommerce .cart_totals h2 {
    font-family: var(--hh-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hh-gray-900);
    margin-bottom: var(--hh-spacing-lg);
    padding-bottom: var(--hh-spacing-sm);
    border-bottom: 2px solid var(--hh-gray-100);
}

.woocommerce .cart_totals table {
    border: none !important;
}

.woocommerce .cart_totals table th {
    font-weight: 600;
    color: var(--hh-gray-600);
    font-size: 0.875rem;
    padding: 0.75rem 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--hh-gray-100) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce .cart_totals table td {
    font-weight: 600;
    color: var(--hh-gray-800);
    font-size: 0.938rem;
    padding: 0.75rem 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--hh-gray-100) !important;
    text-align: right;
}

.woocommerce .cart_totals table tr.order-total th,
.woocommerce .cart_totals table tr.order-total td {
    font-size: 1.125rem;
    font-weight: 800;
    border-bottom: none !important;
    padding-top: 1rem !important;
    border-top: 2px solid var(--hh-gray-200) !important;
}

.woocommerce .cart_totals table tr.order-total td .woocommerce-Price-amount {
    color: var(--hh-green);
    font-size: 1.375rem;
}

/* Botão Finalizar Compra */
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    text-align: center;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark)) !important;
    color: var(--hh-white) !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 1rem 2rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: var(--hh-transition) !important;
    text-decoration: none !important;
    margin-top: var(--hh-spacing-md);
}

.woocommerce a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green)) !important;
    box-shadow: 0 6px 25px rgba(107, 142, 35, 0.4) !important;
    transform: translateY(-1px);
}

/* Link "Continuar comprando" */
.woocommerce .return-to-shop a.button {
    background: var(--hh-green) !important;
    color: var(--hh-white) !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 0.875rem 2rem !important;
    font-weight: 700 !important;
}

/* Carrinho vazio */
.woocommerce .cart-empty {
    text-align: center;
    font-size: 1.125rem;
    color: var(--hh-gray-600);
    padding: var(--hh-spacing-2xl) 0;
}

/* Cross-sells */
.woocommerce .cross-sells {
    margin-top: var(--hh-spacing-2xl);
}

.woocommerce .cross-sells h2 {
    font-family: var(--hh-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--hh-spacing-lg);
}

/* ============================================
   CART PAGE
   ============================================ */
.hh-cart-page {
    padding: var(--hh-spacing-2xl) 0 var(--hh-spacing-3xl);
    background: var(--hh-gray-50);
    min-height: 60vh;
}

/* Empty cart */
.hh-cart-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--hh-white);
    border-radius: var(--hh-radius-xl);
    box-shadow: var(--hh-shadow-sm);
    max-width: 480px;
    margin: 0 auto;
}
.hh-cart-empty__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto var(--hh-spacing-lg);
}
.hh-cart-empty__icon svg { width: 100%; height: 100%; }
.hh-cart-empty h2 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--hh-gray-800); }
.hh-cart-empty p { color: var(--hh-gray-500); margin-bottom: var(--hh-spacing-xl); }

/* Layout 2 colunas */
.hh-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--hh-spacing-xl);
    align-items: flex-start;
}

/* Coluna itens */
.hh-cart-items {
    background: var(--hh-white);
    border-radius: var(--hh-radius-xl);
    box-shadow: var(--hh-shadow-sm);
    padding: var(--hh-spacing-xl);
}
.hh-cart-items__header { margin-bottom: var(--hh-spacing-lg); }
.hh-cart-items__title {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hh-cart-items__badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--hh-green-lightest);
    color: var(--hh-green-dark);
    padding: 3px 10px;
    border-radius: var(--hh-radius-full);
}

/* Produto no carrinho */
.hh-cart-product {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-md);
    padding: var(--hh-spacing-md) 0;
    border-bottom: 1px solid var(--hh-gray-100);
}
.hh-cart-product:last-child { border-bottom: none; }

.hh-cart-product__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--hh-radius-md);
    overflow: hidden;
    background: var(--hh-gray-50);
    border: 1px solid var(--hh-gray-100);
}
.hh-cart-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hh-cart-product__info { flex: 1; min-width: 0; }
.hh-cart-product__name a {
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--hh-gray-800);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.3;
}
.hh-cart-product__name a:hover { color: var(--hh-green); }
.hh-cart-product__qty-wrap .quantity { display: flex; align-items: center; gap: 8px; }
.hh-cart-product__qty-wrap .quantity input {
    width: 56px;
    height: 34px;
    text-align: center;
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}
.hh-cart-product__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hh-cart-product__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hh-green-dark);
    white-space: nowrap;
}
.hh-cart-product__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hh-gray-100);
    color: var(--hh-gray-400);
    transition: var(--hh-transition);
    text-decoration: none;
}
.hh-cart-product__remove:hover { background: #fee2e2; color: #dc2626; }

/* Cupom + Atualizar */
.hh-cart-actions {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-md);
    margin-top: var(--hh-spacing-lg);
    padding-top: var(--hh-spacing-lg);
    border-top: 1px solid var(--hh-gray-100);
    flex-wrap: wrap;
}
.hh-cart-coupon { display: flex; gap: 8px; flex: 1; }
.hh-cart-coupon .hh-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-full);
    font-size: 0.875rem;
    outline: none;
    transition: var(--hh-transition);
    min-width: 0;
}
.hh-cart-coupon .hh-input:focus { border-color: var(--hh-green); box-shadow: 0 0 0 3px rgba(74,169,78,0.12); }
.hh-btn-ghost {
    background: none;
    border: 1px solid var(--hh-gray-200);
    color: var(--hh-gray-500);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.813rem;
}
.hh-btn-ghost:hover { border-color: var(--hh-gray-400); color: var(--hh-gray-700); background: var(--hh-gray-50); }

/* Link continuar */
.hh-cart-continue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--hh-spacing-lg);
    font-size: 0.875rem;
    color: var(--hh-gray-500);
    text-decoration: none;
    transition: var(--hh-transition);
}
.hh-cart-continue:hover { color: var(--hh-green); }

/* Coluna resumo */
.hh-cart-summary__box {
    background: var(--hh-white);
    border-radius: var(--hh-radius-xl);
    box-shadow: var(--hh-shadow-sm);
    padding: var(--hh-spacing-xl);
    position: sticky;
    top: 100px;
}
.hh-cart-summary__title {
    font-size: 1.1rem;
    margin-bottom: var(--hh-spacing-lg);
    padding-bottom: var(--hh-spacing-md);
    border-bottom: 1px solid var(--hh-gray-100);
}

/* WooCommerce cart totals override */
.hh-cart-totals .cart_totals h2 { display: none; }
.hh-cart-totals table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: var(--hh-spacing-lg);
}
.hh-cart-totals table.shop_table th,
.hh-cart-totals table.shop_table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--hh-gray-100);
    text-align: left;
}
.hh-cart-totals table.shop_table .order-total td,
.hh-cart-totals table.shop_table .order-total th {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hh-green-dark);
    border-bottom: none;
}
.hh-cart-totals .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    background: var(--hh-green);
    color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: var(--hh-radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--hh-transition);
    border: none;
    cursor: pointer;
}
.hh-cart-totals .wc-proceed-to-checkout .checkout-button:hover { background: var(--hh-green-dark); }

/* Selos */
.hh-cart-trust {
    margin-top: var(--hh-spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hh-cart-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    color: var(--hh-gray-500);
}

/* Mobile */
@media (max-width: 768px) {
    .hh-cart-page { padding: var(--hh-spacing-lg) 0; }
    .hh-cart-layout { grid-template-columns: 1fr; }
    .hh-cart-items { padding: var(--hh-spacing-md); overflow: hidden; }
    .hh-cart-product {
        gap: 10px;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .hh-cart-product__image { width: 56px; height: 56px; flex-shrink: 0; }
    .hh-cart-product__info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    .hh-cart-product__name a {
        font-size: 0.813rem;
        word-break: break-word;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .hh-cart-product__actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 6px;
    }
    .hh-cart-product__price { font-size: 0.938rem; }
    .hh-cart-product__qty-wrap .quantity input { width: 44px; height: 30px; font-size: 0.813rem; }
    .hh-cart-summary__box { position: static; padding: var(--hh-spacing-md); }
    .hh-cart-actions { flex-direction: column; gap: 8px; }
    .hh-cart-coupon { width: 100%; flex-direction: column; }
    .hh-cart-coupon .hh-input { width: 100%; }
    .hh-cart-items__title { font-size: 1rem; }
}

/* ============================================
   CHECKOUT - WooCommerce Blocks Styling
   ============================================ */

/* Progress Steps (injected via PHP) */
.hh-checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 0 8px;
    max-width: 600px;
    margin: 0 auto;
}

.hh-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--hh-gray-500);
    font-weight: 500;
    text-decoration: none;
}

.hh-step.active {
    color: var(--hh-green);
    font-weight: 700;
}

.hh-step.completed {
    color: var(--hh-green);
}

.hh-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.813rem;
    background: var(--hh-gray-200);
    color: var(--hh-gray-600);
    flex-shrink: 0;
}

.hh-step.active .hh-step-num {
    background: var(--hh-green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(107,142,35,0.3);
}

.hh-step.completed .hh-step-num {
    background: var(--hh-green);
    color: #fff;
}

.hh-step-line {
    width: 60px;
    height: 2px;
    background: var(--hh-gray-300);
    margin: 0 12px;
}

.hh-step-line.active {
    background: var(--hh-green);
}

/* Secure Banner */
.hh-secure-banner {
    text-align: center;
    padding: 8px 0 24px;
    font-size: 0.75rem;
    color: var(--hh-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hh-secure-banner svg {
    color: var(--hh-green);
}

/* Trust Badges (injected below sidebar) */
.hh-checkout-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding-top: 16px;
}

.hh-trust-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.688rem;
    color: var(--hh-gray-500);
    font-weight: 500;
}

.hh-trust-mini svg {
    width: 16px;
    height: 16px;
    color: var(--hh-green);
}

/* Hide default page title on checkout */
.wc-block-checkout .wp-block-heading,
body.woocommerce-checkout article > .entry-title {
    display: none;
}

/* ---- WC Blocks Checkout Layout ---- */

/* Main layout wrapper - força grid 2 colunas (form + sidebar) */
.wc-block-checkout .wc-block-components-sidebar-layout {
    max-width: 1240px !important;
    margin: 0 auto !important;
    gap: 32px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    align-items: start !important;
}

@media (max-width: 991px) {
    .wc-block-checkout .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Main area (left column) */
.wc-block-checkout .wc-block-components-main {
    padding-right: 0 !important;
    grid-column: 1 !important;
    min-width: 0;
    width: 100% !important;
}

/* Sidebar (right column) - sempre 2ª coluna, largura total */
.wc-block-checkout .wc-block-components-sidebar {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
}

@media (max-width: 991px) {
    .wc-block-checkout .wc-block-components-main,
    .wc-block-checkout .wc-block-components-sidebar {
        grid-column: 1 !important;
    }
}

/* Trust badges - não devem virar 3ª coluna do grid */
.wc-block-checkout .hh-checkout-trust {
    grid-column: 2 !important;
    margin-top: 16px;
}

/* Each checkout step = panel card */
.wc-block-checkout .wc-block-components-checkout-step {
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    padding: 28px 32px !important;
    border: 1px solid var(--hh-gray-200);
    margin-bottom: 24px !important;
}

/* Step titles */
.wc-block-checkout .wc-block-components-checkout-step__title {
    font-family: var(--hh-font-heading) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--hh-gray-900) !important;
}

/* Step heading container */
.wc-block-checkout .wc-block-components-checkout-step__heading-container {
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid var(--hh-gray-100) !important;
}

/* Text inputs */
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input textarea,
.wc-block-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
    border: 2px solid var(--hh-gray-300) !important;
    border-radius: var(--hh-radius-sm) !important;
    font-family: var(--hh-font-primary) !important;
    font-size: 0.875rem !important;
    color: var(--hh-gray-800) !important;
    transition: var(--hh-transition) !important;
}

.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-text-input textarea:focus {
    border-color: var(--hh-green) !important;
    box-shadow: 0 0 0 3px rgba(107,142,35,0.15) !important;
    outline: none !important;
}

/* Labels */
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-blocks-components-select__label {
    font-size: 0.75rem !important;
    color: var(--hh-gray-600) !important;
    font-family: var(--hh-font-primary) !important;
}

/* Checkbox styling */
.wc-block-checkout .wc-block-components-checkbox__input:checked,
.wc-block-checkout .wc-block-components-checkbox__input[type="checkbox"]:checked {
    accent-color: var(--hh-green) !important;
}

/* ---- Sidebar (Order Review) ---- */

.wc-block-checkout .wc-block-components-sidebar {
    padding-left: 0 !important;
}

.wc-block-checkout .wc-block-components-sidebar .wc-block-checkout__sidebar {
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    padding: 24px !important;
    border: 2px solid var(--hh-green-lightest);
    position: sticky;
    top: 100px;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* Itens do resumo: imagem menor e nome com quebra natural */
.wc-block-checkout .wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: 56px 1fr auto !important;
    gap: 12px !important;
    align-items: start !important;
}

.wc-block-checkout .wc-block-components-order-summary-item__image {
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0;
}

.wc-block-checkout .wc-block-components-order-summary-item__description {
    min-width: 0 !important;
}

.wc-block-checkout .wc-block-components-product-name {
    font-weight: 600 !important;
    color: var(--hh-gray-800) !important;
    font-size: 0.875rem !important;
    line-height: 1.35 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    display: block;
}

.wc-block-checkout .wc-block-components-order-summary-item__total-price,
.wc-block-checkout .wc-block-components-order-summary-item__individual-prices {
    white-space: nowrap;
    font-weight: 700 !important;
    color: var(--hh-green-dark) !important;
    font-size: 0.875rem !important;
}

/* Linha de totais (Subtotal, Frete, Total) — label + valor lado a lado
   IMPORTANTE: WC Blocks renderiza com layout próprio que precisa ser
   sobrescrito com alta especificidade */
body .wc-block-checkout .wc-block-components-totals-item,
body .wc-block-checkout div.wc-block-components-totals-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 16px !important;
    padding: 8px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body .wc-block-checkout .wc-block-components-totals-item > .wc-block-components-totals-item__label,
body .wc-block-checkout .wc-block-components-totals-item .wc-block-components-totals-item__label {
    display: inline-block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 16px 0 0 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

body .wc-block-checkout .wc-block-components-totals-item > .wc-block-components-totals-item__value,
body .wc-block-checkout .wc-block-components-totals-item .wc-block-components-totals-item__value {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    text-align: right !important;
}

body .wc-block-checkout .wc-block-components-totals-item .wc-block-components-totals-item__description {
    flex-basis: 100% !important;
    width: 100% !important;
}

/* Frete: o label "Jadlog Package…" é grande, deixa em 2 linhas se precisar */
.wc-block-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item {
    align-items: flex-start !important;
}

/* Order summary toggle/title */
.wc-block-checkout .wc-block-components-order-summary .wc-block-components-panel__button {
    font-family: var(--hh-font-heading) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--hh-gray-900) !important;
}

/* Order summary items */
.wc-block-checkout .wc-block-components-order-summary-item {
    padding: 14px 0 !important;
}

.wc-block-checkout .wc-block-components-order-summary-item__description {
    font-family: var(--hh-font-primary) !important;
}

.wc-block-checkout .wc-block-components-product-name {
    font-weight: 600 !important;
    color: var(--hh-gray-800) !important;
    font-size: 0.875rem !important;
}

/* Item quantity badge */
.wc-block-checkout .wc-block-components-order-summary-item__quantity {
    background: var(--hh-green) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Item image */
.wc-block-checkout .wc-block-components-order-summary-item__image {
    border-radius: var(--hh-radius-sm) !important;
    background: var(--hh-gray-100);
    overflow: hidden;
}

/* Totals */
.wc-block-checkout .wc-block-components-totals-item__label {
    font-family: var(--hh-font-primary) !important;
    color: var(--hh-gray-600) !important;
}

.wc-block-checkout .wc-block-components-totals-item__value {
    font-family: var(--hh-font-primary) !important;
    font-weight: 600 !important;
    color: var(--hh-gray-900) !important;
}

/* Footer total */
.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: var(--hh-gray-900) !important;
}

.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.375rem !important;
    font-weight: 800 !important;
    color: var(--hh-green) !important;
}

/* Coupon panel */
.wc-block-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
    color: var(--hh-gray-700) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
}

/* Coupon input */
.wc-block-checkout .wc-block-components-totals-coupon__content .wc-block-components-text-input input {
    border: 2px solid var(--hh-gray-300) !important;
    border-radius: var(--hh-radius-sm) !important;
}

.wc-block-checkout .wc-block-components-totals-coupon__content button {
    background: var(--hh-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--hh-radius-sm) !important;
    font-weight: 600 !important;
}

/* ---- Payment Methods ---- */

.wc-block-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step {
    background: var(--hh-white);
}

.wc-block-checkout .wc-block-components-radio-control__option {
    border: 2px solid var(--hh-gray-200) !important;
    border-radius: var(--hh-radius-md) !important;
    margin-bottom: 12px !important;
    /* padding-left maior para abrir espaço pro radio absoluto */
    padding: 16px 20px 16px 52px !important;
    background: #fff !important;
    transition: var(--hh-transition);
    position: relative !important;
    display: block !important;
    min-height: 56px;
}

.wc-block-checkout .wc-block-components-radio-control__option--checked {
    border-color: var(--hh-green) !important;
    background: var(--hh-green-lightest) !important;
}

.wc-block-checkout .wc-block-components-radio-control__input:checked {
    accent-color: var(--hh-green) !important;
}

/* Radio: posicionar absoluto para nunca sobrepor o texto */
.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
.wc-block-checkout .wc-block-components-radio-control__option input[type="radio"] {
    position: absolute !important;
    left: 18px !important;
    top: 22px !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    accent-color: var(--hh-green) !important;
    cursor: pointer;
    z-index: 1;
}

/* Label do radio: ocupa toda a largura, sem indent extra */
.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__label,
.wc-block-checkout .wc-block-components-radio-control__option > label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin: 0 !important;
    font-size: 0.938rem !important;
    font-weight: 500 !important;
    color: var(--hh-gray-800) !important;
    line-height: 1.4 !important;
    cursor: pointer;
}

/* Descrição secundária do método (texto debaixo do título) */
.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__description,
.wc-block-checkout .wc-block-components-radio-control__option-layout {
    width: 100% !important;
    padding-left: 0 !important;
}

.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__description {
    margin-top: 6px !important;
    font-size: 0.813rem !important;
    color: var(--hh-gray-600) !important;
    font-weight: 400 !important;
}

/* Preço do método de entrega à direita */
.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout .wc-block-components-radio-control__secondary-label,
.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-formatted-money-amount,
.wc-block-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__option-layout span:last-child {
    font-weight: 700 !important;
    color: var(--hh-green-dark) !important;
    white-space: nowrap;
    margin-left: auto;
}

/* Esconder o radio "nativo" decorativo extra que alguns blocks renderizam (círculo dentro do label) */
.wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout::before {
    display: none !important;
}

/* Caixa de descrição do payment_box (Pix etc.) — texto que aparecia "vazio" */
.wc-block-checkout .wc-block-components-radio-control-accordion-content {
    padding: 12px 14px !important;
    margin: 12px 0 0 !important;
    background: rgba(255,255,255,0.7) !important;
    border: 1px solid var(--hh-gray-200) !important;
    border-radius: var(--hh-radius-sm) !important;
    font-size: 0.875rem !important;
    color: var(--hh-gray-700) !important;
    line-height: 1.5 !important;
}

/* Mobile */
@media (max-width: 600px) {
    .wc-block-checkout .wc-block-components-radio-control__option {
        padding: 14px 16px 14px 46px !important;
    }
    .wc-block-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
    .wc-block-checkout .wc-block-components-radio-control__option input[type="radio"] {
        left: 14px !important;
        top: 18px !important;
    }
}

/* ---- Place Order Button ---- */

.wc-block-checkout .wc-block-components-checkout-place-order-button {
    width: 100% !important;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: var(--hh-transition) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 8px !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green)) !important;
    box-shadow: 0 8px 25px rgba(107,142,35,0.4) !important;
    transform: translateY(-1px);
}

/* Return to cart link */
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
    color: var(--hh-gray-600) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
}

.wc-block-checkout .wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--hh-green) !important;
}

/* Actions row */
.wc-block-checkout .wc-block-checkout__actions_row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: row-reverse;
}

/* Terms text */
.wc-block-checkout .wc-block-checkout__terms {
    font-size: 0.75rem !important;
    color: var(--hh-gray-500) !important;
}

/* Notice banners */
.wc-block-checkout .wc-block-components-notice-banner {
    border-radius: var(--hh-radius-md) !important;
    font-family: var(--hh-font-primary) !important;
}

/* ---- Responsive Checkout (Blocks) ---- */
@media (max-width: 768px) {
    .wc-block-checkout .wc-block-components-sidebar-layout {
        gap: 24px !important;
    }

    .wc-block-checkout .wc-block-components-checkout-step {
        padding: 20px !important;
    }

    .wc-block-checkout .wc-block-components-sidebar .wc-block-checkout__sidebar {
        padding: 20px !important;
        position: static;
    }

    .hh-checkout-progress {
        padding: 24px 16px 8px;
    }

    .hh-step span:not(.hh-step-num) {
        font-size: 0.75rem;
    }

    .hh-step-line {
        width: 30px;
        margin: 0 6px;
    }

    .hh-checkout-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ---- Fallback: Classic WC Checkout ---- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    font-family: var(--hh-font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--hh-spacing-lg);
    padding-bottom: var(--hh-spacing-sm);
    border-bottom: 2px solid var(--hh-gray-200);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 2px solid var(--hh-gray-300) !important;
    border-radius: var(--hh-radius-sm) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.938rem !important;
    transition: var(--hh-transition) !important;
    font-family: var(--hh-font-primary);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--hh-green) !important;
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.15) !important;
    outline: none;
}

.woocommerce #place_order {
    width: 100% !important;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: var(--hh-transition) !important;
}

.woocommerce #place_order:hover {
    background: linear-gradient(135deg, var(--hh-green-light), var(--hh-green)) !important;
    box-shadow: 0 8px 25px rgba(107,142,35,0.4) !important;
}


/* ============================================
   MENSAGENS WooCommerce
   ============================================ */
.woocommerce-message {
    border-top-color: var(--hh-green) !important;
    background: var(--hh-green-lightest) !important;
    border-radius: var(--hh-radius-md);
}

.woocommerce-message::before {
    color: var(--hh-green) !important;
}

.woocommerce-info {
    border-top-color: var(--hh-purple) !important;
    border-radius: var(--hh-radius-md);
}

.woocommerce-error {
    border-radius: var(--hh-radius-md);
}

.woocommerce-message a.button,
.woocommerce-info a.button {
    background: var(--hh-green) !important;
    color: var(--hh-white) !important;
    border-radius: var(--hh-radius-full) !important;
}

/* ============================================
   PAGINAÇÃO
   ============================================ */
.woocommerce nav.woocommerce-pagination {
    margin-top: var(--hh-spacing-2xl);
}

.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 0.625rem 1rem !important;
    border: 2px solid var(--hh-gray-300) !important;
    border-radius: var(--hh-radius-sm) !important;
    color: var(--hh-gray-600) !important;
    background: var(--hh-white) !important;
    font-weight: 600 !important;
    transition: var(--hh-transition) !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: var(--hh-green) !important;
    color: var(--hh-green) !important;
    background: var(--hh-green-lightest) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--hh-green) !important;
    border-color: var(--hh-green) !important;
    color: var(--hh-white) !important;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.woocommerce .woocommerce-breadcrumb {
    font-size: 0.813rem;
    color: var(--hh-gray-500);
    padding: var(--hh-spacing-md) 0;
    margin-bottom: var(--hh-spacing-lg);
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--hh-green);
    font-weight: 500;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: var(--hh-green-dark);
    text-decoration: underline;
}

/* ============================================
   SIDEBAR / WIDGETS
   ============================================ */
.hh-sidebar .widget {
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    padding: var(--hh-spacing-xl);
    margin-bottom: var(--hh-spacing-xl);
    box-shadow: var(--hh-shadow-sm);
}

.hh-sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--hh-spacing-md);
    padding-bottom: var(--hh-spacing-sm);
    border-bottom: 2px solid var(--hh-green-lightest);
    color: var(--hh-gray-800);
}

.hh-sidebar .widget_product_categories ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--hh-gray-100);
}

.hh-sidebar .widget_product_categories ul li a {
    color: var(--hh-gray-600);
    font-weight: 500;
    font-size: 0.875rem;
}

.hh-sidebar .widget_product_categories ul li a:hover {
    color: var(--hh-green);
    padding-left: 0.5rem;
}

.hh-sidebar .widget_price_filter .price_slider_wrapper .ui-slider {
    background: var(--hh-gray-200);
}

.hh-sidebar .widget_price_filter .price_slider_wrapper .ui-slider .ui-slider-range {
    background: var(--hh-green);
}

/* ============================================
   CTA / NEWSLETTER
   ============================================ */
.hh-cta {
    background: linear-gradient(135deg, var(--hh-green-dark) 0%, var(--hh-green) 55%, var(--hh-purple) 100%);
    padding: var(--hh-spacing-3xl) 0;
    color: var(--hh-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hh-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hh-cta h2 {
    color: var(--hh-white);
    margin-bottom: var(--hh-spacing-md);
}

.hh-cta p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto var(--hh-spacing-xl);
}

.hh-newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--hh-spacing-sm);
}

.hh-newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--hh-radius-full);
    background: rgba(255,255,255,0.15);
    color: var(--hh-white);
    font-size: 0.938rem;
    outline: none;
    transition: var(--hh-transition);
}

.hh-newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.7);
}

.hh-newsletter-form input[type="email"]:focus {
    border-color: var(--hh-white);
    background: rgba(255,255,255,0.25);
}

.hh-newsletter-form button {
    background: var(--hh-white);
    color: var(--hh-green-dark);
    border: none;
    border-radius: var(--hh-radius-full);
    padding: 0.875rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--hh-transition);
}

.hh-newsletter-form button:hover {
    background: var(--hh-pink-lightest);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.hh-footer {
    background: var(--hh-gray-900);
    color: var(--hh-gray-400);
    padding: var(--hh-spacing-3xl) 0 0;
}

.hh-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: var(--hh-spacing-2xl);
    margin-bottom: var(--hh-spacing-2xl);
}

.hh-footer__brand p {
    margin-top: var(--hh-spacing-md);
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--hh-gray-500);
}

.hh-footer__brand .hh-logo img {
    max-height: 50px;
    filter: brightness(10);
}

.hh-footer h4 {
    color: var(--hh-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--hh-spacing-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hh-footer__links li {
    margin-bottom: 0.625rem;
}

.hh-footer__links li a {
    color: var(--hh-gray-400);
    font-size: 0.875rem;
    transition: var(--hh-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hh-footer__links li a:hover {
    color: var(--hh-green-light);
    padding-left: 0.25rem;
}

.hh-footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.hh-footer__social {
    display: flex;
    gap: var(--hh-spacing-sm);
    margin-top: var(--hh-spacing-lg);
}

.hh-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hh-gray-400);
    transition: var(--hh-transition);
    font-size: 1.1rem;
}

.hh-footer__social a:hover {
    background: var(--hh-green);
    color: var(--hh-white);
    transform: translateY(-2px);
}

.hh-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--hh-spacing-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.813rem;
}

.hh-footer__bottom a {
    color: var(--hh-green-light);
}

/* WhatsApp Float */
.hh-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--hh-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--hh-transition);
}

.hh-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: var(--hh-white);
}

/* =========================================================
 * Vídeo — Botão Bolinha Flutuante + Modal
 * ========================================================= */

/* Botão bolinha */
/* =========================================================
 * Vídeo — Bubble com mini preview + Modal
 * ========================================================= */
.hh-video-bubble {
    position: fixed;
    bottom: 170px;
    right: 24px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid var(--hh-primary, #6B8E23);
    box-shadow: 0 4px 24px rgba(107,142,35,0.55);
    z-index: 9990;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s;
    pointer-events: none;
    background: #000;
    padding: 0;
}
.hh-video-bubble--visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}
.hh-video-bubble:hover {
    box-shadow: 0 6px 32px rgba(107,142,35,0.75);
    transform: scale(1.07);
}

/* Mini vídeo dentro da bolinha */
.hh-video-bubble__preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.hh-video-bubble__preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay com ícone play */
.hh-video-bubble__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    gap: 4px;
}
.hh-video-bubble__play {
    width: 34px;
    height: 34px;
    background: var(--hh-primary, #6B8E23);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hh-pulse 2s infinite;
}
.hh-video-bubble__label {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    line-height: 1.2;
    text-align: center;
}

@keyframes hh-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(107,142,35,0.6); }
    50%       { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(107,142,35,0); }
}

/* Modal */
.hh-video-modal {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.hh-video-modal--open {
    display: flex !important;
}
.hh-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    animation: hh-fade-in 0.25s ease;
}
.hh-video-modal__content {
    position: relative;
    width: 90vw;
    max-width: 900px;
    z-index: 1;
    animation: hh-modal-pop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.hh-video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}
.hh-video-modal__close:hover {
    background: rgba(255,255,255,0.3);
}
.hh-video-modal__player {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.hh-video-modal__player iframe,
.hh-video-modal__player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes hh-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes hh-modal-pop {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .hh-video-modal__content { width: 95vw; }
}

/* Back to Top */
.hh-back-to-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--hh-green);
    color: var(--hh-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--hh-transition);
    z-index: 9998;
    box-shadow: var(--hh-shadow-md);
}

.hh-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.hh-back-to-top:hover {
    background: var(--hh-green-dark);
    transform: translateY(-3px);
}

/* ============================================
   MINI CART WIDGET
   ============================================ */
.widget_shopping_cart_content {
    padding: var(--hh-spacing-md);
}

.widget_shopping_cart_content .mini_cart_item {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-sm);
    padding: var(--hh-spacing-sm) 0;
    border-bottom: 1px solid var(--hh-gray-200);
}

.widget_shopping_cart_content .mini_cart_item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--hh-radius-sm);
}

/* ============================================
   RESULTADO DE ORDENAÇÃO
   ============================================ */
.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count {
    font-family: var(--hh-font-primary);
}

.woocommerce .woocommerce-ordering select {
    border: 2px solid var(--hh-gray-300);
    border-radius: var(--hh-radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    appearance: auto;
}

/* ============================================
   STAR RATING
   ============================================ */
.woocommerce .star-rating {
    color: #ffc107;
}

.woocommerce .star-rating::before {
    color: var(--hh-gray-300);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---------- TABLET (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
    .hh-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hh-shop-layout {
        grid-template-columns: 260px 1fr;
    }

    .woocommerce div.product {
        gap: 32px;
    }

    .hh-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--hh-spacing-xl);
    }

    .hh-hero .hh-container {
        flex-direction: column;
        text-align: center;
    }

    .hh-hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .hh-hero__actions {
        justify-content: center;
    }
}

/* ---------- MOBILE (max-width: 768px) ---------- */
@media (max-width: 768px) {
    :root {
        --hh-header-height: 64px;
    }

    body {
        font-size: 0.9375rem;
    }

    .hh-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }

    /* --- TOPBAR --- */
    .hh-topbar__info {
        display: none;
    }

    .hh-topbar {
        padding: 6px 0;
    }

    .hh-topbar .hh-container {
        justify-content: center;
    }

    .hh-topbar__social {
        gap: var(--hh-spacing-md);
    }

    /* --- HEADER --- */
    .hh-header .hh-container {
        gap: 12px;
    }

    .hh-header {
        z-index: 10002;
    }

    .hh-menu-toggle {
        display: flex;
        position: relative;
        z-index: 10;
    }

    .hh-header__ia-btn,
    .hh-ia-btn {
        display: none;
    }

    .hh-header__search {
        display: none;
    }

    .hh-header__account span {
        display: none;
    }

    .hh-logo img {
        max-height: 42px;
    }

    /* --- MOBILE NAV DRAWER --- */
    .hh-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--hh-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--hh-spacing-2xl) var(--hh-spacing-xl);
        box-shadow: var(--hh-shadow-xl);
        transition: var(--hh-transition);
        z-index: 10001;
        overflow-y: auto;
    }

    .hh-nav.active {
        left: 0;
    }

    .hh-nav__menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .hh-nav__menu li a {
        display: block;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--hh-gray-100);
        font-size: 1rem;
    }

    .hh-nav__menu li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--hh-spacing-md);
    }

    .hh-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 10000;
    }

    .hh-nav-overlay.active {
        display: block;
    }

    /* --- HERO --- */
    .hh-hero {
        padding: var(--hh-spacing-xl) 0;
        min-height: auto;
    }

    .hh-hero__title {
        font-size: 1.6rem;
    }

    .hh-hero__subtitle {
        font-size: 0.9rem;
    }

    .hh-hero__actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hh-hero__actions .hh-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hero carousel dots/arrows */
    .hh-hero-dots {
        bottom: 12px;
    }

    .hh-hero-arrow {
        width: 36px;
        height: 36px;
    }

    /* Hero carousel slide: padding extra embaixo pros dots */
    .hh-hero-slide {
        padding: var(--hh-spacing-xl) 0 calc(var(--hh-spacing-xl) + 40px);
        min-height: 420px;
        box-sizing: border-box;
        display: none;
    }
    .hh-hero-slide.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hh-hero-slide .hh-container {
        flex-direction: column;
    }

    .hh-hero__content {
        text-align: center;
    }

    .hh-hero__badge {
        margin-left: auto;
        margin-right: auto;
    }

    /* --- BENEFITS --- */
    .hh-benefits .hh-container {
        grid-template-columns: 1fr;
        gap: var(--hh-spacing-md);
    }

    .hh-benefit {
        padding: var(--hh-spacing-md);
    }

    /* --- CATEGORIES --- */
    .hh-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--hh-spacing-md);
    }

    /* Esconder seção "Navegue por Categorias" no mobile (sidebar tem filtros) */
    .hh-categories {
        display: block;
    }

    /* Carrossel de categorias mobile: cards menores */
    .hh-carousel__track .hh-category-card {
        flex: 0 0 110px;
        width: 110px;
        min-width: 110px;
    }

    /* Carrossel de ofertas mobile: 2 produtos por vez */
    .hh-carousel__track .hh-product-slide {
        flex: 0 0 calc(50vw - 28px);
        width: calc(50vw - 28px);
        min-width: calc(50vw - 28px);
    }

    /* Video bubble no mobile: bolinha pequena */
    .hh-video-bubble {
        width: 72px !important;
        height: 72px !important;
        bottom: 130px !important;
        right: 14px !important;
        border-width: 2px !important;
    }
    .hh-video-bubble__play {
        width: 26px;
        height: 26px;
    }
    .hh-video-bubble__play svg {
        width: 12px;
        height: 12px;
    }
    .hh-video-bubble__label {
        font-size: 0.52rem;
    }

    /* --- PRODUCT GRID --- */
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--hh-spacing-md) !important;
    }

    .woocommerce ul.products li.product .hh-product-card__name {
        font-size: 0.813rem;
    }

    .woocommerce ul.products li.product .hh-product-card__price {
        font-size: 0.875rem;
    }

    /* --- SHOP SIDEBAR (DRAWER) --- */
    .hh-shop-layout {
        grid-template-columns: 1fr;
    }

    .hh-shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        z-index: 10001;
        border-radius: 0;
        box-shadow: var(--hh-shadow-xl);
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .hh-shop-sidebar.active {
        left: 0;
    }

    .hh-shop-sidebar__close {
        display: block;
    }

    .hh-shop-sidebar__overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 10000;
        display: none;
    }

    .hh-shop-sidebar__overlay.active {
        display: block;
    }

    /* --- SHOP TOOLBAR --- */
    .hh-shop-search__btn {
        padding: 14px 20px;
        font-size: 0.75rem;
    }

    .hh-shop-toolbar {
        gap: var(--hh-spacing-sm);
        padding: var(--hh-spacing-sm) var(--hh-spacing-md);
        flex-wrap: wrap;
    }

    .hh-shop-view {
        display: none;
    }

    .hh-shop-products.view-list ul.products li.product {
        flex-direction: column !important;
    }

    .hh-shop-products.view-list ul.products li.product a img {
        width: 100%;
    }

    /* --- SINGLE PRODUCT (WooCommerce default) --- */
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 60px;
        height: 60px;
    }

    /* --- SINGLE PRODUCT (custom classes) --- */
    .hh-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hh-product-info__title {
        font-size: 22px;
    }

    .hh-product-info__price .current-price {
        font-size: 26px;
    }

    .hh-product-trust {
        grid-template-columns: 1fr;
    }

    .hh-product-gallery__thumb {
        width: 60px;
        height: 60px;
    }

    /* Tabs */
    .hh-product-tabs__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
    }

    .hh-product-tabs__nav button {
        padding: 10px 16px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .hh-product-tabs {
        padding: 32px 0;
    }

    /* WooCommerce default tabs */
    .woocommerce-tabs ul.tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 0;
        margin: 0 0 20px;
    }

    .woocommerce-tabs ul.tabs li {
        margin: 0;
    }

    .woocommerce-tabs ul.tabs li a {
        padding: 8px 14px;
        font-size: 0.813rem;
    }

    /* Related products */
    .hh-related-products h2,
    .related.products > h2,
    .up-sells > h2 {
        font-size: 1.125rem;
    }

    /* Product quantity buttons */
    .hh-product-qty button {
        width: 38px;
        height: 38px;
    }

    .hh-product-qty input {
        width: 42px;
        height: 38px;
    }

    .hh-product-add-btn {
        height: 44px;
        font-size: 0.813rem;
    }

    .hh-product-buy-now {
        height: 44px;
        font-size: 0.813rem;
    }

    /* WC default checkout fallback */
    .woocommerce-checkout #customer_details {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-checkout #customer_details .col-1,
    .woocommerce-checkout #customer_details .col-2 {
        width: 100%;
        float: none;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table {
        font-size: 0.875rem;
    }

    /* --- FOOTER --- */
    .hh-footer__grid {
        grid-template-columns: 1fr;
    }

    .hh-footer__bottom {
        flex-direction: column;
        gap: var(--hh-spacing-sm);
        text-align: center;
    }

    /* --- NEWSLETTER --- */
    .hh-newsletter-form {
        flex-direction: column;
    }

    .hh-newsletter-form input,
    .hh-newsletter-form button {
        width: 100%;
    }

    /* --- BREADCRUMB --- */
    .woocommerce-breadcrumb,
    .hh-product-breadcrumb {
        font-size: 0.75rem;
        padding: 12px 0;
    }

    /* --- 404 PAGE --- */
    .hh-404__title {
        font-size: 1.5rem;
    }

    .hh-404__icon {
        width: 80px;
        height: 80px;
    }

    /* --- MINI CART --- */
    .widget_shopping_cart_content {
        max-width: 100%;
    }

    /* --- WHATSApp & BACK TO TOP --- */
    .hh-whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
        font-size: 1.5rem;
    }

    .hh-back-to-top {
        width: 38px;
        height: 38px;
        bottom: 76px;
        right: 20px;
    }

    /* --- CART PAGE --- */
    .woocommerce-cart .woocommerce table.shop_table {
        font-size: 0.813rem;
    }

    .woocommerce-cart .woocommerce table.shop_table img {
        width: 50px;
        height: auto;
    }

    .woocommerce-cart .cart-collaterals {
        width: 100%;
        float: none;
    }

    /* --- MY ACCOUNT --- */
    .woocommerce-MyAccount-navigation {
        width: 100%;
        float: none;
        margin-bottom: var(--hh-spacing-lg);
    }

    .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }
}

/* ---------- SMALL MOBILE (max-width: 480px) ---------- */
@media (max-width: 480px) {
    .hh-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Shop search */
    .hh-shop-search__form {
        flex-direction: column;
        border-radius: var(--hh-radius-lg);
    }

    .hh-shop-search__input {
        padding: 12px 12px 12px 44px;
    }

    .hh-shop-search__icon {
        left: 14px;
    }

    .hh-shop-search__btn {
        width: 100%;
        border-radius: 0 0 var(--hh-radius-md) var(--hh-radius-md);
    }

    .hh-shop-toolbar__right {
        width: 100%;
        justify-content: flex-end;
    }

    .hh-shop-toolbar .woocommerce-ordering select {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    /* Product grid: 1 coluna */
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }

    .woocommerce ul.products li.product a img {
        height: 200px;
    }

    /* Categories */
    .hh-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--hh-spacing-md);
    }

    /* Hero */
    .hh-hero {
        padding: var(--hh-spacing-xl) 0;
    }

    .hh-hero__title {
        font-size: 1.3rem;
    }

    .hh-hero__subtitle {
        font-size: 0.813rem;
    }

    /* Product page */
    .hh-product-info__title {
        font-size: 1.125rem;
    }

    .hh-product-info__price .current-price {
        font-size: 22px;
    }

    .hh-product-info__price .old-price {
        font-size: 14px;
    }

    .hh-product-add-to-cart {
        flex-direction: column;
    }

    .hh-product-add-btn {
        width: 100%;
    }

    .hh-product-trust__item {
        padding: 10px;
    }

    /* Footer */
    .hh-footer {
        padding: var(--hh-spacing-xl) 0 var(--hh-spacing-md);
    }

    .hh-footer__bottom {
        font-size: 0.75rem;
    }

    /* Section titles */
    .hh-section-title {
        font-size: 1.25rem;
    }

    .hh-section-subtitle {
        font-size: 0.813rem;
    }
}

/* ============================================
   COMPATIBILIDADE COM ELEMENTOR
   ============================================ */
.elementor-page .hh-hero,
.elementor-page .hh-benefits,
.elementor-page .hh-categories,
.elementor-page .hh-cta {
    display: none;
}

.elementor-widget-woocommerce-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--hh-spacing-xl) !important;
}

/* ============================================
   LOADING / SKELETON
   ============================================ */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.hh-skeleton {
    background: linear-gradient(90deg, var(--hh-gray-200) 25%, var(--hh-gray-100) 50%, var(--hh-gray-200) 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--hh-radius-sm);
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--hh-green);
    outline-offset: 2px;
    border-radius: 2px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   ANIMAÇÕES DE ENTRADA
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hh-animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hh-animate-delay-1 { animation-delay: 0.1s; }
.hh-animate-delay-2 { animation-delay: 0.2s; }
.hh-animate-delay-3 { animation-delay: 0.3s; }
.hh-animate-delay-4 { animation-delay: 0.4s; }

/* ============================
   SINGLE PRODUCT PAGE
   ============================ */

/* Breadcrumb */
.hh-product-breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--hh-gray-500);
}
.hh-product-breadcrumb a {
    color: var(--hh-green);
    text-decoration: none;
}
.hh-product-breadcrumb a:hover {
    text-decoration: underline;
}

/* Layout grid: galeria + info */
.hh-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--hh-gray-200);
}

/* Galeria */
.hh-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hh-product-gallery__main {
    width: 100%;
    aspect-ratio: 1;
    background: var(--hh-gray-100);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.hh-product-gallery__main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.hh-product-gallery__main .onsale {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--hh-pink), var(--hh-pink-dark));
    color: #fff;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
}
.hh-product-gallery__thumbs {
    display: flex;
    gap: 10px;
}
.hh-product-gallery__thumb {
    width: 80px;
    height: 80px;
    background: var(--hh-gray-100);
    border-radius: 12px;
    border: 2px solid var(--hh-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: 0.2s;
}
.hh-product-gallery__thumb:hover,
.hh-product-gallery__thumb.active {
    border-color: var(--hh-green);
}
.hh-product-gallery__thumb img {
    max-width: 100%;
    object-fit: contain;
}

/* Info do produto */
.hh-product-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hh-product-info__category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hh-pink);
    margin-bottom: 4px;
}
.hh-product-info__title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--hh-gray-900);
    margin-bottom: 8px;
}
.hh-product-info__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.hh-product-info__stars {
    display: flex;
    gap: 2px;
    color: #f5a623;
}
.hh-product-info__reviews {
    font-size: 13px;
    color: var(--hh-gray-500);
}
.hh-product-info__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hh-gray-200);
}
.hh-product-info__price .old-price {
    font-size: 18px;
    color: var(--hh-gray-500);
    text-decoration: line-through;
}
.hh-product-info__price .current-price {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--hh-green-dark);
}
.hh-product-info__price .installment {
    font-size: 13px;
    color: var(--hh-gray-600);
}
.hh-product-info__short-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--hh-gray-600);
    margin-bottom: 20px;
}

/* Stock */
.hh-product-info__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hh-product-info__stock.in-stock {
    background: var(--hh-green-lightest);
    color: var(--hh-green-dark);
}
.hh-product-info__stock.out-of-stock {
    background: #fee2e2;
    color: #b91c1c;
}

/* Add to cart */
.hh-product-add-to-cart {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}
.hh-product-qty {
    display: flex;
    align-items: center;
    border: 2px solid var(--hh-gray-200);
    border-radius: 12px;
    overflow: hidden;
}
.hh-product-qty button {
    width: 44px;
    height: 44px;
    background: var(--hh-gray-100);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--hh-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hh-product-qty button:hover {
    background: var(--hh-gray-200);
}
.hh-product-qty input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    outline: none;
}
.hh-product-add-btn {
    flex: 1;
    height: 48px;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: #fff;
    border: none;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}
.hh-product-add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107,142,35,0.3);
}
.hh-product-buy-now {
    width: 100%;
    height: 48px;
    background: transparent;
    color: var(--hh-green);
    border: 2px solid var(--hh-green);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    margin-bottom: 24px;
    transition: 0.2s;
}
.hh-product-buy-now:hover {
    background: var(--hh-green-lightest);
}

/* Botão Assinar Agora (produtos de assinatura) */
.hh-product-subscription-cta {
    margin-bottom: 24px;
}
.hh-product-subscription-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
    background: var(--hh-green) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 24px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(74,169,78,0.35);
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.hh-product-subscription-btn:hover {
    background: var(--hh-green-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(74,169,78,0.45);
}
.hh-product-subscription-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--hh-gray-500);
    margin-top: 12px;
    line-height: 1.4;
}

/* Meta */
.hh-product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--hh-gray-200);
}
.hh-product-meta__item {
    font-size: 13px;
    color: var(--hh-gray-600);
}
.hh-product-meta__item strong {
    color: var(--hh-gray-800);
    margin-right: 4px;
}

/* Trust badges produto */
.hh-product-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.hh-product-trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--hh-gray-100);
    border-radius: 12px;
}
.hh-product-trust__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hh-product-trust__icon.green { background: var(--hh-green-lightest); color: var(--hh-green); }
.hh-product-trust__icon.pink { background: var(--hh-pink-lightest); color: var(--hh-pink); }
.hh-product-trust__icon.purple { background: rgba(123,79,138,0.1); color: var(--hh-purple); }
.hh-product-trust__text {
    font-size: 12px;
    font-weight: 600;
    color: var(--hh-gray-700);
    line-height: 1.3;
}

/* Tabs / Descrição */
.hh-product-tabs {
    padding: 48px 0;
}
.hh-product-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--hh-gray-200);
    margin-bottom: 32px;
}
.hh-product-tabs__nav button {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hh-gray-500);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}
.hh-product-tabs__nav button.active {
    color: var(--hh-green-dark);
    border-bottom-color: var(--hh-green);
}
.hh-product-tabs__content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hh-gray-600);
}
.hh-product-tabs__content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: var(--hh-gray-900);
    margin-bottom: 12px;
}
.hh-product-tabs__content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.hh-product-tabs__content li {
    margin-bottom: 6px;
}

/* WooCommerce Tabs dentro de .hh-product-tabs */
.hh-product-tabs .woocommerce-tabs {
    margin: 0;
    padding: 0;
}
.hh-product-tabs .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--hh-gray-200);
    overflow: visible;
    position: relative;
}
.hh-product-tabs .woocommerce-tabs ul.tabs::before {
    display: none;
}
.hh-product-tabs .woocommerce-tabs ul.tabs li {
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    position: relative;
    z-index: 1;
}
.hh-product-tabs .woocommerce-tabs ul.tabs li::before,
.hh-product-tabs .woocommerce-tabs ul.tabs li::after {
    display: none;
}
.hh-product-tabs .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hh-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.2s;
    font-family: var(--hh-font-primary);
    text-decoration: none;
    background: none;
}
.hh-product-tabs .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--hh-green);
    background: none;
}
.hh-product-tabs .woocommerce-tabs ul.tabs li.active a {
    color: var(--hh-green-dark);
}
.hh-product-tabs .woocommerce-tabs ul.tabs li a:hover {
    color: var(--hh-green);
}
.hh-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hh-gray-600);
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
}
.hh-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    font-family: var(--hh-font-heading);
    font-size: 18px;
    color: var(--hh-gray-900);
    margin-bottom: 12px;
}
.hh-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel h3 {
    font-family: var(--hh-font-heading);
    font-size: 18px;
    color: var(--hh-gray-900);
    margin-bottom: 12px;
}
.hh-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.hh-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel li {
    margin-bottom: 6px;
}
.hh-product-tabs .woocommerce-tabs table.shop_attributes {
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    overflow: hidden;
    border-collapse: collapse;
    width: 100%;
}
.hh-product-tabs .woocommerce-tabs table.shop_attributes th {
    background: var(--hh-gray-100);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
}
.hh-product-tabs .woocommerce-tabs table.shop_attributes td {
    padding: 12px 16px;
    font-size: 14px;
}

/* Avaliações dentro das tabs */
.hh-product-tabs #reviews .commentlist {
    list-style: none;
    padding: 0;
}
.hh-product-tabs #reviews .comment_container {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--hh-gray-200);
}
.hh-product-tabs #reviews .comment_container img.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.hh-product-tabs #reviews .star-rating {
    color: #f5a623;
}
.hh-product-tabs #reviews #reply-title {
    font-family: var(--hh-font-heading);
    font-size: 18px;
}
.hh-product-tabs #reviews .comment-form-rating label {
    font-weight: 600;
}

/* Related products */
.hh-related-products {
    padding: 48px 0;
    border-top: 1px solid var(--hh-gray-200);
}
.hh-related-products h2,
.hh-related-products > section > h2 {
    font-family: var(--hh-font-heading);
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--hh-gray-900);
}
.hh-related-products .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hh-related-products .products li.product {
    background: var(--hh-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid var(--hh-gray-200);
    transition: var(--hh-transition);
}
.hh-related-products .products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.hh-related-products .products li.product a img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: var(--hh-gray-100);
    padding: 12px;
}
.hh-related-products .products li.product a {
    text-decoration: none;
}
.hh-related-products .products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--hh-gray-800);
    padding: 14px 16px 6px;
    line-height: 1.3;
}
.hh-related-products .products li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--hh-green-dark);
    padding: 0 16px;
    display: block;
}
.hh-related-products .products li.product .price del {
    font-size: 12px;
    color: var(--hh-gray-500);
    font-weight: 400;
}
.hh-related-products .products li.product .price ins {
    text-decoration: none;
    color: var(--hh-pink);
}
.hh-related-products .products li.product .button,
.hh-related-products .products li.product .added_to_cart {
    display: block;
    width: calc(100% - 32px);
    margin: 12px 16px 16px;
    padding: 9px;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: #fff;
    border: none;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.hh-related-products .products li.product .button:hover {
    box-shadow: 0 4px 12px rgba(107,142,35,0.3);
}

/* Product meta links */
.hh-product-meta__item a {
    color: var(--hh-green);
    text-decoration: none;
}
.hh-product-meta__item a:hover {
    text-decoration: underline;
}

/* Hide default WC breadcrumb (usamos o customizado) */
.woocommerce .woocommerce-breadcrumb {
    margin-bottom: 0;
    padding: 0;
    font-size: 13px;
    color: var(--hh-gray-500);
}
.woocommerce .woocommerce-breadcrumb a {
    color: var(--hh-green);
    text-decoration: none;
}

/* Responsive single product */
@media (max-width: 768px) {
    .hh-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hh-product-info__title {
        font-size: 22px;
    }
    .hh-product-info__price .current-price {
        font-size: 26px;
    }
    .hh-product-trust {
        grid-template-columns: 1fr;
    }
    .hh-product-gallery__thumb {
        width: 60px;
        height: 60px;
    }
    .hh-product-add-to-cart {
        flex-direction: column;
    }
    .hh-product-add-btn {
        width: 100%;
    }
    .hh-product-tabs .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }
    .hh-product-tabs .woocommerce-tabs ul.tabs li a {
        padding: 10px 16px;
        font-size: 12px;
    }
    .hh-related-products .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hh-product-info__title {
        font-size: 1.125rem;
    }
    .hh-product-info__price .current-price {
        font-size: 22px;
    }
    .hh-product-info__price .old-price {
        font-size: 14px;
    }
    .hh-product-gallery__main {
        border-radius: 12px;
    }
    .hh-related-products .products li.product a img {
        height: 140px;
    }
}

/* ============================================
   FLUID CHECKOUT COMPATIBILITY
   Cores e estilos são definidos via PHP hooks
   em functions.php (fc_css_variables)
   ============================================ */

/* Tipografia do Fluid Checkout */
.fc-checkout-header,
.fc-wrapper,
.fc-step,
.fc-checkout-order-review {
    font-family: var(--hh-font-primary);
}

.fc-step__title,
.fc-checkout-header__title {
    font-family: var(--hh-font-heading);
}

/* Campos de formulário (consistência com o tema) */
.fc-wrapper input[type="text"],
.fc-wrapper input[type="email"],
.fc-wrapper input[type="tel"],
.fc-wrapper input[type="number"],
.fc-wrapper input[type="password"],
.fc-wrapper select,
.fc-wrapper textarea {
    font-family: var(--hh-font-primary);
    font-size: 0.938rem;
}

/* ---------------------------------------------
   Fluid Checkout - Layout 2 colunas (sidebar à direita)
   Garante que o "Resumo do Pedido" fique fixo na coluna direita
   --------------------------------------------- */

/* Ampliar o container do checkout */
body.hh-checkout-page .hh-container,
body.woocommerce-checkout .hh-container {
    max-width: 1280px;
}

/* Wrapper principal do Fluid Checkout: grid 2 colunas em desktop */
@media (min-width: 992px) {
    .fc-wrapper,
    .fc-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 400px !important;
        gap: 40px !important;
        align-items: start !important;
        max-width: 1240px;
        margin: 0 auto;
    }

    /* Coluna esquerda: formulário */
    .fc-checkout__form,
    .fc-wrapper > .fc-checkout-content,
    .fc-wrapper > form,
    .fc-wrapper > form.checkout {
        grid-column: 1 !important;
        min-width: 0;
        width: 100% !important;
        max-width: none !important;
        float: none !important;
    }

    /* Coluna direita: Resumo do Pedido (sidebar) */
    .fc-checkout__sidebar,
    .fc-sidebar,
    .fc-checkout-order-review,
    .fc-wrapper > #fc-checkout-order-review,
    .fc-wrapper > .fc-checkout-order-review,
    .fc-wrapper > aside {
        grid-column: 2 !important;
        position: sticky !important;
        top: 24px !important;
        align-self: start !important;
        width: 100% !important;
        max-width: none !important;
        float: none !important;
        margin: 0 !important;
    }

    /* Quando o sidebar é renderizado dentro do form (alguns layouts do FC) */
    .fc-wrapper form .fc-checkout-order-review,
    .fc-wrapper form .fc-sidebar {
        position: sticky !important;
        top: 24px !important;
    }
}

/* Mobile: empilha (sidebar abaixo) */
@media (max-width: 991px) {
    .fc-checkout__sidebar,
    .fc-sidebar,
    .fc-checkout-order-review {
        position: static !important;
        margin-top: 24px !important;
    }
}

/* Visual do card "Resumo do Pedido" */
.fc-checkout-order-review,
.fc-sidebar {
    background: #fff;
    border-radius: var(--hh-radius-lg);
    border: 2px solid var(--hh-green-lightest);
    padding: 24px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* Título "Resumo do Pedido" */
.fc-checkout-order-review h2,
.fc-checkout-order-review h3,
.fc-sidebar h2,
.fc-sidebar h3 {
    font-family: var(--hh-font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hh-gray-900);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hh-gray-100);
}

/* ---------------------------------------------
   Fluid Checkout - Opções de Entrega e Pagamento
   Corrige sobreposição do radio com o texto do label
   --------------------------------------------- */

/* Lista de métodos (entrega/pagamento) sem marcadores */
ul#shipping_method,
ul.wc_payment_methods,
ul.woocommerce-shipping-methods,
.fc-shipping-method__packages ul,
.wc_payment_methods.payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Cada item = "option box" com borda */
ul#shipping_method > li,
ul.wc_payment_methods > li,
ul.woocommerce-shipping-methods > li,
.fc-shipping-method__packages ul > li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 16px 52px !important;
    margin: 0 0 12px !important;
    border: 2px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    background: #fff;
    transition: var(--hh-transition);
    cursor: pointer;
    min-height: 56px;
}

ul#shipping_method > li:last-child,
ul.wc_payment_methods > li:last-child,
ul.woocommerce-shipping-methods > li:last-child {
    margin-bottom: 0 !important;
}

/* Estado hover/selecionado */
ul#shipping_method > li:hover,
ul.wc_payment_methods > li:hover,
ul.woocommerce-shipping-methods > li:hover {
    border-color: var(--hh-green-light);
}

ul#shipping_method > li:has(input:checked),
ul.wc_payment_methods > li:has(input:checked),
ul.woocommerce-shipping-methods > li:has(input:checked),
ul.wc_payment_methods > li.payment_method_active {
    border-color: var(--hh-green) !important;
    background: var(--hh-green-lightest) !important;
}

/* Radio: posicionado dentro do padding-left, NÃO sobrepõe o texto */
ul#shipping_method > li input[type="radio"],
ul.wc_payment_methods > li input[type="radio"],
ul.woocommerce-shipping-methods > li input[type="radio"],
.fc-shipping-method__packages ul > li input[type="radio"] {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    accent-color: var(--hh-green);
    cursor: pointer;
    z-index: 1;
}

/* Label: ocupa o resto, sem padding-left adicional (já existe no <li>) */
ul#shipping_method > li label,
ul.wc_payment_methods > li label,
ul.woocommerce-shipping-methods > li label,
.fc-shipping-method__packages ul > li label {
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.938rem !important;
    font-weight: 500 !important;
    color: var(--hh-gray-800) !important;
    cursor: pointer;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

/* Preço do método de entrega à direita */
ul#shipping_method > li label .woocommerce-Price-amount,
ul#shipping_method > li label bdi,
ul.woocommerce-shipping-methods > li label .woocommerce-Price-amount {
    font-weight: 700 !important;
    color: var(--hh-green-dark) !important;
    font-size: 0.938rem !important;
    margin-left: auto;
    white-space: nowrap;
}

/* Caixa de descrição do método de pagamento (Pix etc.) */
ul.wc_payment_methods > li .payment_box {
    flex-basis: 100%;
    margin: 12px 0 0 !important;
    padding: 12px 14px !important;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-sm);
    font-size: 0.875rem;
    color: var(--hh-gray-700);
    line-height: 1.5;
}

ul.wc_payment_methods > li .payment_box::before {
    display: none !important;
}

ul.wc_payment_methods > li .payment_box p {
    margin: 0 0 6px;
}

ul.wc_payment_methods > li .payment_box p:last-child {
    margin-bottom: 0;
}

/* Logos/imagens das gateways (ex.: Pix, Cartão) — alinha à direita do label */
ul.wc_payment_methods > li label img {
    max-height: 28px;
    width: auto;
    margin-left: auto;
    vertical-align: middle;
}

/* Mobile */
@media (max-width: 600px) {
    ul#shipping_method > li,
    ul.wc_payment_methods > li,
    ul.woocommerce-shipping-methods > li {
        padding: 14px 16px 14px 46px !important;
    }
    ul#shipping_method > li label,
    ul.wc_payment_methods > li label,
    ul.woocommerce-shipping-methods > li label {
        font-size: 0.875rem !important;
        flex-wrap: wrap;
    }
}

/* ===============================================
   FAQ Page (Perguntas Frequentes)
   =============================================== */
.hh-faq-page {
    padding: 40px 0 60px;
    background: var(--hh-bg-light, #f8f9fa);
    min-height: 60vh;
}

.hh-faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.hh-faq-header__badge {
    display: inline-block;
    background: rgba(107, 142, 35, 0.1);
    color: var(--hh-green, #6B8E23);
    font-size: 0.813rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.hh-faq-header__title {
    font-family: var(--hh-font-heading, 'Poppins', sans-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--hh-text-dark, #1a1a2e);
    margin: 0 0 12px;
}

.hh-faq-header__desc {
    font-size: 1.063rem;
    color: var(--hh-text-muted, #6c757d);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Busca FAQ */
.hh-faq-search {
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
}

.hh-faq-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hh-text-muted, #6c757d);
    pointer-events: none;
}

.hh-faq-search input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.938rem;
    font-family: var(--hh-font-primary, 'Inter', sans-serif);
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}

.hh-faq-search input:focus {
    border-color: var(--hh-green, #6B8E23);
}

/* Seções FAQ */
.hh-faq-sections {
    max-width: 800px;
    margin: 0 auto;
}

.hh-faq-section {
    margin-bottom: 32px;
}

.hh-faq-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hh-faq-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--hh-green, #6B8E23), var(--hh-pink, #B5508A));
    color: #fff;
    border-radius: 12px;
    flex-shrink: 0;
}

.hh-faq-section__icon svg {
    width: 22px;
    height: 22px;
}

.hh-faq-section__title {
    font-family: var(--hh-font-heading, 'Poppins', sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hh-text-dark, #1a1a2e);
    margin: 0;
}

/* FAQ Items (Accordion) */
.hh-faq-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hh-faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.hh-faq-item:hover {
    border-color: #d0d0d0;
}

.hh-faq-item.active {
    border-color: var(--hh-green, #6B8E23);
    box-shadow: 0 2px 12px rgba(107, 142, 35, 0.1);
}

.hh-faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--hh-font-primary, 'Inter', sans-serif);
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--hh-text-dark, #1a1a2e);
    text-align: left;
    gap: 16px;
    line-height: 1.5;
}

.hh-faq-item__question:hover {
    background: rgba(107, 142, 35, 0.03);
}

.hh-faq-item__arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--hh-text-muted, #6c757d);
}

.hh-faq-item.active .hh-faq-item__arrow {
    transform: rotate(180deg);
    color: var(--hh-green, #6B8E23);
}

.hh-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.hh-faq-item.active .hh-faq-item__answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

.hh-faq-item__answer p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--hh-text-muted, #6c757d);
}

/* CTA Contato */
.hh-faq-cta {
    max-width: 600px;
    margin: 48px auto 0;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid #e8e8e8;
}

.hh-faq-cta svg {
    color: var(--hh-green, #6B8E23);
}

.hh-faq-cta h3 {
    font-family: var(--hh-font-heading, 'Poppins', sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hh-text-dark, #1a1a2e);
    margin: 16px 0 8px;
}

.hh-faq-cta p {
    font-size: 0.938rem;
    color: var(--hh-text-muted, #6c757d);
    margin: 0 0 24px;
}

.hh-faq-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hh-faq-cta .hh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.hh-faq-cta .hh-btn-primary {
    background: #25D366;
    color: #fff;
}

.hh-faq-cta .hh-btn-primary:hover {
    background: #20b858;
    transform: translateY(-1px);
}

.hh-faq-cta .hh-btn-outline {
    background: transparent;
    color: var(--hh-text-dark, #1a1a2e);
    border: 2px solid #e0e0e0;
}

.hh-faq-cta .hh-btn-outline:hover {
    border-color: var(--hh-green, #6B8E23);
    color: var(--hh-green, #6B8E23);
}

/* FAQ Responsivo */
@media (max-width: 768px) {
    .hh-faq-page {
        padding: 24px 0 40px;
    }

    .hh-faq-header__title {
        font-size: 1.5rem;
    }

    .hh-faq-header__desc {
        font-size: 0.938rem;
    }

    .hh-faq-item__question {
        padding: 14px 16px;
        font-size: 0.875rem;
    }

    .hh-faq-item.active .hh-faq-item__answer {
        padding: 0 16px 14px;
    }

    .hh-faq-cta {
        padding: 28px 20px;
    }

    .hh-faq-cta .hh-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ASSINATURA MENSAL
   ============================================ */

/* Hero */
.hh-assin-hero {
    background: var(--hh-purple);
    padding: 80px 0 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hh-assin-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hh-assin-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--hh-radius-full);
    padding: 6px 18px;
    font-size: 0.813rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}
.hh-assin-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hh-assin-hero__title span {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 6px;
}
.hh-assin-hero__subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.hh-assin-hero__cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 60px;
}
.hh-assin-hero__wave {
    height: 80px;
    margin-top: -1px;
}
.hh-assin-hero__wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Benefícios */
.hh-assin-benefits {
    background: #f9fafb;
    padding: 60px 0;
}
.hh-assin-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.hh-assin-benefit {
    background: #fff;
    border-radius: var(--hh-radius-xl);
    padding: 1.75rem;
    box-shadow: var(--hh-shadow-sm);
    text-align: center;
}
.hh-assin-benefit__icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.hh-assin-benefit h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.hh-assin-benefit p { font-size: 0.875rem; color: var(--hh-gray-500); line-height: 1.5; }

/* Planos */
.hh-assin-plans {
    padding: 80px 0;
    background: #fff;
}
.hh-assin-plans__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.hh-assin-plan {
    border: 1.5px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-xl);
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.hh-assin-plan:hover {
    box-shadow: var(--hh-shadow-lg);
    transform: translateY(-4px);
}
.hh-assin-plan--featured {
    border-color: var(--hh-green);
    box-shadow: 0 0 0 3px rgba(74,169,78,0.15);
}
.hh-assin-plan__badge {
    background: var(--hh-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.hh-assin-plan__img {
    height: 220px;
    overflow: hidden;
    background: #fff;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hh-assin-plan__img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.hh-assin-plan__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hh-assin-plan__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--hh-gray-800);
}
.hh-assin-plan__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 1rem;
}
.hh-assin-plan__price-old {
    font-size: 0.875rem;
    color: var(--hh-gray-400);
    text-decoration: line-through;
}
.hh-assin-plan__price-current {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--hh-green-dark);
}
.hh-assin-plan__price-current .woocommerce-Price-amount { font-size: inherit; }
.hh-assin-plan__price-period {
    font-size: 0.813rem;
    color: var(--hh-gray-500);
}
.hh-assin-plan__desc {
    font-size: 0.875rem;
    color: var(--hh-gray-500);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}
.hh-assin-plan__btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}
.hh-assin-plan__actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}
.hh-assin-plan__details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hh-green-dark);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.hh-assin-plan__details:hover {
    background: rgba(74,169,78,0.08);
    color: var(--hh-green);
}
.hh-assin-plan__details svg {
    transition: transform 0.2s;
}
.hh-assin-plan__details:hover svg {
    transform: translateX(3px);
}

/* Mobile: imagens maiores e sem corte */
@media (max-width: 768px) {
    .hh-assin-plan__img {
        height: 260px;
        padding: 16px;
    }
}

/* Fallback vazio */
.hh-assin-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--hh-gray-500);
}
.hh-assin-empty h3 { font-size: 1.3rem; margin: 1rem 0 0.5rem; color: var(--hh-gray-700); }
.hh-assin-empty p { margin-bottom: 1.5rem; }

/* Como funciona */
.hh-assin-how {
    background: #f9fafb;
    padding: 80px 0;
}
.hh-assin-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.hh-assin-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 0 1rem;
}
.hh-assin-step__num {
    width: 52px; height: 52px;
    background: var(--hh-green);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 14px rgba(74,169,78,0.35);
}
.hh-assin-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.hh-assin-step p { font-size: 0.85rem; color: var(--hh-gray-500); line-height: 1.5; }
.hh-assin-step__arrow {
    font-size: 1.8rem;
    color: var(--hh-gray-300);
    padding-top: 12px;
    align-self: flex-start;
    flex-shrink: 0;
}

/* FAQ */
.hh-assin-faq {
    background: #fff;
    padding: 80px 0;
}
.hh-assin-faq__list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hh-assin-faq__item {
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-lg);
    overflow: hidden;
}
.hh-assin-faq__item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.938rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--hh-gray-800);
    transition: background 0.15s;
}
.hh-assin-faq__item summary::-webkit-details-marker { display: none; }
.hh-assin-faq__item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--hh-green);
    flex-shrink: 0;
    margin-left: 12px;
}
.hh-assin-faq__item[open] summary::after { content: '−'; }
.hh-assin-faq__item summary:hover { background: var(--hh-gray-50); }
.hh-assin-faq__item p {
    padding: 0 1.25rem 1rem;
    font-size: 0.875rem;
    color: var(--hh-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* CTA Final */
.hh-assin-cta {
    background: var(--hh-purple);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}
.hh-assin-cta h2 { color: #fff; font-size: 2rem; margin-bottom: 0.75rem; }
.hh-assin-cta p { opacity: 0.9; margin-bottom: 2rem; font-size: 1.05rem; }
.hh-btn-white {
    background: #fff;
    color: var(--hh-green-dark);
    border-color: #fff;
    font-weight: 700;
}
.hh-btn-white:hover { background: rgba(255,255,255,0.9); color: var(--hh-green-dark); }

/* Mobile */
@media (max-width: 768px) {
    .hh-assin-benefits__grid { grid-template-columns: 1fr 1fr; }
    .hh-assin-steps { flex-direction: column; align-items: center; }
    .hh-assin-step { max-width: 100%; }
    .hh-assin-step__arrow { transform: rotate(90deg); padding: 0; }
    .hh-assin-hero__cta { flex-direction: column; align-items: center; }
    .hh-assin-cta h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .hh-assin-benefits__grid { grid-template-columns: 1fr; }
}

/* ============================================
   IA HIGI — CONSULTORA INTELIGENTE
   ============================================ */

.hh-ia-page {
    padding: var(--hh-spacing-2xl) 0 var(--hh-spacing-3xl);
}

/* Hero */
.hh-ia-hero {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-xl);
    background: linear-gradient(135deg, var(--hh-green-lightest) 0%, #d4edda 100%);
    border-radius: var(--hh-radius-xl);
    padding: var(--hh-spacing-2xl) var(--hh-spacing-3xl);
    margin-bottom: var(--hh-spacing-2xl);
}
.hh-ia-hero__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hh-white);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(107,142,35,0.35);
}
.hh-ia-hero__tag {
    display: inline-block;
    background: var(--hh-white);
    color: var(--hh-green-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: var(--hh-radius-full);
    border: 2px solid var(--hh-green);
    margin-bottom: var(--hh-spacing-sm);
}
.hh-ia-hero__title {
    font-family: var(--hh-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--hh-gray-900);
    margin: 0 0 var(--hh-spacing-sm);
    line-height: 1.2;
}
.hh-ia-hero__desc {
    font-size: 1rem;
    color: var(--hh-gray-600);
    margin: 0;
    max-width: 480px;
    line-height: 1.6;
}

/* Chat Window */
.hh-ia-chat {
    max-width: 780px;
    margin: 0 auto;
}
.hh-ia-chat__window {
    background: var(--hh-white);
    border-radius: var(--hh-radius-xl);
    box-shadow: var(--hh-shadow-xl);
    overflow: hidden;
    border: 1px solid var(--hh-gray-200);
}

/* Header do chat */
.hh-ia-chat__header {
    display: flex;
    align-items: center;
    gap: var(--hh-spacing-md);
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    padding: 16px 24px;
}
.hh-ia-chat__header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hh-white);
    flex-shrink: 0;
}
.hh-ia-chat__header-info {
    flex: 1;
}
.hh-ia-chat__header-info strong {
    display: block;
    color: var(--hh-white);
    font-size: 1rem;
    font-weight: 700;
}
.hh-ia-online {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.hh-ia-online__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: hh-ia-pulse 2s infinite;
}
@keyframes hh-ia-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.hh-ia-chat__header-badge {
    background: rgba(255,255,255,0.25);
    color: var(--hh-white);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: var(--hh-radius-full);
    border: 1px solid rgba(255,255,255,0.4);
}

/* Área de mensagens */
.hh-ia-chat__messages {
    min-height: 300px;
    max-height: 520px;
    overflow-y: auto;
    padding: var(--hh-spacing-xl) var(--hh-spacing-lg);
    background: #f8faf5;
    display: flex;
    flex-direction: column;
    gap: var(--hh-spacing-sm);
    scroll-behavior: smooth;
}
.hh-ia-chat__messages::-webkit-scrollbar {
    width: 4px;
}
.hh-ia-chat__messages::-webkit-scrollbar-track {
    background: transparent;
}
.hh-ia-chat__messages::-webkit-scrollbar-thumb {
    background: var(--hh-gray-200);
    border-radius: 99px;
}

/* Mensagens individuais */
.hh-ia-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 80%;
}
.hh-ia-msg--in {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.hh-ia-msg--visible {
    opacity: 1;
    transform: translateY(0);
}
.hh-ia-msg--bot {
    align-self: flex-start;
}
.hh-ia-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
    max-width: 70%;
}
.hh-ia-msg__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hh-white);
    flex-shrink: 0;
}
.hh-ia-msg--bot .hh-ia-msg__bubble {
    background: var(--hh-white);
    color: var(--hh-gray-800);
    border-radius: 18px 18px 18px 4px;
    padding: 12px 16px;
    font-size: 0.938rem;
    line-height: 1.55;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    border: 1px solid var(--hh-gray-200);
}
.hh-ia-msg--user .hh-ia-msg__bubble {
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: var(--hh-white);
    border-radius: 18px 18px 4px 18px;
    padding: 12px 16px;
    font-size: 0.938rem;
    font-weight: 500;
    line-height: 1.55;
}

/* Typing indicator */
.hh-ia-typing {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 14px 18px !important;
}
.hh-ia-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hh-gray-400);
    animation: hh-ia-bounce 1.2s infinite ease-in-out;
}
.hh-ia-typing span:nth-child(1) { animation-delay: 0s;    }
.hh-ia-typing span:nth-child(2) { animation-delay: 0.2s;  }
.hh-ia-typing span:nth-child(3) { animation-delay: 0.4s;  }
@keyframes hh-ia-bounce {
    0%, 80%, 100% { transform: translateY(0);   opacity: 0.5; }
    40%           { transform: translateY(-6px); opacity: 1;   }
}

/* Área de opções */
.hh-ia-chat__options {
    padding: var(--hh-spacing-md) var(--hh-spacing-lg) var(--hh-spacing-lg);
    background: var(--hh-white);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--hh-gray-100);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hh-ia-options--visible {
    opacity: 1;
}
.hh-ia-option-btn {
    background: var(--hh-white);
    border: 2px solid var(--hh-green);
    color: var(--hh-green-dark);
    border-radius: var(--hh-radius-full);
    padding: 9px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--hh-font-primary);
    cursor: pointer;
    transition: var(--hh-transition);
    line-height: 1;
}
.hh-ia-option-btn:hover {
    background: var(--hh-green-lightest);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(107,142,35,0.2);
}
.hh-ia-option-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.hh-ia-option-btn.selected {
    background: var(--hh-green);
    color: var(--hh-white);
    border-color: var(--hh-green);
}

/* Grid de produtos resultado */
.hh-ia-products {
    width: 100%;
    padding: var(--hh-spacing-sm) 0;
}
.hh-ia-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--hh-spacing-md);
    margin-bottom: var(--hh-spacing-md);
}
.hh-ia-product-card {
    background: var(--hh-white);
    border-radius: var(--hh-radius-lg);
    border: 1px solid var(--hh-gray-200);
    overflow: hidden;
    position: relative;
    transition: var(--hh-transition);
    display: flex;
    flex-direction: column;
}
.hh-ia-product-card:hover {
    box-shadow: var(--hh-shadow-lg);
    transform: translateY(-3px);
    border-color: var(--hh-green);
}
.hh-ia-product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, var(--hh-pink), var(--hh-pink-dark));
    color: var(--hh-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--hh-radius-full);
    z-index: 2;
    text-transform: uppercase;
}
.hh-ia-product-card__img-wrap {
    display: block;
    background: var(--hh-gray-100);
    padding: var(--hh-spacing-md);
    text-align: center;
}
.hh-ia-product-card__img-wrap img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    transition: var(--hh-transition);
}
.hh-ia-product-card:hover .hh-ia-product-card__img-wrap img {
    transform: scale(1.05);
}
.hh-ia-product-card__body {
    padding: var(--hh-spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hh-ia-product-card__name {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--hh-gray-800);
    line-height: 1.35;
    margin: 0 0 var(--hh-spacing-xs);
    min-height: 2.5em;
}
.hh-ia-product-card__desc {
    font-size: 0.75rem;
    color: var(--hh-gray-500);
    line-height: 1.4;
    margin: 0 0 var(--hh-spacing-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hh-ia-product-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hh-green-dark);
    margin-bottom: var(--hh-spacing-sm);
}
.hh-ia-product-card__price del {
    font-size: 0.8rem;
    color: var(--hh-gray-400);
    font-weight: 400;
    margin-right: 4px;
}
.hh-ia-product-card__price ins {
    text-decoration: none;
    color: var(--hh-pink);
}
.hh-ia-product-card__actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}
.hh-ia-product-card__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: var(--hh-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    font-family: var(--hh-font-primary);
    transition: var(--hh-transition);
    line-height: 1;
}
.hh-ia-product-card__btn--outline {
    background: transparent;
    border: 2px solid var(--hh-gray-300);
    color: var(--hh-gray-700);
}
.hh-ia-product-card__btn--outline:hover {
    border-color: var(--hh-green);
    color: var(--hh-green-dark);
}
.hh-ia-product-card__btn--primary {
    background: linear-gradient(135deg, var(--hh-green), var(--hh-green-dark));
    color: var(--hh-white) !important;
}
.hh-ia-product-card__btn--primary:hover {
    box-shadow: 0 4px 12px rgba(107,142,35,0.3);
    transform: translateY(-1px);
}
.hh-ia-product-card__out {
    font-size: 0.7rem;
    color: var(--hh-gray-400);
    font-weight: 500;
    align-self: center;
    padding: 4px 0;
}
.hh-ia-products__more {
    display: block;
    text-align: center;
    color: var(--hh-green-dark);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: var(--hh-spacing-sm);
    border-radius: var(--hh-radius-md);
    transition: var(--hh-transition);
}
.hh-ia-products__more:hover {
    background: var(--hh-green-lightest);
}

/* Botões de ação final */
.hh-ia-restart,
.hh-ia-shop-cta {
    text-align: center;
    padding: var(--hh-spacing-sm) 0;
}
.hh-ia-btn-restart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--hh-gray-300);
    border-radius: var(--hh-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--hh-font-primary);
    color: var(--hh-gray-700);
    cursor: pointer;
    text-decoration: none;
    transition: var(--hh-transition);
}
.hh-ia-btn-restart:hover {
    border-color: var(--hh-green);
    color: var(--hh-green-dark);
    background: var(--hh-green-lightest);
}

/* Responsivo */
@media (max-width: 768px) {
    .hh-ia-hero {
        flex-direction: column;
        text-align: center;
        padding: var(--hh-spacing-xl) var(--hh-spacing-lg);
        gap: var(--hh-spacing-lg);
    }
    .hh-ia-hero__title {
        font-size: 1.5rem;
    }
    .hh-ia-chat__messages {
        max-height: 400px;
    }
    .hh-ia-msg {
        max-width: 90%;
    }
    .hh-ia-products__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--hh-spacing-sm);
    }
    .hh-ia-product-card__actions {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .hh-ia-products__grid {
        grid-template-columns: 1fr;
    }
    .hh-ia-option-btn {
        font-size: 0.813rem;
        padding: 8px 14px;
    }
}

/* Print styles */
@media print {
    .hh-topbar,
    .hh-header,
    .hh-whatsapp-float,
    .hh-back-to-top,
    .hh-footer {
        display: none;
    }
}

/* ============================================
   CART BLOCK - WooCommerce Blocks Cart Styling
   ============================================ */

/* Page background */
.woocommerce-cart .entry-content,
body.woocommerce-cart main {
    background: var(--hh-gray-50);
    padding: var(--hh-spacing-2xl) 0 var(--hh-spacing-3xl);
}

/* Hide duplicate page title on cart */
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title {
    display: none;
}

/* Main block wrapper */
.wc-block-cart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Layout sidebar */
.wc-block-cart .wc-block-components-sidebar-layout {
    gap: 32px !important;
    align-items: flex-start !important;
}

.wc-block-cart .wc-block-components-main {
    background: var(--hh-white);
    border-radius: var(--hh-radius-xl);
    box-shadow: var(--hh-shadow-sm);
    padding: 28px !important;
}

.wc-block-cart .wc-block-components-sidebar {
    background: var(--hh-white);
    border-radius: var(--hh-radius-xl);
    box-shadow: var(--hh-shadow-sm);
    padding: 24px !important;
    position: sticky;
    top: 100px;
}

/* Cart heading */
.wc-block-cart__main-heading {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--hh-gray-800) !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--hh-gray-100) !important;
}

/* Table headers */
.wc-block-cart-items .wc-block-cart-items__header {
    border-bottom: 2px solid var(--hh-gray-100) !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
}

.wc-block-cart-items .wc-block-cart-items__header span {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--hh-gray-500) !important;
}

/* Each cart item row */
.wc-block-cart-items__row {
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--hh-gray-100) !important;
    align-items: center !important;
}

/* Product image */
.wc-block-cart-item__image a img {
    border-radius: var(--hh-radius-md) !important;
    border: 1px solid var(--hh-gray-100) !important;
    object-fit: cover !important;
    width: 80px !important;
    height: 80px !important;
}

/* Product name */
.wc-block-components-product-name,
.wc-block-cart-item__product-name a {
    font-weight: 600 !important;
    color: var(--hh-gray-800) !important;
    font-size: 0.938rem !important;
    text-decoration: none !important;
}

.wc-block-components-product-name:hover,
.wc-block-cart-item__product-name a:hover {
    color: var(--hh-green) !important;
}

/* Product short desc in cart */
.wc-block-components-product-short-description,
.wc-block-cart-item__description {
    font-size: 0.8rem !important;
    color: var(--hh-gray-500) !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
}

/* Price */
.wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-formatted-money-amount {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--hh-green-dark) !important;
}

.wc-block-components-product-price del,
.wc-block-cart-item__total del .wc-block-formatted-money-amount {
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    color: var(--hh-gray-400) !important;
}

/* Quantity stepper */
.wc-block-components-quantity-selector {
    border: 1px solid var(--hh-gray-200) !important;
    border-radius: var(--hh-radius-full) !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
}

.wc-block-components-quantity-selector__button {
    background: var(--hh-gray-50) !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
    color: var(--hh-gray-600) !important;
    cursor: pointer !important;
    transition: var(--hh-transition) !important;
}

.wc-block-components-quantity-selector__button:hover {
    background: var(--hh-gray-200) !important;
    color: var(--hh-green-dark) !important;
}

.wc-block-components-quantity-selector__input {
    border: none !important;
    border-left: 1px solid var(--hh-gray-200) !important;
    border-right: 1px solid var(--hh-gray-200) !important;
    width: 48px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    color: var(--hh-gray-800) !important;
    padding: 0 4px !important;
    height: 32px !important;
}

/* Remove item button */
.wc-block-cart-item__remove-link,
.wc-block-components-product-remove-button {
    color: var(--hh-gray-400) !important;
    font-size: 0.75rem !important;
    text-decoration: none !important;
    transition: var(--hh-transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 8px !important;
}

.wc-block-cart-item__remove-link:hover,
.wc-block-components-product-remove-button:hover {
    color: #dc2626 !important;
}

/* Coupon section */
.wc-block-cart__coupon-expander,
.wc-block-components-totals-coupon__button {
    color: var(--hh-green) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline !important;
}

.wc-block-components-totals-coupon input {
    border: 1px solid var(--hh-gray-200) !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 8px 16px !important;
    font-size: 0.875rem !important;
    outline: none !important;
    flex: 1 !important;
}

.wc-block-components-totals-coupon input:focus {
    border-color: var(--hh-green) !important;
    box-shadow: 0 0 0 3px rgba(74,169,78,0.12) !important;
}

.wc-block-components-totals-coupon__submit {
    background: var(--hh-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--hh-radius-full) !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    transition: var(--hh-transition) !important;
}

.wc-block-components-totals-coupon__submit:hover {
    background: var(--hh-green-dark) !important;
}

/* Order summary sidebar */
.wc-block-cart__sidebar-heading,
.wc-block-components-totals-item__label {
    font-size: 0.875rem !important;
    color: var(--hh-gray-700) !important;
    font-weight: 500 !important;
}

.wc-block-components-totals-item__value {
    font-weight: 600 !important;
    color: var(--hh-gray-800) !important;
    font-size: 0.875rem !important;
}

/* Total row */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--hh-gray-800) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--hh-green-dark) !important;
}

/* Proceed to checkout button */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-proceed-to-checkout-block a {
    display: block !important;
    width: 100% !important;
    background: var(--hh-green) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 1rem !important;
    border-radius: var(--hh-radius-full) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: var(--hh-transition) !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 16px !important;
}

.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block a:hover {
    background: var(--hh-green-dark) !important;
    color: #fff !important;
}

/* Dividers in totals */
.wc-block-components-totals-item {
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--hh-gray-100) !important;
}

.wc-block-components-totals-footer-item {
    border-bottom: none !important;
    padding-top: 14px !important;
}

/* Sidebar title "Total no Carrinho" */
.wc-block-cart__sidebar .wp-block-heading,
.wp-block-woocommerce-cart-order-summary-heading-block h2 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--hh-gray-800) !important;
    margin-bottom: 16px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--hh-gray-100) !important;
}

/* Mobile cart block */
@media (max-width: 768px) {
    .wc-block-cart {
        padding: 0 12px !important;
        overflow-x: hidden;
    }
    .wc-block-cart .wc-block-components-sidebar-layout {
        flex-direction: column !important;
    }
    .wc-block-cart .wc-block-components-main,
    .wc-block-cart .wc-block-components-sidebar {
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .wc-block-cart .wc-block-components-main {
        padding: 16px !important;
    }
    .wc-block-cart .wc-block-components-sidebar {
        position: static !important;
        padding: 16px !important;
    }
    .wc-block-cart-items__row {
        grid-template-columns: 56px 1fr auto !important;
        gap: 10px !important;
    }
    .wc-block-cart-item__image a img {
        width: 56px !important;
        height: 56px !important;
    }
    .wc-block-components-product-name,
    .wc-block-cart-item__product-name a {
        font-size: 0.813rem !important;
        word-break: break-word !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
    .wc-block-components-product-short-description {
        display: none !important;
    }
    .wc-block-cart__submit-button,
    .wp-block-woocommerce-proceed-to-checkout-block a {
        font-size: 0.938rem !important;
        padding: 0.875rem !important;
    }
}
