/* HM Product Highlight Blocks */
.hm-highlight-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

/* Badge Styling */
.hm-free-badge {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: #e6f4ea; /* green background default */
    color: #137333; /* green text default */
    border: 1px solid transparent; 
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    width: auto;
    max-width: fit-content;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
    animation: hm-shake 5s infinite cubic-bezier(.36,.07,.19,.97);
}

.hm-free-badge:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation-play-state: paused;
}

/* Reflection / Shine Animation */
.hm-free-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 60px; /* Widen the reflection to make it easier to see */
    height: 100%;
    background: rgba(255,255,255,0.7); /* Slightly stronger */
    transform: skewX(-20deg);
    animation: hm-shine 8s infinite; /* Even longer total duration */
    z-index: 1;
    pointer-events: none;
}

@keyframes hm-shine {
    0%, 20% { left: -100px; }
    40%       { left: 150%; } /* Sweeps over 20% of 8s = 1.6s, slower sweep and more frequent interval */
    45%, 100% { left: 150%; } /* Pauses out of view */
}

@keyframes hm-shake {
    0%, 80%, 100% { transform: translateY(0) rotate(0); }
    82% { transform: translateY(-2px) rotate(-3deg); }
    85% { transform: translateY(0px) rotate(3deg); }
    88% { transform: translateY(-2px) rotate(-2deg); }
    91% { transform: translateY(0px) rotate(2deg); }
    94% { transform: translateY(0px) rotate(0); }
}

.hm-badge-icon, .hm-icon {
    font-size: 1em !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.hm-free-badge-text, .hm-feature-text {
    z-index: 2;
    position: relative;
}

.hm-badge-icon-img, .hm-icon-img {
    height: 1em !important;
    width: auto !important;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

/* Feature Grid */
.hm-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.hm-feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background-color: #f7f4fb; /* Calm light lavender default */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #433855; /* Soft dark lavender text */
    border: 1px solid #e1dced;
    box-shadow: 0 4px 6px rgba(100,80,130,0.04), 0 1px 3px rgba(100,80,130,0.02);
    transition: all 0.2s ease;
}

.hm-feature-card:hover {
    border-color: #cfc6df;
    background-color: #f2edf9; /* Slightly deeper lavender */
    box-shadow: 0 6px 10px rgba(100,80,130,0.06), 0 2px 4px rgba(100,80,130,0.03);
    transform: translateY(-1px);
}

.hm-feature-text {
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 480px) {
    /* Always 2 columns on mobile */
    .hm-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .hm-feature-card {
        padding: 10px 8px;
        font-size: 12px;
        gap: 6px;
    }
    .hm-badge-icon-img, .hm-icon-img {
        height: 1em !important;
    }
}
