/*
Theme Name: Mighty Vibration Official
Theme URI: https://mightyvibration.com
Author: Texito Langa | Ancient Root Lab Productions
Description: A custom, highly responsive Classic Theme designed for roots reggae artists. Optimized for music, merchandise, and sharing consciousness.
Version: 5.6
Text Domain: mighty-vibration
*/

:root {
    /* Authority Minimalism Palette */
    --color-navy: #0B132B; /* Deep dark navy background */
    --color-white: #FFFFFF; /* High contrast text */
    --color-orange: #FF5A00; /* Vibrant call-to-action accent */
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
}

/* ==========================================================================
   GLOBAL RESET & OVERFLOW LOCK (Prevents Mobile Zoom/Scroll Bugs)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box; /* Forces padding to stay INSIDE the 100% width */
}

html, body {
    overflow-x: hidden; /* Absolutely forbids the screen from sliding left/right */
    width: 100%;
    max-width: 100vw;
}

/* Base Reset & Styling */
body {
    background-color: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-white);
}

.button, 
button, 
input[type="submit"] {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 12px 24px;
    border: none;
    font-family: var(--font-primary);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   STICKY / TRANSPARENT HEADER (PREMIUM EFFECT)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* The "Scrolled" state (JavaScript will add this class when you scroll down) */
.site-header.scrolled {
    background-color: rgba(10, 15, 30, 0.95); /* Deep theme color with 95% opacity */
    backdrop-filter: blur(10px); /* Creates that high-end Apple-style frosted glass */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); /* Drops a sleek shadow */
}

body:not(.home) #page {
    padding-top: 100px; 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 30px; 
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ==========================================================================
   SITE BRANDING (LOGO & TAGLINE)
   ========================================================================== */

.site-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.1;
}

.site-title a {
    color: var(--color-white);
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--color-orange);
}

.site-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 5px 0 0 0;
}

/* Content Grids (Music & Insights) */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 2px;
}

/* Tour List Layout */
.tour-list {
    margin-top: 30px;
}

.tour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-date-box {
    font-weight: 700;
    color: var(--color-orange);
}

/* Single Release Layout */
.release-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.release-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.release-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Artwork takes 40%, Content takes 60% */
    gap: 50px;
    align-items: start;
}

.release-cover img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.release-buy-btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.release-player {
    margin-bottom: 30px;
}

.release-player iframe {
    width: 100%;
    border-radius: 4px;
}

.release-lyrics {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-left: 3px solid var(--color-orange);
}

.lyrics-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* EPK Layout */
.epk-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.epk-title {
    font-size: 3rem;
    margin-bottom: 5px;
}

.epk-subtitle {
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.epk-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.epk-video-wrapper {
    margin-top: 50px;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.epk-asset-box,
.epk-contact-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.epk-asset-box h3,
.epk-contact-box h3 {
    color: var(--color-orange);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.epk-download-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.epk-btn {
    text-align: center;
    font-size: 0.9rem;
}

.epk-password-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 4px;
}

.epk-password-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
}

/* ==========================================================================
   WooCommerce Custom Styles
   ========================================================================== */

.woocommerce ul.products li.product {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--color-white);
    font-size: 1.2rem;
    font-family: var(--font-primary);
    padding: 10px 0;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .price {
    color: var(--color-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce input.button,
.woocommerce input.button.alt {
    background-color: var(--color-orange);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.woocommerce div.product .product_title {
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 2.5rem;
}

.woocommerce div.product p.price {
    color: var(--color-orange);
    font-size: 1.5rem;
    font-weight: 700;
}

.woocommerce form .form-row label {
    color: var(--color-white);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 10px;
}

.woocommerce-checkout #payment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Home Layout & Sections */
.home-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-orange);
    margin: 15px auto 0 auto;
}

.home-hero {
    padding: 140px 0;
    text-align: center;
    background: radial-gradient(circle, rgba(255,90,0,0.05) 0%, rgba(11,19,43,1) 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-tagline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-subtext {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button-secondary {
    background-color: transparent !important;
    border: 2px solid var(--color-white) !important;
    color: var(--color-white) !important;
}

.button-secondary:hover {
    background-color: var(--color-white) !important;
    color: var(--color-navy) !important;
}

.hero-title .hero-highlight { 
    color: var(--color-orange) !important; 
}

.music-card {
    text-align: center;
}

.music-card h3 {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 5px;
}

.home-shop ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Contact Page Layout */
.contact-main {
    padding: 60px 0;
}

.contact-subtitle {
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.contact-card h3 {
    color: var(--color-orange);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-direct-btn {
    display: inline-block;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.social-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links-list a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.social-links-list a:hover {
    border-color: var(--color-orange);
    background: var(--color-orange);
    color: var(--color-white);
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-left: 3px solid var(--color-orange);
    border-radius: 4px;
}

.wp-form-container input[type="text"],
.wp-form-container input[type="email"],
.wp-form-container input[type="tel"],
.wp-form-container textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-primary);
    border-radius: 2px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.wp-form-container input:focus,
.wp-form-container textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    background-color: rgba(255, 255, 255, 0.08);
}

.wp-form-container input[type="submit"],
.wp-form-container button[type="submit"] {
    width: 100%;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 15px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wp-form-container input[type="submit"]:hover,
.wp-form-container button[type="submit"]:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

/* Insight Single Page Layout */
.container-narrow {
    max-width: 750px; 
    margin: 0 auto;
    padding: 0 20px;
}

.insight-single {
    padding: 80px 0;
}

.insight-header {
    text-align: center;
    margin-bottom: 50px;
}

.insight-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.insight-meta {
    color: var(--color-orange);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.insight-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 50px;
}

.insight-content {
    font-size: 1.2rem;
    line-height: 1.9; 
    color: rgba(255, 255, 255, 0.9);
}

.insight-content p {
    margin-bottom: 30px;
}

.insight-content h2, 
.insight-content h3 {
    margin-top: 50px;
    margin-bottom: 20px;
}

.nav-links {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.nav-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-orange);
}

.nav-title {
    margin: 5px 0 0 0;
    font-size: 1.1rem;
}

/* ==========================================================================
   MOBILE MENU TOGGLE (BOOTSTRAP CLONE)
   ========================================================================== */

.navbar-toggler {
    display: none;
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid rgba(255, 90, 0, 0.5);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 90, 0, 0.25);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff5a00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Interactive Tracklist Accordion */
.track-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 2px;
}

.track-title {
    padding: 15px 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    color: var(--color-white);
    transition: background 0.3s ease;
}

.track-title::-webkit-details-marker {
    display: none;
}

.track-title:hover {
    background: rgba(255, 255, 255, 0.05);
}

.track-lyrics {
    padding: 0 20px 20px 20px;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5px;
    padding-top: 15px;
    line-height: 1.8;
}

.track-icon {
    font-size: 1.5rem;
    color: var(--color-orange);
    transition: transform 0.3s ease;
}

details[open] .track-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   Grid Expansion & Merch Un-choking
   ========================================================================== */

.home-music .content-grid,
.home-shop ul.products {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    justify-content: center;
}

.woocommerce ul.products li.product {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce ul.products li.product img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.woocommerce ul.products li.product .button {
    display: inline-block;
    margin: 15px auto 0 auto;
}

/* ==========================================================================
   The WooCommerce "Nuclear" Override
   ========================================================================== */
.home-shop ul.products::before,
.home-shop ul.products::after {
    display: none !important; 
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important; 
    float: none !important; 
    margin-left: 0 !important;
    margin-right: 0 !important;
    clear: none !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
}

/* ==========================================================================
   Streaming Embed Optimization
   ========================================================================== */
.release-player {
    position: relative;
    width: 100%;
    margin-bottom: 35px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.release-player iframe {
    width: 100% !important;
    display: block;
    border: 0;
    padding-bottom:20px;
}

.release-player iframe[src*="spotify.com"] {
    border-radius: 12px;
}

/* ==========================================================================
   Tour Dates Archive Itinerary Layout
   ========================================================================== */
.tour-itinerary-container {
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.tour-table {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-row {
    display: grid;
    grid-template-columns: 1.5fr 4fr 1.5fr;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.tour-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.tour-date-col {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-orange);
    font-size: 1.1rem;
}

.tour-venue {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
}

.tour-location {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.tour-action-col {
    text-align: right;
}

.tour-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.tour-status {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Single Release Bottom Navigation
   ========================================================================== */
.release-bottom-nav {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    clear: both;
}

.back-to-catalog {
    text-align: center;
    margin-bottom: 50px;
}

.button-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-orange);
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.3s ease;
    background: transparent;
}

.button-outline:hover {
    background: var(--color-orange);
    color: var(--color-navy);
}

/* ==========================================================================
   Single Release Bulletproof Layout
   ========================================================================== */
.single-release-wrapper {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 60px;
    margin-top: 30px; /* Restored to its original natural spacing */
    align-items: start;
}

.release-hero-art {
    position: relative;
    width: 100%;
    padding-bottom: 100%; 
    margin-bottom: 25px;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.release-hero-art img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0;
}

/* ==========================================================================
   Release Grid Caps & Featured Release Layout
   ========================================================================== */
.content-grid .release-card {
    max-width: 300px; 
}

.featured-latest-release {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    align-items: center;
}

.featured-art {
    flex: 0 0 350px;
    width: 350px;
    height: 350px !important; 
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden; 
    align-self: flex-start; 
}

.featured-art a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-art img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    display: block;
    margin: 0;
    border-radius: 6px;
}

.featured-info {
    flex: 2 1 300px;
}

.featured-info-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ==========================================================================
   Bulletproof Release Grid 
   ========================================================================== */
.featured-latest-release {
    display: flex;
    flex-direction: row; 
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    align-items: center; 
}

.featured-art {
    flex: 0 0 350px; 
}

.featured-art img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    display: block;
}

.featured-info {
    flex: 1; 
}

.featured-info-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ==========================================================================
   Scrolling Lyrics Box
   ========================================================================== */
.lyrics-box {
    max-height: 450px; 
    overflow-y: auto; 
    padding-right: 20px; 
    
    scrollbar-width: thin;
    scrollbar-color: var(--color-orange) rgba(255, 255, 255, 0.05);
}

.lyrics-box::-webkit-scrollbar {
    width: 6px;
}

.lyrics-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.lyrics-box::-webkit-scrollbar-thumb {
    background-color: var(--color-orange);
    border-radius: 4px;
}

.lyrics-box::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff; 
}

/* ==========================================================================
   Single Release: Alignment & Link Polishing
   ========================================================================== */
.disco-back-link {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--color-orange);
    font-weight: 600;
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.disco-back-link:hover {
    color: #ffffff; 
    opacity: 0.8;
}

.release-content-col h2:first-child,
.release-description *:first-child,
.release-lyrics-section h2 {
    margin-top: 0 !important;
}

/* ==========================================================================
   FRONT PAGE COMPONENT STYLES (Performance Upgraded)
   ========================================================================== */
.home-hero { position: relative; width: 100%; min-height: 85vh; display: flex; align-items: center; background-size: cover; background-position: center; margin-bottom: 60px; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(6, 10, 20, 0.96) 0%, rgba(10, 15, 30, 0.7) 50%, rgba(6, 10, 20, 0.96) 100%); z-index: 1; }
.hero-grid { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 60px 20px; display: grid; gap: 40px; align-items: center; }

.hero-badge { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; color: var(--hero-accent-color); border: 1px solid var(--hero-accent-color); padding: 6px 16px; border-radius: 20px; margin-bottom: 25px; }
.hero-title { font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 900; line-height: 1.05; color: #fff; margin: 0 0 20px 0; letter-spacing: -1.5px; }
.hero-subtext-style { font-size: clamp(1.1rem, 1.8vw, 1.35rem) !important; color: rgba(255, 255, 255, 0.7) !important; margin: 0 0 35px 0 !important; line-height: 1.55 !important; }

.hero-flex-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.hero-btn-solid { background: var(--hero-accent-color); color: #fff; padding: 14px 35px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; text-decoration: none; border-radius: 4px; border: 2px solid var(--hero-accent-color); transition: transform 0.2s ease, background 0.2s ease; }
.hero-btn-solid:hover { transform: translateY(-2px); opacity: 0.95; }
.hero-btn-outline { background: rgba(255,255,255,0.03); color: #fff; padding: 14px 35px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; text-decoration: none; border-radius: 4px; border: 2px solid rgba(255,255,255,0.25); backdrop-filter: blur(5px); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.hero-btn-outline:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255,255,255,0.08); }

.hero-media-wrapper { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); padding: 10px; backdrop-filter: blur(10px); }
.hero-media-inner img { width: 100%; height: auto; display: block; border-radius: 6px; }
.hero-media-inner iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; border-radius: 6px; }

.dsp-links-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; align-items: center; justify-content: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px; }
.dsp-icon-link { color: rgba(255, 255, 255, 0.4); transition: color 0.2s ease, transform 0.15s ease; display: inline-flex; text-decoration: none; }
.dsp-icon-link:hover { transform: translateY(-1px); }
.dsp-icon-link.spot:hover { color: #1DB954; }
.dsp-icon-link.appl:hover { color: #FA243C; }
.dsp-icon-link.deez:hover { color: #EF5466; }
.dsp-icon-link.amaz:hover { color: #1A98FF; }
.dsp-icon-link.tida:hover { color: #00FFFB; }
.dsp-icon-link.qobu:hover { color: #3B9CFF; }
.dsp-icon-link.ytube:hover { color: #FF0000; }
.dsp-icon-link.bcamp:hover { color: #629AA9; }
.dsp-icon-link svg { width: 22px; height: 22px; display: block; }

.mv-glass-panel { padding: 40px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; margin-bottom: 80px; }
.latest-release-box { padding: 50px 30px; text-align: center; max-width: 800px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.streaming-embed-wrapper { width: 100%; max-width: 600px; margin: 0 auto; line-height: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.read-lyrics-btn-wrap { margin-top: 25px; }
.read-lyrics-link { color: var(--color-orange); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; text-decoration: none; font-weight: 700; }
.fallback-release-img { width: 100%; max-width: 300px; height: auto; border-radius: 6px; margin: 0 auto; display: block; }
.fallback-release-title { font-size: 1.8rem; margin: 20px 0 10px; }
.fallback-listen-btn { margin-top: 15px; display: inline-block; }

.release-card, .upcoming-card { transition: transform 0.25s ease; }
.release-card:hover, .upcoming-card:hover { transform: translateY(-3px); }
.img-hover-wrap { opacity: 0.8; border-radius: 6px; overflow: hidden; margin-bottom: 15px; line-height: 0; transition: opacity 0.3s ease; }
.img-hover-wrap:hover { opacity: 1; }
.pre-save-badge { color: var(--color-orange); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; font-weight: 600; }
.release-type-badge { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }

.home-about-snippet { padding: 90px 20px; max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.05); }
.about-snippet-flex { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.about-img-frame { flex: 1 1 400px; }
.about-img-inner { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 15px 45px rgba(0,0,0,0.4); line-height: 0; border: 1px solid rgba(255,255,255,0.05); }
.about-profile-img { width: 100%; height: auto; display: block; }
.about-img-placeholder { width: 100%; aspect-ratio: 4/3; background: rgba(255,255,255,0.02); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.1); }
.about-text-frame { flex: 1.2 1 450px; }
.about-small-tag { color: var(--color-orange); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; display: block; margin-bottom: 10px; }
.about-heading { font-size: 2.5rem; font-weight: 900; color: #fff; margin: 0 0 20px 0; letter-spacing: -0.5px; line-height: 1.1; }
.about-desc { color: rgba(255,255,255,0.7); line-height: 1.65; font-size: 1.1rem; margin: 0 0 30px 0; }
.about-btn { display: inline-block; padding: 12px 35px; text-transform: uppercase; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 4px; transition: border-color 0.2s; }

.home-tribe { background: rgba(255, 255, 255, 0.01); padding: 90px 20px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.tribe-inner { max-width: 580px; margin: 0 auto; }
.tribe-tag { color: var(--color-orange); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; }
.tribe-heading { font-size: 2.4rem; margin: 10px 0 15px 0; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.tribe-desc { color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 35px; font-size: 1.05rem; }
.tribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.tribe-input { flex: 2 1 300px; padding: 15px 20px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.3); color: #fff; font-size: 1rem; outline: none; }
.tribe-submit { flex: 1 1 150px; padding: 15px 30px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   ACCESSIBILITY & KEYBOARD FOCUS STATES (ADA COMPLIANCE)
   ========================================================================== */
a:focus,
button:focus,
input:focus,
textarea:focus,
.button:focus,
.hero-btn-solid:focus,
.hero-btn-outline:focus,
.button-outline:focus {
    outline: 2px solid var(--color-white) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 15px rgba(255, 90, 0, 0.5) !important;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--color-orange);
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    transition: top 0.2s ease;
    border-radius: 4px;
    font-weight: bold;
}

.skip-link:focus {
    top: 20px;
}

/* ==========================================================================
   DESKTOP PARALLAX (Avoids iOS Blur Bug)
   ========================================================================== */
@media (min-width: 1025px) {
    .home-hero,
    .about-page-header,
    .release-page-header {
        background-attachment: fixed !important;
    }
}

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

/* ==========================================================================
   MASTER MOBILE LAYOUT (Menu, Header, and Android Fixes)
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .site-branding {
        flex: 0 1 auto;
        max-width: calc(100% - 60px); 
        text-align: left;
    }
    
    .site-title {
        font-size: 1.25rem; 
        white-space: nowrap;
    }

    .site-description {
        font-size: 0.75rem;
    }

    .navbar-toggler {
        display: block;
        margin: 0; 
        flex: 0 0 auto;
    }
    
    .main-navigation {
        display: none; 
        width: 100%;
        order: 3;
        margin-top: 15px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .main-navigation.toggled {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        animation: fadeInMenu 0.3s ease-in-out;
        background-color: rgba(10, 15, 30, 0.98) !important;
        backdrop-filter: blur(15px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6) !important;
    }
    
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 0; 
    }

    .main-navigation ul li {
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: 18px 20px;
        font-size: 1.05rem;
        letter-spacing: 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .main-navigation ul li:last-child a {
        border-bottom: none;
    }

    .main-navigation a:hover,
    .main-navigation a:active {
        background: rgba(255, 90, 0, 0.05);
        color: var(--color-orange);
    }

    .header-cart-link {
        margin-top: 15px;
        margin-bottom: 15px;
        padding: 12px 25px;
        border: 1px solid var(--color-orange);
        border-radius: 30px;
        display: inline-flex;
        justify-content: center;
    }
}

/* ==========================================================================
   IPAD / LAPTOP NAVIGATION FIX (Absolute Row Lock)
   ========================================================================== */
@media (min-width: 769px) {
    .header-container,
    .main-navigation,
    .main-navigation ul,
    .main-navigation div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important; 
    }

    .header-cart-link {
        flex-shrink: 0 !important; 
        margin: 0 0 0 10px !important;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .site-title { 
        font-size: 1.25rem !important; 
        white-space: nowrap !important;
    }
    .main-navigation { 
        gap: 15px !important; 
    }
    .main-navigation ul { 
        gap: 10px !important; 
    }
    .main-navigation a { 
        font-size: 0.75rem !important; 
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   APP-LIKE RELEASE TABS
   ========================================================================== */
.release-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.tab-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0 0 12px 0;
    margin: 0;
    cursor: pointer;
    border-bottom: 2px solid transparent !important;
    transition: all 0.3s ease;
}

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

.tab-btn.active {
    color: var(--color-orange) !important;
    border-bottom-color: var(--color-orange) !important;
}

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

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

/* ==========================================================================
   SLIM INLINE AUDIO PLAYER
   ========================================================================== */
.inline-slim-player {
    width: 100%;
}

.inline-slim-player iframe {
    width: 100% !important;
    height: 80px !important; 
    border-radius: 8px !important;
    margin: 0 !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .inline-slim-player iframe {
        height: 120px !important;
    }
}

/* ==========================================================================
   SHRINK HERO HEIGHT (Music Pages Only)
   ========================================================================== */
.release-page-header {
    padding-bottom: 15px !important; /* Cuts the dead space below the nav */
}

/* ==========================================================================
   MASTER AESTHETIC CLEANUP (Gaps, Badges, & Search)
   ========================================================================== */
.content-grid {
    justify-content: center !important; 
    align-content: center !important;
}

.release-badge {
    background-color: rgba(255, 90, 0, 0.75) !important; 
    backdrop-filter: blur(6px); 
    color: #fff !important;
    padding: 6px 14px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    z-index: 10;
}

.search-menu-item {
    display: flex;
    align-items: center;
}

.nav-search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2px 10px;
    transition: all 0.3s ease;
}

.nav-search-form:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-orange); 
}

.nav-search-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 5px !important;
    font-size: 0.85rem !important;
    width: 120px;
    outline: none;
    font-family: var(--font-primary);
}

.nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.nav-search-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 5px !important;
    cursor: pointer;
    font-size: 1rem;
    filter: grayscale(100%) brightness(200%); 
    transition: transform 0.2s ease;
}

.nav-search-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-search-form {
        width: 100%;
        margin-top: 15px;
    }
    .nav-search-input {
        width: 100%;
    }
}

/* ==========================================================================
   ARCHIVE & SINGLE NAVIGATION POLISH
   ========================================================================== */
.archive-title, 
.page-title, 
h1.page-title {
    font-size: clamp(2rem, 8vw, 4rem) !important; 
    word-wrap: break-word; 
}

/* ==========================================================================
   MOBILE NAVIGATION (Forced Single Line)
   ========================================================================== */
@media (max-width: 768px) {
    .release-top-nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .hide-mobile {
        display: none !important;
    }
    
    .release-top-nav > .nav-right {
        width: auto !important;
        border-top: none !important;
        padding-top: 0 !important;
    }
    
    .nav-divider {
        display: inline-block !important;
    }
    
    .release-top-nav a {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS: CATALOG & RELEASES
   ========================================================================== */
@media (max-width: 768px) {
    .tour-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 0;
    }
    .hero-tagline {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .hero-actions .button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .home-hero {
        padding: 80px 0;
    }
    .home-section {
        padding: 50px 0;
    }

    .hero-grid { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 140px 20px 60px 20px; display: grid; gap: 40px; align-items: center; }
    .hero-flex-actions { justify-content: center; }
    .hero-media-wrapper { margin: 0 auto; max-width: 450px; width: 100%; }
    .about-snippet-flex { flex-direction: column; text-align: center; }
    
    .single-release-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .release-media-col,
    .release-content-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .release-page-header {
        padding: 100px 20px 40px !important;
    }

    .release-content-col h1.release-title {
        font-size: 2rem !important; 
        margin-bottom: 15px !important;
    }
    
    .release-tabs {
        gap: 15px !important;
    }
    
    .tab-btn {
        font-size: 0.85rem !important;
        padding: 0 0 10px 0 !important;
        flex-grow: 1; 
        text-align: center;
    }

    .music-catalog-grid,
    .release-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}
/* ==========================================================================
   MOBILE DISCOGRAPHY / CATALOG CENTERING FIX
   ========================================================================== */
@media (max-width: 768px) {
    .content-grid {
        justify-items: center !important; /* Forces the grid tracks to center their contents */
    }
    
    .content-grid .release-card,
    .content-grid .upcoming-card {
        margin: 0 auto !important; /* Forces the physical card to sit in the dead center */
        width: 100%;
    }
}
/* ==========================================================================
   GLOBAL CATALOG CENTERING FIX (Desktop & Mobile)
   ========================================================================== */
.content-grid .release-card,
.content-grid .upcoming-card {
    margin: 0 auto !important; /* Forces the physical card to sit in the dead center of its column */
    width: 100%;
}
/* ==========================================================================
   PERFECT DESKTOP GRID (Fixes Annoying Gaps)
   ========================================================================== */

/* Tablet & Desktop Tweaks */
@media (min-width: 769px) {
    .home-music .content-grid,
    .content-grid {
        /* Shrink the massive 50px gap down to a sleek, modern 25px */
        gap: 25px !important; 
    }
    
    .content-grid .release-card,
    .content-grid .upcoming-card {
        /* Remove the artificial 300px limit so the cards organically fill their columns */
        max-width: none !important;
        width: 100% !important;
    }
}

/* Strict Desktop Layout */
@media (min-width: 1025px) {
    .home-music .content-grid,
    .content-grid {
        /* Force exactly 4 equal fractions (1fr) across the screen */
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
/* ==========================================================================
   RELEASE CARD DESCRIPTIONS & CTA
   ========================================================================== */
.release-card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 15px;
}

.release-card-desc p {
    margin: 0 !important;
}

.card-cta-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-orange);
    transition: transform 0.2s ease, color 0.2s ease;
}

.card-cta-link:hover {
    transform: translateX(5px); /* Gentle slide to the right on hover */
    color: #fff;
}
/* ==========================================================================
   TOUR ROW SPACING FIX (Home & Tour Page)
   ========================================================================== */
.tour-row {
    padding: 20px 30px !important; /* Adds 20px top/bottom and 30px left/right padding */
    box-sizing: border-box; /* Ensures the new padding doesn't break the container's width */
    border-radius: 6px; /* Optional: gives the background bar slightly softened corners */
}

/* Tighter spacing for mobile screens so it doesn't squish the text */
@media (max-width: 768px) {
    .tour-row {
        padding: 15px 20px !important; 
    }
}
/* ==========================================================================
   TRUE MOBILE PARALLAX (Apenas na Homepage - .home-hero)
   ========================================================================== */
@media (max-width: 1024px) {
    .home-hero {
        /* Cria uma janela de recorte perfeita apenas no Hero da Homepage */
        clip-path: inset(0);
        -webkit-clip-path: inset(0);
        background-attachment: scroll !important;
    }

    .home-hero::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-image: inherit;
        background-size: cover;
        background-position: 58% center;
        background-repeat: no-repeat;
        z-index: 0;
        pointer-events: none;
        will-change: transform;
    }

    /* Ajusta a película escura no telemóvel para a imagem fixa brilhar por trás do texto */
    .home-hero .hero-overlay {
        background: linear-gradient(180deg, rgba(6, 10, 20, 0.65) 0%, rgba(10, 15, 30, 0.45) 50%, rgba(6, 10, 20, 0.75) 100%) !important;
        z-index: 1;
    }
}
/* ==========================================================================
   SAMSUNG / NARROW MOBILE HEADER SINGLE-LINE LOCK
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 12px !important;
        gap: 8px;
    }

    /* Keep hamburger, title, and icons locked on row 1; only allow the dropdown menu to wrap */
    .header-container > *:not(.main-navigation) {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .site-branding {
        flex: 1 1 auto !important;
        min-width: 0;
        text-align: center !important;
    }

    .site-title {
        font-size: clamp(0.95rem, 4.2vw, 1.2rem) !important;
        letter-spacing: 1px !important;
    }
}
/* ==========================================================================
   MASTER WOOCOMMERCE DARK-MODE OVERHAUL (Shop & Single Product Polish)
   ========================================================================== */

/* 1. Container & Breadcrumb Cleanup */
.woocommerce #content div.product,
.woocommerce div.product,
.woocommerce-page #content div.product,
.woocommerce-page div.product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 80px;
}

.woocommerce .woocommerce-breadcrumb {
    max-width: 1200px;
    margin: 20px auto 30px !important;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--color-orange) !important;
}

/* 2. Shop Archive Header, Result Count & Sorting Dropdown */
.woocommerce-products-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.woocommerce .woocommerce-result-count {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px 0 30px 20px !important;
}

.woocommerce .woocommerce-ordering {
    margin: 0 20px 30px 0 !important;
}

.woocommerce .woocommerce-ordering select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

.woocommerce .woocommerce-ordering select option {
    background-color: #0B132B;
    color: #fff;
}

/* 3. Shop Product Grid & Dark Glass Cards (Matches Discography Cards) */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto 80px !important;
    padding: 0 20px !important;
    clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 8px !important;
    padding: 22px !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: left !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 90, 0, 0.45) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.woocommerce ul.products li.product a img {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px !important;
    margin: 0 0 18px 0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

.woocommerce ul.products li.product .price {
    color: var(--color-orange) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    display: block !important;
}

.woocommerce ul.products li.product .button {
    width: 100% !important;
    text-align: center !important;
    border-radius: 4px !important;
    padding: 13px 20px !important;
    font-size: 0.8rem !important;
    letter-spacing: 1.5px !important;
    margin-top: auto !important;
}

/* 4. Single Product Page (2-Column Split Layout) */
@media (min-width: 769px) {
    .woocommerce #content div.product div.images,
    .woocommerce div.product div.images,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page div.product div.images {
        width: 46% !important;
        float: left !important;
    }

    .woocommerce #content div.product div.summary,
    .woocommerce div.product div.summary,
    .woocommerce-page #content div.product div.summary,
    .woocommerce-page div.product div.summary {
        width: 48% !important;
        float: right !important;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 10px;
        padding: 35px;
    }
}

.woocommerce div.product div.images img {
    border-radius: 8px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gallery Thumbnails below main product image */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    gap: 12px !important;
    margin-top: 15px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 80px !important;
    float: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 4px !important;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1;
    border: 1px solid var(--color-orange);
}

/* Single Product Typography, Price & Short Description */
.woocommerce div.product .product_title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.5px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--color-orange) !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    margin-bottom: 25px !important;
}

/* Variations Dropdowns (Sizes / Colors) */
.woocommerce div.product form.cart .variations {
    margin-bottom: 20px !important;
    width: 100%;
}

.woocommerce div.product form.cart .variations label {
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.woocommerce div.product form.cart .variations select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    width: 100%;
    max-width: 100%;
    font-family: var(--font-primary);
}

.woocommerce div.product form.cart .variations select option {
    background-color: #0B132B;
    color: #fff;
}

/* Quantity Input & Add to Cart Button Alignment */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px !important;
}

.woocommerce div.product form.cart div.quantity {
    margin: 0 !important;
}

.woocommerce .quantity .qty {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 12px 10px !important;
    border-radius: 4px !important;
    width: 70px !important;
    font-size: 1rem !important;
    font-weight: 700;
}

.woocommerce div.product form.cart .button {
    flex: 1 1 auto;
    padding: 15px 30px !important;
    border-radius: 4px !important;
    font-size: 0.9rem !important;
    letter-spacing: 1.5px !important;
    text-align: center;
}

/* Product Meta (Category / SKU) */
.woocommerce div.product .product_meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 5. Single Product Tabs (Dark Glass Conversion - Fixes White Boxes) */
.woocommerce div.product .woocommerce-tabs {
    clear: both;
    padding-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex;
    gap: 30px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: var(--font-primary);
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0 0 12px 0 !important;
    border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #fff !important;
    border-bottom-color: var(--color-orange) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 8px !important;
    padding: 35px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.75 !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.3rem !important;
    margin-top: 0 !important;
    color: var(--color-orange);
}

/* Additional Information Table inside Tabs */
.woocommerce table.shop_attributes {
    border: none !important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 15px !important;
    font-style: normal !important;
}

.woocommerce table.shop_attributes th {
    color: var(--color-orange) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* 6. Related Products Section */
.related.products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related.products > h2 {
    font-size: 1.8rem !important;
    text-align: center;
    margin-bottom: 35px !important;
}

.related.products ul.products {
    padding: 0 !important;
}

/* 7. WooCommerce Notices / "Added to Cart" Banner */
.woocommerce-message,
.woocommerce-info {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    border-top-color: var(--color-orange) !important;
    border-radius: 6px;
    max-width: 1200px;
    margin: 0 auto 30px !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--color-orange) !important;
}

/* Mobile Responsive Adjustments for Single Product */
@media (max-width: 768px) {
    .woocommerce #content div.product div.summary,
    .woocommerce div.product div.summary {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 8px;
        padding: 25px;
        margin-top: 20px;
    }

    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none !important;
        text-align: center !important;
        margin: 0 auto 15px !important;
        display: block;
    }
}
/* Hide duplicate WooCommerce archive title */
.woocommerce-products-header {
    display: none !important;
}
/* Remove default WordPress sidebar widgets from WooCommerce pages */
.woocommerce #secondary,
.woocommerce .widget-area,
.woocommerce-page #secondary,
.woocommerce-page .widget-area,
.single-product #secondary,
.single-product .widget-area,
.single-product aside {
    display: none !important;
}