/* Self Love Horizontal Icons Row */
.self-love-dropdown {
    display: none !important;
    transition: all 0.3s ease-out;
    margin-top: 25px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 20px;
}

.self-love-dropdown.active {
    display: block !important;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.self-love-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.self-love-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.self-love-dropdown.active .self-love-item {
    opacity: 1 !important;
    visibility: visible !important;
    animation: fadeInUp 0.4s ease forwards;
}

.self-love-item:nth-child(1) { animation-delay: 0.05s; }
.self-love-item:nth-child(2) { animation-delay: 0.1s; }
.self-love-item:nth-child(3) { animation-delay: 0.15s; }
.self-love-item:nth-child(4) { animation-delay: 0.2s; }
.self-love-item:nth-child(5) { animation-delay: 0.25s; }
.self-love-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.self-love-item:hover {
    transform: scale(1.1);
}

.self-love-item .icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #FFFFFF;
    border: 2px solid #B8860B;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.self-love-item .icon-wrapper img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 1;
}

.self-love-item:hover .icon-wrapper {
    transform: translateY(-3px) scale(1.1);
    background: #FFFFFF;
    border-color: #996515;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
}

.self-love-item:hover .icon-wrapper img {
    transform: scale(1.1);
}

.self-love-item span {
    color: #B8860B !important;
    font-size: 0.9rem !important;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-top: 5px;
}

.self-love-item:hover span {
    color: #996515;
}

/* Wellness Dropdown Specific - 9 items in single row */
.wellness-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    max-width: 100%;
    overflow-x: auto;
}

.wellness-dropdown .self-love-item {
    flex: 0 0 auto;
    min-width: 90px;
}

.wellness-dropdown .icon-wrapper {
    width: 65px;
    height: 65px;
    padding: 10px;
}

.wellness-dropdown .icon-wrapper img {
    width: 40px;
    height: 40px;
}

.wellness-dropdown span {
    font-size: 0.75rem !important;
    white-space: normal;
    max-width: 90px;
    line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .self-love-grid {
        gap: 10px;
        padding: 15px 5px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .self-love-item {
        min-width: 70px;
    }

    .self-love-item .icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .self-love-item i {
        font-size: 20px;
    }

    .self-love-item span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .self-love-dropdown.active {
        max-height: 180px;
    }

    .self-love-grid {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 15px;
    }

    .self-love-item {
        flex: 0 0 30%;
    }

    .self-love-item span {
        font-size: 0.65rem;
    }
}