:root {
    --hc-primary-green: #2c5a27;
    --hc-accent-green: #4da674;
    --hc-trust-navy: #1a2b3c;
    --hc-soft-bg: #f8fafc;
    --hc-pill-bg: #e6f4ea;
    --hc-white: #ffffff;
}

.health-consultant-wrap {
    font-family: 'Inter', sans-serif !important;
    color: #334155 !important;
    background-color: var(--hc-soft-bg) !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    overflow: visible !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Headings */
.hc-readable-heading {
    color: var(--hc-trust-navy) !important;
    text-shadow: none !important;
}

.hc-dark-heading {
    color: var(--hc-trust-navy) !important;
}

.health-consultant-wrap h1,
.health-consultant-wrap h2,
.health-consultant-wrap h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.health-consultant-wrap .gradient-text {
    background: linear-gradient(135deg, var(--hc-primary-green), var(--hc-trust-navy));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.health-consultant-wrap .pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background-color: var(--hc-pill-bg);
    color: var(--hc-primary-green);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* Buttons and Inputs */
.hc-main-btn {
    background-color: var(--hc-primary-green) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.hc-main-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.hc-input {
    border: 2px solid #f1f5f9 !important;
    transition: all 0.3s ease !important;
}

.hc-input:focus {
    border-color: var(--hc-primary-green) !important;
    box-shadow: 0 0 0 4px rgba(44, 90, 39, 0.1) !important;
    outline: none !important;
}

/* Visibility State Management */
.hc-show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
}

.hc-hide {
    display: none !important;
}

/* Animation */
.health-consultant-wrap .consulting-anim {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.health-consultant-wrap .consulting-anim div {
    position: absolute;
    border: 4px solid var(--hc-primary-green);
    opacity: 1;
    border-radius: 50%;
    animation: consulting-anim 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.health-consultant-wrap .consulting-anim div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes consulting-anim {
    0% { top: 36px; left: 36px; width: 0; height: 0; opacity: 0; }
    5% { top: 36px; left: 36px; width: 0; height: 0; opacity: 1; }
    100% { top: 0px; left: 0px; width: 72px; height: 72px; opacity: 0; }
}

.health-consultant-wrap .fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.health-consultant-wrap .product-card {
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #f1f5f9;
}

.health-consultant-wrap .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.health-consultant-wrap .product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.health-consultant-wrap .aspect-square {
    background-color: #fcfcfc;
    border-bottom: 1px solid #f8fafc;
}

.health-consultant-wrap .featured-label {
    background-color: var(--hc-pill-bg);
    color: var(--hc-primary-green);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Layout */
.health-consultant-wrap section {
    overflow: visible !important;
    display: block !important;
    width: 100% !important;
    position: relative !important;
    height: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

#hc-featuredGrid, #hc-resultsGrid {
    display: grid !important;
    width: 100% !important;
}
