/* ===================================================================
   Stellar Product Extras - Frontend Styles
   =================================================================== */

.stellar-single-product-extras-wrapper {
    margin: 18px 0;
    clear: both;
}

/* -------------------------------------------------------------
   Custom Sound Button
   ------------------------------------------------------------- */
.stellar-product-sound-button-wrap {
    margin: 15px 0 18px;
    display: block;
}

.stellar-sound-btn.stellar-native-play-btn,
.stellar-sound-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #2E4535;
    color: #F7EFDF;
    border: 1px solid rgba(46, 69, 53, 0.15);
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(46, 69, 53, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.stellar-sound-btn.stellar-native-play-btn:hover,
.stellar-sound-btn:hover {
    background-color: #1F3025;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(46, 69, 53, 0.18);
}

.stellar-sound-btn.stellar-native-play-btn:active,
.stellar-sound-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(46, 69, 53, 0.1);
}

.stellar-sound-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: inherit;
    transition: transform 0.2s ease;
}

.stellar-sound-btn-icon svg {
    display: block;
    fill: currentColor;
}

.stellar-sound-btn-content {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.stellar-sound-btn-label {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.stellar-sound-btn-sub {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}

/* Animated Sound Wave Indicator */
.stellar-sound-wave-indicator {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    margin-left: 2px;
}

.stellar-sound-wave-bar {
    width: 2.5px;
    height: 4px;
    background-color: currentColor;
    border-radius: 2px;
    opacity: 0.6;
    transition: height 0.2s ease, opacity 0.2s ease;
}

/* Playing Active State */
.stellar-sound-btn.is-playing,
.stellar-sound-btn.stellar-native-play-btn.is-playing {
    background-color: #A7843F;
    color: #FFFFFF;
    border-color: #A7843F;
    box-shadow: 0 6px 20px rgba(167, 132, 63, 0.35);
}

.stellar-sound-btn.is-playing .icon-play {
    display: none !important;
}

.stellar-sound-btn.is-playing .icon-pause {
    display: block !important;
}

.stellar-sound-btn.is-playing .stellar-sound-wave-bar {
    opacity: 1;
    animation: stellarSoundWave 0.9s ease-in-out infinite alternate;
}

.stellar-sound-btn.is-playing .stellar-sound-wave-bar:nth-child(1) {
    animation-delay: 0s;
    height: 12px;
}

.stellar-sound-btn.is-playing .stellar-sound-wave-bar:nth-child(2) {
    animation-delay: 0.3s;
    height: 16px;
}

.stellar-sound-btn.is-playing .stellar-sound-wave-bar:nth-child(3) {
    animation-delay: 0.6s;
    height: 10px;
}

@keyframes stellarSoundWave {
    0% {
        height: 3px;
    }
    100% {
        height: 14px;
    }
}

/* -------------------------------------------------------------
   Custom Chips / Badges
   ------------------------------------------------------------- */
.stellar-product-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.stellar-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stellar-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* -------------------------------------------------------------
   Custom Texts / USPs
   ------------------------------------------------------------- */
.stellar-product-custom-texts-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.stellar-text-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    color: inherit;
}

.stellar-text-icon {
    color: #587962;
    display: inline-flex;
    align-items: center;
}

.stellar-text-sub {
    opacity: 0.75;
    margin-left: 4px;
}
