/*
Theme Name: Hoxha Studio
Theme URI: https://hoxhastudio.al
Author: Hoxha Studio
Description: Custom brutalist and minimal theme for Hoxha Studio 3D fabrication.
Version: 1.0.0
Text Domain: hoxhastudio
Requires at least: 6.0
Requires PHP: 7.4
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;900&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --plaster-bone: #000000;
    --limestone-dark: #F2F0ED;
    --accent-red: #E41E20;
    --accent-blue: #007AFF;
    --accent-gold: #FFD700;
    --transition-heavy: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }
body { 
    background: var(--plaster-bone); 
    color: var(--limestone-dark); 
    font-family: var(--font-main); 
    overflow-x: hidden; 
    cursor: crosshair; 
    position: relative;
    min-height: 100%;
}

/* Albanian Aesthetic: Subtle Eagle Wing / Bunker texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23111111' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Main Container - Flex Column for Sticky Footer */
.studio-container {
    position: relative;
    z-index: 1;
    overflow: hidden; 
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Watermark - Adjusted positions and film grain effect */
.watermark-hoxha {
    position: absolute;
    bottom: -5.5vw;
    left: -2vw;
    width: auto; 
    font-size: 22vw; 
    font-weight: 900;
    color: white; 
    opacity: 0.03; 
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    font-family: var(--font-main);
    filter: url(#grainy-noise); 
}

.watermark-studio {
    position: absolute;
    top: -7.5vw; 
    right: -2vw;
    width: auto; 
    font-size: 19vw; 
    font-weight: 900;
    color: white; 
    opacity: 0.03; 
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    font-family: var(--font-main);
    text-align: right;
    filter: url(#grainy-noise);
}

/* Typography Adjustments */
.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.2em;
}

.small-x { 
    font-size: 0.3em; 
    opacity: 0.6; 
    margin: 0 0.5em; 
    color: var(--accent-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transform: translateY(-15%);
}

/* Interactive Hero Title */
.interactive-hero-wrapper {
    --noise-scale: 0;
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 10rem; 
}

.interactive-title {
    font-size: clamp(4rem, 11vw, 10rem); 
    font-weight: 900; 
    line-height: 0.8; 
    text-transform: uppercase; 
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.2em;
}

/* The noise effect on the letters */
.interactive-title .word {
    position: relative;
    filter: url(#brutalist-noise);
    text-shadow: 
        calc(var(--noise-scale) * 1px) 0 0 rgba(255,0,0,0.5),
        calc(var(--noise-scale) * -1px) 0 0 rgba(0,255,255,0.5);
}

/* The X dividers */
.interactive-title .divider-x {
    font-size: 0.3em; 
    opacity: 0.6; 
    margin: 0 0.5em; 
    color: var(--accent-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transform: translateY(-15%);
    filter: none;
}

/* Section Subtitles / Labels */
.mono-label { 
    font-family: var(--font-mono); 
    font-size: 1rem; 
    opacity: 0.5; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    display: block; 
    margin-bottom: 1.2rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* Fix cart toggle sizing */
.cart-toggle { 
    background: none; 
    border: none; 
    color: white; 
    cursor: pointer; 
    display: flex; 
    gap: 0.5rem; 
    align-items: center; 
    font-family: var(--font-mono); 
    font-size: 0.8rem; 
    font-weight: 600; 
}

.cart-toggle .mono-label {
    font-size: 0.8rem; 
    margin-bottom: 0;
    display: inline;
    opacity: 1;
    font-weight: 600; 
}

/* Logo */
.logo-monolith { font-weight: 900; font-size: 1.5rem; line-height: 0.8; text-transform: uppercase; }

/* Splash - High-End Minimalist Reveal */
.splash-screen { 
    position: fixed; 
    inset: 0; 
    background: black; 
    z-index: 10000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    transition: opacity 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}
.splash-screen.fade-out { opacity: 0; pointer-events: none; }

.splash-logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.splash-logo-line {
    text-transform: uppercase;
    line-height: 1;
    opacity: 0;
    text-align: center;
}

.splash-logo-line.hoxha {
    font-size: clamp(3.5rem, 11vw, 8.5rem);
    font-weight: 900;
    animation: hoxha-reveal 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.splash-logo-line.studio {
    font-size: clamp(1rem, 3vw, 2.2rem);
    font-weight: 400; 
    margin-top: 0.2rem;
    animation: studio-reveal 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.splash-underline {
    width: 0%;
    height: 1px;
    background: var(--accent-red);
    margin-top: 2rem;
    animation: line-reveal 2.2s cubic-bezier(0.7, 0, 0.3, 1) 0.5s forwards;
}

@keyframes hoxha-reveal {
    0% { 
        opacity: 0; 
        letter-spacing: 1.5em; 
        text-indent: 1.5em; 
        transform: scale(1.05); 
        filter: blur(15px); 
    }
    100% { 
        opacity: 1; 
        letter-spacing: 0.45em; 
        text-indent: 0.45em; 
        transform: scale(1); 
        filter: blur(0); 
    }
}

@keyframes studio-reveal {
    0% { 
        opacity: 0; 
        letter-spacing: 6em; 
        text-indent: 6em; 
        transform: translateY(10px);
        filter: blur(10px); 
    }
    100% { 
        opacity: 1; 
        letter-spacing: 3.5em; 
        text-indent: 3.5em; 
        transform: translateY(0);
        filter: blur(0); 
    }
}

@keyframes line-reveal {
    0% { width: 0%; opacity: 0; }
    30% { opacity: 1; }
    100% { width: 100%; opacity: 0.4; }
}

/* Nav */
.studio-nav { position: fixed; top: 0; width: 100%; padding: 2.5rem; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: linear-gradient(to bottom, black, transparent); }
.nav-links { display: flex; gap: 3.5rem; }
.nav-links li { list-style: none; }
.nav-links a { 
    background: none; 
    border: none; 
    color: inherit; 
    cursor: pointer; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    opacity: 0.6; 
    transition: 0.3s;
    text-decoration: none;
}
.nav-links a:hover { opacity: 1; color: var(--accent-red); }
.nav-actions { display: flex; align-items: center; gap: 2rem; }

/* Switch & Select */
.ios-switch { background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 2px; display: flex; position: relative; width: 80px; height: 32px; }
.ios-switch button { flex: 1; background: none; border: none; color: rgba(255, 255, 255, 0.5); font-size: 0.7rem; font-weight: 600; cursor: pointer; z-index: 2; transition: 0.3s; }
.ios-switch button.active { color: black; }
.ios-switch button.active.sq-active { color: white; }
.ios-switch-thumb { position: absolute; top: 2px; left: 2px; width: calc(50% - 2px); bottom: 2px; border-radius: 999px; transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1); z-index: 1; }
.ios-switch-thumb.lang-en { background: var(--limestone-dark); transform: translateX(0); }
.ios-switch-thumb.lang-sq { background: var(--accent-red); transform: translateX(100%); }

/* Dark Dropdown Styling */
.currency-select, .studio-select { 
    background: #000; 
    border: none;
    color: white; 
    font-family: var(--font-mono); 
    font-size: 0.75rem; 
    cursor: pointer;
    padding: 0.4rem;
}
.currency-select:focus, .studio-select:focus { outline: none; }
.currency-select option, .studio-select option {
    background-color: #000;
    color: white;
}
.currency-select-wrapper { display: flex; align-items: center; }

/* Sections */
.hero-section { padding: 16rem 2.5rem 8rem; min-height: 80vh; }
.bespoke-section { padding: 12rem 2.5rem 12rem; }
.prints-section { padding: 8rem 2.5rem 18rem; } 
.about-view, .checkout-view, .prints-view { padding: 9rem 2.5rem 5rem; min-height: 100vh; }

.section-header { margin-bottom: 2rem; }

.section-title, .bespoke-title { 
    font-size: clamp(3rem, 6vw, 5.5rem); 
    font-weight: 900; 
    text-transform: uppercase; 
    cursor: pointer; 
    transition: 0.3s; 
    line-height: 0.9;
    color: white;
}
.bespoke-title { margin: 0 0 1.2rem; }
.hover-underline:hover { color: var(--accent-red); }

/* Bespoke/Custom Section - Liquid Glass Aesthetic */
.slab { 
    background: rgba(255, 255, 255, 0.02); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 5rem; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 0.75rem;
    transition: var(--transition-heavy); 
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.slab:hover { 
    background: rgba(255, 255, 255, 0.04); 
    border-color: rgba(255, 255, 255, 0.2); 
}
.slab-custom { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 6rem; 
    align-items: center; 
}
.bespoke-text { 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    justify-content: center; 
}
.bespoke-desc { 
    opacity: 0.7; 
    line-height: 1.6; 
    max-width: 95%; 
    margin-bottom: 0; 
    font-size: 1.1rem;
}
.bespoke-interface { 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
    height: 100%; 
    justify-content: center; 
}

/* Marquee / Archive / Shop Styles */
.marquee-item { width: 350px; cursor: pointer; flex-shrink: 0; }

.marquee-slab { 
    aspect-ratio: 1/1; 
    height: auto; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 0.75rem; 
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.marquee-slab:hover {
    background: rgba(255, 255, 255, 0.03); 
    border-color: rgba(255, 255, 255, 0.25);
}

.marquee-image-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 0;
}

.marquee-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    filter: grayscale(1);
    mix-blend-mode: screen;
    transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.6;
}

.marquee-slab:hover .marquee-image-wrapper img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.marquee-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: 0.3s;
    pointer-events: none; 
}

.add-btn-aesthetic { position: absolute; bottom: 2rem; right: 2rem; background: white; color: black; border: none; padding: 0.6rem 1.2rem; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 900; opacity: 0; transform: translateY(10px); transition: 0.3s; z-index: 5; pointer-events: auto; }
.marquee-item:hover .add-btn-aesthetic { opacity: 1; transform: translateY(0); }

/* Marquee Animation */
.marquee-container { width: 100%; overflow: hidden; position: relative; padding: 2rem 0; }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: marquee-scroll 80s linear infinite; }
.marquee-container:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Homepage Horizontal Scroll */
.prints-view-title { font-size: 5rem; font-weight: 900; text-transform: uppercase; margin-top: 0rem; }
.prints-grid { display: flex; gap: 4rem; margin-top: 4rem; overflow-x: auto; padding-bottom: 2rem; scroll-snap-type: x mandatory; }
.prints-grid::-webkit-scrollbar { height: 4px; }
.prints-grid::-webkit-scrollbar-track { background: #111; }
.prints-grid::-webkit-scrollbar-thumb { background: #333; }
.print-grid-item { min-width: 350px; scroll-snap-align: start; flex-shrink: 0; }
.print-image-container { background: #0d0d0d; aspect-ratio: 3/4; position: relative; border: 1px solid rgba(255,255,255,0.05); overflow: hidden;}
.print-details { padding-top: 1.5rem; }
.print-header { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.print-config-row { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }

/* New Product Square Grid Layout */
.product-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 4rem;
    padding: 4rem 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.product-square-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.square-image-container {
    aspect-ratio: 1/1;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: 0.4s;
    cursor: pointer;
    overflow: hidden;
}

.square-image-container:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.square-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    mix-blend-mode: screen;
    transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 2;
}

.square-image-container:hover img {
    filter: grayscale(0);
    transform: scale(1.08);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.product-header h3 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.product-header span {
    font-family: var(--font-mono);
    opacity: 0.7;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.studio-button { padding: 1.2rem 2.4rem; font-family: var(--font-mono); cursor: pointer; border: none; font-weight: 900; text-transform: uppercase; transition: 0.3s; display: inline-block; text-align: center; }
.studio-button.primary { background: var(--limestone-dark); color: black; }
.studio-button.primary:hover { background: var(--accent-red); color: white; }
.studio-button:disabled { opacity: 0.5; cursor: not-allowed; }
.primary-small { background: var(--limestone-dark); color: black; font-size: 0.7rem; padding: 0.8rem 1.6rem; width: 100%; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-family: var(--font-mono); font-size: 0.65rem; opacity: 0.4; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.studio-input { background: transparent; border: 1px solid rgba(255,255,255,0.1); padding: 1rem; color: white; font-family: var(--font-main); width: 100%; transition: 0.3s; }
.studio-input:focus { border-color: var(--limestone-dark); outline: none; }
.checkout-section-title { font-size: 1.2rem; font-weight: 900; margin: 3rem 0 1.5rem; text-transform: uppercase; }
.summary-item { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; }
.calc-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.8rem; }
.back-btn { background: none; border: none; color: white; font-family: var(--font-mono); font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; opacity: 0.6; margin-bottom: 2rem; transition: 0.3s; }
.back-btn:hover { opacity: 1; }

/* Studio View */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 6rem; max-width: 1400px; margin: 0 auto; }
.machine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.machine-card { background: #050505; border: 1px solid #222; padding: 1.5rem; transition: 0.4s; }
.machine-viz { height: 200px; background: black; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.machine-img { max-height: 80%; filter: grayscale(1); transition: 0.5s; }
.machine-card:hover .machine-img { filter: grayscale(0); }
.origin-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center; }
.origin-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1); border: 1px solid #333; }
.materials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin-top: 2rem; }
.material-tag { border: 1px solid #333; padding: 1rem; text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: #888; transition: 0.3s; }
.material-tag:hover { color: white; border-color: white; }

/* Footer - 3 Columns */
.studio-footer { 
    padding: 6rem 2.5rem 4rem; 
    margin-top: 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    position: relative;
    z-index: 2;
}

.footer-left { flex: 1; } 

.footer-socials { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    gap: 2rem; 
    align-items: center;
}
.social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem; 
    opacity: 0.7;
    transition: 0.3s;
}
.social-item:hover { opacity: 1; color: var(--accent-red); }

.footer-info { 
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1rem; 
    opacity: 0.8;
}
.footer-link { color: inherit; text-decoration: none; transition: 0.3s; }
.footer-link:hover { color: var(--accent-red); }
.footer-highlight { color: white; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Status Bar & Review - Liquid Glass Effect */
.fixed-status-bar { 
    position: fixed; 
    bottom: 2rem; 
    left: 2.5rem; 
    width: fit-content;
    display: flex; 
    gap: 1.5rem; 
    z-index: 2000; 
    align-items: center; 
    pointer-events: auto;
    justify-content: flex-start;
    
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none; 
    border-radius: 50px; 
    padding: 0.8rem 1.8rem; 
}
.music-player { 
    background: transparent; 
    padding: 0; 
    border: none; 
    display: flex; 
    align-items: center; 
    gap: 0.8rem; 
    pointer-events: auto; 
    transition: 0.3s; 
    height: 40px; 
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem; 
    text-transform: uppercase;
    color: white;
    cursor: pointer;
}
.music-player:hover { opacity: 1; }

/* Drawers */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 5000; display: flex; justify-content: flex-end; backdrop-filter: blur(10px); }
.drawer-content { width: 100%; max-width: 500px; background: #050505; height: 100%; padding: 3rem; animation: slideIn 0.5s forwards; display: flex; flex-direction: column; border-left: 1px solid #222; }
.cart-drawer-content { flex: 1; display: flex; flex-direction: column; }
.cart-item { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid #222; font-family: var(--font-mono); font-size: 0.8rem; align-items: center; }
.cart-remove-btn { background: none; border: none; color: #555; font-family: var(--font-mono); font-weight: bold; cursor: pointer; padding: 0.2rem 0.5rem; transition: 0.3s; }
.cart-remove-btn:hover { color: var(--accent-red); }
.cart-footer { margin-top: auto; padding-top: 2rem; }
.cart-total-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 1rem; font-weight: 900; margin-bottom: 1.5rem; border-top: 1px solid white; padding-top: 1rem; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; font-weight: 900; text-transform: uppercase; font-size: 1.5rem; }
.close-btn { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Toast */
.toast-notification { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); background: var(--limestone-dark); color: black; padding: 0.8rem 1.5rem; z-index: 9000; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; font-weight: 600; animation: toastUp 0.3s forwards; }
.toast-notification.hiding { animation: toastDown 0.3s forwards; }
.toast-content { display: flex; align-items: center; gap: 0.8rem; }
.toast-icon { color: var(--accent-red); }
@keyframes toastUp { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes toastDown { from { transform: translate(-50%, 0); opacity: 1; } to { transform: translate(-50%, 20px); opacity: 0; } }

/* Fade Animations */
.fade-in { animation: fadeIn 0.8s forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* TV Modal Animation */
.tv-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.tv-modal-screen {
    width: 90vw;
    max-width: 1000px;
    height: 80vh;
    background: #050505;
    border: 1px solid #333;
    position: relative;
    display: flex;
    overflow: hidden;
    opacity: 0;
    animation: tvPowerOn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    flex-direction: column;
}

@keyframes tvPowerOn {
    0% { opacity: 0; transform: scaleY(0.005) scaleX(0); filter: brightness(5); }
    40% { opacity: 1; transform: scaleY(0.005) scaleX(1); filter: brightness(2); }
    100% { opacity: 1; transform: scaleY(1) scaleX(1); filter: brightness(1); }
}

.tv-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
}

.tv-image-col {
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #222;
    overflow: hidden;
}

.tv-image-col img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: grayscale(1);
}

.tv-info-col {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

@media (max-width: 800px) {
    .splash-logo-line.hoxha { font-size: 3.5rem; }
    .splash-logo-line.studio { font-size: 1rem; letter-spacing: 4.5em; text-indent: 4.5em; }
    .hero-title { font-size: 3rem; }
    .section-title, .bespoke-title { font-size: 3rem; }
    .slab-custom { grid-template-columns: 1fr; gap: 3rem; }
    .slab { padding: 3rem 2rem; border-radius: 0.75rem; }
    .drawer-content { max-width: 100%; }
    .checkout-grid { grid-template-columns: 1fr; }
    .studio-nav { padding: 1.5rem; }
    .fixed-status-bar { left: 1.5rem; right: 1.5rem; bottom: 1.5rem; flex-direction: column; align-items: flex-start; gap: 1rem; width: auto; border-radius: 30px; }
    .studio-footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; gap: 2rem; }
    .footer-info { text-align: left; }
    .footer-socials { justify-content: flex-start; }
    .watermark-hoxha { font-size: 20vw; bottom: 4vh; width: 100%; opacity: 0.02; }
    .tv-content-grid { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
    .tv-image-col { border-right: none; border-bottom: 1px solid #222; } 
} /* =========================================================
   SINGLE PRODUCT PAGE PRECISION FIXES
   ========================================================= */

/* 1. Nuke the Blue Category Tags */
.woocommerce div.product .product_meta a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 4px !important;
    transition: 0.3s !important;
}
.woocommerce div.product .product_meta a:hover {
    background: var(--accent-red) !important;
    color: white !important;
}

/* 2. Fix the Quantity and Button Layout (Flexbox Spacing) */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important; /* Pushes the button and qty apart */
    align-items: center !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* 3. Fix the Squished White Quantity Box */
.woocommerce div.product form.cart div.quantity {
    margin: 0 !important;
}
.woocommerce div.product form.cart div.quantity input.qty {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-family: var(--font-mono) !important;
    font-size: 1rem !important;
    height: 50px !important;
    width: 70px !important;
    padding: 0 !important;
    text-align: center !important;
    border-radius: 0 !important;
}

/* 4. Kill the Purple Add To Cart Button */
.woocommerce div.product form.cart button.single_add_to_cart_button {
    background: transparent !important;
    color: white !important;
    border: 1px solid white !important;
    font-family: var(--font-mono) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    height: 50px !important;
    padding: 0 2.5rem !important;
    border-radius: 0 !important;
    transition: 0.3s !important;
    flex-grow: 1 !important; /* Makes it stretch nicely next to the qty box */
}
.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: white !important;
}

/* 5. Add breathing room for the GPay/Apple Pay buttons */
#wc-stripe-payment-request-wrapper, 
#wc-stripe-payment-request-button {
    width: 100% !important;
    margin-top: 1rem !important;
} /* =========================================================
   FORCE MODAL CART BUTTON & QTY STYLING
   ========================================================= */

.tv-info-col form.cart {
    display: flex !important;
    gap: 1.5rem !important;
    align-items: center !important;
    margin-top: 2.5rem !important;
}

.tv-info-col form.cart div.quantity {
    margin: 0 !important;
}

.tv-info-col form.cart input.qty {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-family: var(--font-mono) !important;
    font-size: 1rem !important;
    height: 50px !important;
    width: 70px !important;
    text-align: center !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.tv-info-col form.cart button[type="submit"] {
    background: transparent !important;
    color: white !important;
    border: 1px solid white !important;
    font-family: var(--font-mono) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    height: 50px !important;
    padding: 0 2.5rem !important;
    border-radius: 0 !important;
    transition: 0.3s !important;
    flex-grow: 1 !important;
    cursor: pointer !important;
    letter-spacing: 0.1em !important;
}

.tv-info-col form.cart button[type="submit"]:hover {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: white !important;
}
/* Product Image Gallery Hover Effects */
#brutalist-main-image:hover { filter: grayscale(0) !important; }
.brutalist-thumb:hover { filter: grayscale(0) !important; border-color: rgba(255,255,255,0.8) !important; }
/* =========================================================
   SWIPER GALLERY STYLES (BRUTALIST)
   ========================================================= */
.swiper { width: 100%; height: 100%; }
.swiper-slide { text-align: center; font-size: 18px; background: #000; display: flex; justify-content: center; align-items: center; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mySwiper2 { height: 80%; width: 100%; }
.mySwiper { height: 20%; box-sizing: border-box; padding: 10px 0; }
.mySwiper .swiper-slide { width: 25%; height: 100%; opacity: 0.4; cursor: pointer; transition: 0.3s; border: 1px solid transparent; }
.mySwiper .swiper-slide-thumb-active { opacity: 1; border-color: var(--accent-red); }
.brutalist-thumb-slide img { width: 60px !important; height: 60px !important; object-fit: cover !important; }

/* Brutalist Nav Arrows */
.swiper-button-next.brutalist-nav, .swiper-button-prev.brutalist-nav {
    color: white !important;
    background: rgba(0,0,0,0.5);
    width: 50px; height: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}
.swiper-button-next.brutalist-nav:hover, .swiper-button-prev.brutalist-nav:hover {
    background: var(--accent-red); border-color: var(--accent-red);
}
.swiper-button-next.brutalist-nav:after, .swiper-button-prev.brutalist-nav:after {
    font-size: 1.5rem !important; font-weight: 900;
}

/* =========================================================
   BRUTALIST VARIATION SWATCHES (FIXING THE UGLY DROPDOWNS)
   ========================================================= */
/* Hide default ugly WooCommerce labels and selects */
.brutalist-variations .variations td.label,
.brutalist-variations .variations select {
    display: none !important;
}

/* Container for our new custom buttons */
.brutalist-swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* The new swatch buttons */
.brutalist-swatch {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.6);
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}
.brutalist-swatch:hover {
    border-color: white; color: white;
}
.brutalist-swatch.selected {
    background: white; color: black; border-color: white; font-weight: 700;
}
.brutalist-swatch.disabled {
    opacity: 0.3; cursor: not-allowed; text-decoration: line-through;
}

/* Add labels back in a brutalist way */
.brutalist-var-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    opacity: 0.5;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
/* =========================================================
   FIXED TV MODAL LAYOUT & BRUTALIST SCROLLBAR
   ========================================================= */
.tv-modal-screen { height: 92vh !important; max-height: 1000px !important; overflow: hidden !important; }
.tv-content-grid { height: 100% !important; overflow: hidden !important; }

/* Left Side: Bulletproof Gallery */
.tv-image-col { height: 100% !important; display: flex !important; flex-direction: column !important; padding: 2rem !important; }
.brutalist-main-img-wrap { flex-grow: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 1rem; }
.brutalist-main-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Right Side: Tightened Spacing to prevent scrolling */
.tv-info-col { overflow-y: auto !important; height: 100% !important; padding-right: 2rem !important; padding-top: 4.5rem !important; }
.tv-info-col::-webkit-scrollbar { width: 6px; }
.tv-info-col::-webkit-scrollbar-track { background: #000; border-left: 1px solid #222; }
.tv-info-col::-webkit-scrollbar-thumb { background: #333; }
.tv-info-col::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }

table.variations { border: none !important; width: 100% !important; margin-bottom: 0 !important; }
table.variations tbody tr { display: block !important; margin-bottom: 1.5rem !important; }
table.variations th, table.variations td.label { display: none !important; }

table.variations td.value > *:not(.brutalist-swatch-container):not(.brutalist-var-label):not(select) { 
    display: none !important; 
}
table.variations td.value select { display: none !important; }
.woocommerce-variation { display: none !important; }

/* Payment Button Padding Fix */
#wc-stripe-payment-request-wrapper, 
#wc-stripe-payment-request-button, 
.apple-pay-button-wrapper {
    margin-top: 1.5rem !important;
    width: 100% !important;
    clear: both !important;
}

/* Brutalist Swatches */
.brutalist-swatch { background: #050505 !important; border: 1px solid rgba(255,255,255,0.2) !important; color: white !important; padding: 0.6rem 1rem !important; font-family: var(--font-mono) !important; font-size: 0.75rem !important; text-transform: uppercase !important; cursor: pointer !important; transition: 0.3s !important; }
.brutalist-swatch:hover { border-color: white !important; }
.brutalist-swatch.selected { background: var(--accent-red) !important; border-color: var(--accent-red) !important; color: white !important; font-weight: 900 !important; }

/* Brutalist Swatches */
.brutalist-swatch { background: #050505 !important; border: 1px solid rgba(255,255,255,0.2) !important; color: white !important; padding: 0.6rem 1rem !important; font-family: var(--font-mono) !important; font-size: 0.75rem !important; text-transform: uppercase !important; cursor: pointer !important; transition: 0.3s !important; }
.brutalist-swatch:hover { border-color: white !important; }
.brutalist-swatch.selected { background: var(--accent-red) !important; border-color: var(--accent-red) !important; color: white !important; font-weight: 900 !important; }