/* Modern Dark Theme for Sound Library */
.product-sound-library {
    color: #ffffff;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

/* Hero Section */
.sound-library-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.12);
    transform: scale(1.2);
    animation: subtleZoom 20s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
    from { transform: scale(1.2); }
    to { transform: scale(1.3); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(5, 5, 5, 0.3) 0%,
        rgba(5, 5, 5, 0.8) 80%,
        #050505 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-categories {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.category-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info .product_title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 0.1em;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.meta-icon {
    background: rgba(255, 165, 0, 0.1);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFA500;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.meta-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.meta-value {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.meta-unit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: normal;
}

/* Sold By Section */
.hero-sold-by {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 165, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-sold-by:hover {
    background: rgba(255, 165, 0, 0.15);
    transform: translateY(-1px);
}

.hero-sold-by i {
    color: #FFA500;
    font-size: 1.125rem;
}

.hero-sold-by .sold-by-content {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hero-sold-by .sold-by-content a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-sold-by .sold-by-content a:hover {
    color: #FFA500;
}

@media (max-width: 768px) {
    .hero-sold-by {
        width: 100%;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

.hero-preview {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.preview-image {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.preview-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preview-header h3 i {
    color: #FFA500;
    font-size: 1.25rem;
}

.preview-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-note::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FFA500;
    border-radius: 50%;
}

.waveform-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}


.hero-preview .waveplayer {
    margin: 0;
}

.hero-preview .waveplayer .waveplayer__wave {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2rem;
    min-height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-preview .waveplayer .waveplayer__wave canvas {
    filter: brightness(1.3) contrast(1.3);
}

.hero-preview .waveplayer .waveplayer__controls {
    margin-top: 1.5rem;
}

.hero-preview .waveplayer .waveplayer__controls button {
    background: #FFA500;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.3);
}

.hero-footer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
    margin-top: 2rem;
    width: 100%;
}

form.cart {
    padding: 0 2rem;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

form.variations_form.cart {
    padding: 0 2rem;
}

.hero-price-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.hero-price {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

/* Price styling */
.hero-price .price {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.hero-price .price del {
    font-size: 1.75rem;
    opacity: 0.5;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    margin-right: -0.25rem;
}

.hero-price .price ins {
    text-decoration: none;
}

/* One-time purchase text */
.hero-price small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    line-height: 1;
}

.hero-price small::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #FFA500;
    border-radius: 50%;
    flex-shrink: 0;
}

.price-tag {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sale-tag {
    background-color: rgba(225, 41, 41, 0.9);
    color: white;
}

.vendor-tag {
    background-color: rgba(255, 215, 0, 0.9);
    color: black;
}

.academic-tag {
    background-color: rgba(0, 123, 255, 0.9);
    color: white;
}

.price-tag i {
    margin-right: 4px;
}

.price-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    display: inline;
}

.price-note::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FFA500;
    border-radius: 50%;
    margin-right: 0.5rem;
    margin-left: 0.25rem;
}

a.iconic-ww-button.iconic-ww-button--add-to-wishlist.button {
    margin-bottom: 0px !important;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-rating .star-rating {
    color: #eab308;
    font-size: 1.25rem;
}

.hero-rating .count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
}

.hero-actions form.cart {
    margin: 0;
    padding: 0;
    width: 100%;
}

.hero-actions .single_add_to_cart_button {
    background: #2563eb !important;
    color: #ffffff;
    border: none !important;
    border-radius: 12px;
    padding: 1.25rem 3.5rem !important;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 240px;
    justify-content: center;
}

.hero-actions .single_add_to_cart_button:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.hero-actions .single_add_to_cart_button i {
    font-size: 1.25rem;
}

/* Content Section */
.sound-library-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4rem 8%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Related Products */
.related.products {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.related.products > h2 {
    font-size: 2rem;
    margin: 0 0 2.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.related.products > h2::before {
    content: '\f06b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.75rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Main Content Area */
.content-main {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Description Section */
.sound-library-description {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.description-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
}

.description-content p {
    margin-bottom: 1.5rem;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* Reviews Section */
.sound-library-reviews {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.no-reviews {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

/* YouTube Section */
.sound-library-youtube {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.sound-library-youtube h3 {
    font-size: 2rem;
    margin: 0 0 2.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sound-library-youtube h3 i {
    color: #c7c7c7;
    font-size: 1.75rem;
}

.youtube-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.youtube-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sound-library-youtube {
        padding: 2rem;
    }
    
    .sound-library-youtube h3 {
        font-size: 1.75rem;
    }
}

/* Gallery Section */
.sound-library-gallery {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .sound-library-content {
        padding: 4rem 1.5rem;
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* Details Section */
.sound-library-details {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.sound-library-details h3,
.sound-library-tracklist h3 {
    font-size: 2rem;
    margin: 0 0 2.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sound-library-details h3 i,
.sound-library-tracklist h3 i {
    color: #c7c7c7;
    font-size: 1.75rem;
}

.sound-library-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.sound-library-specs-table th,
.sound-library-specs-table td {
    padding: 0.rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sound-library-specs-table th {
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    width: 40%;
    background: rgba(255, 255, 255, 0.02);
    letter-spacing: 0.01em;
}

.sound-library-specs-table td {
    color: #ffffff;
    font-family: ui-monospace, 'SF Mono', Menlo, Monaco, monospace;
    letter-spacing: 0.02em;
}

.sound-library-specs-table tr:last-child th,
.sound-library-specs-table tr:last-child td {
    border-bottom: none;
}

/* Tracklist */
.sound-library-tracklist {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    margin-top: 2rem;
}

/* Vendor Details */
.sound-library-vendor {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    margin-top: 2rem;
}

.sound-library-vendor h3 {
    font-size: 2rem;
    margin: 0 0 2.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sound-library-vendor h3 i {
    color: #c7c7c7;
    font-size: 1.75rem;
}

.vendor-profile {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vendor-profile__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vendor-profile__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.vendor-profile__icon:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.vendor-profile__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-profile__header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.vendor-profile__header h4 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vendor-profile__header h4 a:hover {
    color: #FFA500;
}

.vendor-profile__description p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .vendor-profile {
        padding: 1.5rem;
    }
    
    .vendor-profile__header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .vendor-profile__description {
        text-align: center;
    }
}

.tracklist-description {
    color: rgba(255, 255, 255, 0.7);
    margin: -1.5rem 0 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.sound-library-tracklist .button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    letter-spacing: 0.01em;
}

.sound-library-tracklist .button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.sound-library-tracklist .button i {
    font-size: 1.25rem;
}

/* Hero Tags Container */
.hero-tags-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
    margin: 0 auto 2rem;
    width: 100%;
    max-width: 1400px;
    display: block !important; /* Ensure it's always displayed */
    position: relative;
    z-index: 2;
}

/* Tags Bar */
.hero-tags-container .tags-bar {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: block;
}

.hero-tags-container .tags-bar-inner {
    padding: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* For backward compatibility with any existing tags-bar outside the hero */
.tags-bar:not(.hero-tags-container .tags-bar) {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.tags-bar:not(.hero-tags-container .tags-bar) .tags-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tags-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.tags-label i {
    color: #FFA500;
    margin-right: 0.5rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.no-tags {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: 0.875rem;
}

/* Responsive adjustments for tags bar */
@media (max-width: 768px) {
    .hero-tags-container {
        padding: 1rem;
    }
    
    .tags-bar-inner, 
    .hero-tags-container .tags-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0 1.5rem;
    }
    
    .tags-list {
        width: 100%;
    }
    
    .tags-bar:not(.hero-tags-container .tags-bar) .tags-bar-inner {
        padding: 0 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-info .product_title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-info .product_title {
        font-size: 2.5rem;
    }

    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .sound-library-hero {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

    .preview-image {
        padding: 1.5rem;
    }

    .preview-image img {
        max-height: 300px;
    }
    
    .hero-info .product_title {
        font-size: 1.75rem;
    }
    
    .hero-meta {
        gap: 1rem;
        grid-template-columns: 1fr;
    }
    
    .hero-footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .hero-price-section {
        align-items: center;
    }

    .hero-price,
    .hero-actions,
    form.cart {
        padding: 0 1rem;
    }

    .hero-actions {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions .single_add_to_cart_button {
        width: 100%;
        justify-content: center;
    }
    
    .sound-library-content {
        padding: 0 1.5rem;
        margin: 4rem auto;
        gap: 3rem;
    }

    .sound-library-details,
    .sound-library-tracklist {
        padding: 2rem;
    }

    .preview-header {
        text-align: center;
    }

    .preview-header h3 {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-price .price {
        font-size: 3.2rem;
    }

    .meta-item {
        font-size: 1rem;
    }

    .hero-price .price {
        font-size: 2.8rem;
    }

    .sound-library-details h3,
    .sound-library-tracklist h3 {
        font-size: 1.75rem;
    }
}

/* Variable Product Styles */
.variations_form .quantity {
    display: none !important;
}

.variable-price {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.variations_form {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

form.variations_form.cart {
    margin-bottom: 0px !important;
}

.woocommerce-variation {
    height: 120px; /* Fixed height to prevent movement */
    display: flex;
    flex-direction: column;
}

.woocommerce-variation-description {
    text-align: left !important;
    margin: 0;
    padding-bottom: 5px;
    height: 60px; /* Fixed height for description */
   /* overflow: hidden;  Prevent text overflow */
    display: flex;
    align-items: center;
}

.woocommerce-variation-price {
    height: 40px; /* Fixed height for price */
}

.variations {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: separate;
    border-spacing: 0 1rem;
}

.variations td {
    padding: 0;
    vertical-align: middle;
}

.variations td.label {
    width: 35%;
    padding-right: 1.5rem;
}

.variations td.label label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.variations td.value {
    position: relative;
    width: 65%;
}

.variations select {
    width: 100%;
    padding-right: 3rem; /* Space for arrow */
    background-color: #202020;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: all 0.2s ease;
    text-overflow: ellipsis; /* Add ellipsis for long text */
    white-space: nowrap; /* Prevent text wrapping */
    min-width: 200px; /* Ensure minimum width */
    line-height: 1.06;
}


.variations select:hover {
    background-color: #252525;
    border-color: rgba(255, 255, 255, 0.2);
}

.variations select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
    background-color: #252525;
}

/* Custom dropdown arrow */
.variations td.value {
    position: relative;
    min-width: 200px; /* Match select min-width */
}

.variations td.value::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.25rem;
    top: 40%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    font-size: 1rem;
    text-align: center;
}

a.reset_variations {
    display: none !important;
}

/* Style for when dropdown is open */
.variations select:focus + .value::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Fix for default selected option */
.variations select option {
    background-color: #202020;
    color: #ffffff;
}

.variations select option:checked {
    background-color: #2563eb;
    color: #ffffff;
}

.reset_variations {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reset_variations:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.reset_variations::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.single_variation_wrap {
    width: 100%;
}

button.reset_variations {
    display: none !important;
}

.woocommerce-variation-price {
    margin: 0;
    padding: 0;
}

.woocommerce-variation-price .price {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* Custom spacing for the description variable and the price select */
table.variations {
    margin-top: -40px;
}

.single_variation_wrap {
    margin-top: -25px;
}

th.label {
    padding-left: 0px;
}

/* Responsive styles for variations */
@media (max-width: 768px) {
    .variations td.label {
        width: 40%;
    }
    
    .variations select {
        font-size: 0.875rem;
    }
}

/* Waveplayer playlist */
img.wvpl-thumbnail {
    display: none;
}

span.wvpl-stats.wvpl-icon.wvpl-button.wvpl-cart.wvpl-add_to_cart {
    display: none !important;
}

span.wvpl-stats.wvpl-icon.wvpl-button.wvpl-likes {
    display: none !important;
}

span.wvpl-stats.wvpl-icon.wvpl-button.wvpl-cart.wvpl-in_cart {
    display: none !important
}

/* Rewards Info Styling */
.rewards-info {
    margin-top: 12px; /* Adjust spacing below price-note */
    font-size: 0.9rem; /* Slightly larger */
    color: #f1f1f1; /* Brighter color */
    font-weight: 600; /* Bolder text */
    display: inline-flex; /* Align icon and text */
    align-items: center; /* Vertically center icon and text */
}

.rewards-text {
    position: relative; /* Needed for absolute positioning of the tooltip */
    cursor: help; /* Indicate hover interaction */
    border-bottom: 1px dotted #aaa; /* Optional: visual cue */
    padding-bottom: 2px;
}

.rewards-tooltip {
    display: none; /* Hidden by default */
    position: absolute;
    bottom: 135%; /* Position above the text, increased spacing */
    left: 50%;
    transform: translateX(-50%); /* Center the tooltip */
    background-color: #222; /* Darker background for tooltip */
    color: #eee; /* Light text for tooltip */
    padding: 12px 18px; /* Slightly larger padding */
    border-radius: 6px;
    width: 320px; /* Wider for new text */
    text-align: left;
    font-size: 0.875em; /* Slightly larger font */
    line-height: 1.5;
    z-index: 999; /* High z-index */
    box-shadow: 0 3px 8px rgba(0,0,0,0.3); /* Stronger shadow */
    white-space: normal; /* Allow text wrapping */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Style the tooltip arrow (optional) */
.rewards-tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -6px; /* Adjust for slightly larger arrow */
    border-width: 6px; /* Slightly larger arrow */
    border-style: solid;
    border-color: #222 transparent transparent transparent; /* Match tooltip background */
}

/* Show tooltip on hover */
.rewards-text:hover .rewards-tooltip {
    display: block; /* Make it take up space */
    visibility: visible;
    opacity: 1;
}
