:root {
    /* Colors */
    --este-primary: #ea1d76;
    --este-secondary: #0ea5e9;
    --este-warning: #f59e0b;
    --este-text-main: #1e293b;
    --este-text-muted: #64748b;
    --este-text-light: #94a3b8;
    --este-bg: #ffffff;
    --este-off-white: #f8fafc;

    /* Spacing */
    --este-container: 1472px;
    --este-gap: 30px;
    --este-gap-sm: 15px;

    /* Refined Effects */
    --este-radius: 12px;
    --este-radius-large: 20px;
    --este-radius-full: 9999px;
    --este-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --este-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --este-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05);

    /* Mesh Gradients & Glass */
    --este-mesh-1: radial-gradient(at 0% 0%, hsla(334, 82%, 51%, 0.15) 0px, transparent 50%);
    --este-mesh-2: radial-gradient(at 100% 100%, hsla(199, 89%, 48%, 0.1) 0px, transparent 50%);
    --este-glass-bg: rgba(255, 255, 255, 0.7);
    --este-glass-border: rgba(255, 255, 255, 0.5);
}

/* Base Reset & Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--este-text-main);
    background-color: var(--este-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--este-container);
    margin: 0 auto;
    padding-inline: 16px;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .container {
        padding-inline: 30px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: 40px;
    }
}

@media (min-width: 1280px) {
    .container {
        padding-inline: 80px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

button {
    font-family: inherit;
}

/* Buttons Custom */
.este-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--este-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.este-btn-primary {
    background: var(--este-primary);
    color: #fff;
}

.este-btn-primary:hover {
    transform: translateY(-2px);
    background: #d4186a;
    box-shadow: 0 10px 15px -3px rgba(234, 29, 118, 0.3);
}

/* --- Navigation Dropdowns --- */
.nav-item-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 240px;
    box-shadow: var(--este-shadow-lg);
    border-radius: var(--este-radius);
    z-index: 1001;
    top: calc(100% + 5px);
    left: -20px;
    padding: 12px 0;
    border: 1px solid #f1f5f9;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.nav-item-dropdown:hover .dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.dropdown-content a {
    color: var(--este-text-muted);
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--este-off-white);
    color: var(--este-primary);
    padding-left: 30px;
}

.dropdown-empty {
    padding: 12px 25px;
    color: var(--este-text-light);
    font-size: 0.85rem;
    font-style: italic;
    display: block;
}

/* Service Card Premium Refinement */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border-color: rgba(234, 29, 118, 0.2);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card .este-btn-primary {
    transition: all 0.3s ease;
}

.service-card:hover .este-btn-primary {
    background: var(--este-primary);
    transform: scale(1.05);
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--este-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--este-glass-border);
}

/* Entrance Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Simplified Mesh Backdrop */
.mesh-bg {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.mesh-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsla(334, 82%, 51%, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* --- Product Page & Decision Block --- */
.decision-block-card {
    position: sticky;
    top: 120px;
    background: #fff;
    border-radius: var(--este-radius-large);
    border: 1px solid #f1f5f9;
    padding: 2.5rem;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.este-price-container {
    margin-bottom: 2rem;
}

.este-price-regular {
    color: var(--este-text-light);
    text-decoration: line-through;
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
    font-weight: 500;
    opacity: 0.8;
}

.este-price-main {
    font-size: 3rem;
    font-weight: 950;
    color: var(--este-primary);
    letter-spacing: -1.8px;
    line-height: 0.9;
}

.este-offer-badge {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    font-weight: 800;
    font-size: 0.85rem;
    margin-top: 1.2rem;
    padding: 10px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}

/* WooCommerce Overrides */
.este-add-to-cart-wrapper form.cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    margin: 0 !important;
}

.este-add-to-cart-wrapper .quantity {
    display: none !important;
}

.este-add-to-cart-wrapper .quantity input {
    width: 65px !important;
    height: 56px !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    font-weight: 950 !important;
    font-size: 1.2rem !important;
    text-align: center !important;
    color: var(--este-text-main) !important;
    transition: all 0.2s ease !important;
}

.este-add-to-cart-wrapper .quantity input:focus {
    border-color: var(--este-primary) !important;
    background: #fff !important;
    outline: none !important;
}

.este-add-to-cart-wrapper .single_add_to_cart_button {
    background: var(--este-primary) !important;
    color: #fff !important;
    padding: 1.4rem !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    box-shadow: 0 8px 20px rgba(234, 29, 118, 0.2) !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: -0.3px !important;
    position: relative;
    overflow: hidden !important;
}

.este-add-to-cart-wrapper .single_add_to_cart_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.este-add-to-cart-wrapper .single_add_to_cart_button:hover::before {
    left: 100%;
}

.este-add-to-cart-wrapper .single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(234, 29, 118, 0.3) !important;
    background: #d01867 !important;
    /* Slightly darker pink on hover */
}

.este-add-to-cart-wrapper .single_add_to_cart_button:active {
    transform: translateY(-1px) !important;
}

/* Clinic Info Block */
.clinic-decision-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.clinic-logo-placeholder {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    font-weight: 950;
    color: var(--este-primary);
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.clinic-verified-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 800;
}

.map-container-mini {
    margin: 15px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    height: 100px;
    position: relative;
}

.booking-assurance {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--este-text-main);
    font-size: 0.85rem;
    font-weight: 700;
    background: #f1f5f9;
    padding: 12px;
    border-radius: 12px;
    line-height: 1.3;
}

/* --- Header & Navigation Responsiveness --- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
}

.header-search-form {
    flex: 1;
    max-width: 650px;
    background: var(--este-off-white);
    border-radius: var(--este-radius-full);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: stretch; /* Direct flex children stretch to fill 100% height of form */
    height: 50px;
    position: relative;
    overflow: hidden; /* Clips the stretched button to fit the pill border-radius */
    transition: all 0.3s ease;
}

@keyframes searchGlowPulse {
    0% { box-shadow: 0 0 0 0 rgba(234, 29, 118, 0.5); border-color: #ea1d76; transform: scale(1); }
    50% { box-shadow: 0 0 0 10px rgba(234, 29, 118, 0.25); border-color: #ea1d76; transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(234, 29, 118, 0); transform: scale(1); }
}

.search-highlight-pulse {
    animation: searchGlowPulse 1.5s ease-out;
}

.este-btn-search-submit {
    background: var(--este-primary);
    color: #fff;
    border: none;
    padding: 0 24px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 0;
}

.este-btn-search-submit:hover {
    opacity: 0.9;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Trust Banner Refinement --- */
.trust-banner-card {
    margin: 6rem 0;
    background: linear-gradient(135deg, var(--este-primary) 0%, #90114a 100%);
    padding: 4rem 3rem;
    border-radius: var(--este-radius-large);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(234, 29, 118, 0.4);
}

.trust-banner-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
}

/* --- Mobile Responsiveness Overrides --- */
@media (max-width: 1023px) {
    .site-header {
        width: 100%;
        box-sizing: border-box;
    }

    .site-header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .header-navigation {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        flex: none;
        width: 100%;
        box-sizing: border-box;
    }

    .header-search-form {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .main-navigation {
        justify-content: space-between;
        width: 100%;
        gap: 15px;
    }

    .main-navigation .nav-menu {
        display: none !important; /* Hide desktop dropdowns on mobile */
    }

    .trust-banner-card {
        margin: 3rem 0;
        padding: 2.5rem 1.5rem;
    }

    .trust-banner-card h2 {
        font-size: 1.8rem;
    }
    
    .categories-section {
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    .header-search-form {
        height: 46px;
    }
    
    .header-search-form input {
        font-size: 0.85rem !important;
    }
}

/* --- Bottom Mobile Navigation Bar --- */
.este-mobile-nav {
    display: none; /* Hide on desktop */
}

@media (max-width: 768px) {
    .este-mobile-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        min-height: 62px;
        height: calc(62px + env(safe-area-inset-bottom));
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        z-index: 999999;
        justify-content: space-around;
        align-items: center;
        margin: 0;
        padding: 0 4px;
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }

    .este-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--este-text-muted);
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 700;
        gap: 3px;
        flex: 1 1 25%;
        max-width: 25%;
        box-sizing: border-box;
        text-align: center;
        transition: color 0.2s ease;
    }

    .este-mobile-nav-item span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .este-mobile-nav-item:hover,
    .este-mobile-nav-item.active {
        color: var(--este-primary);
    }

    .este-mobile-nav-item span.dashicons {
        font-size: 20px !important;
        width: 20px !important;
        height: 20px !important;
    }

    /* Prevent bottom navigation overlap on normal page content */
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom));
    }

    /* Shift the mobile sticky cta up if both are present */
    .mobile-sticky-cta {
        bottom: 65px !important;
        padding-bottom: 12px !important;
        transition: bottom 0.3s ease;
    }

    /* Hide top navigation menu completely on mobile to clean up space (accessed via bottom nav) */
    .main-navigation {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .main-navigation {
        display: flex !important;
        align-items: center;
        gap: 20px;
    }
}

/* --- Responsive Hero Section Styles (Desktop-first architecture with mobile-first logic) --- */
.hero-section {
    padding: 6rem 0 8rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge-container,
.hero-badge-default {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 2rem;
    align-items: center;
    gap: 8px;
}

.hero-badge-container {
    height: 38px;
    overflow: hidden;
}

.hero-badge-default {
    background: var(--este-off-white);
    border: 1px solid #e2e8f0;
}

.hero-badge-dot {
    background: var(--este-primary);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

#rotating-badge-wrapper {
    position: relative;
    height: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--este-text-muted);
}

.hero-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    font-weight: 900;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--este-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    transition-delay: 0.1s;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-cta-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-group {
    display: flex;
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent);
}

.avatar-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.avatar-img:not(:first-child) {
    margin-left: -10px;
}

.satisfied-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mobile Hero Overrides */
@media (max-width: 1023px) {
    .hero-section {
        padding: 3rem 0 4rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.75rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 15px;
    }

    .hero-cta-btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .hero-social-proof {
        justify-content: center;
        margin-top: 5px;
    }
    
    /* Hide the huge hero graphic on small screens to prioritize search & conversion */
    .hero-section .reveal-right {
        display: none !important;
    }
}

/* --- Section Header Styles --- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--este-text-main);
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--este-text-muted);
    font-size: 1rem;
}

.section-view-all {
    font-weight: 700;
    color: var(--este-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Mobile Section Header Overrides */
@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem; /* Perfect size for mobile title */
        margin-bottom: 0.25rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-view-all {
        font-size: 0.9rem;
    }
}

/* =========================================================
   SINGLE PRODUCT PAGE MOBILE OPTIMIZATIONS (<768px)
   ========================================================= */
@media (max-width: 768px) {
    .product-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .decision-block-card {
        padding: 1.25rem !important;
        border-radius: 16px !important;
    }

    .este-price-main {
        font-size: 2.25rem !important;
    }

    .este-add-to-cart-wrapper .single_add_to_cart_button {
        padding: 0.85rem 1rem !important;
        font-size: 1.05rem !important;
        height: 52px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-full-content {
        margin-top: 2.5rem !important;
    }

    .este-content-section {
        margin-bottom: 3rem !important;
    }

    .este-content-section h2 {
        font-size: 1.45rem !important;
        margin-bottom: 1.25rem !important;
        letter-spacing: -0.5px !important;
        line-height: 1.25 !important;
    }

    .este-prose {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Rules Section Layout */
    .este-content-section div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    /* Important Warnings Box */
    .este-content-section[style*="background: #fdf2f8"] {
        margin-top: 2rem !important;
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
    }

    .este-content-section[style*="background: #fdf2f8"] h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }

    .este-content-section[style*="background: #fdf2f8"] ul {
        padding-left: 1.1rem !important;
        font-size: 0.875rem !important;
    }
}

/* =========================================================
   STICKY MOBILE PURCHASE BAR (SOLUÇÃO A - HIGH CONVERSION)
   ========================================================= */
.este-sticky-buy-bar {
    display: none;
}

@media (max-width: 767px) {
    /* Hide general bottom nav bar on single product page to prioritize conversion */
    body.single-product .este-mobile-nav {
        display: none !important;
    }

    /* Show Sticky Purchase Bar on single product page */
    body.single-product .este-sticky-buy-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08) !important;
        z-index: 999999 !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.6rem 1.25rem !important;
        padding-bottom: max(0.6rem, env(safe-area-inset-bottom)) !important;
        box-sizing: border-box !important;
    }

    .este-sticky-buy-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .este-sticky-price-regular {
        font-size: 0.75rem;
        color: #94a3b8;
        text-decoration: line-through;
        font-weight: 600;
        line-height: 1;
    }

    .este-sticky-price-main {
        font-size: 1.45rem;
        font-weight: 900;
        color: var(--este-primary, #ea1d76);
        font-family: 'Outfit', sans-serif;
        line-height: 1.1;
    }

    .este-sticky-buy-btn {
        height: 48px;
        padding: 0 1.5rem;
        background: var(--este-primary, #ea1d76);
        color: #ffffff;
        border: none;
        border-radius: 12px;
        font-family: 'Outfit', sans-serif;
        font-size: 1.05rem;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(234, 29, 118, 0.3);
        transition: transform 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .este-sticky-buy-btn:active {
        transform: scale(0.97);
    }
}

/* =========================================================
   CATEGORY & SHOP ARCHIVE MOBILE OPTIMIZATIONS (<768px)
   ========================================================= */
@media (max-width: 768px) {
    .top-filter-chips-wrapper {
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 12px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .shop-results-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        margin-bottom: 20px !important;
        padding: 10px 0 15px !important;
    }

    .shop-results-count {
        font-size: 1.15rem !important;
        line-height: 1.25 !important;
    }

    .shop-results-count span {
        font-size: 1.35rem !important;
    }

    .shop-filter-bar {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .shop-filter-bar > span {
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }

    .shop-filter-bar div {
        flex: 1 !important;
    }

    .woocommerce-ordering select {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Mobile Filter Drawer Content Override */
#mobile-filter-drawer .shop-sidebar {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* WooCommerce Gutenberg Block Override for Empty Cart */
.wp-block-woocommerce-empty-cart-block,
.wc-block-cart__empty-cart-block {
    display: none !important;
}

/* Cart Layout Mobile Responsiveness (<992px) */
@media (max-width: 992px) {
    .cart-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .cart-summary-sidebar {
        position: static !important;
    }

    .cart-summary-box {
        padding: 1.25rem 1rem !important;
        border-radius: 20px !important;
    }

    .este-cart-item-card {
        padding: 1rem 0.85rem !important;
        gap: 12px !important;
        border-radius: 16px !important;
    }

    .cart-summary-box h2 {
        font-size: 1.15rem !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.75rem !important;
    }
}

/* Sidebar and Mobile Filter Trigger Global Breakpoints */
@media (max-width: 1100px) {
    .shop-sidebar-desktop { display: none !important; }
    .mobile-filter-trigger-bar { display: block !important; }
}

/* ==========================================================================
   ESTETICLICK PREMIUM CHECKOUT DESIGN SYSTEM (2-COLUMN & MOBILE FLUID)
   ========================================================================== */

/* Ancestral container padding removal exclusively for Checkout Mobile */
@media (max-width: 768px) {
    body.woocommerce-checkout #primary.content-area.container {
        padding-inline: 0;
    }
}

.este-checkout-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 1.5rem auto 3rem;
    padding-inline: 16px;
    box-sizing: border-box;
}

/* Header Progress Bar */
.este-checkout-header-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #F1F5F9;
}

.este-checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94A3B8;
    font-weight: 600;
    font-size: 0.9rem;
}

.este-checkout-step.active {
    color: #0F172A;
}

.este-checkout-step .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.este-checkout-step.active .step-num {
    background: linear-gradient(135deg, #FF007A 0%, #E0006B 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 0, 122, 0.3);
}

.este-checkout-step-line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: #E2E8F0;
    border-radius: 2px;
}

.este-checkout-step-line.active {
    background: #FF007A;
}

/* Grid Layout */
.este-checkout-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Card Container */
.este-checkout-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.este-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F1F5F9;
}

.este-card-icon {
    font-size: 1.5rem;
    width: 46px;
    height: 46px;
    background: #FFF0F6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.este-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    line-height: 1.2;
}

.este-card-subtitle {
    font-size: 0.85rem;
    color: #64748B;
    margin: 3px 0 0 0;
}

/* Form Controls & Symmetrical Inputs Grid */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.form-row {
    margin: 0 0 0.5rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.form-row-first,
.form-row-last {
    width: calc(50% - 5px) !important;
    float: none !important;
}

.form-row-wide {
    width: 100% !important;
    float: none !important;
}

.form-row label {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 4px !important;
}

.form-row input.input-text,
.form-row select,
.form-row textarea {
    width: 100% !important;
    padding: 0.75rem 0.9rem !important;
    font-size: 0.92rem !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 12px !important;
    background-color: #F8FAFC !important;
    color: #0F172A !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.form-row input.input-text:focus,
.form-row select:focus,
.form-row textarea:focus {
    background-color: #FFFFFF !important;
    border-color: #FF007A !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.12) !important;
}

/* Order Summary Review Items */
.este-checkout-review-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.este-checkout-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.85rem;
    background: #F8FAFC;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
}

.este-item-thumb {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #E2E8F0;
}

.este-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.este-item-thumb .qty-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF007A;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.este-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.este-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.3;
}

.este-item-clinic {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
}

.este-item-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FF007A;
}

/* Totals Block */
.este-checkout-totals-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #64748B;
}

.totals-row.total-row-final {
    padding-top: 0.85rem;
    border-top: 2px dashed #E2E8F0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin-top: 4px;
}

.total-row-final .final-price {
    font-size: 1.35rem;
    color: #FF007A;
}

/* Payment Gateways Box Style (Asaas Accordion Tabs) */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    border-bottom: none !important;
}

#payment ul.payment_methods li {
    background: #FFFFFF !important;
    border: 2px solid #E2E8F0 !important;
    border-radius: 18px !important;
    padding: 1.25rem !important;
    transition: all 0.25s ease !important;
}

#payment ul.payment_methods li:has(input:checked) {
    background: #FFFFFF !important;
    border-color: #FF007A !important;
    box-shadow: 0 8px 24px rgba(255, 0, 122, 0.12) !important;
}

#payment ul.payment_methods li label {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    width: 100 !important;
}

#payment ul.payment_methods li input[type="radio"] {
    accent-color: #FF007A !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
}
/* ==========================================================================
   ULTRA-RESPONSIVE ZERO-OVERFLOW MOBILE CHECKOUT UX/UI SYSTEM
   ========================================================================== */

/* Universal Box-Sizing Reset */
.este-checkout-wrapper,
.este-checkout-wrapper *,
.este-checkout-wrapper *::before,
.este-checkout-wrapper *::after {
    box-sizing: border-box !important;
}

/* Outer Wrapper & Containers */
.este-checkout-wrapper {
    max-width: 1200px !important;
    margin: 1.5rem auto 3rem !important;
    padding: 0 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
}

.este-checkout-grid {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .este-checkout-wrapper {
        margin: 0.5rem auto 2rem !important;
        padding-inline: 16px !important;
        width: 100% !important;
    }

    .este-checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* --------------------------------------------------------------------------
   1. Billing Fields Symmetrical CSS Grid
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
    .woocommerce-billing-fields__field-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .woocommerce-billing-fields__field-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.woocommerce-billing-fields__field-wrapper .form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Full Width Fields (100% - Spans both columns) */
.woocommerce-billing-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* 2-Column Pairs (First = Col 1, Last = Col 2) */
.woocommerce-billing-fields__field-wrapper .form-row-first {
    grid-column: 1 !important;
    width: 100% !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-last {
    grid-column: 2 !important;
    width: 100% !important;
}

/* --------------------------------------------------------------------------
   2. Integrated Stripe Elements Card Widget (Reference Screenshots 3, 4 & 5)
   -------------------------------------------------------------------------- */

/* Custom Sub-Containers */
.este-card-row-3 {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 6px 0 !important;
}

.este-expiry-col,
.este-expiry-subgroup {
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Hide static description paragraphs that squeeze payment_box */
#payment .payment_box > p:not(.form-row) {
    display: none !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

#payment .payment_methods .payment_box,
#payment ul.payment_methods li .payment_box,
.payment_method_asaas-credit-card .payment_box {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    padding: 1.1rem !important;
    margin: 0.75rem 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#payment .payment_methods .payment_box::before,
.payment_method_asaas-credit-card .payment_box::before {
    display: none !important;
}

/* Reset all child wrappers inside payment_box */
#payment .payment_box > div,
#payment .payment_box > p,
#payment .payment_box .form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Hide Asaas redundant static "Data de expiração" label block */
#payment .payment_box [id*="expiration-label"],
#payment .payment_box [id*="expiration_label"],
#payment .payment_box [id*="assas-cc-expiration"] {
    display: none !important;
}

/* Field Grid Placement:
   - Número do Cartão: Row 1 (Full 100%) -> grid-column: 1 / -1
   - Mês: Row 2 Left (1fr) -> grid-column: 1
   - Ano: Row 2 Right (1fr) -> grid-column: 2
   - CVV: Row 3 (Full 100%) -> grid-column: 1 / -1
   - Nome impresso no cartão: Row 4 (Full 100%) -> grid-column: 1 / -1
   - Parcelas: Row 5 (Full 100%) -> grid-column: 1 / -1
*/

#payment .payment_box [id*="number"] {
    grid-column: 1 / -1 !important;
    order: 1 !important;
}

/* Mês (Left 1fr) & Ano (Right 1fr) - ALWAYS 100% SIDE-BY-SIDE ON EVERY RESOLUTION! */
#payment .payment_box [id*="expiration_month"],
#payment .payment_box [id*="expiration-month"],
#payment .payment_box #asaas-cc-expiration-month_field,
#payment .payment_box #asaas_cc_expiration_month_field {
    grid-column: 1 !important;
    order: 2 !important;
    width: 100% !important;
}

#payment .payment_box [id*="expiration_year"],
#payment .payment_box [id*="expiration-year"],
#payment .payment_box #asaas-cc-expiration-year_field,
#payment .payment_box #asaas_cc_expiration_year_field {
    grid-column: 2 !important;
    order: 3 !important;
    width: 100% !important;
}

#payment .payment_box [id*="security_code"],
#payment .payment_box [id*="cvv"],
#payment .payment_box #asaas-cc-security_code_field,
#payment .payment_box #asaas_cc_security_code_field {
    grid-column: 1 / -1 !important;
    order: 4 !important;
    width: 100% !important;
}

#payment .payment_box [id*="name"],
#payment .payment_box [id*="holder"] {
    grid-column: 1 / -1 !important;
    order: 5 !important;
    width: 100% !important;
}

#payment .payment_box [id*="installments"] {
    grid-column: 1 / -1 !important;
    order: 6 !important;
    width: 100% !important;
}

/* High-Specificity Light Typography for Credit Card Labels */
#payment .payment_methods .payment_box label,
#payment ul.payment_methods li .payment_box label,
#payment .payment_box div label,
#payment .payment_box p label {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 4px !important;
    display: block !important;
}

/* High-Specificity Compact Inputs for Credit Card */
#payment .payment_methods .payment_box input[type="text"],
#payment .payment_methods .payment_box input[type="tel"],
#payment .payment_methods .payment_box input[type="password"],
#payment .payment_methods .payment_box select,
#payment .payment_box input[type="text"],
#payment .payment_box select {
    width: 100% !important;
    padding: 0.7rem 0.85rem !important;
    font-size: 0.9rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

#payment .payment_methods .payment_box input[type="text"]:focus,
#payment .payment_methods .payment_box input[type="tel"]:focus,
#payment .payment_methods .payment_box input[type="password"]:focus,
#payment .payment_methods .payment_box select:focus {
    background-color: #FFFFFF !important;
    border-color: #FF007A !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.12) !important;
}

/* ==========================================================================
   OVERRIDE 100% WOOCOMMERCE LEGACY PURPLE WITH ESTETICLICK PINK (#FF007A)
   ========================================================================== */

/* Payment Radio Buttons & Checkboxes */
.woocommerce input[type="radio"],
.woocommerce input[type="checkbox"],
#payment input[type="radio"],
#payment input[type="checkbox"],
.input-radio,
.input-checkbox {
    accent-color: #FF007A !important;
}

/* Checked Radio Custom Decorators */
#payment ul.payment_methods li input[type="radio"]:checked + label::before,
.wc_payment_method input[type="radio"]:checked + label::before {
    border-color: #FF007A !important;
    background-color: #FF007A !important;
}

/* Payment Box Active Borders & Focus */
.payment_method_asaas-credit-card.active,
.payment_method_asaas-pix.active {
    border-color: #FF007A !important;
}

/* Links & Required Asterisks */
.woocommerce a,
.woocommerce-checkout a,
.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-checkbox-text a,
span.required,
.required_field {
    color: #FF007A !important;
    text-decoration: none !important;
}

.woocommerce a:hover,
.woocommerce-checkout a:hover {
    color: #E0006B !important;
    text-decoration: underline !important;
}

/* Order Review Table Totals */
.woocommerce-checkout-review-order-table .order-total .amount,
.woocommerce-checkout-review-order-table .amount {
    color: #FF007A !important;
    font-weight: 700 !important;
}

/* Step Bar Indicators */
.este-checkout-step.active .step-num {
    background: #FF007A !important;
    color: #FFFFFF !important;
}

.este-checkout-step.active .step-text {
    color: #FF007A !important;
}

.este-checkout-step-line.active {
    background: #FF007A !important;
}

/* Primary Checkout Action Button */
#place_order,
.woocommerce-checkout #place_order,
.button.alt {
    background: linear-gradient(135deg, #FF007A 0%, #E0006B 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 0, 122, 0.35) !important;
    transition: all 0.2s ease-in-out !important;
}

#place_order:hover,
.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #E0006B 0%, #C0005C 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 0, 122, 0.5) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   NATIVE PHP CLEAN CREDIT CARD FORM STYLING (MATCHES REFERENCE SCREENSHOT 3)
   ========================================================================== */

.este-native-card-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 4px !important;
}

.este-card-field-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.este-card-field-group label {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.este-input-icon-wrap {
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.este-input-icon-wrap input {
    width: 100% !important;
    padding: 0.7rem 2.5rem 0.7rem 0.85rem !important;
    font-size: 0.9rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.este-input-icon-wrap input:focus {
    border-color: #FF007A !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.12) !important;
}

.este-input-icon-wrap .este-icon {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.1rem !important;
    pointer-events: none !important;
    opacity: 0.7 !important;
}

/* Row 3: Grid (50% Expiry / 50% CVV) */
.este-card-grid-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 3-Block Flex Container for Expiration [ MM ] / [ AA ] */
.este-expiry-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.este-month-wrap,
.este-year-wrap {
    flex: 1 1 42% !important;
    width: 42% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.este-month-wrap input,
.este-year-wrap input {
    width: 100% !important;
    text-align: center !important;
    padding: 0.7rem 0.4rem !important;
    font-size: 0.9rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    float: none !important;
}

.este-month-wrap input:focus,
.este-year-wrap input:focus {
    border-color: #FF007A !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.12) !important;
}

.este-expiry-slash {
    flex: 0 0 14px !important;
    width: 14px !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
    margin: 0 !important;
    user-select: none !important;
    line-height: 1 !important;
    display: inline-block !important;
    float: none !important;
}

/* ==========================================================================
   REFUSED STYLES: COUPON NOTICE & UNIFIED SELECTS (TIPO DE PESSOA + ESTADO)
   ========================================================================== */

/* Neutralize legacy WooCommerce icon pseudo-elements to avoid text overlap */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::after,
.woocommerce-message::after,
.woocommerce-error::after {
    display: none !important;
    content: none !important;
}

/* Coupon Toggle Box (.woocommerce-info) */
.woocommerce-form-coupon-toggle,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    background-color: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-left: 4px solid #FF007A !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-indent: 0 !important;
}

/* HOTFIX V3.5: Full-Width Error Notices inside Checkout 2-Column Grid */
.este-checkout-grid > .woocommerce-notices-wrapper,
.este-checkout-grid > .woocommerce-NoticeGroup-checkout,
.este-checkout-grid > .woocommerce-error,
.este-checkout-grid > .woocommerce-message,
.este-checkout-grid > .woocommerce-info,
.este-checkout-grid > .checkout-alert,
.woocommerce-checkout > .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout > .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 16px 0 !important;
}

/* HOTFIX V3.5: Neutral Email Suggestion Styling (#6f7b8e) */
#wcbcf-mailsuggest,
.email-suggestion {
    color: #6f7b8e !important;
    font-size: 13px !important;
    margin-top: 4px !important;
}

#wcbcf-mailsuggest a,
.email-suggestion a {
    color: #e11d48 !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
}

.woocommerce-info::before {
    color: #FF007A !important;
}

.woocommerce-info a,
.showcoupon {
    color: #FF007A !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* ==========================================================================
   NATIVE ESTETICKLICK COUPON CARD STYLING
   ========================================================================== */

.este-coupon-card {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.este-coupon-input-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.este-coupon-input-group input#coupon_code {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.9rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    outline: none !important;
}

.este-coupon-input-group input#coupon_code:focus {
    border-color: #FF007A !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.12) !important;
}

.este-btn-apply-coupon {
    width: auto !important;
    flex-shrink: 0 !important;
    height: 44px !important;
    padding: 0 1.25rem !important;
    background: #FF007A !important;
    color: #FFFFFF !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(255, 0, 122, 0.25) !important;
}

.este-btn-apply-coupon:hover {
    background: #E0006C !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 0, 122, 0.35) !important;
}

/* Symmetrical Select Enclosure (Tipo de Pessoa & Estado) */
.woocommerce-billing-fields select:not(.select2-hidden-accessible),
#billing_persontype:not(.select2-hidden-accessible),
#billing_persontype_field select:not(.select2-hidden-accessible),
#billing_state:not(.select2-hidden-accessible),
#billing_state_field select:not(.select2-hidden-accessible),
.select2-container--default .select2-selection--single {
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.9rem !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.2s ease-in-out !important;
}

/* Fix Select2 Hidden Accessible Element Overflow */
select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Strict Viewport Horizontal Scroll Lock */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body.woocommerce-checkout {
    max-width: 100%;
    overflow-x: hidden;
}

/* Suppress redundant "Added to cart / Ver carrinho" notice on Checkout Page */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-message:has(.wc-forward),
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-info:has(.wc-forward),
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-notices-wrapper .wc-forward {
    display: none !important;
}

/* Hide Emojis & Icons inside Checkout Card Headers & Field Containers */
.este-card-icon,
.woocommerce-checkout .asaas-cc-form-field-icon,
.woocommerce-checkout .asaas-cc-icon,
.woocommerce-checkout .wc-asaas-icon,
.woocommerce-checkout [class*="asaas"] form .form-row i,
.woocommerce-checkout [class*="asaas"] form .form-row .dashicons,
.woocommerce-checkout [class*="asaas"] form .form-row span[class*="icon"] {
    display: none !important;
}

.este-checkout-wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

.woocommerce-billing-fields select:focus,
#billing_persontype:focus,
#billing_state:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #FF007A !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.12) !important;
}

/* Select2 Dropdown Alignment Fix */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important;
    color: #0F172A !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 8px !important;
}

#billing_persontype_field,
#billing_state_field {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   ORDER RECEIVED / THANK YOU PAGE PREMIUM STYLING (ESTETICLICK DESIGN SYSTEM)
   ========================================================================== */

.woocommerce-order-details,
.woocommerce-customer-details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.woocommerce-order-details__title,
.woocommerce-column__title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    margin-bottom: 1.25rem !important;
    letter-spacing: -0.3px !important;
}

.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.95rem !important;
    color: #334155 !important;
}

.woocommerce-table--order-details th {
    background: #f8fafc !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-table--order-details td.woocommerce-table__product-name a {
    color: #ea1d76 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-table--order-details td.woocommerce-table__product-name a:hover {
    text-decoration: underline !important;
}

.woocommerce-customer-details address {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 1.25rem;
    font-style: normal;
    line-height: 1.6;
    color: #475569;
    font-size: 0.95rem;
}

/* ==========================================================================
   MOBILE FIRST CHECKOUT RESPONSIVE (CLEAN REFACTORED COMPONENT STYLES)
   ========================================================================== */

@media (max-width: 768px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .este-mobile-nav {
        display: none !important;
    }

    .este-checkout-wrapper {
        margin-top: 0.5rem;
        margin-inline: auto;
        margin-bottom: calc(24px + env(safe-area-inset-bottom));
        padding-inline: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .este-checkout-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .este-checkout-main-col,
    .este-checkout-side-col {
        width: 100%;
        box-sizing: border-box;
    }

    /* Top Steps Bar Mobile Compact */
    .este-checkout-header-bar {
        padding: 0.75rem 0.5rem;
        margin-bottom: 1rem;
        border-radius: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .este-checkout-steps-bar {
        justify-content: space-between;
        width: 100%;
        gap: 4px;
    }

    .este-checkout-step-line {
        display: none;
    }

    .este-checkout-step {
        gap: 4px;
        padding: 4px 2px;
        flex: 1;
        justify-content: center;
    }

    .este-checkout-step .step-num {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .este-checkout-step .step-text {
        font-size: 0.72rem;
        white-space: nowrap;
    }

    /* Card Bounds on Mobile */
    .este-checkout-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        margin-bottom: 1rem;
        box-sizing: border-box;
        width: 100%;
    }

    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="password"],
    .woocommerce-checkout select,
    .woocommerce-billing-fields input,
    .woocommerce-billing-fields select {
        width: 100%;
        box-sizing: border-box;
    }

    .woocommerce-checkout .form-row,
    .woocommerce-billing-fields .form-row {
        width: 100%;
        float: none;
        margin: 0 0 10px 0;
        box-sizing: border-box;
    }

    .woocommerce-billing-fields label {
        font-size: 0.85rem;
        white-space: normal;
        word-break: break-word;
    }

    .este-card-grid-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .este-coupon-input-group {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .este-coupon-input-group input#coupon_code,
    .este-btn-apply-coupon {
        width: 100%;
    }
}

/* ==========================================================================
   GLOBAL HIGH-CONTRAST TEXT FIX FOR ALL PINK BUTTONS, CHIPS & BADGES
   ========================================================================== */

.este-btn-v3,
.este-btn-v3:link,
.este-btn-v3:visited,
.este-btn-v3:hover,
.este-btn-v3:focus,
.este-btn-primary,
.este-btn-primary:link,
.este-btn-primary:visited,
.este-btn-primary:hover,
.este-btn-primary:focus,
.filter-chip-item.active,
.filter-chip-item.active:link,
.filter-chip-item.active:visited,
.filter-chip-item.active:hover,
.filter-chip-item.active:focus,
.button.alt,
.button.alt:link,
.button.alt:visited,
.button.alt:hover,
.button.alt:focus,
.este-sticky-buy-btn,
.este-sticky-buy-btn:link,
.este-sticky-buy-btn:visited,
.este-btn-apply-coupon,
.este-btn-apply-coupon:link,
.este-btn-apply-coupon:visited,
.este-btn-schedule-wa,
.este-btn-schedule-wa:link,
.este-btn-schedule-wa:visited,
.este-btn-schedule-wa:hover,
.este-btn-schedule-wa:focus {
    color: #ffffff !important;
}

.este-btn-schedule-wa *,
.este-btn-schedule-wa svg,
.este-btn-schedule-wa span {
    color: #ffffff !important;
    fill: #ffffff !important;
}

[style*="background: #ea1d76"],
[style*="background:#ea1d76"],
[style*="background: var(--este-primary)"],
[style*="background:var(--este-primary)"],
[style*="background: #ff007a"],
[style*="background:#ff007a"] {
    color: #ffffff !important;
}

[style*="background: #ea1d76"] *,
[style*="background:#ea1d76"] *,
[style*="background: var(--este-primary)"] *,
[style*="background:var(--este-primary)"] *,
[style*="background: #ff007a"] *,
[style*="background:#ff007a"] * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* --- Premium Global Button .este-btn-v3 Definition --- */
.este-btn-v3,
.este-btn-v3:link,
.este-btn-v3:visited {
    background: linear-gradient(135deg, #ea1d76 0%, #d41466 100%) !important;
    background-color: #ea1d76 !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    padding: 1.1rem 1.75rem !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 8px 24px -2px rgba(234, 29, 118, 0.4) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.este-btn-v3:hover,
.este-btn-v3:focus {
    background: linear-gradient(135deg, #d41466 0%, #b80d56 100%) !important;
    background-color: #d41466 !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 28px -2px rgba(234, 29, 118, 0.5) !important;
}

/* ==========================================================================
   HOTFIX: ORDER RECEIVED / THANK YOU PAGE HIGH-CONTRAST CTA BUTTONS
   ========================================================================== */
.woocommerce-order-received .este-btn-v3,
.woocommerce-order-received a.este-btn-v3,
.woocommerce-order-received a.este-btn-v3:link,
.woocommerce-order-received a.este-btn-v3:visited,
.woocommerce-checkout a.este-btn-v3,
.woocommerce-checkout a.este-btn-v3:visited,
body.woocommerce-order-received a.este-btn-v3,
body.woocommerce-order-received a.este-btn-v3:visited {
    background: linear-gradient(135deg, #FF007A 0%, #E0006B 100%) !important;
    background-color: #FF007A !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 1.1rem 1.75rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 24px -2px rgba(255, 0, 122, 0.4) !important;
}

.woocommerce-order-received a.este-btn-v3 *,
.woocommerce-order-received .este-btn-v3 *,
.woocommerce-checkout a.este-btn-v3 *,
body.woocommerce-order-received a.este-btn-v3 * {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.woocommerce-order-received a.este-btn-v3:hover,
.woocommerce-order-received a.este-btn-v3:focus,
.woocommerce-checkout a.este-btn-v3:hover,
.woocommerce-checkout a.este-btn-v3:focus,
body.woocommerce-order-received a.este-btn-v3:hover,
body.woocommerce-order-received a.este-btn-v3:focus {
    background: linear-gradient(135deg, #E0006B 0%, #C0005C 100%) !important;
    background-color: #E0006B !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px -2px rgba(255, 0, 122, 0.5) !important;
}

/* Secondary CTA: Explorar Mais Ofertas */
.woocommerce-order-received .este-btn-secondary,
.woocommerce-order-received a.este-btn-secondary,
.woocommerce-order-received a.este-btn-secondary:link,
.woocommerce-order-received a.este-btn-secondary:visited,
.woocommerce-checkout a.este-btn-secondary,
.woocommerce-checkout a.este-btn-secondary:visited,
body.woocommerce-order-received a.este-btn-secondary,
body.woocommerce-order-received a.este-btn-secondary:visited {
    background: #FFFFFF !important;
    color: #1E293B !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 1.1rem 1.75rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-order-received a.este-btn-secondary *,
.woocommerce-order-received .este-btn-secondary * {
    color: #1E293B !important;
}

.woocommerce-order-received a.este-btn-secondary:hover,
.woocommerce-order-received a.este-btn-secondary:focus,
.woocommerce-checkout a.este-btn-secondary:hover,
.woocommerce-checkout a.este-btn-secondary:focus,
body.woocommerce-order-received a.este-btn-secondary:hover,
body.woocommerce-order-received a.este-btn-secondary:focus {
    background: #F8FAFC !important;
    color: #FF007A !important;
    border-color: #CBD5E1 !important;
}

.woocommerce-order-received a.este-btn-secondary:hover *,
.woocommerce-order-received a.este-btn-secondary:focus * {
    color: #FF007A !important;
}