@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Manrope:wght@400;600;800&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
    /* Masterpiece Palette (HSL for harmony) */
    --bg-light: #FDFCF9;
    /* Champagne Light */
    --bg-cream: #F4F1EA;
    /* Classic Cream */
    --bg-dark: #1A1917;
    /* Iron Charcoal */
    --bg-wood: #2C2A28;
    /* Deep Coffee */

    --accent-wood: #C19A6B;
    /* Signature Wood */
    --accent-gold: #D4AF37;
    /* Metallic Gold */
    --accent-hover: #A38055;

    --text-main: #1A1917;
    /* High Contrast on Light */
    --text-light: #F4F1EA;
    /* Soft on Dark */
    --text-muted: rgba(26, 25, 23, 0.6);

    --font-heading: 'Oswald', sans-serif;
    /* Industrial Authority */
    --font-body: 'Manrope', sans-serif;
    /* Modern Precision */
    --font-accent: 'Playfair Display', serif;
    /* Luxury Elegance */

    --spacing-unit: 1rem;
    --border-radius: 12px;
    --border-radius-lg: 30px;
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 40px 80px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Global Atmosphere Filter */
/* Global Atmosphere Filter - REMOVED per user request */
/* body::after {
    content: "";
    ... (noise removed)
} */

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;

    /* Security: Zapobiega zaznaczaniu tekstu calej strony, aby utrudnic kopiowanie */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Wyjatek: formularze muszą być klikalne i "pisalne" */
input,
textarea,
select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Masterpiece */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
}

.font-accent {
    font-family: var(--font-accent);
    text-transform: none;
    font-style: italic;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 2rem;
}

/* Section Themes */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-main);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.text-accent {
    color: var(--accent-wood);
}

.text-gold {
    color: var(--accent-gold);
}

/* Navbar Masterpiece Refinement */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: var(--transition);
    border-radius: 50px;
    /* Glassmorphism */
    background: rgba(20, 18, 16, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
    background: rgba(20, 18, 16, 0.85);
    padding: 0.8rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1001;
    text-transform: uppercase;
}

.accent {
    color: var(--accent-wood);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer; pointer-events: auto;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    /* Remove black dots */
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* Special Highlight for Kalkulator */
.nav-links a.menu-highlight {
    color: var(--accent-gold);
    font-weight: 800;
    /* Extra bold */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.1em;
}

.nav-links a.menu-highlight::after {
    height: 3px;
    bottom: -4px;
    box-shadow: 0 0 8px var(--accent-gold);
}

.nav-links a.menu-highlight:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--text-light);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    opacity: 0.9;
    /* More visible/vivid */
    filter: contrast(1.15) saturate(1.3);
    /* Boost colors */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 25, 23, 0.4) 0%, rgba(26, 25, 23, 0.7) 100%);
    z-index: 1;
    mix-blend-mode: multiply;
}

/* Light Leak Effect for Masterpiece Hero */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 45%, rgba(0, 0, 0, 0.6) 100%);
    /* Lighter, more open */
    z-index: 2;
    pointer-events: none;
}

@keyframes heroFocusIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes heroShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-content {
    max-width: 1100px;
    z-index: 2;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 1.3rem;
    /* Enlarged */
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    opacity: 0;
    animation: heroFocusIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.3s;
}

.hero h1 {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 1.15;
    margin-bottom: 2rem;
    opacity: 0;
    animation: heroFocusIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Shimmer Effect */
    background: linear-gradient(120deg,
            var(--text-light) 0%,
            var(--text-light) 40%,
            var(--accent-gold) 50%,
            var(--text-light) 60%,
            var(--text-light) 100%);
    background-size: 200% auto;
    color: transparent;
    /* Fallback handled by -webkit-background-clip */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroFocusIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s,
        heroShimmer 6s linear infinite 2s;
}

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
}

.hero-sub {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(244, 241, 234, 0.9);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    font-weight: 300;
    opacity: 0;
    animation: heroFocusIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.9s;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: heroFocusIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 1.2s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    cursor: pointer; pointer-events: auto;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.btn-primary {
    background-color: var(--accent-wood);
    color: var(--bg-dark);
    border: 2px solid var(--accent-wood);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-wood);
    box-shadow: 0 0 20px rgba(193, 154, 107, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Marquee Section */
.marquee-section {
    background: var(--accent-wood);
    color: var(--bg-dark);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    transform: rotate(-1deg) scale(1.02);
    /* Slight tilt */
    z-index: 10;
    margin-top: -2rem;
    box-shadow: var(--shadow-strong);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-content {
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    display: flex;
}

.marquee-content span {
    padding-right: 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Section Headers Refinement */
.section-padding {
    padding: 10rem 0;
}

.section-header {
    margin-bottom: 6rem;
    max-width: 800px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-dark .section-title {
    color: var(--text-light);
}

/* Zapobiega powiększaniu DOM wszerz (np. na iOS Safari) ze względu na duże elementy tła */
.about,
.anatomy,
.products,
.calculator-section,
.contact {
    overflow: hidden;
    position: relative;
}

/* Bento Grid Masterpiece (Why Us) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2.5rem;
    grid-auto-rows: minmax(300px, auto);
}

.bento-card {
    position: relative;
    padding: 3.5rem;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: #FFFFFF;
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

.bento-card .card-content {
    position: relative;
    z-index: 1;
}

.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

/* Product Matrix Refinement (Masterpiece Light) */
.product-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.product-group {
    margin-bottom: 4rem;
}

.group-label {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Hairline */
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.group-label .tiny {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-body);
    text-transform: none;
}

.product-list {
    display: flex;
    flex-direction: column;
}

/* Quick Add Buttons in Matrix - PREMIUM REDESIGN */
.product-item-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.5rem;
    padding-right: 120px; /* Zabezpiecza miejsce na hover-przycisk, by tekst nie wyjechał */
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    /* OVERFLOW HIDDEN USUNIĘTE - ucinało wizualnie obiekty i cienie na brzegach! */
}

.product-item-wrap:hover {
    transform: translateY(-3px); /* Brak scale(1.02) by nie rozpraszać układu */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(to right, #fff, rgba(212, 175, 55, 0.02));
    z-index: 2;
}

.product-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: none;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.product-item:hover {
    padding-left: 0;
    color: var(--text-main);
    background: transparent;
}

.product-item .arrow {
    display: none; 
}
.product-item .dim {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.product-item .type {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-left: 1rem;
}

.product-item.highlight {
    background: transparent;
}
.product-item-wrap.highlight {
    border-color: rgba(212, 175, 55, 0.25);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.03), transparent);
}

/* Przywrócony Badge informacyjny! */
.badge {
    font-size: 0.65rem;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 1rem;
    letter-spacing: 0.05em;
    transform: translateY(-1px); /* Subtelne optyczne poprawienie środka ciężkości tekstu */
}

/* New Floating Premium CTA */
.btn-quick-add {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.2em; /* Bardzo nowoczesny, luźny rozstaw liter M I N I M A L I S T */
    text-transform: uppercase;
    color: var(--accent-wood); 
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: none;
    z-index: 5;
    pointer-events: none;
}
.product-item-wrap:hover .btn-quick-add {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}


/* Contact Section Refinement (Masterpiece Light) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-details li {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-details .label {
    font-weight: 800;
    color: var(--accent-wood);
    min-width: 80px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.contact-form-box {
    padding: 4.5rem;
    background: #FFFFFF;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    color: var(--text-main);
}

.contact-form-box h3 {
    margin-bottom: 2rem;
    color: var(--text-main);
}

.input-group-stacked input {
    padding: 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.input-group-stacked .btn {
    border-radius: 8px;
}

/* Specific Card Sizes & Colors */
.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.card-stat {
    grid-column: span 1;
    grid-row: span 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.bg-cream {
    background-color: var(--bg-cream);
    color: var(--text-main);
}

.bg-wood {
    background-color: var(--bg-wood);
    color: var(--text-light);
}

.border-dark {
    border: 1px solid rgba(26, 24, 22, 0.1);
}

.text-light {
    color: var(--text-light);
}

.text-dark {
    color: var(--text-main);
}

.text-accent {
    color: var(--accent-wood);
}

.card-stat h3 {
    font-size: 3.5rem;
    color: var(--accent-wood);
    margin-bottom: 0;
}

.card-stat p {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.icon-large {
    font-size: 8rem;
    position: absolute;
    bottom: -20px;
    right: -20px;
    opacity: 0.05;
    transform: rotate(-15deg);
    filter: grayscale(1);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card-content h3 {
    margin-bottom: 1rem;
}

/* Footer Masterpiece with Background */
.footer {
    padding: 8rem 0 4rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    /* Złota góra */
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hurtownia-drewna-konstrukcyjnego-c24-sopexim.jpg') no-repeat center center/cover;
    opacity: 0.9;
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: linear-gradient(to top, var(--bg-dark) 10%, transparent 100%);
    z-index: 0;
}

.footer .footer-container {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.85);
    /* Ciemniejsze, bardziej nieprzezroczyste zamiast rozmywania */
    border: 1px solid rgba(212, 175, 55, 0.4);
    /* Złota ramka na sztywno bez XOR maski */
    border-radius: var(--border-radius-lg);
    padding: 5rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(212, 175, 55, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.footer .footer-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 50px 100px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.calculator-section {
    position: relative;
    background: url('../img/expert.jpg') no-repeat center center/cover;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 25, 23, 0.9);
    z-index: 0;
}

.calculator-section .container {
    position: relative;
    z-index: 2;
}

/* Footer Typography & Layout */
.footer-brand h4 {
    color: var(--text-light);
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.footer-brand h4 .accent {
    color: var(--accent-wood);
}

.footer-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Beautiful Action Button in Footer */
.footer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-action-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.footer-logistics {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logistics-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.logistics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.logistics-list li {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-weight: 500;
    position: relative;
    padding-right: 2rem;
    letter-spacing: 0.03em;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.logistics-list li:hover {
    color: var(--accent-gold);
    transform: translateX(-5px);
}

.logistics-list li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logistics-list li:hover::after {
    transform: translateY(-50%) scale(1.5);
    box-shadow: 0 0 25px var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

/* Subtle Matrix Texture */
.product-tabs::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19480c5?auto=format&fit=crop&q=80&w=400') no-repeat center/contain;
    opacity: 0.03;
    /* Prawie niewidoczny sznyt */
    pointer-events: none;
    z-index: -1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Responsive Masterpiece */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 2;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Duża wizualnie forma względem wideo na desktopie */
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 6rem 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-large {
        grid-column: span 1;
        min-height: 450px;
    }

    .product-tabs,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        gap: 4rem;
    }

    .footer .footer-container {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-logistics {
        align-items: center;
        text-align: center;
    }

    .logistics-list li {
        padding-right: 0;
        padding-bottom: 0.5rem;
    }

    .logistics-list li::after {
        display: none;
    }
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
        /* Simplify for mobile for now */
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-large,
    .card-medium,
    .card-stat {
        grid-column: span 1;
        grid-row: auto;
        min-height: 250px;
    }

    .product-tabs,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-details li {
        flex-direction: column;
        gap: 0.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-logistics {
        align-items: center;
        text-align: center;
    }
}

/* Anatomy Section */
.anatomy {
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    background-color: var(--bg-wood);
}

.anatomy-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    background: url('https://images.unsplash.com/photo-1448375033059-5acdd814c3ee?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    z-index: 0;
    filter: brightness(1.1) saturate(0.9);
}

/* Oczyszczenie tła sekcji kalkulatora dla lepszej czytelności */
#calculator .anatomy-bg-texture {
    background: radial-gradient(circle at center, var(--bg-wood) 0%, var(--bg-dark) 100%);
    opacity: 1;
}

/* ============================================
   WOOD TYPE SWITCHER (Premium Segmented Control)
   ============================================ */
.wood-type-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.wood-type-btn {
    flex: 1 1 0; /* Ensures all buttons are exactly the same width regardless of text inside */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem; /* Slightly reduced horizontal padding to fit "Indywidualne" */
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-heading);
    font-size: 0.95rem; /* Slightly reduced font size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer; pointer-events: auto;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.wood-type-btn:hover {
    color: rgba(255, 255, 255, 0.75);
}

.wood-type-btn.active {
    color: var(--bg-dark);
    text-shadow: none;
}

.wood-type-btn .wt-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.wood-type-btn .wt-label {
    font-size: 1rem;
}

/* Sliding indicator background */
.switcher-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(25% - 2.5px);
    /* EXACT width for 4 buttons relative to 5px padding */
    background: var(--accent-gold);
    border-radius: 50px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.switcher-indicator.pos-1 {
    transform: translateX(100%);
}

.switcher-indicator.pos-2 {
    transform: translateX(200%);
}

.switcher-indicator.pos-3 {
    transform: translateX(300%);
}

/* Flash effect on switch */
@keyframes switchFlash {
    0% {
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.3);
    }

    100% {
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }
}

.switcher-indicator.flash {
    animation: switchFlash 0.5s ease;
}

/* Smart Presets & Tag Buttons */
.preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tag-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s ease;
}

.preset-btn:hover,
.tag-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Wood type badges in project list */
.wood-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-right: 4px;
}

.wood-badge-c24 {
    background: rgba(193, 154, 107, 0.25);
    color: var(--accent-wood);
    border: 1px solid rgba(193, 154, 107, 0.3);
}

.wood-badge-kvh {
    background: rgba(100, 180, 100, 0.15);
    color: #7dcc7d;
    border: 1px solid rgba(100, 180, 100, 0.25);
}

.wood-badge-bsh {
    background: rgba(100, 150, 220, 0.15);
    color: #7db3e6;
    border: 1px solid rgba(100, 150, 220, 0.25);
}

.wood-badge-custom {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
}


/* Cart Backdrop Overlay */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Floating Cart Toggle Button */
.premium-cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-wood);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-premium);
    z-index: 10001;
    cursor: pointer; pointer-events: auto;
    border: 2px solid var(--accent-wood);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, box-shadow 0.3s ease;
}


/* Lift the icon when the sticky bar is present so they do not overlap */
.premium-cart-toggle.lifted-by-bar {
    bottom: 90px !important;
}

.premium-cart-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(193, 154, 107, 0.4);
}

.premium-cart-toggle.cart-shake {
    animation: cartShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes cartShake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.premium-cart-toggle .cart-icon {
    font-size: 1.2rem;
}

.premium-cart-toggle .cart-text {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.premium-cart-toggle .cart-badge {
    background: var(--bg-dark);
    color: var(--accent-gold);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Premium Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    /* Flexbox Fixed Items */
    flex-shrink: 0;
    /* Sticky Header Properties */
    position: sticky;
    top: 0;
    background-color: var(--bg-dark);
    /* Match cart background */
    z-index: 100;
    padding-top: 0.5rem;
    margin-top: 0;
}

.cart-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.premium-header-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer; pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.premium-header-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
}

.premium-header-btn .max-icon {
    font-size: 1.2rem;
}

.cart-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-title-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.cart-title-text {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.cart-items-count-badge {
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* Premium Close Button */
.premium-close-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer; pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.premium-close-btn .close-icon {
    font-size: 2rem;
    line-height: 1;
    margin-top: -2px;
}

.premium-close-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.premium-close-btn:active {
    transform: rotate(90deg) scale(0.9);
}

/* Premium Cart Summary */
.cart-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin: 1rem 0;
    flex-shrink: 0;
}

.cart-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cart-stat-card .stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    margin-bottom: 8px;
}

.cart-stat-card .stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
}

.cart-stat-card .stat-unit {
    font-size: 0.8rem;
    opacity: 0.4;
    font-weight: 400;
}

.cart-stat-card.highlight {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.cart-stat-card.highlight .stat-value {
    color: var(--accent-gold);
}

.cart-actions-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 1rem;
    flex-shrink: 0;
    position: sticky;
    bottom: -32px;
    left: 0;
    width: calc(100% + 10px);
    padding: 1.5rem 0;
    margin-bottom: -1rem;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95) 40%, rgba(15, 15, 15, 0.7) 80%, rgba(15, 15, 15, 0) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.cart-actions-area .premium-btn {
    flex: 1;
    border-radius: 12px;
    padding: 10px 8px;
    font-size: 0.76rem;
    letter-spacing: -0.01em; 
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

#btn-send-quote { grid-column: 1 / -1; margin-top: 5px; padding: 12px; font-size: 0.95rem; }


/* Removed inline flex wrapper to restore full width calculation box */
.calculator-wrapper {
    display: block;
    width: 100%;
}

/* Premium Floating Glassmorphism Drawer for Desktop Cart */
@media (min-width: 1024px) {
    .sticky-cart-wrapper {
        position: fixed;
        top: 20px;
        right: 0;
        width: 950px;
        /* Maksymalna szerokość dla pełnej czytelności akcji (Ilość, Kopiuj, Usuń) */
        max-height: calc(100vh - 40px);
        background: linear-gradient(145deg, rgba(15, 15, 15, 0.98) 0%, rgba(20, 20, 20, 0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-right: none;
        border-radius: 20px 0 0 20px;
        padding: 1rem 1.5rem 1rem 2.5rem;
        /* Zmniejszony dolny padding, aby zmieścił się większy scrollbar */
        box-shadow: -15px 15px 50px rgba(0, 0, 0, 0.7), inset 1px 1px 0 rgba(255, 255, 255, 0.08);
        z-index: 20002;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transform: translateX(110%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s ease;
    }

    .sticky-cart-wrapper.open {
        transform: translateX(0);
    }

    .sticky-cart-wrapper.maximized {
        width: 100%;
        /* Zajmuje teraz pełną szerokość */
        height: 100vh;
        top: 0;
        right: 0;
        border-radius: 0;
        max-height: none;
        padding-top: 1rem;
    }

    /* Custom scrollbar for floating drawer */
    .sticky-cart-wrapper::-webkit-scrollbar {
        width: 6px;
    }

    .sticky-cart-wrapper::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .sticky-cart-wrapper::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
        border-radius: 10px;
    }
}

/* Premium Floating Cart Toggle Button */
.premium-cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(184, 134, 11, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    animation: floatingCartPulse 3s infinite alternate;
}

.premium-cart-toggle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, rgba(230, 195, 80, 1) 0%, rgba(200, 150, 20, 1) 100%);
}

.premium-cart-toggle .cart-icon {
    font-size: 1.3rem;
}

.premium-cart-toggle .cart-badge {
    background: var(--bg-dark);
    color: var(--accent-gold);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
}

@keyframes floatingCartPulse {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

.calculator-box {
    position: relative;
    background: rgba(20, 20, 20, 0.85);
    /* Ciemniejsze, stałe tło bez obciążającego blur() */
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Zwykłe, eleganckie złote obramowanie zamiast maski XOR */
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.1);
}

.calculator-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/kalkulator-drewna-konstrukcyjnego-c24-tlo.png') no-repeat center center/cover;
    opacity: 0.05;
    /* Bardzo cienki wzór na tle bez mix-blend-mode */
    pointer-events: none;
    border-radius: inherit;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.calculator-box input,
.calculator-box select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    /* Ciemniejsze tło dla lepszego kontrastu liter */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-bounce);
}

.calculator-box select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

.calculator-box input:focus,
.calculator-box select:focus {
    outline: none;
    border-color: var(--accent-wood);
    background: rgba(255, 255, 255, 0.08);
}

/* Custom Length Input (BSH) */
.custom-length-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-length-wrapper input {
    padding-right: 3rem;
    /* place for "m" */
}

.custom-length-wrapper .length-unit {
    position: absolute;
    right: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 1rem;
    pointer-events: none;
}

.custom-length-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.4;
}

.custom-length-hint .hint-icon-small {
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.custom-length-hint strong {
    color: var(--accent-gold);
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Smart Name Suggestions */
.tag-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer; pointer-events: auto;
    transition: var(--transition);
    font-weight: 600;
}

.tag-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}




/* 3D Visual in Calculator */
.calc-visual-container {
    margin-top: 3rem;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.6) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    cursor: grab;
}

.calc-visual-container:active {
    cursor: grabbing;
}

.calc-beam-preview {
    width: 100%;
    height: 350px;
    /* Powiększone, aby bryła była masywna! */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Interaction Hint overlay */
.interaction-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s;
    animation: hintPulse 2s infinite;
}

@keyframes hintPulse {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.8;
    }
}

.interaction-hint.hidden {
    opacity: 0;
}

/* Results Styling */
.calc-results {
    background: rgba(0, 0, 0, 0.4);
    /* Wyraźniejsze odcięcie od tła z grafiką */
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    margin-bottom: 2rem;
}

.res-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.res-value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    display: block;
    transition: var(--transition-bounce);
}

.highlight-gold .res-value {
    color: var(--accent-gold);
    font-size: 3.5rem;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    /* Hardware acceleration */
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-gold);
}

.glass-card.highlight-gold:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.3);
}

.result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 0.3rem;
}

.detail-row strong {
    font-size: 1.2rem;
}

.calc-formula {
    font-size: 0.75rem;
    opacity: 0.3;
    font-style: italic;
    margin-top: 2rem;
    text-align: center;
}

.anatomy .container {
    position: relative;
    z-index: 2;
}

.anatomy-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 4rem;
}

.spec-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
    /* Hardware acceleration */
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-wood);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(193, 154, 107, 0.3);
}

.spec-content h4 {
    color: var(--accent-wood);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.spec-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* 3D Beam Visualization (CSS Only Fallback/Enhancement) */
.beam-visual {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.beam-3d {
    width: 120px;
    height: 450px;
    background: #5d4a36;
    /* Wood base color */
    transform-style: preserve-3d;
    transform: rotateY(-35deg) rotateX(15deg);
    position: relative;
    box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 1s ease;
}

.beam-visual:hover .beam-3d {
    transform: rotateY(-15deg) rotateX(5deg);
}

.beam-face {
    position: absolute;
    background-size: cover;
    backface-visibility: hidden;
}

.beam-face.front {
    width: 120px;
    height: 450px;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19480c5?auto=format&fit=crop&q=80&w=800') center/cover, linear-gradient(90deg, #8b6b4a, #5d4a36);
    background-blend-mode: multiply;
    transform: translateZ(22px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Wood grain simulation */
.beam-face.front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 3px,
            transparent 4px);
    opacity: 0.5;
}

.beam-face.side {
    width: 44px;
    height: 450px;
    background: #4a3b2a;
    transform: rotateY(90deg) translateZ(60px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.beam-face.top {
    width: 120px;
    height: 44px;
    background: #a38055;
    transform: rotateX(90deg) translateZ(22px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* End grain rings */
.beam-face.top::after {
    content: '';
    width: 300%;
    height: 300%;
    border-radius: 50%;
    background: repeating-radial-gradient(#a38055,
            #a38055 2px,
            #8b6b4a 3px,
            #8b6b4a 4px);
    transform: translateY(-30%);
}

.stamp-mark {
    position: absolute;
    bottom: 60px;
    left: 30px;
    color: rgba(0, 0, 0, 0.8);
    font-family: 'Stencil', 'Courier New', monospace;
    font-weight: 900;
    font-size: 2.5rem;
    border: 4px solid rgba(0, 0, 0, 0.8);
    padding: 5px 15px;
    transform: translateZ(23px) rotate(-90deg);
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(193, 154, 107, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translateZ(-100px);
}

@media (max-width: 900px) {
    .anatomy-grid {
        grid-template-columns: 1fr;
    }

    .anatomy-col.center {
        order: -1;
        margin-bottom: 2rem;
    }

    .beam-visual {
        height: 350px;
    }
}

/* Contact Image Box Masterpiece */
.contact-image-box {
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-radius: 15px;
    overflow: hidden;
}

.contact-image-box:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-premium);
}

.contact-image-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(253, 252, 249, 0.2));
    pointer-events: none;
}

/* --- Project List System (Refined Perfection) --- */
.project-list-box {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    margin-top: 0;
    animation: slideUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);

    display: flex;
    flex-direction: column;
    height: 100%;
}

#calc-item-name {
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

#calc-item-name:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    outline: none;
}

.action-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    color: var(--bg-dark);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer; pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, filter 0.3s ease;
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(184, 134, 11, 0.5);
    filter: brightness(1.1);
}

.action-btn-outline {
    position: relative;
    overflow: hidden;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer; pointer-events: auto;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.action-btn-outline:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) transparent;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
}

.project-table th {
    text-align: left;
    padding: 1rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.project-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.btn-remove {
    background: transparent;
    border: none;
    cursor: pointer; pointer-events: auto;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.btn-remove:hover {
    color: #ff6b6b !important;
    transform: scale(1.2);
}

.total-row td {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem !important;
}

/* Tablet/Mobile refinements moved to responsive.css for better maintainability */


@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MASTERPIECE PRINT SYSTEM (PDF GENERATION) --- */
/* --- ANATOMY SECTION MASTERPIECE (Video & Glass) --- */
.anatomy {
    position: relative;
    overflow: hidden;
}

.anatomy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.anatomy-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    /* Moody, balanced visibility */
    filter: contrast(1.2) saturate(1.3);
    /* Cinematic contrast */
}

.anatomy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic Vignette: Spotlight effect on the center */
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, rgba(10, 10, 8, 0.8) 90%);
    z-index: 1;
    pointer-events: none;
}

.anatomy .container {
    position: relative;
    z-index: 2;
}

.anatomy .section-title {
    text-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    /* Gold glow title */
}

.glass-panel {
    /* More translucent, higher blur for 'Premium Optical Glass' feel */
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-panel::before {
    /* Scintillating Shine Effect */
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.glass-panel:hover {
    transform: translateY(-8px);
    background: rgba(20, 20, 25, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.glass-panel:hover::before {
    left: 100%;
    transition: 0.7s;
}

.spec-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.spec-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: transform 0.4s ease;
}

.glass-panel:hover .spec-icon {
    transform: scale(1.1) rotate(5deg);
}

.anatomy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.anatomy-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media print {
    @page {
        margin: 10mm;
        size: A4 portrait;
    }

    body,
    html {
        background: white !important;
        color: #111 !important;
        font-family: 'Helvetica', 'Arial', sans-serif !important;
        font-size: 11pt !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Hide EVERYTHING by default */
    body>* {
        display: none !important;
    }

    /* Show only the Calculator Section context */
    .calculator-section {
        display: block !important;
        background: white !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Deep dive to show specific print elements */
    .calculator-section .container,
    .calculator-section .calculator-box,
    #project-list-container,
    #print-only-header {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: white !important;
        visibility: visible !important;
    }

    /* Hide specific children inside wrapper that we don't want */
    .section-header,
    .calc-grid>.calc-inputs,
    /* Inputs column */
    .calc-grid>.calc-results,
    /* Results column (except we want list? NO list is in container) */
    #btn-send-quote,
    #btn-download-pdf,
    .project-list-box h3,
    .btn-remove {
        display: none !important;
    }

    /* Layout Adjustments */
    #project-list-container {
        margin-top: 20px !important;
    }

    /* Print Header Styling (The one we added in HTML) */
    #print-only-header {
        display: block !important;
        margin-bottom: 2rem !important;
    }

    /* Table Styling "Bank Grade" */
    .project-table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 10pt !important;
        border-bottom: 2px solid #000;
    }

    .project-table th {
        background-color: #f0f0f0 !important;
        color: #000 !important;
        text-transform: uppercase;
        font-weight: 700;
        padding: 8px 5px !important;
        border-top: 2px solid #000;
        border-bottom: 2px solid #000;
        text-align: left;
    }

    .project-table td {
        padding: 8px 5px !important;
        border-bottom: 1px solid #ccc;
        color: #000 !important;
    }

    /* Zebra Striping */
    .project-table tr:nth-child(even) td {
        background-color: #fafafa !important;
    }

    /* Typography Overrides */
    .project-table strong {
        color: #000 !important;
        font-size: 11pt;
    }

    .project-table small {
        color: #555 !important;
        font-size: 9pt;
    }

    /* Total Row */
    .total-row td {
        border-top: 2px solid #000 !important;
        padding-top: 15px !important;
        background-color: transparent !important;
        font-size: 14pt !important;
        font-weight: bold;
    }

    /* Force show logistics column */
    .project-table th:nth-child(4),
    .project-table td:nth-child(4) {
        display: table-cell !important;
    }

    /* Hide Delete Column */
    .project-table th:last-child,
    .project-table td:last-child {
        display: none !important;
    }

    /* Signature Area */
    #project-list-container::after {
        content: "Podpis osoby przyjmującej zamówienie: __________________________";
        display: block;
        margin-top: 80px;
        font-size: 12px;
        color: #000;
        text-align: right;
    }
}

/* --- PROFESSIONAL PRINT STYLES (ADDED) --- */
/* --- PROFESSIONAL PRINT STYLES (OPTIMIZED) --- */
@media print {

    /* 1. Global Reset - FORCE BLACK TEXT */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color: #000 !important;
        background-color: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* 2. Hide Web Elements */
    nav,
    header,
    section,
    footer,
    .global-noise,
    .scroll-indicator,
    .marquee-section,
    .calculator-section,
    .hero,
    .bento-grid,
    #contact {
        display: none !important;
    }

    /* 3. Page Setup for Economy */
    @page {
        margin: 0.8cm;
        size: A4;
    }

    body {
        margin: 0;
        padding: 0;
        font-family: 'Arial', 'Helvetica', sans-serif;
        font-size: 10pt;
        /* Slightly smaller for economy */
        line-height: 1.25;
        background-color: #fff !important;
        color: #000 !important;
    }

    /* 4. Show Print Template */
    #print-template {
        display: block !important;
        width: 100%;
        background-color: #fff !important;
        position: relative;
    }

    /* WATERMARK */
    #print-template::before {
        content: "SOPEXIM";
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        font-size: 15rem;
        font-weight: 900;
        color: #000;
        opacity: 0.04;
        z-index: 0;
        pointer-events: none;
        white-space: nowrap;
        font-family: sans-serif;
    }

    /* 5. Header Styling (Compact) */
    .print-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        border-bottom: 3px solid #000 !important;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .print-brand {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .print-logo {
        max-width: 250px;
        max-height: 100px;
        width: auto;
        height: auto;
        object-fit: contain;
        margin-bottom: 12px;
        display: block !important;
    }

    .print-brand h1 {
        margin: 0;
        font-size: 24pt;
        font-weight: 900;
        letter-spacing: -1px;
        text-transform: uppercase;
        color: #000 !important;
    }

    .print-brand p {
        margin: 0;
        font-size: 9pt;
        text-transform: uppercase;
        color: #000 !important;
    }

    .print-meta {
        text-align: right;
    }

    .print-meta h2 {
        margin: 0 0 5px 0;
        font-size: 14pt;
        font-weight: 800;
        color: #000 !important;
    }

    .print-meta p {
        margin: 0;
        font-size: 10pt;
        color: #000 !important;
    }

    /* 6. Client & Logistics (Compact) */
    .print-client {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        gap: 20px;
    }

    .client-box,
    .logistics-box {
        flex: 1;
        border: 1px solid #000 !important;
        padding: 10px;
    }

    .client-box strong,
    .logistics-box strong {
        display: block;
        margin-bottom: 5px;
        font-size: 9pt;
        text-transform: uppercase;
        color: #000 !important;
    }

    .dotted-line {
        border-bottom: 1px dotted #000 !important;
        height: 18px;
        margin-bottom: 5px;
    }

    .chk-row {
        display: flex;
        align-items: center;
        margin-bottom: 4px;
        font-size: 9pt;
    }

    .chk-row .box {
        width: 12px;
        height: 12px;
        border: 1px solid #000 !important;
        margin-right: 8px;
        display: inline-block;
    }

    /* 7. Table Styling (High Contrast & Compact) */
    .print-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        font-size: 10pt;
    }

    .print-table th {
        border: 2px solid #000 !important;
        padding: 8px;
        background-color: #eee !important;
        color: #000 !important;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 9pt;
    }

    .print-table td {
        border: 1px solid #000 !important;
        padding: 8px;
        vertical-align: middle;
        color: #000 !important;
    }

    /* ENLARGED FONTS for Data */
    .print-table td:nth-child(6),
    /* Weight */
    .print-table td:nth-child(7) {
        /* Vol */
        font-size: 12pt !important;
        font-weight: 700;
    }

    .tr-right {
        text-align: right !important;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 11pt;
        border: none !important;
        padding-right: 15px !important;
    }

    .tr-bold {
        font-weight: 900;
        font-size: 14pt !important;
        background-color: #ddd !important;
        border: 2px solid #000 !important;
        text-align: center !important;
        color: #000 !important;
    }

    /* 8. Alerts & Footer */
    .print-alert {
        border: 2px solid #000 !important;
        padding: 10px;
        font-size: 11pt;
        font-weight: bold;
        margin-bottom: 20px;
        text-align: center;
        background-color: transparent !important;
    }

    .print-footer {
        display: flex;
        justify-content: space-between;
        font-size: 8pt;
        border-top: 1px solid #000 !important;
        padding-top: 10px;
        margin-top: auto;
    }

    .footer-col {
        flex: 1;
    }

    .footer-col.disclaimer {
        flex: 1.5;
        text-align: right;
        font-style: italic;
    }

    /* Signature Area (New Layout) */
    .print-signatures {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
        margin-bottom: 20px;
        page-break-inside: avoid;
    }

    .sig-box {
        width: 40%;
        text-align: center;
        border: none !important;
    }

    .sig-line {
        border-bottom: 2px solid #000;
        height: 30px;
        margin-bottom: 5px;
    }

    .sig-box p {
        font-size: 9pt;
        text-transform: uppercase;
        color: #000 !important;
        font-weight: 700;
        margin: 0;
    }

    /* Remove old CSS signature */
    #project-list-container::after {
        display: none !important;
    }
}

/* =========================================================================
   MASTERPIECE V4 FINAL: ELEGANT TYPOGRAPHY BREAKOUTS & DEPTH ILLUSION
   ========================================================================= */

/* 1. Giant Typographic Breakout (Cinematic Depth of Field) */
.giant-watermark {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    text-align: center;
    /* Piękna symetria */
    font-family: var(--font-heading);
    font-size: clamp(6.5rem, 16vw, 12rem);
    /* O drobinę mniejsze, by nie przytłaczały */
    font-weight: 800;
    line-height: 0.8;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    user-select: none;

    /* Kinowy efekt wynurzania (gradient fade out do dołu) */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Głębia ostrości (Depth of Field) */
    filter: blur(1.5px);

    /* Ultra powolne luksusowe oddychanie objętością */
    animation: driftWatermark 25s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes driftWatermark {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
    }

    100% {
        transform: scale(1.06) translate3d(0, -10px, 0);
        /* Wyłanianie się */
    }
}

.giant-watermark.watermark-dark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 768px) {
    .giant-watermark {
        top: 0px;
        /* Na mobilnych zupełnie schowane w bezpiecznej strefie */
        font-size: clamp(4.5rem, 13vw, 7rem);
        filter: blur(1px);
        /* Mniejszy blur na małych ekranach */
    }
}

/* 2. Levitating Board & Depth Illusion (Pływająca cienka płyta) */
.section-levitating {
    position: relative;
    z-index: 10;
    /* Tworzy iluzję grubej deski rzucającej cień na czarne tło pod nią */
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Odblask na krawędzi blachy */
}

/* Sekcje pod lewitującą (Ciemne) */
.section-sunken {
    position: relative;
    z-index: 1;
    /* Bardzo subtelny wewnętrzny cień na górze, aby wzmocnić oparcie białej sekcji na czarnej */
    box-shadow: inset 0 30px 40px -20px rgba(0, 0, 0, 0.9);
}

/* Ujednolicenie i powiększenie paddingów (White Space) */
.section-padding {
    padding: 8rem 0;
    /* Zwiększono oddech w sekcjach per prośba o premium feel */
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 12rem 0;
        /* Bardziej redakcyjny look na desktopie */
    }
}

/* Magnetic Glow & Hovers dla Bento Cards */
.bento-card {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}

.bento-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 0 40px rgba(193, 154, 107, 0.1)
        /* Delikatna złota poświata */
        !important;
    border-color: rgba(193, 154, 107, 0.3) !important;
}

/* Wyłamanie pierwszego Bento na hero marquee */
@media (min-width: 1024px) {
    .bento-grid {
        margin-top: -3rem;
        /* Lekkie wejście w obszar Marquee (Breakout element) */
    }
}

/* =========================================================================
   SEO & ACCESSIBILITY ADDITIONS
   ========================================================================= */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================================
   FAQ SECTION (SEO)
   ========================================================================= */

.faq-section {
    padding: 6rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer; pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-wood);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fafafa;
    border-top: 1px solid transparent;
}

.faq-answer p {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
    border-top-color: rgba(0, 0, 0, 0.05);
}

/* Pulsating Promo Calculator Button - Emerald Edition for high visibility */
.btn-calc-promo {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1B4332, #081C15);
    /* Premium Forest/Emerald Green */
    border: 1px solid #2D6A4F;
    color: #FFFFFF;
    /* High contrast white text */
    padding: 0.7rem 1.6rem;
    /* Slightly larger padding for better clickability */
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    /* Extra bold */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(27, 67, 50, 0.4);
    animation: pulseEmeraldPromo 2s infinite;
}

.btn-calc-promo:hover {
    background: #2D6A4F;
    /* Lighter emerald on hover */
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(27, 67, 50, 0.6);
    animation: none;
    /* Stop pulsing on hover */
}

@keyframes pulseEmeraldPromo {
    0% {
        box-shadow: 0 0 15px rgba(27, 67, 50, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(45, 106, 79, 0.7);
        border-color: #40916C;
        transform: scale(1.03);
    }

    100% {
        box-shadow: 0 0 15px rgba(27, 67, 50, 0.3);
    }
}

/* ========================================================================= */
/* PREMIUM UX/UI ENHANCEMENTS */
/* ========================================================================= */

/* 1. STICKY CART (KOSZYK BOCZNY) - Desktop Only */
@media (min-width: 1200px) {
    #project-list-container {
        position: sticky !important;
        top: 100px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        padding-right: 15px;
        /* for custom scrollbar */
    }

    /* Custom premium scrollbar for sticky cart */
    #project-list-container::-webkit-scrollbar {
        width: 6px;
    }

    #project-list-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    #project-list-container::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
        border-radius: 10px;
    }
}

/* 2. EFFECT RIPPLE (WODA/MICRO-INTERACTIONS) */
.ripple-btn {
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, filter 0.1s ease !important;
}

/* Efekt wciskania (Zapadanie) */
.ripple-btn:active {
    filter: brightness(0.95);
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 10;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 3. PREMIUM TOAST NOTIFICATIONS (OZ SZKŁA) */
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

/* 4. PROGRESSIVE DISCLOSURE (Rozwijanie Pól) */
.smooth-collapse {
    display: flex;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-in, margin 0.3s ease;
}

.smooth-collapse.expanded {
    max-height: 500px;
    opacity: 1;
}

/* 5. 3D INTERACTION HINT */
.interaction-hint-float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0.8;
    transition: opacity 0.5s ease;
    animation: floatingHint 2s infinite ease-in-out;
}

.interaction-hint-float.hiding {
    opacity: 0;
    transform: translate(-50%, -70%);
}

.interaction-hint-float .icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.interaction-hint-float .text {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

@keyframes floatingHint {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-70%, -50%);
    }
}

/* Tooltip UI */
.tooltip-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: bold;
    margin-left: 6px;
    cursor: help;
    transition: 0.3s;
}

.tooltip-icon:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

/* EMPTY STATE KOSZYKA */
.empty-cart-state {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    /* Sztywne ciemne tło gwarantuje idealną jasność białego tekstu na smartfonach i komputerach zupełnie bez cieni! */
    background: linear-gradient(135deg, #2b2b2b, #1c1c1c);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.empty-cart-state .icon {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
    filter: grayscale(1);
}

/* STYLOWANIE KOSZYKA FLOATING DRAWER (PREMIUM LOOK) */
.project-list-box {
    color: var(--text-light);
    font-family: var(--font-body);
}

.project-list-box .table-responsive {
    margin-top: 1rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 50vh;
    padding-right: 15px;
    padding-bottom: 2rem;
    /* Dodatkowe miejsce pod spodem by nie ucinało tekstu pod dokiem */

    /* Wydłużona gładka maska. Dolne odcięcie maskuje tabelę za Pływającym dokiem */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 2%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent, black 2%, black 85%, transparent 100%);
}

.project-list-box .table-responsive::-webkit-scrollbar {
    width: 8px;
    /* Szerszy scrollbar */
}

.project-list-box .table-responsive::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 10px 0;
}

.project-list-box .table-responsive::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.9);
    /* Wyraźne złoto */
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.project-list-box .table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 1);
}

.project-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.8rem;
}

.project-table th {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.project-table tbody tr {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.project-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
    /* Złota poświata */
    transform: translateX(-4px);
    /* Lekkie przesunięcie w lewo dające feedback (Micro-interaction) */
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.project-table td {
    padding: 1rem;
    vertical-align: middle;
}

.project-table tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.project-table tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Przycisk Usuń (Krzyżyk) */
.btn-remove {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.2);
    color: #ff6b6b;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: rgba(255, 50, 50, 0.8);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 50, 50, 0.4);
}

.project-table tfoot {
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.total-row td {
    padding-top: 1.5rem;
    font-size: 1.1rem;
}

#close-cart-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#close-cart-btn:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

#close-cart-btn .close-icon {
    font-size: 2.2rem;
    font-weight: 300;
}

/* --- PREMIUM UI & UX EXTENSIONS (RE-ADDED) --- */

.glass-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-gold) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
}

.flying-wood-ghost {
    position: fixed;
    font-size: 2.5rem;
    z-index: 10000;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 1;
}

@keyframes cartShake {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1) rotate(5deg);
    }

    50% {
        transform: scale(1.1) rotate(-5deg);
    }

    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.cart-shake {
    animation: cartShake 0.5s ease-in-out;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.preset-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logistics-alert-box {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--accent-gold);
}

.logistics-alert-box.danger {
    background: rgba(255, 50, 50, 0.1);
    border-color: rgba(255, 50, 50, 0.3);
    color: #ff6b6b;
}

.sticky-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.sticky-summary-bar.visible {
    transform: translateY(0);
}

.sticky-stat-item {
    text-align: center;
}

.sticky-stat-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    color: white;
}

.sticky-stat-value {
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 1rem;
}

.btn-qty:hover {
    background: var(--accent-gold) !important;
    color: var(--bg-dark) !important;
    border-color: var(--accent-gold) !important;
    transform: scale(1.1);
}

/* --- SAFETY & PRECISION UX PACK --- */

.unit-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer; pointer-events: auto;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.unit-btn.active {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
}

.cart-action-btn-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer; pointer-events: auto;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-action-btn-mini:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: scale(1.1);
}

.btn-undo {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 10px;
    cursor: pointer; pointer-events: auto;
}

.btn-undo:hover {
    background: white;
    color: var(--bg-dark);
}

/* --- QUANTITY CONTROLS (CART) --- */
.btn-qty {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer; pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.btn-qty:hover {
    background: var(--accent-gold) !important;
    color: var(--bg-dark) !important;
    border-color: var(--accent-gold) !important;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 5px 0;
}

.qty-number {
    font-weight: 800;
    color: var(--text-light);
    font-size: 1.1rem;
    min-width: 25px;
    text-align: center;
}

@media (max-width: 600px) {
    .quantity-controls {
        gap: 6px;
        padding: 2px 4px;
    }

    .btn-qty {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }

    .qty-number {
        font-size: 0.9rem;
    }
}

/* ============================================
   LIGHT THEME FOR CALCULATOR (ELEGANT TOGGLE)
   ============================================ */
/* Theme Toggle Component */
.theme-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
}

.theme-toggle-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 12px;
    opacity: 0.9;
}

.theme-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.theme-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.theme-label.dark-label {
    color: var(--accent-gold);
}

.theme-switch {
    position: relative;
    width: 68px;
    height: 36px;
    border-radius: 36px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.8);
    cursor: pointer; pointer-events: auto;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.theme-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #fdfbf7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), inset 0 2px 2px rgba(255, 255, 255, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Light Theme Active State */
.calculator-section[data-theme="light"] {
    background: var(--bg-cream, #fdfbf7) !important;
    color: var(--text-dark) !important;
}

.calculator-section[data-theme="light"]::before {
    /* Mimo prob, narzucamy minimalna mgielke, zeby glowne tlo lekko pojaśniało */
    background: rgba(40, 38, 35, 0.4) !important;
}

.calculator-section[data-theme="light"] .anatomy-bg-texture {
    opacity: 0.1 !important;
    filter: none !important;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, rgba(253, 251, 247, 1) 100%) !important;
}

.calculator-section[data-theme="light"] .section-title,
.calculator-section[data-theme="light"] .section-subtitle {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important;
}

.calculator-section[data-theme="light"] .section-title {
    /* Header background stays dark, so the title MUST be white/cream! */
    color: var(--bg-cream, #fdfbf7) !important; 
}

/* Calculator Box itselft in Light Mode */
.calculator-section[data-theme="light"] .calculator-box {
    background: var(--bg-cream, #fdfbf7) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-5px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Toggle Colors in Light Mode */
.calculator-section[data-theme="light"] .theme-toggle-title {
    color: var(--bg-dark) !important;
    text-shadow: none !important;
    font-weight: 900 !important;
    background: rgba(255,255,255,0.7) !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    backdrop-filter: blur(4px) !important;
}

.calculator-section[data-theme="light"] .theme-toggle-wrapper {
    background: var(--bg-dark) !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.calculator-section[data-theme="light"] .theme-label.dark-label {
    color: rgba(255, 255, 255, 0.5) !important;
}

.calculator-section[data-theme="light"] .theme-label.light-label {
    color: var(--accent-gold) !important;
    font-weight: 900 !important;
}

.calculator-section[data-theme="light"] .theme-switch {
    background: linear-gradient(135deg, #d4af37 0%, #b5952f 100%) !important;
    border: 2px solid #d4af37 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

.calculator-section[data-theme="light"] .theme-switch-thumb {
    transform: translateX(32px) !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 -2px 4px rgba(0,0,0,0.05) !important;
}

/* Wood Type Switcher in Light Mode */
.calculator-section[data-theme="light"] .wood-type-switcher {
    background: var(--bg-cream, #fdfbf7) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

.calculator-section[data-theme="light"] .wood-type-btn {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
    transition: color 0.3s ease;
}

.calculator-section[data-theme="light"] .wood-type-btn:hover {
    color: var(--bg-dark) !important;
}

.calculator-section[data-theme="light"] .wood-type-btn.active {
    color: var(--bg-white, #fff) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.calculator-section[data-theme="light"] .switcher-indicator {
    background: linear-gradient(135deg, var(--accent-gold), #b8912d) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

/* Individual Tab Softening */
.calculator-section[data-theme="light"] .wood-type-btn.active[data-type="ind"] ~ .switcher-indicator {
    background: linear-gradient(135deg, #d4ba6a, #b8912d) !important;
}

/* Form Inputs in Light Mode */
.calculator-section[data-theme="light"] label,
.calculator-section[data-theme="light"] .input-group label {
    color: var(--bg-dark) !important;
    font-weight: 800 !important;
    opacity: 0.9 !important;
    letter-spacing: 0.02em !important;
}

.calculator-section[data-theme="light"] .tooltip-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    background: var(--bg-dark) !important;
    color: var(--bg-cream, #fdfbf7) !important;
    border-radius: 50% !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    cursor: help !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s ease !important;
}

.calculator-section[data-theme="light"] .tooltip-icon:hover {
    opacity: 1 !important;
}

.calculator-section[data-theme="light"] input,
.calculator-section[data-theme="light"] select,
.calculator-section[data-theme="light"] option,
.calculator-section[data-theme="light"] #calc-custom-width,
.calculator-section[data-theme="light"] #calc-custom-height,
.calculator-section[data-theme="light"] #calc-length-custom,
.calculator-section[data-theme="light"] #calc-waste,
.calculator-section[data-theme="light"] #calc-moisture,
.calculator-section[data-theme="light"] #calc-item-name {
    background: var(--bg-white, #fff) !important;
    color: var(--bg-dark, #1a1917) !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    font-weight: 600 !important;
}

.calculator-section[data-theme="light"] input::placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
}

.calculator-section[data-theme="light"] .calc-formula,
.calculator-section[data-theme="light"] #length-custom-hint {
    color: var(--bg-dark) !important;
    opacity: 0.8 !important;
    font-weight: 500 !important;
}

.calculator-section[data-theme="light"] .mobile-add-hint .hint-text {
    color: var(--bg-dark) !important;
    background: #fdfbf7 !important;
    border: 2px solid var(--accent-gold) !important;
    font-weight: 800 !important;
}

/* Fix "X" multiplier sign in custom profile */
.calculator-section[data-theme="light"] #profile-custom-group span {
    color: var(--bg-dark) !important;
    opacity: 0.6 !important;
    font-size: 1.2rem !important;
    font-weight: 300 !important;
}

/* The Add to List button should have stronger contrast */
.calculator-section[data-theme="light"] .action-btn-outline {
    border: 2px solid var(--bg-dark) !important;
    color: var(--bg-dark) !important;
    background: transparent !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
}

.calculator-section[data-theme="light"] .action-btn-outline:hover {
    background: var(--bg-dark) !important;
    color: var(--accent-gold) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Fix visibility of "Które drewno wybrać?" button in light mode */
.calculator-section[data-theme="light"] #btn-wood-guide {
    color: var(--bg-dark) !important;
    border-color: rgba(212, 175, 55, 0.8) !important;
    background: rgba(212, 175, 55, 0.2) !important;
}

/* Panels and Cards in Light Mode */
.calculator-section[data-theme="light"] .glass-panel,
.calculator-section[data-theme="light"] .glass-card,
.calculator-section[data-theme="light"] .result-item,
.calculator-section[data-theme="light"] .result-details {
    background: var(--bg-white, #fff) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.calculator-section[data-theme="light"] .res-label {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
}

.calculator-section[data-theme="light"] .res-value {
    color: var(--bg-dark) !important;
    font-weight: 900 !important;
}

.calculator-section[data-theme="light"] .highlight-gold .res-value {
    /* Gold is hard to read on white, making it very dark brown/black */
    color: var(--bg-dark) !important; 
    text-shadow: none !important;
}

.calculator-section[data-theme="light"] .detail-row span {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 600 !important;
}

.calculator-section[data-theme="light"] .detail-row strong {
    color: var(--bg-dark) !important;
    font-weight: 900 !important;
}

/* Presets in Light Mode */
.calculator-section[data-theme="light"] .smart-presets-box {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px dashed rgba(212, 175, 55, 0.5) !important;
}

.calculator-section[data-theme="light"] .smart-presets-box label {
    color: var(--bg-dark) !important;
    font-weight: 900 !important;
}

.calculator-section[data-theme="light"] .preset-btn,
.calculator-section[data-theme="light"] .tag-btn {
    background: var(--bg-white, #fff) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: var(--bg-dark) !important;
    font-weight: 700 !important;
}

.calculator-section[data-theme="light"] .preset-btn:hover,
.calculator-section[data-theme="light"] .tag-btn:hover {
    background: var(--bg-dark) !important;
    color: var(--accent-gold) !important;
    border-color: var(--bg-dark) !important;
}

/* Mobile Performance & Responsive Optimizations for Light Mode */
@media (max-width: 768px) {
    .calculator-section[data-theme="light"] .calculator-box {
        /* Reduce heavy shadow rendering on mobile to ensure 60fps scrolling */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        transform: none !important; 
    }
    
    .calculator-section[data-theme="light"] .action-btn-outline:hover {
        transform: none !important;
    }
}

/* Floating Action Hub */
.floating-hub {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1004;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}loating-hub {
    position: fixed;
    bottom: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hub-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    cursor: pointer; pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition-bounce);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.hub-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.hub-close-icon {
    display: none;
    font-size: 36px;
    line-height: 1;
}

.floating-hub.active .hub-main-icon { display: none; }
.floating-hub.active .hub-close-icon { display: block; }
.floating-hub.active .hub-toggle { background: #fff; color: var(--bg-dark); transform: rotate(90deg); }

.hub-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition-bounce);
    visibility: hidden;
}

.floating-hub.active .hub-options {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
}

.hub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.05);
}

.hub-item:hover {
    transform: translateX(-10px);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hub-icon {
    font-size: 20px;
}

.hub-item.whatsapp { border-left: 4px solid #25D366; }
.hub-item.phone { border-left: 4px solid #34B7F1; }
.hub-item.calc { border-left: 4px solid var(--accent-gold); }
.hub-item.quote { border-left: 4px solid var(--accent-wood); }

@media (max-width: 768px) {
    .floating-hub {
        bottom: 100px; /* Avoid sticky summary bar on mobile */
        right: 20px;
    }
}
/* ============================================
   PRODUCT MATRIX INTEGRATION (QUICK ADD)
   ============================================ */
.product-item-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-item-wrap:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.btn-quick-add {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: none;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer; pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.product-item-wrap:hover .btn-quick-add {
    opacity: 1;
    transform: scale(1);
}

.btn-quick-add:hover {
    transform: scale(1.2);
    background: #fff;
    box-shadow: 0 0 15px var(--accent-gold);
}

.dim-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* ============================================
   PHOTO INQUIRY & TOAST ENHANCEMENTS
   ============================================ */
.photo-inquiry-promo {
    background: linear-gradient(145deg, #1f1d1a 0%, #121110 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer; pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), inset 0 2px 5px rgba(255,255,255,0.05);
}

.photo-inquiry-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: 0.5s;
}

.photo-inquiry-promo:hover::before {
    left: 100%;
}

.photo-inquiry-promo:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2), inset 0 2px 5px rgba(255,255,255,0.05);
}

.photo-promo-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #d4af37, #f3e5ab);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.photo-promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.photo-promo-content strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: none;
}

.photo-promo-content span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.4;
}

.photo-promo-content .limits {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    width: fit-content;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.photo-promo-action {
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.photo-inquiry-promo:hover .photo-promo-action {
    background: #fff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Updated Toast Action Button */
.toast-msg {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toast-action-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer; pointer-events: auto;
    transition: all 0.2s ease;
    text-transform: uppercase;
    margin-left: auto;
}

.toast-action-btn:hover {
    background: white;
    color: var(--bg-dark);
    border-color: white;
}


/* ============================================
   WOOD GUIDE MODAL (PREMIUM DESIGN) */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20005;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    align-items: center;
    width: 90%;
    max-width: 450px;
}

.toast-msg {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--text-light);
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: fit-content;
}

.toast-msg.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-msg.hiding {
    transform: translateY(-20px) scale(0.9);
    opacity: 0;
}
.guide-trigger-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.guide-trigger-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.guide-arrow {
    transition: transform 0.3s ease;
}

.guide-trigger-btn:hover .guide-arrow {
    transform: translateX(4px);
}

/* Modal Core */
.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.premium-modal.active .modal-content-wrapper {
    transform: translateY(0) scale(1);
}

.modal-premium-card {
    background: linear-gradient(135deg, #1a1917 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer; pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #ff4757;
    border-color: #ff4757;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modal-subtitle {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin: 0;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comp-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.comp-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255,255,255,0.1);
}

.comp-item.highlight {
    border-color: rgba(193, 154, 107, 0.3);
    background: rgba(193, 154, 107, 0.05);
}

.comp-item.premium {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
}

.comp-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    width: fit-content;
}

.comp-badge.c24 { background: var(--accent-wood); color: var(--bg-dark); }
.comp-badge.kvh { background: #7dcc7d; color: var(--bg-dark); }
.comp-badge.bsh { background: var(--accent-gold); color: var(--bg-dark); }

.comp-item h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-family: var(--font-heading);
}

.comp-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.comp-usage {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.comp-usage li {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-footer {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.modal-summary {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .comparison-grid { grid-template-columns: 1fr; }
    .modal-premium-card { padding: 2rem; }
    .modal-title { font-size: 1.2rem; }
}


/* ============================================
   DECISION HELPER EXPANSION
   ============================================ */
.comp-negative {
    background: rgba(255, 71, 87, 0.05);
    border: 1px dashed rgba(255, 71, 87, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.comp-negative strong {
    color: #ff4757;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.comp-negative p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    margin: 0;
}

.guide-select-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

.guide-select-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Pulse Animation for Selection Feedback */
@keyframes calc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.calc-selection-pulse {
    animation: calc-pulse 1.2s cubic-bezier(0.24, 0, 0.38, 1);
}


/* ============================================
   LOGISTICS COVERAGE CHECKER
   ============================================ */
.coverage-checker {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
}

.coverage-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.coverage-input-box {
    display: flex;
    gap: 10px;
}

.coverage-input-box input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
}

.coverage-input-box button {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s ease;
}

.coverage-input-box button:hover {
    background: #fff;
    transform: scale(1.05);
}

.coverage-result-msg {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
}

.coverage-result-msg.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* ============================================
   GLOSSARY TOOLTIPS
   ============================================ */
.glossary-term {
    border-bottom: 1px dotted var(--accent-gold);
    cursor: help;
    position: relative;
    display: inline-block;
}

.glossary-tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1a1917;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    width: 280px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 55, 0.4);
    white-space: normal;
    text-align: left;
    font-family: var(--font-main);
    font-weight: 400;
}

.glossary-term:hover .glossary-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.glossary-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #1a1917 transparent transparent transparent;
}

/* ============================================
   EXIT-INTENT RECOVERY MODAL
   ============================================ */
.exit-intent .modal-content-wrapper {
    max-width: 600px;
}

.exit-card {
    border: 2px solid var(--accent-gold);
    text-align: center;
}

.exit-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.exit-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .exit-actions-grid { grid-template-columns: 1fr; }
    .exit-card { padding: 2rem 1.5rem; }
}



/* Hide floating toggle when cart drawer or modal backdrop is active */
.cart-backdrop.active ~ .premium-cart-toggle { opacity: 0; pointer-events: none; visibility: hidden; }

/* Cart Item Action Buttons Refinement */
.cart-item-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.btn-item-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-copy-item {
    color: rgba(212, 175, 55, 0.7);
}

.btn-copy-item:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-remove-item:hover {
    background: rgba(255, 71, 87, 0.15);
    border-color: #ff4757;
    color: #ff4757;
    transform: translateY(-2px);
}

.btn-item-action svg {
    transition: transform 0.3s ease;
}

.btn-item-action:hover svg {
    transform: scale(1.1);
}

/* Phase 11: Premium Cart Redesign */
.project-table {
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 0;
}

.project-table thead th {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0 1rem 0.5rem;
}

.cart-row-premium {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cart-row-premium:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.002);
}

.cart-row-premium td {
    padding: 1.2rem 1rem;
    border: none;
    vertical-align: middle;
}

.cart-row-premium td:first-child { border-radius: 12px 0 0 12px; }
.cart-row-premium td:last-child { border-radius: 0 12px 12px 0; }

.cart-col-idx {
    font-size: 0.75rem;
    opacity: 0.2;
    font-weight: 700;
    width: 40px;
}

.cart-item-name {
    display: block;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wood-badge, .dim-badge, .len-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.wood-badge-c24 { background: rgba(212, 175, 55, 0.15); color: var(--accent-gold); border: 1px solid rgba(212, 175, 55, 0.3); }
.wood-badge-kvh { background: rgba(107, 142, 35, 0.15); color: #9acd32; border: 1px solid rgba(107, 142, 35, 0.3); }
.wood-badge-bsh { background: rgba(70, 130, 180, 0.15); color: #87ceeb; border: 1px solid rgba(70, 130, 180, 0.3); }

.dim-badge { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.1); }
.len-badge { background: rgba(255,255,255,0.08); color: #fff; font-weight: 800; }

.premium-qty-control {
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 3px;
    gap: 10px;
}

.premium-qty-control .btn-qty {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer; pointer-events: auto;
    transition: all 0.2s ease;
}

.premium-qty-control .btn-qty:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.qty-value {
    font-weight: 800;
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
    color: var(--text-light);
}

.qty-unit {
    display: block;
    font-size: 0.65rem;
    opacity: 0.4;
    text-align: center;
    margin-top: 4px;
}

.stats-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-row {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.stat-row strong {
    color: var(--text-light);
}

.stat-icon {
    display: inline-block;
    width: 18px;
    margin-right: 4px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .project-table thead { display: none; }
    .cart-row-premium {
        display: block;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .cart-row-premium td {
        display: block;
        padding: 0.5rem 0;
        text-align: left !important;
    }
    .cart-col-idx { display: none; }
    .cart-col-actions {
        border-top: 1px solid rgba(255,255,255,0.05);
        margin-top: 5px;
        padding-top: 10px !important;
    }
    .cart-item-actions { justify-content: flex-start; }
}

/* Phase 14: Premium UX Enhancements (Animations & Empty States) */
@keyframes cartSlideIn {
    0% { opacity: 0; transform: translateX(30px) scale(0.98); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.cart-row-premium.new-item-anim {
    animation: cartSlideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Skeleton Pulse Loading State */
@keyframes skeletonPulse {
    0% { background-color: rgba(255, 255, 255, 0.03); }
    50% { background-color: rgba(255, 255, 255, 0.07); }
    100% { background-color: rgba(255, 255, 255, 0.03); }
}

.cart-skeleton-row {
    height: 80px;
    margin-bottom: 12px;
    border-radius: 12px;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

/* Enhanced Empty State */
.empty-cart-state {
    padding: 3rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-return-calc {
    margin-top: 15px;
    padding: 12px 25px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    cursor: pointer; pointer-events: auto;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-return-calc:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-return-calc .arrow {
    transition: transform 0.3s ease;
}

.btn-return-calc:hover .arrow {
    transform: translateX(-5px);
}

/* Phase 16: Pure Utility Optimization Styles */
.cart-title-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-title-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-project-name-box {
    width: 100%;
    margin-top: 4px;
}

#cart-project-name {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--text-light);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

#cart-project-name:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-danger-soft:hover {
    background: rgba(255, 71, 87, 0.15) !important;
    border-color: #ff4757 !important;
    color: #ff4757 !important;
}

/* Direct Quantity Input */
.qty-input {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-weight: 800;
    font-size: 1.1rem;
    width: 40px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
    color: var(--accent-gold);
}



/* Contact File Upload Enhancements */
.contact-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.contact-file-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.file-item-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-item-name {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.file-item-size {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 2px;
}

.btn-remove-file {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    outline: none;
}

.btn-remove-file:hover {
    background: #c0392b;
    color: #ffffff;
    transform: scale(1.1);
}

/* Custom Drag & Drop Zone */
.custom-dropzone {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110px;
    background: #ffffff;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.custom-dropzone::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    z-index: 0;
}

.custom-dropzone:hover::before, .custom-dropzone.dragover::before {
    width: 250%; height: 250%;
}

.custom-dropzone .dropzone-content {
    position: relative;
    z-index: 1;
}

.custom-dropzone:hover {
    border-style: solid;
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15), inset 0 2px 10px rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.custom-dropzone.dragover {
    border-style: solid;
    border-color: var(--accent-gold);
    background: rgba(255,255,255,1);
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.custom-dropzone .dz-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-dropzone:hover .dz-icon, .custom-dropzone.dragover .dz-icon {
    transform: scale(1.15) translateY(-5px);
}

.custom-dropzone .dz-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.custom-dropzone .dz-limits {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Animation for new file items */
@keyframes fadeInUpItem {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.contact-file-item.fade-in-up {
    animation: fadeInUpItem 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Make Dropzone Change When Files Exist */
.custom-dropzone.has-files {
    min-height: 100px;
    padding: 1.2rem 1rem;
    background: rgba(212, 175, 55, 0.03);
    border-color: rgba(212, 175, 55, 0.4);
}
.custom-dropzone.has-files .dz-icon {
    font-size: 2rem;
    margin-right: 15px;
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
}
.custom-dropzone.has-files .dz-title {
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
.custom-dropzone.has-files .dropzone-content {
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-dropzone.has-files .dropzone-content > span:not(.dz-icon):not(.dz-title) {
    display: none !important;
}
