/* PRODUCT PREMIUM CSS - DARK BOUTIQUE THEME */
:root {
    --bg-dark: #050505;
    --bg-card: #111111;
    --border-dim: #333333;
    --accent-purple: #A020F0;
    --accent-glow: rgba(160, 32, 240, 0.4);
    --text-main: #FFFFFF;
    --text-dim: #888888;
}

#product-page-container {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 80vh;
    padding-top: 100px;
    /* Space for Navbar */
    font-family: 'Geist', sans-serif;
    max-width: 1400px;
    margin: 40px auto;
}

/* Layout Adjustments for BeatStars Style */
.product-split-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    /* Reduced sidebar width slightly for better fit */
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
    align-items: start;
    /* Prevents stretching */
}

/* Responsive: Tablet/Mobile Stack */
@media (max-width: 992px) {
    .product-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-sidebar {
        position: relative;
        top: 0;
        max-width: 500px;
        /* Constrain width when stacked */
        margin: 0 auto;
        /* Center it */
        width: 100%;
    }

    .product-hero-player-box {
        margin-bottom: 20px;
    }
}

.product-sidebar {
    position: relative;
    /* Removed sticky as requested */
    top: 0;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.product-cover-art {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #111;
    position: relative;
    /* Context for overlays */
}

.product-cover-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-cover-art:hover img {
    transform: none;
}

.product-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Consistent vertical rhythm */
}

/* Sidebar Specifics */
.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.action-row {
    display: flex;
    gap: 15px;
    margin: 15px 0 5px;
    /* Reduced bottom margin */
}

/* Social Actions - Micro-interactions */
.social-actions-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    /* Changed from center to fit Imagen 2 */
    align-items: center;
    gap: 20px;
    width: 100%;
}

@media (min-width: 993px) {
    .social-actions-wrapper {
        justify-content: center;
        gap: 30px;
    }
}

.action-btn-icon {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.4rem;
    display: flex;
    flex-direction: row;
    /* Mobile default: side by side */
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.action-btn-icon.liked i {
    color: #ff4b4b !important;
}

.action-btn-icon:hover i {
    color: #fff;
}

.action-btn-icon:active {
    transform: scale(0.95);
}

/* Specific state colors */
.action-btn-icon.liked,
.action-btn-icon.liked i,
.bi-heart-fill {
    color: #ff4b4b !important;
}

.action-btn-icon.reposted {
    color: #4bff8f;
    background: transparent;
}

.stat-value {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-dim);
    margin: 0;
}

/* Free Download Button (Reference Style) */
.btn-download-free {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ccc;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-download-free:hover {
    background: #222;
    border-color: #555;
    color: #fff;
}

/* Animations */
@keyframes nice-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        /* Subtle bounce */
    }

    100% {
        transform: scale(1);
    }
}

.anim-bounce {
    animation: nice-bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Share Modal (Glass) */
/* Modal styles moved to css/download-gate.css */


/* Sidebar Specifics */
.product-hero-player-box {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Info List (Table style) */
.info-list {
    margin-top: 5px;
    /* Reduced from 20px */
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
    color: var(--text-dim);
}

.info-val {
    font-weight: 600;
    color: #fff;
}

/* Right Panel Headlines */
.section-headline {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
    /* Reduced from 20px */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle border */
    padding-bottom: 8px;
    /* Visual separator */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#content-terms {
    display: none;
}

#content-terms.open {
    display: block;
}

#chevron-terms.rotate,
#chevron-info.rotate,
#chevron-desc.rotate {
    transform: rotate(180deg);
}

/* === NEW TABS SYSTEM (OFFSZN IDENTITY) === */
.product-tabs-container {
    margin-top: 30px;
    border-top: 1px solid var(--border-dim);
}

@media (max-width: 992px) {
    .product-tabs-container {
        order: 10;
        /* Ensure it stays at the very bottom on mobile */
        width: 100%;
        padding: 0 15px;
        margin-top: 20px;
    }
}


.product-tabs-nav {
    display: flex;
    gap: 40px;
    /* More generous spacing per image */
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    /* Context for sliding indicator */
}


.tab-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    /* Slightly larger per image */
    font-weight: 500;
    /* Medium weight */
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}


.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: #fff;
    font-weight: 600;
    /* Bolder when active per image */
}

/* Sliding indicator element */
.tab-indicator {
    position: absolute;
    bottom: -1px;
    height: 1.5px;
    background: #fff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}



.product-tab-panes {
    padding: 20px 0;
    min-height: 200px;
}

.tab-pane {
    display: none;
    animation: fadeInTab 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tech Data Grid: Reordered to bottom & Smaller */
.tech-data-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    /* Reduced gap */
    margin-top: 15px;
    /* Added top margin since it's now below terms */
    margin-bottom: 10px;
    text-align: center;
}



.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center label and value */
    gap: 5px;
}

.tech-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tech-val {
    font-size: 0.95rem;
    /* Made smaller (was 1.1rem) */
    font-weight: 700;
    color: #fff;
}


/* Promo Card: Minimalist and Integrated */
.promo-card-v2 {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    text-align: center;
    transition: none;
}

.promo-card-v2:hover {
    border-color: transparent;
    background: transparent;
}

.promo-title {
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.promo-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 15px;
}


/* Related Products Alignment */
.related-products-section {
    width: 100%;
    margin-top: 30px;
    padding-bottom: 50px;
}

.related-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Matches Navbar alignment exactly */
}

@media (max-width: 992px) {
    .related-container {
        padding: 0 20px;
    }
}

/* License Grid (Scenario A: Beats) */
.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Responsive */
    gap: 15px;
}

.license-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.license-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.license-card.selected {
    border-color: var(--accent-purple);
    background: rgba(160, 32, 240, 0.05);
}

.license-card.selected::after {
    content: '\F633';
    /* Check circle icon */
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--accent-purple);
    font-size: 1.2rem;
}

.license-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.license-price {
    font-size: 1.75rem;
    font-weight: 800;
}

.license-features {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Kit Purchase Button (Scenario C) */
.btn-purchase-kit {
    width: 100%;
    padding: 16px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-purchase-kit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* === ADVANCED A/B COMPARISON MODAL === */
.ab-modal-box {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(160, 32, 240, 0.1);
    animation: abFadeUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes abFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ab-compare-trigger {
    transition: all 0.3s ease;
}

.ab-compare-trigger:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(160, 32, 240, 0.5);
    transform: scale(1.02);
}

.ab-toggle-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-toggle-btn:not(.active):hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.ab-toggle-btn.active {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.active-glitch:active {
    transform: scale(0.92);
}

.wave-row .wave-label {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Tooltip style info box */
.ab-info-box {
    background: rgba(160, 32, 240, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(160, 32, 240, 0.1);
    color: #A020F0;
}

@media (max-width: 768px) {
    .ab-modal-box {
        padding: 25px !important;
    }

    .ab-controls {
        flex-direction: column;
        gap: 20px !important;
    }

    .ab-toggle-switch-v2 {
        width: 100%;
    }

    .ab-toggle-btn {
        flex: 1;
        padding: 12px !important;
    }
}

/* Main Player */
.main-player-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.play-btn-circle {
    width: 42px;
    height: 42px;

    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    font-size: 1.2rem;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.play-btn-circle:hover {
    transform: scale(1.05);
}

.waveform-wrapper {
    flex: 1;
    height: 60px;
}

/* Metadata & Tags */
.metadata-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-dim);
    padding-top: 30px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

.meta-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-dim);
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.2s;
}

.tag-pill:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Loading States */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    color: var(--text-dim);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Info Accordion Base (Desktop Default) */
.info-headline {
    display: none;
}

.info-title-desktop {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    #product-page-container {
        padding-top: 0 !important;
        margin-top: 0px !important;
        /* Subtle gap Bro */
        margin-left: auto !important;
        margin-right: auto !important;
    }



    .product-split-layout {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding: 0 0 40px 0 !important;
        gap: 0 !important;
    }

    .product-sidebar,
    .product-main-content {
        display: contents;
    }


    .product-cover-art {
        order: 1;
        width: 100px !important;
        height: 100px !important;
        margin-top: 15px !important;
        margin-left: 15px !important;
        border-radius: 8px !important;
        flex-shrink: 0;
    }

    .product-header-wrapper {
        order: 2;
        width: calc(100% - 130px);


        /* Fit for 100px art */
        padding: 0 15px;
        text-align: left !important;
        margin-top: 12px !important;
        /* Move higher */
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        overflow: hidden;
        /* Contain truncated text */
    }

    .product-header-wrapper h1 {
        font-size: 1.15rem !important;
        /* Ultra compact */
        font-weight: 800 !important;
        width: 100%;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
        text-align: left !important;
        color: #fff !important;
        white-space: nowrap;
        /* Force single line */
        overflow: hidden;
        text-overflow: ellipsis;
        /* Truncate with ... */
        text-shadow: none;
    }

    .producer-link,
    .producer-link-thin {
        color: #aaa !important;
        /* Slightly dimmer for hierarchy */
        font-size: 0.95rem;
        font-weight: 500;
        margin-bottom: 2px !important;
        /* Tighter gap to price */
        display: inline-flex !important;
        justify-content: flex-start !important;
        align-items: center;
        opacity: 0.9;
        text-align: left;
    }

    .header-price-mobile-only {
        display: block !important;
        font-size: 1.15rem;
        font-weight: 800;
        color: #fff;
        margin-top: 5px;
        letter-spacing: -0.5px;
    }

    .info-list-container,
    .tags-section {
        display: none !important;
    }

    .action-row#social-actions-container {
        margin-top: 10px !important;
        order: 3 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .social-actions-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: 35px !important;
        /* Elegant spacing between icons */
        justify-content: flex-start !important;
        width: auto !important;
    }

    .action-btn-icon {
        flex-direction: row !important;
        gap: 8px !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        align-items: center !important;
    }

    .action-btn-icon i {
        font-size: 1.4rem !important;
        /* Matches Ares reference icon weight */
    }

    /* Hide text labels in header row for "Symbol Identity" */
    .action-btn-icon .stat-value {
        display: none !important;
    }

    /* Keep लाइक count visible but small */
    .action-btn-icon.liked+.stat-value {
        display: inline !important;
        font-size: 0.8rem;
    }

    .btn-like-action .stat-value {
        display: inline-block !important;
        font-size: 0.75rem;
        color: #888;
        margin-top: 0;
    }

    .tags-section {
        order: 4;
        margin-top: 10px !important;
        padding: 0 20px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #buying-modules,
    .buying-section-wrapper {
        order: 5;
        padding: 0 20px;
        margin-top: 0px;
        width: 100%;
        display: block !important;
    }

    .product-cover-art {
        order: 1;
        width: 90px;
        height: 90px;
        border-radius: 12px;
        margin-left: 15px;
        margin-top: 10px;
        /* Move entire block higher */
        aspect-ratio: 1/1;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #0a0a0a;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .product-cover-art img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Remove overlay fade */
    .product-cover-art::after {
        display: none;
    }

    #sidebar-player-target {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        bottom: auto !important;
        right: auto !important;
        z-index: 20;
    }

    /* Premium Download Button */
    .btn-download-premium {
        background-color: #fff !important;
        color: #000 !important;
        font-weight: 800 !important;
        font-size: 1.1rem !important;
        text-transform: uppercase;
        width: 100% !important;
        border-radius: 8px !important;
        padding: 18px !important;
        border: none !important;
        margin-top: 15px !important;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .btn-download-premium i {
        font-size: 1.3rem;
    }

    .chevron-icon {
        transition: transform 0.3s ease;
    }

    .chevron-icon.rotate {
        transform: rotate(90deg);
    }

    /* Definitions moved and consolidated above */

    .tags-row {
        justify-content: center !important;
        gap: 12px !important;
        width: 100%;
        flex-wrap: wrap;
    }

    /* Definitions consolidated above */

    .social-actions-wrapper {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 40px;
        justify-content: center;
        width: 100%;
        max-width: 350px;
    }

    .action-btn-icon {
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        color: #fff;
        cursor: pointer;
        padding: 0;
    }

    .action-btn-icon i {
        font-size: 2rem;
        /* Larger for easy thumb access */
        color: #fff;
        line-height: 1;
    }

    .action-btn-icon .stat-value {
        font-size: 0.7rem;
        color: #888;
        font-weight: 600;
        text-transform: capitalize;
    }

    .action-btn-icon.liked i {
        color: #ff4b5c;
    }

    #buying-modules,
    #free-dl-container {
        order: 5;
        padding: 0 20px;
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* CENTER the cards and buttons */
    }

    .info-list-container {
        display: none !important;
        /* HIDE INFORMACION per request */
    }

    /* All descriptions and terms below info-list */
    /* Hide Licencias header and specific headlines per request */
    #licenses-header,
    .section-headline.mobile-hide {
        display: none !important;
    }

    .section-headline,
    .terms-accordion-content {
        order: 7;
        padding-left: 20px;
        padding-right: 20px;
    }

    .info-headline {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        /* Minimalist separator */
        padding-top: 15px;
        padding-bottom: 5px;
    }

    .info-title-desktop {
        display: none;
    }

    .info-list.terms-accordion-content {
        display: none;
        padding-top: 10px;
        margin-bottom: 20px;
    }

    .info-list.terms-accordion-content.open {
        display: block;
    }

    .product-stage {
        position: static;
        top: 0;
    }

    /* Hide description on mobile */
    .section-headline.mobile-hide,
    .terms-accordion-content.mobile-hide {
        display: none !important;
    }

    /* Layout Visibilities for Mobile */
    .desktop-only-flex {
        display: none !important;
    }

    .mobile-only-flex {
        display: flex !important;
    }

    /* Touch Swipe Licenses Grid Override */
    .licenses-grid-scrollable {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .licenses-grid-scrollable::-webkit-scrollbar {
        display: none;
    }

    .licenses-grid-scrollable .license-card-v2 {
        flex: 0 0 82% !important;
        /* Show 1 and peek the next */
        scroll-snap-align: start;
        max-width: none !important;
    }

    .cart-btn-mobile-fix {
        width: 100% !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
    }

    /* Force horizontal scrolling for trending grid on mobile */
    .trending-grid {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* For smooth scrolling on iOS */
        padding-bottom: 10px;
        /* Space for scrollbar */
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .trending-grid::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Webkit browsers */
    }

    .trending-grid {
        -ms-overflow-style: none;
        /* Hide scrollbar for IE and Edge */
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
    }

    .trending-card {
        flex: 0 0 70% !important;
        /* Show 1 and peek the next on mobile */
        min-width: 70% !important;
        scroll-snap-align: start;
    }

    /* Prevent social icons from wrapping vertically on mobile */
    .social-actions-wrapper {
        flex-wrap: nowrap !important;
        gap: 20px !important;
        /* Smaller gap on mobile to fit 3 items */
        padding: 0 10px;
    }

    /* Stop horizontal overflow in mobile footer */
    body {
        overflow-x: hidden !important;
    }

    .product-main-content {
        max-width: 100vw;
        box-sizing: border-box;
    }

    #buying-modules,
    .licenses-layout-v2,
    #licenses-header {
        order: 5;
        /* Below header and social */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #mobile-buying-container {
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    /* Tighten vertical gaps */
    .product-header-wrapper {
        margin-bottom: 5px !important;
    }

    #social-actions-container {
        order: 3;
        padding: 0 15px !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }

    #licenses-header {
        order: 4;
        padding: 0 15px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        border: none !important;
    }

    .credits-section.mobile-only {
        padding: 0 !important;
        margin-top: 10px !important;
    }

    footer,
    .site-footer {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}

/* Layout Visibilities for Desktop */
.desktop-only-flex {
    display: flex !important;
}

.mobile-only-flex,
.header-price-mobile-only {
    display: none !important;
}

/* === VERTICAL LICENSE SELECTION MODAL === */
.license-selection-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.license-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.license-list-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.license-list-item.selected {
    background: rgba(160, 32, 240, 0.1);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(160, 32, 240, 0.2);
}

.license-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.license-item-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.license-item-files {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
}

.license-item-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

/* Featured License Card (Sidebar) */
.featured-license-card {
    border: 2px solid var(--accent-purple) !important;
    background: rgba(160, 32, 240, 0.05) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 100%;
    max-width: 350px;
    /* Limit width for better centering look */
}

.featured-license-card::before {
    content: 'POPULAR';
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent-purple);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Linear/Vertical Layout helpers */
.modal-footer-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.total-label {
    color: #888;
    font-weight: 600;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.btn-purchase-licenses {
    width: 100%;
    max-width: 350px;
    /* Keep consistent with card width */
    padding: 16px;
    background: var(--accent-purple);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-purchase-licenses:hover {
    background: #b148ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 32, 240, 0.4);
}

.btn-secondary-v2 {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-secondary-v2:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.8);
}


/* === RECOMMENDED PRODUCTS SECTION === */
.related-products-section {
    border-top: 1px solid #1a1a1a;
    margin-top: 5px;
    padding-top: 10px;
    margin-bottom: 20px;
    position: relative;
    background: transparent !important;
    /* Force no background */
}

.nav-arrow-btn {
    background: #111;
    border: 1px solid #222;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
}

.nav-arrow-btn:hover {
    background: #222;
    color: #fff;
    border-color: #333;
}

.trending-grid {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    width: 100%;
    scroll-snap-type: x mandatory;
    padding-bottom: 5px;
}

.trending-card {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 calc(20% - 16px);
    /* Force 5 items exactly on desktop */
    min-width: calc(20% - 16px);
    scroll-snap-align: start;
    transition: all 0.2s;
}

.t-card-cover {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #0a0a0a;
    /* Darker like profile */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.trending-card:hover .t-card-cover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.t-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-overlay-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    z-index: 2;
}

.t-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
}

.t-play-btn i {
    margin-left: 3px;
}

.trending-card:hover .t-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.t-play-btn:hover {
    background: #f0f0f0;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.t-play-btn:active {
    transform: translate(-50%, -50%) scale(0.9) !important;
}

.t-card-info {
    width: 100%;
    overflow: hidden;
}

.t-card-info h4 {
    color: #fff;
    font-size: 0.9rem;
    /* Slightly smaller for 'mini' feel */
    margin: 0 0 4px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t-card-info p {
    color: #666;
    font-size: 0.75rem;
    /* Slightly smaller */
    margin: 2px 0 0;
}

@media (max-width: 1200px) {
    .trending-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .trending-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {

    /* Enable horizontal native swipe for Trending Products on Mobile */
    .trending-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 20px !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: 15px;
    }

    .trending-grid::-webkit-scrollbar {
        display: none;
    }

    .trending-card {
        flex: 0 0 calc(50% - 7.5px) !important;
        /* Exactly 2 cards visible per swipe */
        scroll-snap-align: start;
        max-width: none !important;
    }

    .nav-arrows {
        display: none !important;
        /* Hide the JS arrows on mobile */
    }
}

/* === NEW BEAT LICENSE SYSTEM V2 === */
.license-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.license-card-v2 {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 12px;
    /* Reduced padding Bro */
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reduced gap Bro */

    position: relative;
    user-select: none;
}

.license-card-v2:hover {
    border-color: #444;
    background: #111;
}

.license-card-v2.selected {
    border: 2px solid var(--accent-purple) !important;
    /* Thicker border per image */
    background: rgba(160, 32, 240, 0.08);
    box-shadow: 0 0 20px rgba(160, 32, 240, 0.25);
}


.lic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.lic-name {
    font-size: 0.8rem;
    /* Scaled down */
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.lic-details-trigger {
    font-size: 1rem;
    color: #666;
    transition: color 0.2s;
}

.lic-details-trigger:hover {
    color: #fff;
}

.lic-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lic-files-preview {
    font-size: 0.7rem;
    /* Scaled down */
    color: #888;
}


.lic-price-v2 {
    font-size: 1.1rem;
    /* Scaled down for compact look */
    font-weight: 800;
    color: #fff;
}


/* Modal styles moved to consolidate in premium section below */


/* === FLOATING LABEL SYSTEM === */
.floating-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.floating-group input {
    width: 100%;
    background: transparent !important;
    border: 1px solid #333 !important;
    padding: 16px !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 1rem !important;
    outline: none !important;
    transition: all 0.2s ease;
}

.floating-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    /* Dimmed further for premium feel */
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    /* No relleno Bro inside */
    padding: 0;
    margin: 0;
    line-height: 1;
    z-index: 2;
}



/* Float logic: sits EXACTLY ON the border with a clean gap */
.floating-group input:focus+label,
.floating-group input:not(:placeholder-shown)+label {
    top: 0;
    transform: translateY(-50%);
    /* Centers text ON the border line */
    left: 10px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #0a0a0a;
    /* Exact modal color to clear border */
    padding: 0 6px;
    /* Precise gap cleaning Bro */
}




.floating-group input:focus {
    border-color: #fff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Consolidated headers moved to premium section below */


.lic-top-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.lic-main-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lic-modal-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.lic-modal-files {
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}


/* Individual Modal Elements (B&W) */
.lic-modal-price {
    color: #fff;
    font-weight: 800;
}

.lic-modal-files {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lic-section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.lic-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lic-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 0.9rem;
}

.lic-feature-item i {
    color: #fff; /* White icons Bro */
    font-size: 1.1rem;
}

.lic-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lic-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444; /* Inactive color */
    font-size: 0.85rem;
    font-weight: 600;
}

.lic-check-item.active {
    color: #fff;
}

.lic-check-item i {
    font-size: 1rem;
    color: inherit;
}

.lic-check-item.active i {
    color: #fff !important; /* Force WHITE BrokerBro */
}


.btn-glass-primary-v2 {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn-glass-primary-v2:hover {
    background: #fff;
    color: #000;
}

/* Main Purchase Button - Image Match */
.cart-btn-mobile-fix {
    background: #fff !important;
    color: #000 !important;
    border-radius: 8px !important;
    height: 48px !important;
    width: 100% !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    border: none;
    margin-top: 10px;
}


.btn-glass-primary-v2:active {
    transform: scale(0.98);
}

.loading-state-sm {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.spinner-sm {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* --- A/B MODAL PREMIUM CONTROLS --- */
.ab-modal-player-container {
    padding: 0;
    background: transparent;
}

.ab-waveforms {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.wave-row {
    position: relative;
    transition: opacity 0.3s ease;
}

.wave-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.modal-ab-play-pause {
    width: 76px;
    height: 76px;
    font-size: 2.2rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    outline: none;
}

.modal-ab-play-pause:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.modal-ab-play-pause:active {
    transform: scale(0.95);
}

.modal-ab-play-pause i {
    transition: transform 0.2s ease;
}

/* Specific centering for the play fill icon */
.modal-ab-play-pause .bi-play-fill {
    margin-left: 4px;
}

.ab-toggle-switch-premium {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 100px;
    display: flex;
    gap: 6px;
    backdrop-filter: blur(15px);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ab-toggle-btn {
    padding: 12px 28px;
    border-radius: 100px;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #888;
    letter-spacing: 0.5px;
}

.ab-toggle-btn.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ab-toggle-btn:not(.active):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}


/* === REFINED SHARE MODAL (Premium Centered Card) === */
.modal-drag-handle {
    width: 40px;
    height: 4px;
    background: #444;
    border-radius: 2px;
    margin: -10px auto 25px auto;
    display: none;
}

.share-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 1.3rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.share-modal-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.share-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    text-align: left;
}

.share-product-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-product-name {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.share-producer-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-producer-name {
    color: #888;
    font-size: 0.9rem;
}

.share-verified-icon {
    color: #3b82f6;
    font-size: 0.8rem;
}

.share-links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.share-field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.share-field-group label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.share-input-wrapper {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 2px 16px;
    height: 48px;
}

.share-input-wrapper i {
    color: #444;
    font-size: 1.2rem;
    margin-right: 12px;
}

.share-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
    width: 0;
}

.share-input-wrapper button {
    border: none;
    background: none;
    color: #3b82f6;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.share-input-wrapper button:hover {
    transform: scale(1.15);
}

.share-social-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 10px;
}

.social-share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #aaa;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.social-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
    color: #fff;
}

.social-share-item:hover .social-icon-circle {
    transform: translateY(-4px);
    background: #333;
    border-color: rgba(255, 255, 255, 0.2);
}

.share-input-wrapper-v2 {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 2px 16px;
    height: 52px;
}

.share-input-wrapper-v2 input {
    flex: 1;
    background: transparent;
    border: none;
    color: #777;
    font-size: 0.9rem;
    outline: none;
    width: 0;
    font-family: inherit;
    text-overflow: ellipsis;
}

.share-input-wrapper-v2 button {
    border: none;
    background: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, color 0.2s ease;
    opacity: 0.6;
}

.share-input-wrapper-v2 button:hover {
    transform: scale(1.1);
    opacity: 1;
}


/* Always centered floating card (all screen sizes) */
.share-modal-backdrop {
    align-items: center;
    justify-content: center;
}

.share-modal-backdrop.bottom-sheet-layout {
    align-items: flex-end;
}


.share-modal-content {
    width: 360px !important;
    max-width: calc(100vw - 32px) !important;
    border-radius: 20px !important;
    padding: 28px 24px 32px !important;
    position: relative;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease !important;
}

.share-modal-backdrop.active .share-modal-content {
    transform: scale(1);
    opacity: 1 !important;
}


.share-modal-backdrop.closing .share-modal-content {
    transform: scale(0.9);
    opacity: 0 !important;
}


.modal-pull-bar {
    display: none !important;
}

/* Specialized: Welcome Coupon Bottom Sheet */
@media (max-width: 992px) {
    .welcome-coupon-modal-content {
        width: 100% !important;
        max-width: 100vw !important;
        height: auto;
        min-height: auto !important;
        border-radius: 25px 25px 0 0 !important;
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 !important;
        padding: 30px 20px 45px !important;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        touch-action: none;
        opacity: 1 !important;
        border: none !important;
    }


    .share-modal-backdrop.active .welcome-coupon-modal-content {
        transform: translateY(0) !important;
    }

    .share-modal-backdrop.closing .welcome-coupon-modal-content {
        transform: translateY(100%) !important;
        opacity: 1 !important;
    }



    .welcome-coupon-modal-content .modal-pull-bar {
        display: block !important;
    }

    .welcome-coupon-modal-content .share-modal-close-btn {
        display: none !important;
    }
}

@media (min-width: 993px) {
    .welcome-coupon-modal-content {
        width: 400px !important;
        max-width: 90vw !important;
    }
}

/* --- PC ONLY REFINEMENTS (Imagen 1 Alignment) --- */

/* cover Play Button (PC Only) - Match Trending Style */
.product-cover-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    /* Always visible on mobile thumbnail like Imagen 2 */
    z-index: 10;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .product-cover-play-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .product-cover-play-btn i {
        font-size: 1.2rem !important;
    }
}


@media (min-width: 993px) {
    .product-cover-play-btn {
        opacity: 1;
        /* Always visible */
    }
}

.product-cover-play-btn i {
    font-size: 2rem;
    color: #000;
    margin-left: 3px;
}

.product-cover-art:hover .product-cover-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.9);
}

.product-cover-play-btn:hover {
    background: #ffffff;
    transform: translate(-50%, -50%) scale(0.9);
}

/* Plays Badge (Bottom-Left) - Match Trending Style */
.product-cover-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 9;
    pointer-events: none;
}

.product-cover-badge i {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sidebar Actions Styling (Imagen 1) */
.sidebar-actions.action-row {
    gap: 30px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.sidebar-actions .action-btn-icon {
    flex-direction: column !important;
    gap: 5px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    min-width: 60px !important;
}

.sidebar-actions .action-btn-icon i {
    font-size: 1.6rem !important;
    color: var(--text-dim);
}

/* Vertical Spacing Refinement (PC ONLY) */
@media (min-width: 769px) {
    .product-header-wrapper {
        margin-bottom: 20px !important;
    }

    .buying-section-wrapper {
        margin-top: -20px !important;
    }

    #licenses-header {
        margin-bottom: 10px !important;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only-flex {
        display: flex !important;
    }
}

@media (max-width: 768px) {

    .desktop-only-flex,
    .product-cover-badge {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    /* Force side-by-side thumbnail and header for Imagen 2 */
    .product-split-layout {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 0 !important;
        padding: 0 0 30px 0 !important;
    }

    .product-cover-art {
        width: 100px !important;
        height: 100px !important;
        flex-shrink: 0 !important;
        margin-right: 15px !important;
        margin-left: 15px !important;
        margin-top: 15px !important;
        order: 1 !important;
    }

    .product-header-wrapper {
        flex: 1 !important;
        order: 2 !important;
        padding-top: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        overflow: hidden !important;
    }

    .action-row.mobile-only {
        width: 100% !important;
        order: 3 !important;
        margin-top: 10px !important;
        /* Move up closer to info */
        padding-left: 0px !important;
        /* ALIGN WITH PHOTO LEFT EDGE */
        justify-content: flex-start !important;
        margin-bottom: 5px !important;
    }

    .social-actions-wrapper {
        justify-content: flex-start !important;
        gap: 35px !important;
    }

    .buying-section-wrapper {
        order: 4 !important;
        margin-top: -15px !important;
        /* ELIMINATE black space above */
        width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        overflow: visible !important;
    }

    #mobile-buying-container {
        padding: 0 15px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }

    #mobile-buying-container .licenses-grid-scrollable {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        width: 100% !important;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory;
        justify-content: flex-start !important;
        margin-top: 5px !important;
        /* Tight spacing to icons */
    }

    #mobile-buying-container .license-card-v2 {
        flex: 0 0 85% !important;
        /* Back to 85% for better fill */
        scroll-snap-align: start;
        max-width: none !important;
    }

    .btn-purchase-kit.cart-btn-mobile-fix {
        margin-top: 0 !important;
        width: 100% !important;
        /* FILL THE ENTIRE CONTAINER */
    }

    .product-tabs-container {
        order: 5 !important;
        width: 100% !important;
        padding: 0 15px !important;
        margin-top: 10px !important;
    }

    /* PUSH TECH VALUES TO THE RIGHT */
    .tech-list-simple .info-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .tech-list-simple .info-val {
        font-weight: 800 !important;
        color: #fff !important;
    }

    .desc-toggle-btn {
        transition: color 0.2s ease, transform 0.1s ease;
    }

    .desc-toggle-btn:hover {
        color: #d1b3ff !important;
        text-decoration: underline !important;
    }

    .desc-toggle-btn:active {
        transform: scale(0.98);
    }
}

/* Description styles for both mobile and desktop sidebar */
.about-section,
.info-description-pc {
    width: 100%;
    box-sizing: border-box;
}

.desc-content-wrapper {
    width: 100%;
}

/* Visibility Helpers */
.desktop-only-flex {
    display: flex !important;
}

.mobile-only-flex {
    display: none !important;
}

@media (max-width: 992px) {
    .desktop-only-flex {
        display: none !important;
    }

    .mobile-only-flex {
        display: flex !important;
    }
}


/* Minimalist Coupon Styles */
.coupon-box-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 15px 0;
    position: relative;
}

.coupon-box-minimal span {
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

.copy-coupon-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.copy-coupon-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.copy-coupon-btn:active {
    transform: scale(0.95);
}

.claimed-style {
    background: transparent;
    border: none;
    padding: 10px 0;
}

.claimed-style i.bi-check-circle-fill {
    color: #fff !important;
}

/* Ensure red heart icons */
.action-btn-icon.liked i,
.bi-heart-fill {
    color: #ff4b4b !important;
}

/* === PREMIUM FLOATING LABELS === */
.floating-group {
    position: relative;
    margin-bottom: 24px;
    width: 100%;
}

.floating-group.has-prefix input {
    padding-left: 30px !important;
}

.floating-group .prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-weight: 700;
    z-index: 5;
    pointer-events: none;
}

.floating-group label {
    position: absolute;
    left: 12px;
    top: 18px;
    background: #111;
    /* Matches --bg-card */
    padding: 0 6px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-group.has-prefix label {
    left: 30px;
}

.floating-group input,
.floating-group textarea {
    width: 100%;
    padding: 16px 12px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: 0.2s;
}

.floating-group input:focus,
.floating-group textarea:focus {
    border-color: #fff;
    outline: none;
}

.floating-group input:focus+label,
.floating-group input:not(:placeholder-shown)+label,
.floating-group textarea:focus+label,
.floating-group textarea:not(:placeholder-shown)+label {
    top: -8px;
    left: 10px;
    font-size: 11px;
    color: #fff;
    background: #111;
}

/* Ensure prefix doesn't move with label */
.floating-group.has-prefix input:focus+label,
.floating-group.has-prefix input:not(:placeholder-shown)+label {
    left: 10px;
}


/* ============================================================
   LICENSE COMPARISON MODAL — Premium Glassmorphic Design
   ============================================================ */

/* Override base share-modal-content width for comparison table */
.share-modal-content.lic-modal {
    width: 95% !important;
    max-width: 480px !important; /* Refined to be tighter on PC Bro */
    border-radius: 20px !important;
    padding: 0 !important;
    background: rgba(18, 18, 18, 0.92) !important;
    backdrop-filter: blur(40px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(40px) saturate(1.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
    overflow: hidden;
}

/* Comparison specific (wider) */
.share-modal-content.lic-modal.lic-modal-compare {
    max-width: 900px !important;
}

/* Individual Modal Elements (B&W) */
.lic-modal-price {
    color: #fff;
    font-weight: 800;
}

.lic-modal-files {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lic-section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.lic-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lic-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 0.9rem;
}

.lic-feature-item i {
    color: #fff; /* White icons */
    font-size: 1.1rem;
}

.lic-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lic-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444; /* Inactive color */
    font-size: 0.85rem;
    font-weight: 600;
}

.lic-check-item.active {
    color: #fff;
}

.lic-check-item i {
    font-size: 1rem;
    color: inherit;
}

.lic-check-item.active i {
    color: #fff !important; /* Strictly white checks Bro */
}


/* Selection List (Inside Choice Modal) — Clean B&W */
.license-selection-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.license-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.license-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.license-list-item.selected {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff !important; /* White border for selection Bro */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.license-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.license-item-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-item-files {
    font-size: 0.75rem;
    color: #888;
}

.license-item-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}

/* Footer / Actions */
.modal-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 5px;
}

.total-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-amount {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
}

/* Main Modal Action Button (Choice Modal) */
.btn-purchase-licenses {
    width: 100%;
    padding: 16px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-purchase-licenses:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-purchase-licenses:active {
    transform: translateY(0);
}




/* Header */
.lic-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lic-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.2px;
}

.lic-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.lic-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Body / Scroll Container */
.lic-modal-body {
    padding: 20px 24px 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.lic-modal-body::-webkit-scrollbar {
    height: 4px;
}

.lic-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.lic-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Comparison Grid */
.compare-grid {
    gap: 0 !important;
    min-width: 500px;
}

/* All Cells Base */
.compare-cell {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

/* Feature column (leftmost) */
.compare-cell.feature-col {
    justify-content: flex-start;
    font-weight: 700;
    color: #999;
    font-size: 0.85rem;
    text-transform: capitalize;
    padding-left: 20px;
}

/* Header cells (license names) */
.compare-cell.header {
    font-weight: 800;
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.compare-cell.header.feature-col {
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

/* Price cells */
.compare-cell.price {
    font-weight: 800;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: -0.3px;
}

/* Check / X icons */
.compare-cell.check {
    font-size: 1.2rem;
}

.compare-cell.check i.active {
    color: #fff;
}

.compare-cell.check i.inactive {
    color: #333;
    opacity: 0.6;
}

/* Row hover effect */
.compare-grid > .compare-cell:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Select / Elegir buttons — Clean B&W */
.btn-compare-select {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-compare-select:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-compare-select:active {
    transform: scale(0.96);
}

/* Animation override for lic-modal */
.share-modal-backdrop.active .lic-modal {
    transform: scale(1) !important;
    opacity: 1 !important;
}

/* Responsive: Mobile adjustments */
@media (max-width: 768px) {
    .share-modal-content.lic-modal {
        width: calc(100% - 20px) !important;
        max-width: none !important;
        border-radius: 16px !important;
        margin: 10px !important;
    }

    .lic-modal-header {
        padding: 18px 20px;
    }

    .lic-modal-header h3 {
        font-size: 1rem;
    }

    .lic-modal-body {
        padding: 16px 12px 24px;
    }

    .compare-cell {
        padding: 12px 10px;
        font-size: 0.82rem;
    }

    .compare-cell.header {
        font-size: 0.82rem;
        padding: 14px 10px;
    }

    .compare-cell.price {
        font-size: 0.92rem;
    }

    .compare-cell.feature-col {
        font-size: 0.78rem;
        padding-left: 12px;
        min-width: 100px;
    }

    .compare-cell .btn-glass-primary-v2 {
        padding: 6px 12px !important;
        font-size: 0.72rem !important;
    }
}