/*
Theme Name: Jools Scott
Theme URI: https://joolsscott.co.uk
Author: Jools Scott
Author URI: https://joolsscott.co.uk
Description: Custom theme for Jools Scott - Composer & Pianist. Features film music, choral works, opera, musical theatre, and sheet music store.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jools-scott
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce

Jools Scott Theme - A bespoke theme replacing Elementor with pure CSS.
*/

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    background-color: #ffffff;
}

/* Prevent iOS zoom on form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
textarea,
select {
    font-size: 16px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

/* Headings - Poppins */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #1a1a1a;
}

h1 {
    font-size: 48px;
    letter-spacing: -2px;
}

h1.hero-title {
    font-size: 55px;
    line-height: 55px;
    letter-spacing: -3px;
}

h2 {
    font-size: 36px;
    letter-spacing: -1.4px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

/* Body Text */
p {
    margin: 0 0 20px;
}

/* Elegant Text - IM Fell DW Pica */
.text-elegant {
    font-family: 'IM Fell DW Pica', Georgia, serif;
}

/* Accent Text - Playfair Display */
.text-accent {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Product Titles - Josefin Sans */
.text-product {
    font-family: 'Josefin Sans', sans-serif;
}

/* Small Caps */
.text-small-caps {
    font-family: 'IM Fell DW Pica SC', Georgia, serif;
}

/* Links */
a {
    color: #ff0000;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #cc0000;
}

/* ==========================================================================
   COLOR PALETTE
   ========================================================================== */

:root {
    /* Primary Colors */
    --color-black: #000000;
    --color-dark: #1a1a1a;
    --color-dark-alt: #262a2b;
    --color-grey-dark: #333333;
    --color-grey: #666666;
    --color-grey-light: #bbbbbb;
    --color-grey-lighter: #dddddd;
    --color-off-white: #f8f8f8;
    --color-white: #ffffff;

    /* Accent Colors */
    --color-red: #ff0000;
    --color-red-dark: #cc0000;
    --color-gold: #C5A059;

    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 60px;
    --spacing-xl: 80px;

    /* Container */
    --container-narrow: 900px;   /* Reading-optimized content */
    --container-max: 1200px;     /* Standard boxed content */
    --container-wide: 1400px;    /* Wide layouts */
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    padding: var(--spacing-lg) var(--spacing-sm);
}

.section--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: var(--color-white);
}

.section--dark a {
    color: var(--color-red);
}

.section--light {
    background-color: var(--color-off-white);
}

.section--white {
    background-color: var(--color-white);
}

.section--gradient {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
}

/* ==========================================================================
   HEADER (Mobile First)
   ========================================================================== */

.site-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-dark);
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo__img {
    height: 45px;
    width: auto;
    display: block;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-dark);
    text-decoration: none;
    position: relative;
}

.header-action svg {
    transition: opacity 0.2s ease;
}

.header-action:hover svg {
    opacity: 0.6;
}

.header-action--account {
    display: none;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    background-color: var(--color-dark);
    color: var(--color-white);
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Desktop Navigation - Hidden on mobile */
.nav-desktop {
    display: none;
}

/* Mobile Navigation Drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    z-index: 1002;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.nav-mobile.is-open {
    left: 0;
}

.nav-mobile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.nav-mobile__title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-grey);
}

.nav-mobile__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

.nav-mobile__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-mobile__menu .menu-item a {
    display: block;
    padding: 14px 20px;
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 17px;
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.nav-mobile__menu .menu-item a:hover {
    background-color: var(--color-off-white);
}

.nav-mobile__menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--color-off-white);
}

.nav-mobile__menu .sub-menu a {
    padding-left: 40px;
    font-size: 15px;
}

.nav-mobile__menu .sub-menu .sub-menu a {
    padding-left: 60px;
    font-size: 14px;
}

.nav-mobile__footer {
    padding: 20px;
    border-top: 1px solid var(--color-grey-lighter);
}

.nav-mobile__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--color-off-white);
    border-radius: 6px;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 15px;
}

.nav-mobile__link:hover {
    background-color: var(--color-grey-lighter);
}

/* Mobile Overlay */
.nav-mobile__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-mobile__overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   DESKTOP HEADER (min-width: 900px)
   ========================================================================== */

@media (min-width: 900px) {
    .site-header {
        border-bottom: none;
    }

    .header-inner {
        padding: 0 30px;
        gap: 40px;
    }

    /* Hide mobile elements */
    .menu-toggle,
    .nav-mobile,
    .nav-mobile__overlay {
        display: none !important;
    }

    /* Logo */
    .site-logo__img {
        height: 60px;
    }

    /* Show desktop nav */
    .nav-desktop {
        display: flex;
        flex: 1;
        justify-content: center;
    }

    .nav-desktop__menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 0;
    }

    .nav-desktop__menu > .menu-item {
        position: relative;
    }

    .nav-desktop__menu > .menu-item > a {
        display: block;
        padding: 24px 18px;
        font-family: 'IM Fell DW Pica', Georgia, serif;
        font-size: 16px;
        color: var(--color-dark);
        text-decoration: none;
        transition: color 0.2s ease;
        position: relative;
    }

    .nav-desktop__menu > .menu-item > a::after {
        content: '';
        position: absolute;
        bottom: 20px;
        left: 18px;
        right: 18px;
        height: 1px;
        background-color: var(--color-dark);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }

    .nav-desktop__menu > .menu-item > a:hover::after,
    .nav-desktop__menu > .menu-item.current-menu-item > a::after {
        transform: scaleX(1);
    }

    /* Dropdown */
    .nav-desktop__menu .sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(5px);
        min-width: 220px;
        background-color: var(--color-white);
        border: 1px solid var(--color-grey-lighter);
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        list-style: none;
        margin: 0;
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        z-index: 100;
    }

    .nav-desktop__menu > .menu-item:hover > .sub-menu,
    .nav-desktop__menu > .menu-item.focus > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-desktop__menu .sub-menu a {
        display: block;
        padding: 10px 20px;
        font-family: 'IM Fell DW Pica', Georgia, serif;
        font-size: 15px;
        color: var(--color-dark);
        text-decoration: none;
    }

    .nav-desktop__menu .sub-menu a:hover {
        background-color: var(--color-off-white);
    }

    /* Nested submenus */
    .nav-desktop__menu .sub-menu .menu-item-has-children {
        position: relative;
    }

    .nav-desktop__menu .sub-menu .sub-menu {
        top: 0;
        left: 100%;
        transform: translateX(5px) translateY(0);
    }

    .nav-desktop__menu .sub-menu .menu-item:hover > .sub-menu,
    .nav-desktop__menu .sub-menu .menu-item.focus > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) translateY(0);
    }

    /* Show account icon on desktop */
    .header-action--account {
        display: flex;
    }

    .header-actions {
        gap: 4px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--color-dark-alt);
    color: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-sm);
}

.footer-quote {
    text-align: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-quote blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-style: italic;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-grey-light);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero {
    padding: var(--spacing-lg) var(--spacing-sm);
    text-align: center;
}

.hero--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.hero--light {
    background-color: var(--color-off-white);
}

.hero--image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero--image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: clamp(32px, 5vw, 55px);
    margin-bottom: 20px;
}

.hero__subtitle {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: clamp(16px, 2.5vw, 20px);
    font-style: italic;
    opacity: 0.9;
}

/* Section Hero (Biography, etc.) */
.section-hero {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 80px 20px;
    text-align: center;
}

.section-hero .page-title {
    font-size: clamp(36px, 6vw, 55px);
    color: var(--color-white);
    margin: 0;
    letter-spacing: -2px;
}

.section-hero--simple {
    padding: 25px 20px;
}

@media (max-width: 768px) {
    .section-hero {
        padding: 60px 20px;
    }
    .section-hero--simple {
        padding: 25px 20px;
    }
}

/* Biography Page Content */
.page-biography .entry-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 30px;
}

.page-biography .biography-section .container {
    max-width: var(--container-max);
}

@media (max-width: 768px) {
    .page-biography .entry-content {
        padding: 40px 20px;
    }
}

/* Page/Post Hero with Featured Image Background */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.page-hero--tall {
    min-height: 400px;
}

.page-hero--short {
    min-height: 200px;
    padding: 60px 20px;
}

/* Dark overlay */
.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* Content wrapper */
.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    color: var(--color-white);
}

/* Hero title */
.page-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 6vw, 55px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

/* Optional subtitle/excerpt */
.page-hero__subtitle {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: clamp(16px, 2.5vw, 22px);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumbs in hero */
.page-hero .breadcrumbs {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero .breadcrumbs a:hover {
    color: var(--color-white);
}

/* Fallback when no featured image */
.page-hero--no-image {
    background-color: var(--color-dark);
    min-height: auto;
    padding: 60px 20px;
}

.page-hero--no-image .page-hero__overlay {
    display: none;
}

/* Entry meta in hero */
.page-hero__meta {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.page-hero__meta a {
    color: rgba(255, 255, 255, 0.8);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        min-height: 250px;
        padding: 60px 20px;
    }

    .page-hero--tall {
        min-height: 300px;
    }

    .page-hero__title {
        letter-spacing: -1px;
    }
}

/* ==========================================================================
   SINGLE POST CONTENT
   ========================================================================== */

.section-light {
    background-color: var(--color-white);
    padding: 30px 0;
}

/* ==========================================================================
   ENTRY CONTENT
   ========================================================================== */

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-grey-dark);
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content p:empty,
.entry-content a p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    border: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
}

/* ----- BOXED LAYOUT (default) ----- */
.layout-boxed .entry-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 20px;
}

/* ----- FULL-WIDTH LAYOUT ----- */
/* Remove all constraints - content controls its own width */
.layout-fullwidth .entry-content {
    max-width: none;
    padding: 0;
}

/* Direct children get no constraints either (for wrapper divs) */
.layout-fullwidth .entry-content > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* WordPress block alignments still work */
.layout-fullwidth .entry-content .alignfull {
    max-width: 100%;
    width: 100%;
}

.layout-fullwidth .entry-content .alignwide {
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

/* Full-width layout removes all margins/padding from article and footer */
.layout-fullwidth .entry-footer {
    display: none;
}

.layout-fullwidth.post,
.layout-fullwidth.page {
    margin-bottom: 0;
}

/* ==========================================================================
   POST NAVIGATION (Prev/Next)
   ========================================================================== */

.post-nav {
    background-color: var(--color-dark);
}

.post-nav__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 200px;
}

.post-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px 30px;
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-nav__link--prev {
    justify-content: flex-start;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.post-nav__link--next {
    justify-content: flex-end;
    text-align: right;
}

.post-nav__link--empty {
    background-color: var(--color-dark-alt);
}

/* Dark overlay */
.post-nav__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease;
    z-index: 1;
}

.post-nav__link:hover .post-nav__overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Content wrapper */
.post-nav__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 400px;
}

.post-nav__link--next .post-nav__content {
    flex-direction: row;
}

/* Arrow */
.post-nav__arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    border-radius: 50%;
    color: var(--color-white);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.post-nav__arrow svg {
    width: 24px;
    height: 24px;
}

.post-nav__link:hover .post-nav__arrow {
    transform: scale(1.1);
    background-color: #d4af5a;
}

.post-nav__link--prev:hover .post-nav__arrow {
    transform: scale(1.1) translateX(-3px);
}

.post-nav__link--next:hover .post-nav__arrow {
    transform: scale(1.1) translateX(3px);
}

/* Title */
.post-nav__title {
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .post-nav__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .post-nav__link {
        padding: 30px 20px;
        min-height: 120px;
    }

    .post-nav__link--prev {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .post-nav__link--next {
        justify-content: flex-start;
        text-align: left;
    }

    .post-nav__content {
        gap: 15px;
        max-width: none;
        width: 100%;
        justify-content: space-between;
    }

    /* Mobile layout: prev [arrow][text], next [text][arrow] */
    .post-nav__link--prev .post-nav__content,
    .post-nav__link--next .post-nav__content {
        flex-direction: row !important;
    }

    .post-nav__arrow {
        width: 44px;
        height: 44px;
    }

    .post-nav__arrow svg {
        width: 20px;
        height: 20px;
    }

    .post-nav__title {
        font-size: 16px;
        flex: 1;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn--primary {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-red-dark);
    color: var(--color-white);
}

.btn--secondary {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn--secondary:hover {
    background-color: var(--color-off-white);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn--small {
    font-size: 14px;
    padding: 8px 16px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card--dark {
    background-color: #2a2a2a;
    color: var(--color-white);
}

.card__image {
    width: 100%;
    height: auto;
    display: block;
}

.card__content {
    padding: 20px;
}

.card__title {
    font-size: 18px;
    margin-bottom: 10px;
}

.card__text {
    font-size: 16px;
    color: var(--color-grey);
    margin: 0;
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

.grid {
    display: grid;
    gap: 30px;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   QUOTES
   ========================================================================== */

blockquote {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-style: italic;
    margin: 0;
    padding: 20px;
    background-color: var(--color-off-white);
    border-left: 4px solid var(--color-dark);
    border-radius: 4px;
}

blockquote p {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 10px;
}

blockquote cite {
    font-size: 14px;
    color: var(--color-grey);
    font-style: normal;
}

.blockquote--featured {
    text-align: center;
    background: none;
    border: none;
    padding: 0;
}

.blockquote--featured p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.3;
}

.blockquote--dark {
    background-color: #2a2a2a;
    border-left-color: var(--color-gold);
    color: var(--color-white);
}

/* ==========================================================================
   MEDIA EMBEDS
   ========================================================================== */

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.audio-embed {
    border-radius: 8px;
}

.audio-embed audio {
    width: 100%;
    max-width: 500px;
}

/* ==========================================================================
   WOOCOMMERCE - PRODUCTS
   ========================================================================== */

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

.product-card__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card__title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-red);
    margin: 0 0 8px;
    text-transform: capitalize;
}

.product-card__title a {
    color: inherit;
}

.product-card__price {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    color: var(--color-black);
    margin-bottom: 10px;
}

.product-card__price--sale .original {
    text-decoration: line-through;
    color: var(--color-grey);
    margin-right: 8px;
}

.product-card__price--sale .sale {
    color: var(--color-red);
    font-weight: 700;
}

/* Single Product */
.product-hero {
    background-color: var(--color-off-white);
    padding: var(--spacing-lg) var(--spacing-sm);
    text-align: center;
}

.product-hero__title {
    margin-bottom: 15px;
}

.product-hero__category {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--color-grey);
    margin: 0;
}

.product-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .product-info {
        grid-template-columns: 1fr;
    }
}

.product-info__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-info__price {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.product-meta-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
}

.product-meta-table td {
    padding: 15px 0;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.product-meta-table td:first-child {
    font-weight: 700;
    color: var(--color-dark);
    width: 40%;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
    font-size: 14px;
    color: var(--color-grey);
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: var(--color-red);
}

.breadcrumbs .separator {
    margin: 0 8px;
}

/* ==========================================================================
   CAST LIST (Musical Theatre)
   ========================================================================== */

.cast-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
}

.cast-list li {
    margin-bottom: 5px;
}

.cast-list__character {
    font-weight: 700;
}

.cast-list__voice-type {
    color: var(--color-grey);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-grey-lighter);
    border-radius: 4px;
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-red);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--color-white); }
.text-dark { color: var(--color-dark); }
.text-grey { color: var(--color-grey); }
.text-red { color: var(--color-red); }
.text-gold { color: var(--color-gold); }

.bg-dark { background-color: var(--color-dark); }
.bg-light { background-color: var(--color-off-white); }
.bg-white { background-color: var(--color-white); }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .section {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-md) var(--spacing-sm);
    }
}

/* ==========================================================================
   WORDPRESS CORE STYLES
   ========================================================================== */

.alignwide {
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: 100%;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   WOOCOMMERCE - SHOP ARCHIVE
   ========================================================================== */

.shop-archive {
    background-color: var(--color-white);
}

.shop-hero {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 20px;
    text-align: center;
}

.shop-hero .page-title {
    color: var(--color-white);
    margin: 0;
}

/* Category Tiles */
.shop-category-tiles-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.shop-category-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-grey-lighter);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.category-tile:hover {
    border-color: var(--color-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.category-tile__icon {
    margin-bottom: 15px;
    color: var(--color-red);
}

.category-tile__icon svg {
    stroke: currentColor;
}

.category-tile__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.category-tile__desc {
    font-size: 14px;
    color: var(--color-grey);
    margin-bottom: 10px;
}

.category-tile__count {
    font-size: 12px;
    color: var(--color-grey);
    background-color: var(--color-off-white);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Shop Layout with Sidebar */
.shop-content-section {
    padding: 40px 0 60px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

/* Shop Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
}

.shop-sidebar__inner {
    background-color: var(--color-off-white);
    padding: 25px;
    border-radius: 8px;
}

.shop-sidebar__title {
    font-size: 18px;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-dark);
}

/* Filter Groups */
.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-of-type {
    margin-bottom: 0;
}

.filter-group__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    margin-bottom: 8px;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-grey);
    text-decoration: none;
    padding: 6px 0;
    font-size: 15px;
    transition: color 0.2s ease;
}

.filter-link:hover {
    color: var(--color-red);
}

.filter-item.is-active > .filter-link {
    color: var(--color-red);
    font-weight: 700;
}

.filter-count {
    font-size: 13px;
    color: var(--color-grey);
}

.filter-sublist {
    list-style: none;
    padding: 5px 0 5px 15px;
    margin: 0;
    border-left: 2px solid var(--color-grey-lighter);
}

.filter-sublist .filter-link {
    font-size: 14px;
    padding: 4px 0;
}

.clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 8px 12px;
    background-color: var(--color-dark);
    color: var(--color-white);
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.clear-filters:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* Shop Products Area */
.shop-products {
    min-width: 0;
}

/* Shop Controls */
.shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.shop-controls__count {
    color: var(--color-grey);
    font-size: 14px;
}

.shop-controls__sort .orderby {
    padding: 8px 12px;
    border: 1px solid var(--color-grey-lighter);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--color-dark);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.shop-filter-toggle:hover {
    background-color: var(--color-red);
}

/* Active Filters Display */
.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.active-filters__label {
    font-size: 14px;
    color: var(--color-grey);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--color-off-white);
    border-radius: 20px;
    font-size: 13px;
}

.remove-filter {
    display: inline-flex;
    color: var(--color-grey);
    transition: color 0.2s ease;
}

.remove-filter:hover {
    color: var(--color-red);
}

/* Products Grid */
.products.products-grid,
ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Product Cards */
.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-grey-lighter);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    background-color: var(--color-off-white);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Product Badges */
.product-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
}

.badge--sale {
    background-color: var(--color-red);
    color: var(--color-white);
}

.badge--free {
    background-color: #22c55e;
    color: var(--color-white);
}

.badge--audio {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 6px;
    border-radius: 50%;
}

/* Product Card Overlay */
.product-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.view-product {
    padding: 10px 20px;
    background-color: var(--color-white);
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.product-card:hover .view-product {
    transform: translateY(0);
}

/* Product Card Info */
.product-card-info {
    padding: 20px;
}

.product-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-meta {
    font-size: 13px;
    color: var(--color-grey);
    margin-bottom: 10px;
}

.meta-separator {
    margin: 0 6px;
    color: var(--color-grey-lighter);
}

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
}

.product-card-price del {
    color: var(--color-grey);
    font-weight: 400;
    font-size: 14px;
}

.product-card-price ins {
    text-decoration: none;
    color: var(--color-red);
}

/* Product Card Actions */
.product-card-actions {
    padding: 0 20px 20px;
}

.product-card-actions .button,
.product-card-actions .add_to_cart_button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-card-actions .button:hover,
.product-card-actions .add_to_cart_button:hover {
    background-color: var(--color-red);
}

/* Shop Pagination */
.shop-pagination {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-grey-lighter);
}

.woocommerce-pagination {
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination li a,
.woocommerce-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: var(--color-off-white);
    color: var(--color-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.woocommerce-pagination li a:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.woocommerce-pagination li span.current {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* Mobile Sidebar Overlay */
.shop-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-sidebar-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   WOOCOMMERCE - SINGLE PRODUCT
   ========================================================================== */

.single-product-page {
    background-color: var(--color-white);
}

.product-hero {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 40px 20px 50px;
    text-align: center;
}

.product-hero .woocommerce-breadcrumb {
    margin-bottom: 20px;
}

.product-hero .woocommerce-breadcrumb,
.product-hero .woocommerce-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.product-hero .woocommerce-breadcrumb a:hover {
    color: var(--color-white);
}

.product-hero .separator {
    margin: 0 10px;
}

.product-title {
    font-size: 42px;
    color: var(--color-white);
    margin: 0;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px 0;
}

/* Product Gallery */
.product-gallery-wrapper {
    position: sticky;
    top: 100px;
}

.product-gallery-wrapper .woocommerce-product-gallery {
    margin: 0;
    padding: 0;
}

.product-gallery-wrapper .woocommerce-product-gallery__image {
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery-wrapper .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.product-gallery-wrapper .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.product-gallery-wrapper .flex-control-thumbs li {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.product-gallery-wrapper .flex-control-thumbs li:hover,
.product-gallery-wrapper .flex-control-thumbs li.flex-active {
    opacity: 1;
}

.product-gallery-wrapper .flex-control-thumbs img {
    width: 100%;
    height: auto;
}

.product-image-placeholder {
    background-color: var(--color-off-white);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

/* Product Info */
.product-info-wrapper {
    padding-top: 10px;
}

/* Price Box */
.product-price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.product-price-box .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
}

.product-price-box .price del {
    font-size: 20px;
    color: var(--color-grey);
    font-weight: 400;
}

.product-price-box .price ins {
    text-decoration: none;
}

.product-sale-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--color-red);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
}

/* Short Description */
.product-short-description {
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Product Custom Meta Table */
.product-custom-meta {
    margin-bottom: 25px;
}

.product-meta-table {
    width: 100%;
    border-collapse: collapse;
}

.product-meta-table th,
.product-meta-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-grey-lighter);
    text-align: left;
}

.product-meta-table th {
    width: 140px;
    font-weight: 600;
    color: var(--color-grey);
    font-size: 14px;
}

.product-meta-table td {
    color: var(--color-dark);
}

/* Add to Cart */
.product-add-to-cart {
    margin-bottom: 25px;
}

.product-add-to-cart .quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.product-add-to-cart .quantity input {
    width: 60px;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--color-grey-lighter);
    border-radius: 4px;
    font-size: 16px;
}

.product-add-to-cart .single_add_to_cart_button {
    padding: 14px 30px;
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background-color: var(--color-dark);
}

/* Product Meta Info */
.product-meta-info {
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--color-grey-lighter);
    font-size: 14px;
    color: var(--color-grey);
}

.product-meta-info > span {
    display: block;
    margin-bottom: 8px;
}

.product-meta-info a {
    color: var(--color-dark);
    text-decoration: none;
}

.product-meta-info a:hover {
    color: var(--color-red);
}

/* Share Buttons */
.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--color-grey-lighter);
}

.share-label {
    font-size: 14px;
    color: var(--color-grey);
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-off-white);
    color: var(--color-dark);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.share-link:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Audio Preview Section */
.product-audio-section {
    padding: 40px 0;
}

.audio-preview-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.audio-preview-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    margin: 0 0 20px;
}

.audio-preview-title svg {
    color: var(--color-red);
}

.audio-player-container {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-audio-player {
    width: 100%;
    height: 50px;
}

/* Product Tabs Section */
.product-tabs-section {
    padding: 50px 0;
    border-top: 1px solid var(--color-grey-lighter);
}

.woocommerce-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid var(--color-grey-lighter);
}

.woocommerce-tabs ul.tabs li {
    margin-bottom: -2px;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 20px;
    color: var(--color-grey);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-dark);
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--color-dark);
    border-bottom-color: var(--color-red);
}

.woocommerce-tabs .panel {
    line-height: 1.8;
}

.woocommerce-tabs .panel h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Related Products Section */
.product-related-section {
    padding: 60px 0;
}

.related-products-title {
    font-size: 28px;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 40px;
}

.product-related-section ul.products {
    grid-template-columns: repeat(3, 1fr);
}

.product-related-section .product-card {
    background-color: var(--color-white);
}

/* ==========================================================================
   WOOCOMMERCE - RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
    .shop-category-tiles {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-tile {
        flex-direction: row;
        padding: 20px;
        text-align: left;
        gap: 20px;
    }

    .category-tile__icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .category-tile__icon svg {
        width: 36px;
        height: 36px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        background-color: var(--color-white);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .shop-sidebar.is-open {
        left: 0;
    }

    .shop-sidebar__inner {
        border-radius: 0;
        min-height: 100%;
    }

    .shop-filter-toggle {
        display: inline-flex;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery-wrapper {
        position: relative;
        top: 0;
    }

    .product-title {
        font-size: 32px;
    }

    .product-related-section ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    ul.products {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 28px;
    }

    .product-price-box .price {
        font-size: 26px;
    }

    .shop-controls {
        flex-wrap: wrap;
    }

    .product-related-section ul.products {
        grid-template-columns: 1fr;
    }

    .product-card-info {
        padding: 15px;
    }

    .product-card-actions {
        padding: 0 15px 15px;
    }
}

/* ==========================================================================
   WOOCOMMERCE - CART PAGE
   ========================================================================== */

.woocommerce-cart-page,
.woocommerce-checkout-page,
.woocommerce-account-page {
    background-color: var(--color-white);
    overflow-x: hidden;
}

.cart-hero,
.checkout-hero,
.account-hero {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 25px 20px;
    text-align: center;
}

.cart-hero .page-title,
.checkout-hero .page-title,
.account-hero .page-title {
    color: var(--color-white);
    margin: 0;
}

.account-welcome,
.account-subtitle,
.account-hero p {
    margin: 10px 0 0 0 !important;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.account-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 0 0 30px 0;
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 50px 0;
    align-items: start;
}

/* Cart Items */
.cart-items {
    background-color: var(--color-white);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.cart-item:last-of-type {
    border-bottom: none;
}

.cart-item__image img {
    width: 100px;
    height: auto;
    border-radius: 4px;
}

.cart-item__title {
    font-size: 18px;
    margin: 0 0 5px;
}

.cart-item__title a {
    color: var(--color-dark);
    text-decoration: none;
}

.cart-item__title a:hover {
    color: var(--color-red);
}

.cart-item__meta {
    font-size: 14px;
    color: var(--color-grey);
    margin: 0;
}

.cart-item__price {
    font-size: 18px;
    font-weight: 700;
}

.cart-item__remove .remove-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-grey);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cart-item__remove .remove-item:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--color-grey-lighter);
}

/* Cart Totals */
.cart-totals-wrapper {
    position: sticky;
    top: 100px;
}

.cart-totals {
    background-color: var(--color-off-white);
    padding: 30px;
    border-radius: 8px;
}

.cart-totals__title {
    font-size: 22px;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-dark);
}

.cart-coupon {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.cart-coupon input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--color-grey-lighter);
    border-radius: 4px;
}

.cart-totals__row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-grey-lighter);
}

.cart-totals__row--total {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 5px;
    font-size: 20px;
    font-weight: 700;
}

.cart-totals__checkout {
    margin-top: 25px;
}

.cart-totals__checkout .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty__icon {
    color: var(--color-grey-light);
    margin-bottom: 25px;
}

.cart-empty__title {
    font-size: 28px;
    margin: 0 0 15px;
}

.cart-empty__message {
    color: var(--color-grey);
    margin-bottom: 30px;
}

/* ==========================================================================
   WOOCOMMERCE - CHECKOUT PAGE
   ========================================================================== */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 50px;
    padding: 50px 0;
    align-items: start;
}

.checkout-section-title {
    font-size: 22px;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-dark);
}

/* Billing Fields */
.billing-fields .form-row {
    margin-bottom: 20px;
}

.billing-fields label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.billing-fields .required {
    color: var(--color-red);
}

.billing-fields input,
.billing-fields select,
.billing-fields textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-grey-lighter);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.billing-fields input:focus,
.billing-fields select:focus {
    outline: none;
    border-color: var(--color-red);
}

/* Order Review */
.order-review-wrapper {
    background-color: var(--color-off-white);
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}

#order_review .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#order_review .shop_table th,
#order_review .shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-grey-lighter);
    text-align: left;
}

#order_review .shop_table tfoot .order-total th,
#order_review .shop_table tfoot .order-total td {
    font-size: 20px;
    font-weight: 700;
    border-bottom: none;
    padding-top: 15px;
}

/* Payment Methods */
#payment {
    margin-top: 25px;
}

#payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

#payment .payment_method {
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--color-white);
    border-radius: 4px;
}

#payment .payment_method label {
    font-weight: 600;
    cursor: pointer;
}

#payment .payment_box {
    padding: 15px 0 0;
    color: var(--color-grey);
    font-size: 14px;
}

#payment .place-order {
    margin-top: 20px;
}

#payment #place_order {
    width: 100%;
    padding: 16px 30px;
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#payment #place_order:hover {
    background-color: var(--color-dark);
}

/* ==========================================================================
   WOOCOMMERCE - MY ACCOUNT
   ========================================================================== */

.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
    padding: 50px 0;
    align-items: start;
}

/* Account Navigation */
.account-nav {
    position: sticky;
    top: 100px;
}

.account-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--color-off-white);
    border-radius: 8px;
    overflow: hidden;
}

.account-nav__item {
    border-bottom: 1px solid var(--color-grey-lighter);
}

.account-nav__item:last-child {
    border-bottom: none;
}

.account-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--color-grey);
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-nav__link:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.account-nav__item.is-active .account-nav__link {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.account-nav__item--downloads .account-nav__link {
    font-weight: 600;
}

/* Account Content */
.account-content {
    min-height: 400px;
}

/* Non-Logged In User - Auth Forms (Mobile First) */
.auth-forms {
    max-width: 400px;
    margin: 0 auto;
    padding: 50px 20px;
}

.auth-form h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 600;
}

.auth-form__subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.auth-form .form-row {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.auth-form .input-text {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form .input-text:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

.form-row--flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.lost-password-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.lost-password-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.form-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Auth Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn--primary {
    background-color: #1a1a1a;
    color: #fff;
}

.btn--primary:hover {
    background-color: #333;
}

.btn--secondary {
    background-color: #f5f5f5;
    color: #1a1a1a;
    border: 1px solid #ddd;
}

.btn--secondary:hover {
    background-color: #eee;
    border-color: #ccc;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 35px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.auth-divider span {
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

/* ==========================================================================
   WOOCOMMERCE - DOWNLOADS PAGE
   ========================================================================== */

.downloads-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    margin: 0 0 15px;
}

.downloads-title svg {
    color: var(--color-red);
}

.downloads-intro {
    color: var(--color-grey);
    margin-bottom: 30px;
}

/* Downloads Grid */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.download-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background-color: var(--color-off-white);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.download-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-card__image img {
    width: 100px;
    height: auto;
    border-radius: 4px;
}

.download-card__placeholder {
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-grey-lighter);
    border-radius: 4px;
    color: var(--color-grey);
}

.download-card__title {
    font-size: 18px;
    margin: 0 0 5px;
}

.download-card__title a {
    color: var(--color-dark);
    text-decoration: none;
}

.download-card__title a:hover {
    color: var(--color-red);
}

.download-card__meta {
    font-size: 14px;
    color: var(--color-grey);
    margin: 0 0 10px;
}

.download-card__details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--color-grey);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Empty Downloads */
.downloads-empty {
    text-align: center;
    padding: 60px 20px;
}

.downloads-empty__icon {
    color: var(--color-grey-light);
    margin-bottom: 25px;
}

.downloads-empty__title {
    font-size: 28px;
    margin: 0 0 15px;
}

.downloads-empty__message {
    color: var(--color-grey);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   WOOCOMMERCE - CART/CHECKOUT/ACCOUNT RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-totals-wrapper,
    .order-review-wrapper {
        position: relative;
        top: 0;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-nav {
        position: relative;
        top: 0;
    }

    .account-nav__list {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        background: none;
    }

    .account-nav__item {
        border-bottom: none;
    }

    .account-nav__link {
        padding: 10px 15px;
        background-color: var(--color-off-white);
        border-radius: 4px;
        font-size: 14px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
        position: relative;
        padding-right: 40px;
    }

    .cart-item__price {
        grid-column: 2;
    }

    .cart-item__remove {
        position: absolute;
        right: 0;
        top: 20px;
    }

    .cart-coupon {
        flex-wrap: wrap;
    }

    .cart-coupon input {
        min-width: 0;
        width: 100%;
    }

    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }

    .cart-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .download-card {
        grid-template-columns: 80px 1fr;
    }

    .download-card__action {
        grid-column: 1 / -1;
        margin-top: 10px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   FLOATING SHARE FAB - Mobile-First Design
   ========================================================================== */

/* Main FAB Container - Fixed position */
.share-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

/* Backdrop overlay */
.share-fab__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
}

.share-fab.is-open .share-fab__backdrop {
    opacity: 1;
    visibility: visible;
}

/* Main trigger button */
.share-fab__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(26, 26, 26, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

.share-fab__trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.share-fab__trigger:active {
    transform: scale(0.98);
}

/* Icon states */
.share-fab__icon-share,
.share-fab__icon-close {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.share-fab__icon-close {
    position: absolute;
    left: 24px;
    opacity: 0;
    transform: rotate(-90deg);
}

.share-fab.is-open .share-fab__icon-share {
    opacity: 0;
    transform: rotate(90deg);
}

.share-fab.is-open .share-fab__icon-close {
    opacity: 1;
    transform: rotate(0);
}

.share-fab.is-open .share-fab__trigger {
    background: #333;
}

/* Share options container */
.share-fab__options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    pointer-events: none;
}

.share-fab.is-open .share-fab__options {
    pointer-events: auto;
}

/* Individual share option buttons */
.share-fab__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-fab__option:hover {
    transform: translateY(0) scale(1.05) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.share-fab__option:active {
    transform: translateY(0) scale(0.98) !important;
}

/* Staggered animation for options */
.share-fab.is-open .share-fab__option {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.share-fab.is-open .share-fab__option:nth-child(1) { transition-delay: 0.05s; }
.share-fab.is-open .share-fab__option:nth-child(2) { transition-delay: 0.1s; }
.share-fab.is-open .share-fab__option:nth-child(3) { transition-delay: 0.15s; }
.share-fab.is-open .share-fab__option:nth-child(4) { transition-delay: 0.2s; }
.share-fab.is-open .share-fab__option:nth-child(5) { transition-delay: 0.25s; }
.share-fab.is-open .share-fab__option:nth-child(6) { transition-delay: 0.3s; }

/* Platform colors */
.share-fab__option--facebook { background: #1877f2; }
.share-fab__option--twitter { background: #000; }
.share-fab__option--linkedin { background: #0a66c2; }
.share-fab__option--whatsapp { background: #25d366; }
.share-fab__option--email { background: #ea4335; }
.share-fab__option--copy { background: #6c757d; }

/* Label text */
.share-fab__label {
    font-weight: 500;
}

/* Toast notification */
.share-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.share-toast svg {
    color: #25d366;
}

.share-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   MOBILE STYLES - Full-screen takeover on mobile
   ========================================================================== */

@media (max-width: 767px) {
    .share-fab {
        bottom: 20px;
        right: 20px;
    }

    .share-fab__trigger {
        padding: 14px 20px;
        font-size: 14px;
    }

    .share-fab__icon-close {
        left: 20px;
    }

    /* Full-screen options panel on mobile */
    .share-fab.is-open .share-fab__options {
        position: fixed;
        bottom: auto;
        right: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        align-items: center;
        gap: 14px;
        width: calc(100% - 48px);
        max-width: 320px;
    }

    .share-fab__option {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 14px;
    }

    .share-toast {
        bottom: 90px;
        left: 20px;
        right: 20px;
        transform: translateX(0) translateY(20px);
        justify-content: center;
    }

    .share-toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .share-fab {
        bottom: 30px;
        right: 30px;
    }
}

/* Hide text on very small screens */
@media (max-width: 360px) {
    .share-fab__text {
        display: none;
    }

    .share-fab__trigger {
        padding: 16px;
        border-radius: 50%;
    }

    .share-fab__trigger::before {
        border-radius: 50%;
    }

    .share-fab__icon-close {
        left: 16px;
    }
}

/* ==========================================================================
   FOOTER HERO QUOTE SECTION
   ========================================================================== */

.footer-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.footer-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.83;
}

.footer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.footer-hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    max-width: 1200px;
}

.footer-hero-attribution {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 19px;
    font-weight: normal;
    line-height: 1.5em;
    letter-spacing: 6px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-hero-attribution a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-hero-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 89px;
    letter-spacing: -3px;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .footer-hero-quote {
        font-size: 55px;
    }
}

@media (max-width: 767px) {
    .footer-hero-quote {
        font-size: 51px;
    }

    .footer-hero-attribution {
        font-size: 16px;
        letter-spacing: 4px;
    }
}

/* ==========================================================================
   MUSIC LANDING PAGE STYLES
   ========================================================================== */

/* Music Category Sections */
.music-category-section {
    padding: 60px 20px;
}

.music-category-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section--dark .music-category-section h2 {
    color: var(--color-white);
}

.music-category-section .section-intro {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.section--dark .music-category-section .section-intro {
    color: var(--color-grey-light);
}

/* Two-Column Work Layout */
.music-work-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.music-work-row:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
}

/* Light variant for white backgrounds */
.music-work-row--light {
    border-bottom-color: var(--color-grey-lighter);
}

.music-work-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section--dark .music-work-info h3 a {
    color: var(--color-white);
}

.section--dark .music-work-info h3 a:hover {
    color: var(--color-red);
}

.section--white .music-work-info h3 a,
.section--light .music-work-info h3 a {
    color: var(--color-red);
    text-decoration: none;
}

.section--white .music-work-info h3 a:hover,
.section--light .music-work-info h3 a:hover {
    text-decoration: underline;
}

.music-work-info p {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.section--dark .music-work-info p {
    color: var(--color-grey-light);
}

/* Audio Embed Styling */
.music-work-audio {
    min-height: 150px;
}

.music-work-audio iframe {
    border-radius: 8px;
}

/* Custom Audio Player with Thumbnail */
.audio-player-custom {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    overflow: hidden;
}

.section--dark .audio-player-custom {
    background-color: rgba(255, 255, 255, 0.05);
}

.audio-player-custom__thumb {
    width: 166px;
    height: 166px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.audio-player-custom__controls {
    flex: 1;
    min-width: 0;
}

.audio-player-custom audio {
    width: 100%;
    display: block;
}

@media (max-width: 480px) {
    .audio-player-custom {
        flex-direction: column;
        align-items: stretch;
    }

    .audio-player-custom__thumb {
        width: 100%;
        height: auto;
        max-width: 166px;
        margin: 0 auto;
    }
}

/* Spotify & SoundCloud Embeds */
.spotify-embed,
.soundcloud-embed {
    border-radius: 12px;
    overflow: hidden;
}

.soundcloud-embed iframe {
    border-radius: 12px;
}

/* Section CTA Buttons */
.section-cta {
    margin-top: 40px;
    text-align: center;
}

.section-cta .btn {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    padding: 15px 30px;
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.section-cta .btn--primary {
    background-color: var(--color-red);
    color: var(--color-white);
}

.section-cta .btn--primary:hover {
    background-color: var(--color-dark);
}

.section-cta .btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.section-cta .btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* Light section button adjustments */
.section--white .section-cta .btn--outline,
.section--light .section-cta .btn--outline {
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.section--white .section-cta .btn--outline:hover,
.section--light .section-cta .btn--outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Individual Project Read More Buttons */
.music-work-info .btn--readmore {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--color-grey);
    color: var(--color-white);
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.music-work-info .btn--readmore:hover {
    background-color: var(--color-dark);
}

.section--dark .music-work-info .btn--readmore {
    background-color: rgba(255, 255, 255, 0.2);
}

.section--dark .music-work-info .btn--readmore:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* ==========================================================================
   QUOTE HERO SECTIONS
   ========================================================================== */

.quote-hero {
    position: relative;
    height: 100vh;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-hero--light {
    background-color: var(--color-off-white);
}

.quote-hero--dark {
    background-color: var(--color-dark);
}

.quote-hero--has-image {
    background-size: cover;
    background-position: center;
}

.quote-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.quote-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 60px 20px;
    margin: 0 auto;
}

.quote-hero__attribution {
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 19px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.5em;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.quote-hero--light .quote-hero__attribution {
    color: #FFFFFF;
}

.quote-hero--dark .quote-hero__attribution,
.quote-hero--has-image .quote-hero__attribution {
    color: #FFFFFF;
}

.quote-hero__attribution a {
    color: inherit;
    text-decoration: none;
}

.quote-hero__quote {
    font-family: 'Poppins', sans-serif;
    font-size: 89px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

@media (max-width: 1024px) {
    .quote-hero__quote {
        font-size: 55px;
    }
}

@media (max-width: 767px) {
    .quote-hero__quote {
        font-size: 51px;
    }
}

.quote-hero--light .quote-hero__quote {
    color: var(--color-dark);
}

.quote-hero--dark .quote-hero__quote,
.quote-hero--has-image .quote-hero__quote {
    color: var(--color-white);
}

/* ==========================================================================
   MUSIC PAGE INTRO
   ========================================================================== */

.music-intro {
    padding: 60px 20px;
}

.music-intro .intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'IM Fell DW Pica', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
}

.music-intro .intro-content p {
    margin-bottom: 1.5em;
}

/* ==========================================================================
   MUSIC PAGE RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .music-work-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .music-work-audio {
        min-height: auto;
    }

    .quote-hero {
        height: 100vh;
        padding: 60px 20px;
    }

    .quote-hero__attribution {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .music-category-section .section-intro {
        font-size: 16px;
    }

    .music-category-section h2 {
        font-size: 28px;
    }

    .music-work-info h3 {
        font-size: 20px;
    }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lightbox.is-active {
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.is-active .lightbox-content {
    opacity: 1;
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -50px;
        right: 50%;
        transform: translateX(50%);
        font-size: 40px;
    }
}
