/*
Theme Name: TTAT Theme
Description: Custom WooCommerce theme for Timeless Tunes and Treasures.
Author: TTAT
Version: 1.0.6
Text Domain: ttat-theme
*/

@font-face {
    font-family: 'Dream Avenue Font';
    src: url('assets/font/Dream%20Avenue%20Font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Colors */
    --bg-color: #201e1f;
    --text-color: #f0f0f0;
    --accent-color: #D8A54F;
    --accent-hover: #e0be7a;
    --border-color: #383838;
    --card-bg: #222;
    --card-overlay: #1c1a1b;
    --btn-dark: #3a3839;
    --btn-dark-hover: #4a4849;

    /* Fonts */
    --font-heading: 'Dream Avenue Font', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Fluid Typography (min, pref, max) */
    --fs-xs: clamp(0.65rem, 0.6vw + 0.5rem, 0.75rem);
    --fs-sm: clamp(0.75rem, 0.7vw + 0.5rem, 0.85rem);
    --fs-base: clamp(0.85rem, 1vw + 0.5rem, 1rem);
    --fs-lg: clamp(1.1rem, 1.2vw + 0.5rem, 1.25rem);
    --fs-xl: clamp(1.3rem, 1.5vw + 0.5rem, 1.5rem);
    --fs-2xl: clamp(1.5rem, 2vw + 0.5rem, 2.2rem);
    --fs-3xl: clamp(1.8rem, 2.5vw + 0.5rem, 3rem);
    --fs-4xl: clamp(2.2rem, 3.5vw + 0.5rem, 4rem);
    --fs-5xl: clamp(2.2rem, 5vw + 1rem, 5.5rem);

    /* Spacing System */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-32: 128px;

    /* Container */
    --container-max-width: 1400px;
}

/* Base Styles */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-heading);
}

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

a {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

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


/* --- DESIGN SYSTEM UTILITIES --- */

/* Typography Utilities */
.fs-xs {
    font-size: var(--fs-xs);
}

.fs-sm {
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.fs-base {
    font-size: var(--fs-base);
    line-height: 1.5;
}

.fs-lg {
    font-size: var(--fs-lg);
}

.fs-xl {
    font-size: var(--fs-xl);
}

.fs-2xl {
    font-size: var(--fs-2xl);
}

.fs-3xl {
    font-size: var(--fs-3xl);
}

.fs-4xl {
    font-size: var(--fs-4xl);
}

.fs-5xl {
    font-size: var(--fs-5xl);
}

.fw-normal {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-semi {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.font-heading {
    font-family: var(--font-heading);
}

.font-body {
    font-family: var(--font-body);
}

.text-accent {
    background: linear-gradient(to right, #D8A54F 53%, #fbf2d5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #D8A54F;
    /* Fallback */
}

.text-white {
    color: #fff;
}

.text-muted {
    color: #898989;
}

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

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

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

.tracking-wide {
    letter-spacing: 1px;
}

.tracking-wider {
    letter-spacing: 1.2px;
}

.tracking-widest {
    letter-spacing: 1.5px;
}

/* Spacing Utilities */
.m-0 {
    margin: 0;
}

.mt-2 {
    margin-top: var(--space-2);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-3 {
    margin-bottom: var(--space-3);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-5 {
    margin-bottom: var(--space-5);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-10 {
    margin-bottom: var(--space-10);
}

.mb-12 {
    margin-bottom: var(--space-12);
}

.mb-16 {
    margin-bottom: var(--space-16);
}

.mb-32 {
    margin-bottom: var(--space-20);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-0 {
    padding: 0;
}

.p-2 {
    padding: var(--space-2);
}

.p-4 {
    padding: var(--space-4);
}

.p-6 {
    padding: var(--space-6);
}

.p-8 {
    padding: var(--space-8);
}

.px-4 {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.py-4 {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.py-16 {
    padding-top: var(--space-16) !important;
    padding-bottom: var(--space-16) !important;
}

.py-20 {
    padding-top: var(--space-20) !important;
    padding-bottom: var(--space-20) !important;
}

.py-32 {
    padding-top: var(--space-32) !important;
    padding-bottom: var(--space-32) !important;
}

.pt-10 {
    padding-top: var(--space-10);
}

.pt-12 {
    padding-top: var(--space-12);
}

.pb-4 {
    padding-bottom: var(--space-4);
}

.pb-20 {
    padding-bottom: var(--space-20);
}

.px-10 {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
}

@media (min-width: 768px) {



    .px-md-10 {
        padding-left: var(--space-10);
        padding-right: var(--space-10);
    }
}

/* Flexbox Utilities */
.d-flex {
    display: flex;
}

.d-inline-flex {
    display: inline-flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

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

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-end {
    justify-content: end;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: flex-end;
}

.align-items-start {
    align-items: flex-start;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-5 {
    gap: var(--space-5);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

.gap-10 {
    gap: var(--space-10);
}

.gap-12 {
    gap: var(--space-12);
}

.gap-16 {
    gap: var(--space-16);
}

.flex-1 {
    flex: 1;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.w-100 {
    width: 100%;
}

.max-w-500 {
    max-width: 500px;
}

.max-w-600 {
    max-width: 600px;
}

.max-w-900 {
    max-width: 900px;
}

.lh-relaxed {
    line-height: 1.6 !important;
}

.lh-loose {
    line-height: 1.8 !important;
}

.bg-primary {
    background-color: var(--accent-color) !important;
}

.bg-dark {
    background-color: var(--bg-color) !important;
}

.border-all {
    border: 1px solid var(--border-color) !important;
}

.rounded-small {
    border-radius: 4px;
}


.min-h-80 {
    min-height: 80vh !important;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
}

.error-title-huge {
    font-size: clamp(6rem, 15vw, 10rem);
    line-height: 1;
}

.sidebar-filters {
    width: 250px;
}

.filter-loader-overlay {
    display: none !important;
    background: rgba(32, 30, 31, 0.7);
    z-index: 10;
    top: 0;
    left: 0;
}


/* --- COMPONENT STYLES --- */

.cursor-pointer {
    cursor: pointer;
}

/* Header Components */
.site-header {
    padding-top: var(--space-5);
    position: sticky;
    top: 0;
    background-color: #1a1819;
    z-index: 100;
}

.logo-container img {
    height: clamp(60px, 6vw, 100px);
}

.action-btn {
    padding: var(--space-3) var(--space-6);
    background-color: var(--btn-dark);
    color: var(--text-white);
    border-radius: 4px;
    transition: background-color 0.3s;
}



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

.btn-primary {
    background-color: var(--accent-color);
    color: #111;
    padding: var(--space-3) var(--space-8);
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-cart {
    background-color: var(--text-color);

}

.btn-buy {
    background-color: var(--accent-color);
}

.btn-cart:hover,
.btn-buy:hover {
    opacity: 0.8;
}




/* Navigation Components */
.main-navigation {
    border: 1px solid var(--border-color);
}

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

}

.nav-menu li {
    border-right: 1px solid var(--border-color);
}

.nav-menu li:last-child {
    border-right: none;
}

.nav-menu a {
    padding: var(--space-4) var(--space-2);
    color: var(--text-muted);
    transition: color 0.3s;
    height: 100%;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Hero Components */
.hero-content {
    max-width: 900px;
}

.hero-badge {
    border: 1px solid var(--border-color);
    padding: var(--space-2) var(--space-5);
    border-radius: 3px;
}

.hero-title {
    line-height: 1.1;
}

/* Hero Cards Components */
.hero-cards {
    width: 100%;
}

.hero-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-bg);
}

.card-image-wrapper {
    height: clamp(350px, 40vw, 480px);
    overflow: hidden;
}

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

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

.card-content {
    position: absolute;
    bottom: var(--space-5);
    left: var(--space-5);
    right: var(--space-5);
    background-color: var(--card-overlay);
    padding: var(--space-6) var(--space-8);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-badge {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--space-1) var(--space-3);
    border-radius: 2px;
    width: fit-content;
}

/* Product Cards */
.product-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}



.product-card .product-image-wrapper {
    height: auto;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.product-card .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.product-card .product-title {
    font-size: var(--fs-base);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.product-card .product-artist {
    font-size: var(--fs-sm);
    opacity: 0.9;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.product-card .product-year {
    font-size: var(--fs-sm);
    margin: 0 0 1rem 0;

    flex: 1;
}

.product-card .price-original {
    font-size: var(--fs-xs);
    text-decoration: line-through;
}

.product-card .price-sale,
.product-card .price-regular {
    font-size: var(--fs-sm);
}

.product-card .stock-in {
    color: #1ccb1c;
}

.product-card .stock-out {
    color: #F44336;
}

.genre-tag {
    font-family: var(--font-body);
    font-size: 10px;
    background-color: #383838;
    color: #e0e0e0;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}


/* Position Utilities */
.position-relative {
    position: relative;
}

/* Filter Accordion */
.filter-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.filter-dropdown.is-open .filter-content-wrapper {
    grid-template-rows: 1fr;
}

.filter-content {
    overflow: hidden;
}

.accordion-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.filter-dropdown.is-open .accordion-icon {
    transform: rotate(45deg);
}

@media (min-width: 769px) {
    .filter-content-wrapper {
        grid-template-rows: 1fr !important;
    }

    .filter-toggle {
        pointer-events: none;
        cursor: default !important;
    }
}

.position-absolute {
    position: absolute;
}

.z-1 {
    z-index: 1;
}

.overflow-hidden {
    overflow: hidden;
}



.w-100 {
    width: 100%;
}

/* Text Utilities Extensions */
.text-uppercase {
    text-transform: uppercase;
}

.line-height-tight {
    line-height: 1.25;
}

.d-inline-block {
    display: inline-block;
}

/* Pagebreak Components */
.pagebreak-section {
    height: clamp(400px, 75vh, 800px);
}

.pagebreak-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
}

/* About Section Components */
.about-section {
    min-height: clamp(650px, 80vh, 1000px);
    padding-top: max(var(--space-20), 15vh);
    padding-bottom: max(var(--space-20), 15vh);
}

.about-image-wrapper {
    width: 80vh;
    right: -20%;
}

.about-content {
    max-width: 75%;
}

.about-desc {
    line-height: 1.7;
}

.about-hero-images {
    min-height: 500px;
}

.image-large-staggered {
    width: 80%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-small-staggered {
    width: 45%;
    bottom: -10%;
    right: -10%;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--bg-color);
}

.vinyl-spin {
    width: 100%;
    height: auto;
}

/* Footer Components */
.site-footer {
    background-color: #1a1819;
    border-top: 1px solid var(--border-color);
}


.border-muted {
    border-color: var(--border-color) !important;
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border-right-md {
    border-right: 1px solid var(--border-color);
}

.footer-link {
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--text-color) !important;
}

.policy-link {
    color: var(--accent-color);
    transition: opacity 0.3s;
}

.policy-link:hover {
    opacity: 0.8;
}

/* Background Utilities for overrides not currently covered */
.hide-on-desktop {
    display: none !important;
}


/* Responsive Adjustments */
@media (max-width: 1024px) {

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

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .card-content {
        padding: var(--space-5);
        bottom: var(--space-4);
        left: var(--space-4);
        right: var(--space-4);
    }

    .about-content {
        max-width: 80%;
    }

    .about-image-wrapper {
        max-width: 600px;
        right: -35%;
    }

}

@media (max-width: 768px) {
    .hide-on-desktop {
        display: flex !important;
    }

    .grid-3 {

        gap: var(--space-3);
    }

    .about-hero-images {
        display: none;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        position: absolute;
        left: 0;
    }

    .mobile-menu-wrapper {
        display: none;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #1a1819;
        padding: var(--space-6) var(--space-4) var(--space-6);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
        z-index: 90;
    }

    .mobile-menu-wrapper.is-open {
        display: flex;
    }

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

    .header-top {
        flex-direction: row;
        justify-content: center;
        position: relative;
        margin-bottom: 0;
    }

    .header-actions {
        position: absolute;
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        border-top: 1px solid var(--border-color);
        margin-bottom: var(--space-4);
    }

    .nav-menu li {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        padding: var(--space-6) 0;
        justify-content: center;
        letter-spacing: 2px;
    }

    .cart-btn {
        padding: var(--space-2);
    }

    .main-navigation {
        border: none;
    }


    .sidebar-filters {
        width: 100% !important;
    }

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

    .about-section {
        padding-top: var(--space-16);
        padding-bottom: var(--space-16);
        min-height: auto;
    }

    .about-content {
        max-width: 100%;
        position: relative;
        z-index: 2;
    }

    .about-image-wrapper {
        display: none;
    }

    .border-right-md {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .feature-item {
        padding-top: var(--space-8);
        padding-bottom: var(--space-8);
    }


    .feature-item:last-child {
        border-bottom: none;
    }

    .footer-top-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: var(--space-10) !important;
    }

    .footer-middle-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: var(--space-12) !important;
    }

    .footer-links-row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: var(--space-8) !important;
        width: 100%;
    }

    .footer-links-row>.link-column {
        flex: 0 0 45% !important;
    }

    .link-account {
        order: 3;
    }

    .link-general {
        order: 2;
    }

    .link-shop {
        order: 1;
    }

    .footer-bottom-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: var(--space-10) !important;
    }

    .footer-policies {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: var(--space-6) !important;
    }

    .contact-item {
        justify-content: flex-start !important;
    }

    .pagebreak-section {
        height: 300px !important;
    }


    .library-container {
        flex-direction: column;
        gap: var(--space-6) !important;
    }
}

@media (min-width: 1440px) {
    #products-wrapper.grid-3 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Marquee Styles */
.marquee-strip {
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);

}

.marquee-content {
    display: flex;
    overflow: hidden;
    background-color: #362914;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marquee 40s linear infinite;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: var(--fs-2xl);
    letter-spacing: 2px;
    font-weight: bold;
    gap: var(--space-10);
    padding: var(--space-4) 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Form Styles */
.form-input {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: var(--space-4);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    border-radius: 4px;
    width: 100%;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #555;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

textarea.form-input {
    resize: none;
}

/* Single Product Custom Styles */
.single-product-wrapper {
    color: var(--text-color);
}

.stock-status {
    color: #3aef3a;
}

.product-artist-label {
    letter-spacing: 0.15em;
    color: #888;
}

.single-product-title {
    font-size: clamp(1.8rem, 6vw, 4rem) !important;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* Grid View Titles FIX */
.product-card .product-title {
    font-size: var(--fs-lg) !important;
    line-height: 1.3;
    margin-bottom: var(--space-2);
}

.product-meta-row {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.side-by-side-product {
    display: flex;
    gap: var(--space-16);
    align-items: flex-start;
}

.product-images-column {
    flex: 0 0 45%;
    max-width: 45%;
    min-width: 320px;
}

.product-details-column {
    flex: 1;
    min-width: 0;
}

@media (max-width: 991px) {
    .side-by-side-product {
        flex-direction: column;
    }

    .product-images-column,
    .product-details-column {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

.product-image-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumb {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.gallery-thumb.active {
    border: 2px solid var(--accent-color) !important;
}

.gallery-thumb:hover {
    opacity: 0.8;
    border-color: rgba(255, 255, 255, 0.4);
}

.condition-price-box {
    background: #1c1a1b !important;
    border: 1px solid #333 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cpb-top {

    gap: 30px;
    align-items: start;
}

.cpb-column {
    min-width: 0;
}

.cpb-label {
    font-size: 11px !important;
    color: #888 !important;
    letter-spacing: 0.05em;
    font-weight: 300;
    font-family: var(--font-body);
}

.cpb-info-icon {
    font-size: 11px;
    color: var(--accent-color);
    cursor: pointer;
    vertical-align: middle;
}

.cpb-value {
    line-height: 1.2;

}



.grading-value {
    color: #fff !important;
    font-weight: 400;

}

.price-value .woocommerce-Price-amount {
    color: #fff !important;

    font-weight: 400;
}

.price-value del {
    text-decoration: none !important;
}

.price-value del .woocommerce-Price-amount {
    margin-right: 12px;
    font-size: 15px !important;
    opacity: 0.4;
    color: #fff !important;
    text-decoration: none !important;
    position: relative;
    display: inline-block;
}

.price-value del .woocommerce-Price-amount::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: translateY(-50%);
}

.price-value ins {
    text-decoration: none;
    background: none;
}

.grading-icons i {
    opacity: 0.9;
    filter: drop-shadow(0 0 5px rgba(216, 165, 79, 0.3));
}

.cpb-separator {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100%;
}

.condition-note-text {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

.condition-rating i {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}

.stock-in {
    position: relative;
    padding-left: 15px;
}

.stock-in::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #00d084;
    border-radius: 50%;
}

.hover-text-white:hover {
    color: #fff !important;
}



.rounded-large {
    border-radius: 12px;
}

/* WC specific fixes */
.single-product-wrapper .cart {
    margin: 0;
}

.single-product-wrapper .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {

    .cpb-top {
        flex-direction: column !important;
    }

    .product-title {
        font-size: 2.5rem !important;
    }
}

/* Custom Tooltip Styling for Product Meta */
.custom-tooltip-wrapper {
    cursor: help;
}

.custom-tooltip-wrapper .fa-solid {
    pointer-events: auto;
    /* ensures hover triggers correctly on FontAwesome svgs */
}

.custom-tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 250px;
    background-color: #2a2a2a;
    color: #f0f0f0;
    text-align: left;
    border-radius: 6px;
    padding: 12px 15px;
    position: absolute;
    z-index: 1000;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 11px;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    text-transform: none;
    /* overrides parent meta row uppercase */
    letter-spacing: normal;
    pointer-events: none;
}

.custom-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #2a2a2a transparent transparent transparent;
}

.custom-tooltip-wrapper:hover .custom-tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Custom Add to Cart Toast Notification */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1c1a1b;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.custom-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* =======================================================
   WooCommerce Cart & Checkout Blocks - Design System
   ======================================================= */

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    font-family: var(--font-body) !important;
    color: var(--text-color) !important;
}

/* Table Headers */
.wc-block-components-checkout-step__heading,
.wc-block-cart__headers th,
.wp-block-woocommerce-cart .wc-block-cart-items th,
.wc-block-components-sidebar .wc-block-components-title {
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #888 !important;
    font-weight: 500 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 15px !important;
}

/* Base text elements */
.wc-block-components-product-name,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-product-price {
    color: #fff !important;
    font-weight: 400 !important;
}

/* Cart Item Container */
.wc-block-cart-items__row,
.wc-block-components-checkout-step {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.wc-block-cart-items__row:last-child {
    border-bottom: none !important;
}

/* Hide default divider lines inside block since we use custom borders */
.wc-block-components-totals-wrapper::before,
hr.wc-block-components-totals-divider {
    display: none !important;
}

/* Quantity Stepper & Buttons */
.wc-block-components-quantity-selector {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
}

.wc-block-components-quantity-selector input {
    color: #fff !important;
    background: transparent !important;
}

.wc-block-components-quantity-selector button {
    color: #888 !important;
}

.wc-block-components-quantity-selector button:hover {
    color: #fff !important;
}

/* Trash Icon */
.wc-block-cart-item__remove-link {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #ff4d4d !important;
}

/* Coupons Dropdown */
.wc-block-components-panel__button,
.wc-block-components-panel__button:focus,
.wc-block-components-panel__button:active,
.wc-block-components-panel__button[aria-expanded="true"],
.wc-block-components-panel__button[aria-expanded="false"] {
    font-size: 13px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    margin-bottom: 20px !important;
    border: 1px solid transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.wc-block-components-panel__button:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 12px 15px !important;
    border: 1px solid transparent !important;
}

.wc-block-components-text-input label {
    color: gray !important;
    background-color: transparent !important;
    -webkit-text-fill-color: gray !important;
}

/* Keep label styled correctly when autofill prediction is selected */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input:has(input:-webkit-autofill) label,
.wc-block-components-text-input:has(input:autofill) label {
    color: gray !important;
    background-color: transparent !important;
    -webkit-text-fill-color: gray !important;
}

/* Override any browser-injected highlight on labels */
.wc-block-components-text-input label::selection {
    background: transparent !important;
    color: gray !important;
}

.wc-block-components-address-card address .wc-block-components-address-card__address-section--secondary {
    color: hsla(0, 0%, 100%, 0.7) !important;
}

/* Autofill pseudo-element overrides on input siblings */
.wc-block-components-text-input input:-webkit-autofill~label,
.wc-block-components-text-input input:autofill~label,
.wc-block-components-text-input input:-webkit-autofill+label,
.wc-block-components-text-input input:autofill+label {
    color: gray !important;
    background-color: transparent !important;
    -webkit-text-fill-color: gray !important;
}

/* Global Form Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select,
.wc-block-components-text-input input,
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input:-webkit-autofill:hover,
.wc-block-components-text-input input:-webkit-autofill:focus,
.wc-block-components-text-input input:-webkit-autofill:active,
.wc-block-components-text-input input:autofill {
    background-color: #2b292a !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    -webkit-box-shadow: 0 0 0px 1000px #2b292a inset !important;
    box-shadow: 0 0 0px 1000px #2b292a inset !important;
    /* Forces autofill bg to match */
    -webkit-text-fill-color: #fff !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-text-input.is-active input {
    background-color: #2b292a !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Estimated Total */
.wc-block-components-totals-item.wc-block-components-totals-footer-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 20px !important;
    margin-top: 10px !important;
}

.wc-block-components-totals-item.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 16px !important;
    color: #888 !important;
}

.wc-block-components-totals-item.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px !important;
    color: var(--accent-color) !important;
    font-weight: 500 !important;
}

/* Primary Checkout Button */
.wc-block-cart__submit {
    background: var(--accent-color) !important;
    color: #000 !important;
    border-radius: 2px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 18px 30px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    width: 100% !important;
}

.wc-block-cart__submit:hover {
    background: #fff !important;
    transform: translateY(-2px) !important;
}

#compliance h3,
#compliance h4 {
    letter-spacing: 0.1em !important;
}

/* Order Summary Quantity Badge */
.wc-block-components-order-summary-item__quantity {
    background-color: var(--accent-color) !important;
    color: #000 !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}

/* =======================================================
   WooCommerce My Account - Design System
   ======================================================= */

.woocommerce-account .archive-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Login and Register Form Styling */
.woocommerce-account .u-columns.col2-set {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    flex: 1;
    width: 100% !important;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.woocommerce-account h2 {
    font-size: 24px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px !important;
    color: var(--accent-color) !important;
}

.woocommerce-form-row {
    margin-bottom: 20px !important;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

.woocommerce-Input--text,
.woocommerce-Input--password,
.woocommerce-Input--email {
    width: 100%;
    padding: 12px 15px !important;
    background: #2b292a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-family: var(--font-body);
}

.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    background: var(--accent-color) !important;
    color: #000 !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 15px 30px !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 12px !important;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    background: #fff !important;
    transform: translateY(-2px);
}

.woocommerce-form-login__rememberme {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    display: inline-block;
}

.woocommerce-LostPassword {
    display: block;
    margin-top: 20px;
    font-size: 12px;
    color: #888;
    text-align: center;
}

.woocommerce-LostPassword a:hover {
    color: var(--accent-color);
}

/* Dashboard Navigation */
.woocommerce-MyAccount-navigation {
    width: 30% !important;
    float: left !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 0;

}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 25px;
    color: #aaa;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
    background: rgba(216, 165, 79, 0.05);
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
    padding-left: 22px;
}

.woocommerce-MyAccount-content {
    float: none;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    min-height: 400px;
}

.woocommerce-MyAccount-content p {
    color: #bbb;
    line-height: 1.8;
}

.woocommerce-MyAccount-content a {
    color: var(--accent-color);
    border-bottom: 1px solid transparent;
}

.woocommerce-MyAccount-content a:hover {
    border-bottom-color: var(--accent-color);
}

/* Dashboard Quick Actions */
.dashboard-quick-actions a {
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02);
}

.dashboard-quick-actions a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color) !important;
    transform: translateY(-5px);
}

.hover-bg-light {
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .site-header {
        padding: var(--space-5);
    }
}

form h2 {
    color: white;
    letter-spacing: 0.1em !important;
    font-weight: bold !important;
}

/* Fix browser autofill background & text color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #2b292a inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Ensure checkout buttons have black text on mobile */
@media (max-width: 768px) {

    .woocommerce-checkout .button,
    .wc-block-components-checkout-place-order-button,
    #place_order,
    .single_add_to_cart_button,
    .wc-block-cart__submit,
    .checkout-button {
        color: #000 !important;
    }
}

/* Force Place Order button to be gold */
.wc-block-components-checkout-place-order-button,
#place_order {
    background-color: var(--accent-color) !important;
    color: #000 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.wc-block-components-checkout-place-order-button:hover,
#place_order:hover {
    background-color: var(--accent-hover) !important;
}